[llvm] [InstCombine] Fix for folding `select` into floating point binary operators. (PR #83200)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 06:12:00 PDT 2024


dtcxzyw wrote:

> I've found that the change introduced here has come with a huge performance penalty at `-Ofast`. Considering that `-Ofast` induces `-fno-honor-nans`, shouldn't this change be restricted to `-fhonor-nans`?

`-Ofast` was deprecated in Clang 19. Can you try with `-ffast-math`?


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


More information about the llvm-commits mailing list