mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
Apply clang-tidy fixes for llvm-else-after-return in GPUToLLVMConversion.cpp (NFC)
This commit is contained in:
@@ -814,7 +814,7 @@ LogicalResult ConvertAllocOpToGpuRuntimeCallPattern::matchAndRewrite(
|
||||
if (isShared && allocOp.getAsyncToken())
|
||||
return rewriter.notifyMatchFailure(
|
||||
allocOp, "Host Shared allocation cannot be done async");
|
||||
else if (!isShared && failed(isAsyncWithOneDependency(rewriter, allocOp)))
|
||||
if (!isShared && failed(isAsyncWithOneDependency(rewriter, allocOp)))
|
||||
return failure();
|
||||
|
||||
// Get shape of the memref as values: static sizes are constant
|
||||
|
||||
Reference in New Issue
Block a user