[PATCH] D143180: DAG: Expand legalization of is.fpclass to fcmp for DAZ
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 06:54:02 PST 2023
arsenm created this revision.
arsenm added reviewers: jcranmer-intel, sepavloff, kpn, andrew.w.kaylor.
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.
Try to use a compare with 0 if DAZ is assumed.
FPClassTest really needs to be marked as a bimask enum, but the API
for that is currently broken.
https://reviews.llvm.org/D143180
Files:
llvm/include/llvm/ADT/FloatingPointMode.h
llvm/include/llvm/CodeGen/CodeGenCommonISel.h
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/CodeGenCommonISel.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/X86/is_fpclass.ll
llvm/unittests/ADT/FloatingPointMode.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143180.494292.patch
Type: text/x-patch
Size: 11517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/48443366/attachment.bin>
More information about the llvm-commits
mailing list