[PATCH] D52923: AMDGPU/GlobalIsel: Legalize SI.const by lowering to G_LOAD

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 4 21:04:50 PDT 2018


tstellar created this revision.
tstellar added a reviewer: arsenm.
Herald added subscribers: t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

Lower SI.const to G_LOAD that takes a 128-bit resource descriptor as
its pointer.


Repository:
  rL LLVM

https://reviews.llvm.org/D52923

Files:
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  test/CodeGen/AMDGPU/GlobalISel/legalize-SI.load.const.mir
  test/CodeGen/AMDGPU/nullptr-r600.ll
  test/CodeGen/AMDGPU/nullptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52923.168432.patch
Type: text/x-patch
Size: 12215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181005/516113be/attachment.bin>


More information about the llvm-commits mailing list