[PATCH] D124884: [AMDGPU] Add intrinsic llvm.amdgcn.raw.buffer.load.lds
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 15:44:37 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:4289
+ .addImm(HasVIndex ? -1 : 0) // idxen(imm)
+ .addImm(MemTy.getSizeInBytes()) // data byte size
+ .addMemOperand(MMO);
----------------
Why is this needed if it's in the MMO?
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:1199-1200
+ case Intrinsic::amdgcn_raw_buffer_load_lds:
+ Info.memVT = MVT::getVT(CI.getArgOperand(1)->getType()->
+ getNonOpaquePointerElementType());
+ break;
----------------
Should use the return / data type?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124884/new/
https://reviews.llvm.org/D124884
More information about the llvm-commits
mailing list