[PATCH] D17892: AMDGPU/SI: Implement S_GETREG Intrinsic
Changpeng Fang via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 16:07:26 PST 2016
cfang updated this revision to Diff 50213.
cfang added a comment.
update based on Matt's Comments
1. Create a new SOPK_32 multicalss, and rename the original one as SOPK_16 (so both are based on operand size);
2. Move the intrinsic s_getreg_b32 pattern inside the instruction definition;
3. Add checks for SI and CI devices in the test.
http://reviews.llvm.org/D17892
Files:
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/llvm.amdgcn.s.getreg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17892.50213.patch
Type: text/x-patch
Size: 4367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160310/749d2bda/attachment.bin>
More information about the llvm-commits
mailing list