[llvm-branch-commits] [llvm] AMDGPU: Fix inst-selection of large scratch offsets with sgpr base (PR #110256)
Jay Foad via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Sep 27 05:55:22 PDT 2024
================
@@ -1911,7 +1911,7 @@ bool AMDGPUDAGToDAGISel::SelectScratchSAddr(SDNode *Parent, SDValue Addr,
0);
}
- Offset = CurDAG->getTargetConstant(COffsetVal, DL, MVT::i16);
+ Offset = CurDAG->getTargetConstant(COffsetVal, DL, MVT::i32);
----------------
jayfoad wrote:
There are two more places in `SelectScratchSVAddr` below that need the same fix.
https://github.com/llvm/llvm-project/pull/110256
More information about the llvm-branch-commits
mailing list