Files
clang-p2996/mlir/lib/Dialect/Arith
Zahi Moudallal 5d0c5c638a [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
2025-02-21 15:37:19 -08:00
..