[Mlir-commits] [mlir] [MLIR][Transforms] add eliminate-explicit-rounding pass (PR #93443)

Ivy Zhang llvmlistbot at llvm.org
Fri Jun 7 11:09:30 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> {
----------------
crazydemo wrote:

use folder instead. BTW, Could you please clarify what's the difference between folder and canonicalizer? 

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


More information about the Mlir-commits mailing list