[PATCH] D55999: [AMDGPU] Handle OR as operand of raw load/store

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 21 06:05:13 PST 2018


piotr created this revision.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, arsenm.

Use isBaseWithConstantOffset() which handles OR as an operand
to llvm.amdgcn.raw.buffer.load and llvm.amdgcn.raw.buffer.store.

Change-Id: Ifefb9dc5ded8710d333df07ab1900b230e33539a


Repository:
  rL LLVM

https://reviews.llvm.org/D55999

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55999.179280.patch
Type: text/x-patch
Size: 8304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/99198b98/attachment.bin>


More information about the llvm-commits mailing list