[PATCH] D143198: DAG: Lower is.fpclass fcInf to fcmp of fabs
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 09:27:43 PST 2023
arsenm created this revision.
arsenm added reviewers: jcranmer-intel, sepavloff, scanon, andrew.w.kaylor, kpn.
Herald added subscribers: pengfei, hiraditya, nemanjai.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
InstCombine should have taken care of this, but I think
this is more useful in the future when the expansion
tries to handle multiple cases at a time with fcmp.
x87 looks worse to me but the only thing I know about it is that
I aggressively do not care about it.
https://reviews.llvm.org/D143198
Files:
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/PowerPC/is_fpclass.ll
llvm/test/CodeGen/X86/is_fpclass-fp80.ll
llvm/test/CodeGen/X86/is_fpclass.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143198.494339.patch
Type: text/x-patch
Size: 8978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/9d75cd50/attachment.bin>
More information about the llvm-commits
mailing list