[llvm-branch-commits] [llvm] AMDGPU: Fix inst-selection of large scratch offsets with sgpr base (PR #110256)
Petar Avramovic via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Sep 27 09:06:10 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);
----------------
petar-avramovic wrote:
fixed and added tests for those cases
https://github.com/llvm/llvm-project/pull/110256
More information about the llvm-branch-commits
mailing list