[PATCH] D52923: AMDGPU/GlobalIsel: Legalize SI.load.const by lowering to G_LOAD
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 9 19:17:07 PDT 2018
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:51
const LLT PrivatePtr = GetAddrSpacePtr(AMDGPUAS::PRIVATE_ADDRESS);
+ const LLT P7 = GetAddrSpacePtr(7);
----------------
This should get a new enum value?
================
Comment at: lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:274
+ return true;
+ case AMDGPUIntrinsic::SI_load_const: {
+ MachineFunction &MF = MIRBuilder.getMF();
----------------
Should we really be adding support for the old/broken intrinsics here?
Repository:
rL LLVM
https://reviews.llvm.org/D52923
More information about the llvm-commits
mailing list