[Mlir-commits] [mlir] [mlir][arith] Add overflow flags support to arith ops (PR #77211)
Ivan Butygin
llvmlistbot at llvm.org
Thu Jan 11 12:36:26 PST 2024
================
@@ -133,4 +133,27 @@ def Arith_FastMathAttr :
let assemblyFormat = "`<` $value `>`";
}
+//===----------------------------------------------------------------------===//
+// IntegerOverflowFlags
----------------
Hardcode84 wrote:
I was wondering why this wasn't the case for fastmath flags and they are actually named slightly differently between llvm and arith (`FastMathFlags` vs `FastmathFlags`).
Anyways, I'm not familiar with in-tree MLIR python bindings and considering these enums live in different namespaces on C++ level, this sounds like quite a big limitation, which people will continue to hit randomly.
Any ideas how to fix it properly?
https://github.com/llvm/llvm-project/pull/77211
More information about the Mlir-commits
mailing list