[PATCH] D66389: AMDGPU/GlobalISel: Legalize constant 32-bit loads

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 17 21:39:24 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, mareko.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
arsenm added a parent revision: D66388: AMDGPU/GlobalISel: Implement addrspacecast for 32-bit constant addrspace.

Legalize by casting to a 64-bit constant address. This isn't how the
DAG implements it, but it should.


https://reviews.llvm.org/D66389

Files:
  include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant-32bit.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66389.215772.patch
Type: text/x-patch
Size: 6582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190818/2ca928fd/attachment.bin>


More information about the llvm-commits mailing list