[Mlir-commits] [mlir] [mlir][Interfaces] Track and infer no-overflow flags in integer ranges (PR #191777)

Mehdi Amini llvmlistbot at llvm.org
Mon Apr 13 04:43:17 PDT 2026


================
@@ -15,9 +15,18 @@
 #define MLIR_INTERFACES_INFERINTRANGEINTERFACE_H
 
 #include "mlir/IR/OpDefinition.h"
+#include "llvm/ADT/BitmaskEnum.h"
 #include <optional>
 
 namespace mlir {
+enum class OverflowFlags : uint32_t {
----------------
joker-eph wrote:

I'm not sure if this really should be in the mlir namespace actually: that seems like an opportunity for name conflicts?

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


More information about the Mlir-commits mailing list