[Mlir-commits] [mlir] [mlir][LLVM] Add exact flag (PR #115327)

Tobias Gysi llvmlistbot at llvm.org
Thu Nov 7 10:19:23 PST 2024


================
@@ -76,6 +76,24 @@ class LLVM_IntArithmeticOpWithOverflowFlag<string mnemonic, string instName,
     "$res = builder.Create" # instName #
     "($lhs, $rhs, /*Name=*/\"\", op.hasNoUnsignedWrap(), op.hasNoSignedWrap());";
 }
+class LLVM_IntArithmeticOpWithIsExact<string mnemonic, string instName,
----------------
gysit wrote:

```suggestion
class LLVM_IntArithmeticOpWithExactFlag<string mnemonic, string instName,
```
nit: Should we use ExactFlag to follow the naming of LLVM_IntArithmeticOpWithIsExact?

https://github.com/llvm/llvm-project/pull/115327


More information about the Mlir-commits mailing list