Skip to content

Commit 44aebb6

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-else-after-return in SPIRVCanonicalization.cpp (NFC)
1 parent e5b9950 commit 44aebb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,8 @@ struct MulExtendedFold final : OpRewritePattern<MulOp> {
251251
{lhsAttr, rhsAttr}, [](const APInt &a, const APInt &b) {
252252
if (IsSigned) {
253253
return llvm::APIntOps::mulhs(a, b);
254-
} else {
255-
return llvm::APIntOps::mulhu(a, b);
256254
}
255+
return llvm::APIntOps::mulhu(a, b);
257256
});
258257

259258
if (!highBits)

0 commit comments

Comments
 (0)