[PATCH] D18218: AMDGPU: use ComplexPattern for offsets in llvm.amdgcn.buffer.load/store.format
Nicolai Hähnle via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 09:15:28 PDT 2016
nhaehnle updated this revision to Diff 50942.
nhaehnle added a comment.
Refine the constant handling for some boundary cases. Note that the S_MOV_B32
automatically becomes an s_movk_i32 when possible - I've also added a test
case for that.
http://reviews.llvm.org/D18218
Files:
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.ll
test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18218.50942.patch
Type: text/x-patch
Size: 21378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160317/5a295c5d/attachment.bin>
More information about the llvm-commits
mailing list