llvm-project
5d0c5c63 - [MLIR][ARITH] Adds missing foldings for truncf (#128096)

Commit
301 days ago
[MLIR][ARITH] Adds missing foldings for truncf (#128096) This patch is mainly to deal with folding `truncf`, as follows: `truncf(extf(a))` -> `a`, if `a` has the same bitwidth as the result `truncf(extf(a))` -> `truncf(a)`, if `a` has larger bitwidth than the result
Author
Parents
Loading