[PATCH] D39670: [AMDGPU] Fix pointer info for pseudo source for r600

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 5 18:23:23 PST 2017


yaxunl created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, nhaehnle, wdng, kzhuravl.

The pointer info for pseudo source for r600 is not correct when
alloca addr space is not 0, which causes invalid SDNode for r600---amdgiz.

This patch fixes that.


https://reviews.llvm.org/D39670

Files:
  lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  lib/Target/AMDGPU/R600InstrInfo.cpp
  lib/Target/AMDGPU/R600InstrInfo.h
  test/CodeGen/AMDGPU/load-constant-i1.ll
  test/CodeGen/AMDGPU/load-global-i1.ll
  test/CodeGen/AMDGPU/load-local-i1.ll
  test/CodeGen/AMDGPU/vector-alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39670.121668.patch
Type: text/x-patch
Size: 16540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171106/7a713f59/attachment.bin>


More information about the llvm-commits mailing list