[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 15:26:24 PDT 2016


nhaehnle updated this revision to Diff 50981.
nhaehnle added a comment.

I like that idea. Here's an updated patch, including a test to verify that
the soffset constant really is re-used.


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.50981.patch
Type: text/x-patch
Size: 22538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160317/24ed5b10/attachment.bin>


More information about the llvm-commits mailing list