[Mlir-commits] [mlir] [mlir][LLVM] Add exact flag (PR #115327)
Christian Ulmann
llvmlistbot at llvm.org
Thu Nov 7 08:42:38 PST 2024
================
@@ -683,6 +683,14 @@ void ModuleImport::setIntegerOverflowFlags(llvm::Instruction *inst,
iface.setOverflowFlags(value);
}
+void ModuleImport::setExactFlag(llvm::Instruction *inst, Operation *op) const {
+ auto iface = cast<ExactFlagInterface>(op);
+
+ bool value = inst->isExact();
+
+ iface.setIsExact(value);
----------------
Dinistro wrote:
```suggestion
iface.setIsExact(inst->isExact());
```
https://github.com/llvm/llvm-project/pull/115327
More information about the Mlir-commits
mailing list