[Mlir-commits] [mlir] [mlir][LLVM] Add nsw and nuw flags (PR #74508)
Tobias Gysi
llvmlistbot at llvm.org
Wed Dec 6 10:16:39 PST 2023
================
@@ -55,6 +55,26 @@ class LLVM_IntArithmeticOp<string mnemonic, string instName,
$res = $_builder.create<$_qualCppClassName>($_location, $lhs, $rhs);
}];
}
+class LLVM_IntArithmeticOpWithFlag<string mnemonic, string instName,
----------------
gysit wrote:
```suggestion
class LLVM_IntArithmeticOpWithOverflowFlags<string mnemonic, string instName,
```
may be a bit too long though
https://github.com/llvm/llvm-project/pull/74508
More information about the Mlir-commits
mailing list