[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 16:19:06 PDT 2022
arsenm added inline comments.
================
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;
----------------
rampitec wrote:
> arsenm wrote:
> > Should use the return / data type?
> Changed to return. What do you mean by 'use data type'?
You're looking at the pointer element type instead of the return / data type. i.e. we would have i8/i16/i32 return types and you don't need to look at the pointer
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124884/new/
https://reviews.llvm.org/D124884
More information about the llvm-commits
mailing list