[PATCH] D143191: DAG: Handle inversion of fcSubnormal | fcZero

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 02:27:04 PST 2023


sepavloff added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:8071
                           DAG.getConstantFP(0.0, DL, OperandVT),
-                          IsInverted ? ISD::SETUNE : ISD::SETOEQ);
+                          IsInverted ? ISD::SETONE : ISD::SETOEQ);
     }
----------------
Why `ISD::SETONE`? If condition is "ordered and equal", then inversion of it is "unordered or not equal", isn't it?


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

https://reviews.llvm.org/D143191



More information about the llvm-commits mailing list