[PATCH] D57074: AMDGPU/GlobalISel: Fix shift legalization for non-power-of-2
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 22 17:21:02 PST 2019
arsenm created this revision.
arsenm added reviewers: tstellar, rampitec.
Herald added subscribers: volkan, t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
clampScalar doesn't do anything for non-power-of-2 in range.
There should probably be a combination rule to reduce the number
of matching rules.
https://reviews.llvm.org/D57074
Files:
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57074.183003.patch
Type: text/x-patch
Size: 6051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190123/eab86bcd/attachment.bin>
More information about the llvm-commits
mailing list