[PATCH] D71838: [AMDGPU] Don't create MachinePointerInfos with an UndefValue pointer

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 05:53:04 PST 2019


foad created this revision.
foad added reviewers: arsenm, rampitec.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

The only useful information the UndefValue conveys is the address space,
which MachinePointerInfo can represent directly without referring to an
IR value.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71838

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/R600ISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-addrspacecast.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71838.235133.patch
Type: text/x-patch
Size: 50216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191223/5aba13cb/attachment.bin>


More information about the llvm-commits mailing list