Apply clang-tidy fixes for llvm-else-after-return in GPUToLLVMConversion.cpp (NFC)
This commit is contained in:
parent
ad7937d338
commit
e204b9198a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user