AMDGPU/GlobalISel: Legalize G_GLOBAL_VALUE
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 1 Oct 2019 01:06:43 +0000 (01:06 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 1 Oct 2019 01:06:43 +0000 (01:06 +0000)
commit77ac40011761399924641d15d51460f64c2be46e
tree62082306aaef1449b4c748fa92e56ada128e5bf5
parent4d536bfbead1494c7977689e32837353531ffc4b
AMDGPU/GlobalISel: Legalize G_GLOBAL_VALUE

Handle other cases besides LDS. Mostly a straight port of the existing
handling, without the intermediate custom nodes.

llvm-svn: 373286
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
llvm/lib/Target/AMDGPU/SIISelLowering.h
llvm/test/CodeGen/AMDGPU/GlobalISel/global-value.ll [new file with mode: 0644]