[Mlir-commits] [mlir] [mlir][LLVM] Add nsw and nuw flags (PR #74508)
Christian Ulmann
llvmlistbot at llvm.org
Tue Dec 5 12:40:52 PST 2023
================
@@ -619,6 +619,19 @@ void ModuleImport::setNonDebugMetadataAttrs(llvm::Instruction *inst,
}
}
+void ModuleImport::setIntegerFlagsAttr(llvm::Instruction *inst,
+ Operation *op) const {
+ IntegerArithFlagsInterface iface = cast<IntegerArithFlagsInterface>(op);
----------------
Dinistro wrote:
```suggestion
auto iface = cast<IntegerArithFlagsInterface>(op);
```
https://github.com/llvm/llvm-project/pull/74508
More information about the Mlir-commits
mailing list