[Mlir-commits] [mlir] [MLIR][Transforms] add eliminate-explicit-rounding pass (PR #93443)
Mehdi Amini
llvmlistbot at llvm.org
Sat Jun 8 03:02:25 PDT 2024
================
@@ -1410,6 +1410,39 @@ bool arith::ExtFOp::areCastCompatible(TypeRange inputs, TypeRange outputs) {
LogicalResult arith::ExtFOp::verify() { return verifyExtOp<FloatType>(*this); }
+struct SimplifyExtFTruncFOpPair : public OpRewritePattern<ExtFOp> {
----------------
joker-eph wrote:
Folder aren't allowed to create new IR, see doc: https://mlir.llvm.org/docs/Canonicalization/#canonicalizing-with-the-fold-method
https://github.com/llvm/llvm-project/pull/93443
More information about the Mlir-commits
mailing list