[PATCH] D72609: AMDGPU/GlobalISel: Improve lowering of G_SEXT_INREG
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 05:48:20 PST 2020
arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
Clamping the scalar is much better than lowering with superwide shifts
for types > s64.
https://reviews.llvm.org/D72609
Files:
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72609.237644.patch
Type: text/x-patch
Size: 93747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200113/001c47ec/attachment.bin>
More information about the llvm-commits
mailing list