[PATCH] D143191: DAG: Handle inversion of fcSubnormal | fcZero
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 4 05:57:18 PDT 2023
arsenm 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);
}
----------------
sepavloff wrote:
> Why `ISD::SETONE`? If condition is "ordered and equal", then inversion of it is "unordered or not equal", isn't it?
I don't really remember what I was thinking here
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143191/new/
https://reviews.llvm.org/D143191
More information about the llvm-commits
mailing list