[PATCH] D12067: AMDGPU: Refactor exp instructions
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 16 13:44:12 PDT 2015
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Structure the definitions a bit more like the other classes.
The main change here is to split EXP with the done bit set
to a separate opcode, so we can set hasSideEffects = 1
if the done bit is in use since this has the special constraint
that it should be the last exp in the shader.
Previously all exp instructions were inferred to have unmodeled
side effects.
http://reviews.llvm.org/D12067
Files:
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/AMDGPUInstrInfo.td
lib/Target/AMDGPU/R600ISelLowering.cpp
lib/Target/AMDGPU/R600Instructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrFormats.td
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SIIntrinsics.td
test/CodeGen/AMDGPU/llvm.SI.load.dword.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12067.32254.patch
Type: text/x-patch
Size: 12833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150816/a39cf6f5/attachment.bin>
More information about the llvm-commits
mailing list