[PATCH] D17042: AMDGPU/SI: move SMRD to flat if UseFlatForGlobal is true
Changpeng Fang via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 14:17:05 PST 2016
cfang created this revision.
cfang added reviewers: tstellarAMD, arsenm.
cfang added subscribers: llvm-commits, arsenm.
For a SMRD, if SBase is a Vector register, we need to move it to VAlu. On Vi+,
addr64 buffer loads are not supported, so we will have to use flat loads instead.
This patch implements this "Move".
http://reviews.llvm.org/D17042
Files:
lib/Target/AMDGPU/SIInstrInfo.cpp
test/CodeGen/AMDGPU/salu-to-valu.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17042.47365.patch
Type: text/x-patch
Size: 11188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160209/9b4c6f0e/attachment.bin>
More information about the llvm-commits
mailing list