[llvm] [DAGCombiner] Eliminate fp casts if we have the right fast math flags (PR #131345)
Harald van Dijk via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 24 05:42:18 PDT 2025
https://github.com/hvdijk approved this pull request.
[Outdated documentation](https://llvm.org/docs/LangRef.html#fast-math-flags) means that this optimization intentionally contradicts documentation which says `fast` implies only `nnan`, `ninf`, `nsz` because those are the only fast math flags. That shouldn't prevent this going in, but it would be good to get that documentation updated too.
https://github.com/llvm/llvm-project/pull/131345
More information about the llvm-commits
mailing list