[PATCH] D144265: DAG: Handle lowering unordered compare with inf

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 06:52:58 PST 2023


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

Try to take advantage of the nan check behavior of fcmp.


https://reviews.llvm.org/D144265

Files:
  llvm/include/llvm/CodeGen/CodeGenCommonISel.h
  llvm/lib/CodeGen/CodeGenCommonISel.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/PowerPC/is_fpclass.ll
  llvm/test/CodeGen/X86/is_fpclass.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144265.498356.patch
Type: text/x-patch
Size: 11727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230217/11605ac9/attachment.bin>


More information about the llvm-commits mailing list