[llvm] [AMDGPU] Fix negative immediate offset for unbuffered smem loads (PR #89165)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 07:59:24 PDT 2024
================
@@ -1984,8 +1984,10 @@ bool AMDGPUDAGToDAGISel::SelectScratchSVAddr(SDNode *N, SDValue Addr,
// not null) offset. If Imm32Only is true, match only 32-bit immediate
// offsets available on CI.
bool AMDGPUDAGToDAGISel::SelectSMRDOffset(SDValue ByteOffsetNode,
- SDValue *SOffset, SDValue *Offset,
- bool Imm32Only, bool IsBuffer) const {
+ SDValue *SBase, SDValue *SOffset,
----------------
jayfoad wrote:
Remove SBase since you don't use it for anything?
https://github.com/llvm/llvm-project/pull/89165
More information about the llvm-commits
mailing list