eliminateFrameIndex won't fix up the offset register when the direct
frame index reference is moved to a separate move instruction. Switch
the offset to a base 0 (which it probably should be to begin with).
Details
Details
- Reviewers
rampitec scott.linder cdevadas
Diff Detail
Diff Detail
Event Timeline
llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll | ||
---|---|---|
45 | So it does not use offset at all now? Isn't it a regression? |
llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll | ||
---|---|---|
45 | No, an offset isn't necessary anymore since we now increment the base pointer in the SRD in the kernel prolog. This is one of the cleanups that enables |
So it does not use offset at all now? Isn't it a regression?