[PATCH] D151369: ValueTracking: Handle compare to nan and -inf constants in fcmpToClassTest

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 07:23:45 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4278
+
+      // All values are unordered with and at most infinity.
+      return {Src, fcAllFlags};
----------------
foad wrote:
> "or"
The comment just goes away if handled as the inverse of OGT


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

https://reviews.llvm.org/D151369



More information about the llvm-commits mailing list