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

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 20 01:51:21 PDT 2024


SahilPatidar wrote:

@jayfoad,
I was looking for F.getDenormalType but couldn't find it.  Instead, I tried using F->getDenormalMode(LHSI->getType()->getScalarType()->getFltSemantics()) == DenormalMode::getIEEE(), but I haven't seen any difference in the tests after making the change.

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


More information about the llvm-commits mailing list