[PATCH] D139130: InstCombine: Fold and (fcmp), (is.fpclass) into is.fpclass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 17:40:35 PST 2023


arsenm closed this revision.
arsenm marked an inline comment as done.
arsenm added a comment.

9ad6bdd7470aba542a7599ef9845d17d84fb7ed6 <https://reviews.llvm.org/rG9ad6bdd7470aba542a7599ef9845d17d84fb7ed6>



================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp:1349
+      // fcmp uge fabs(x), +inf -> ~fcFinite
+      // fcmp olt x, +inf -> fcNegInf|fcSubnormal|fcNormal|fcZero
+      // fcmp uge x, +inf -> ~(fcFinite|fcNegInf)
----------------
foad wrote:
> Simpler to write this as `fcFinite|fcNegInf`, as on the line below.
Not sure where this comment is pointing anymore


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

https://reviews.llvm.org/D139130



More information about the llvm-commits mailing list