[PATCH] D130370: [llvm] Always use Constant for FP_ROUND ISD Nodes
David Truby via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 07:40:10 PDT 2022
DavidTruby updated this revision to Diff 447684.
DavidTruby added a comment.
Herald added subscribers: jsji, pcwang-thead, frasercrmck, ecnelises, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, arichardson.
Switch to using TargetConstant instead of Constant.
When I tried to switch to a specific TargetConstant type (e.g. MVT::i32 or
MVT::i1) this caused a lot of churn in a number of backends. By extension,
switching to a getFPRound function caused the same. I think if we want to go
down that road it should be done in a separate patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130370/new/
https://reviews.llvm.org/D130370
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-fcopysign.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130370.447684.patch
Type: text/x-patch
Size: 14177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220726/3716b4ab/attachment.bin>
More information about the llvm-commits
mailing list