[PATCH] D143191: DAG: Handle inversion of fcSubnormal | fcZero
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 10:39:46 PDT 2023
sepavloff accepted this revision.
sepavloff added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: llvm/lib/CodeGen/CodeGenCommonISel.cpp:177
+FPClassTest llvm::invertFPClassTestIfSimpler(FPClassTest Test) {
+ FPClassTest InvertedTest = static_cast<FPClassTest>(~Test & fcAllFlags);
+ // Pick the direction with fewer tests
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143191/new/
https://reviews.llvm.org/D143191
More information about the llvm-commits
mailing list