[llvm] [InstCombine] Optimize redundant floating point comparisons in `or`/`and` inst's (PR #158097)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 16 05:59:05 PDT 2025


https://github.com/dtcxzyw approved this pull request.

LG. As a follow-up, we can use the ConstantFPRange API to generalize this pattern (`makeExactFCmpRegion` + `contains`).

https://github.com/llvm/llvm-project/pull/158097


More information about the llvm-commits mailing list