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

Hongyu Chen via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 13 01:50:08 PDT 2025


https://github.com/XChy commented:

Should check `!isAnd` if you only fold the pattern `or(fcmp, fcmp)`.

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


More information about the llvm-commits mailing list