[Mlir-commits] [mlir] [mlir][arith] Add overflow flags support to arith ops (PR #77211)
Tobias Gysi
llvmlistbot at llvm.org
Sun Jan 7 23:23:29 PST 2024
================
@@ -36,3 +36,26 @@ mlir::arith::convertArithFastMathAttrToLLVM(arith::FastMathFlagsAttr fmfAttr) {
return LLVM::FastmathFlagsAttr::get(
fmfAttr.getContext(), convertArithFastMathFlagsToLLVM(arithFMF));
}
+
+// Map arithmetic overflow enum values to LLVMIR enum values.
----------------
gysit wrote:
nit: I would drop the comments here and blow since they are already on the function definitions.
https://github.com/llvm/llvm-project/pull/77211
More information about the Mlir-commits
mailing list