[PATCH] D143264: InstCombine: Fold is.fpclass(x, fcZero) to fcmp oeq 0

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 13:29:06 PST 2023


arsenm added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:928
+  if (!IsStrict &&
+      fpclassTestIsFCmp0(static_cast<FPClassTest>(Mask & fcAllFlags),
+                         *II.getParent()->getParent(), Src0->getType())) {
----------------
Missed saving the inversion 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143264/new/

https://reviews.llvm.org/D143264



More information about the llvm-commits mailing list