[PATCH] D143201: DAG: Lower single infinity is.fpclass tests to fcmp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 09:51:41 PST 2023


arsenm created this revision.
arsenm added reviewers: sepavloff, kpn, jcranmer-intel, andrew.w.kaylor, scanon.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

InstCombine also should have taken care of this, but this
should be helpful when the fcmp based lowering strategy tries
to combine multiple tests.


https://reviews.llvm.org/D143201

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/X86/is_fpclass-fp80.ll
  llvm/test/CodeGen/X86/is_fpclass.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143201.494345.patch
Type: text/x-patch
Size: 6998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/b1e135c7/attachment.bin>


More information about the llvm-commits mailing list