]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Legalize constant 32-bit loads
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Sep 2019 16:42:31 +0000 (16:42 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Sep 2019 16:42:31 +0000 (16:42 +0000)
commitf37f4831288fd6e93e13d158bcfae8e785e47a75
tree481a0f1b93f4f2accf60bfc78ef1fb2bd1921e42
parentb5e7bf5f78a8c9fc1c43b6010cfe7f26a55b88b4
AMDGPU/GlobalISel: Legalize constant 32-bit loads

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371535 91177308-0d34-0410-b5e6-96231b3b80d8
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 [new file with mode: 0644]