llvm-project
dd87127f - [DAGCombiner] Eliminate fp casts if we have the right fast math flags (#131345)

Commit
299 days ago
[DAGCombiner] Eliminate fp casts if we have the right fast math flags (#131345) When floating-point operations are legalized to operations of a higher precision (e.g. f16 fadd being legalized to f32 fadd) then we get narrowing then widening operations between each operation. With the appropriate fast math flags (nnan ninf contract) we can eliminate these casts.
Parents
Loading