[llvm] [InstCombine] Fold fcmp ogt (x - y), 0 into fcmp ogt x, y #85245 (PR #85506)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 02:16:46 PDT 2024


arsenm wrote:

> @jayfoad, I tried setting the `denormal-fp-math` attribute to various options (`positive-zero`, `dynamic,dynamic`, and `preserve-sign`) as you suggested. it seems to be preventing optimizations as you mentioned.

Need to add these in some test functions 

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


More information about the llvm-commits mailing list