llvm-project
a7e0b671 - [BPI] Honour denormal modes when folding (#244908)

Commit
3 days ago
[BPI] Honour denormal modes when folding (#244908) Enable BPI to make decisions about denormal flushing based on `denormal_fpenv` that will be consistent with decisions in all other compiler passes that handle const-folding. To do this, use `ConstantFoldInstOperands` in BPI to pass the `Instruction` to the const-folding code so it can access the `denormal_fpenv`, and can use denormal flushing-aware folding when specified. Update the baseline test from #236190 with the correct results, and remove the FIXME comment.
Author
Parents
Loading