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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 18:46:28 PST 2022


arsenm updated this revision to Diff 482333.
arsenm marked an inline comment as done.
arsenm retitled this revision from "InstCombine: Fold and/or of fcmp into class" to "InstCombine: Fold and (fcmp), (is.fpclass) into is.fpclass".
arsenm edited the summary of this revision.
arsenm added a comment.

Resplit the patches differently. For now, only handle fcmp+is.fpclass case, such that it will not introduce is.fpclass in situations it didn't already exist. If we have 2 or more compares that can turn into a class, I think we should introduce them after codegen is improved a bit for it.


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

https://reviews.llvm.org/D139130

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/combine-is.fpclass-and-fcmp.ll
  llvm/test/Transforms/InstCombine/is_fpclass.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139130.482333.patch
Type: text/x-patch
Size: 25629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221213/47193cdd/attachment.bin>


More information about the llvm-commits mailing list