[all-commits] [llvm/llvm-project] 489ca7: [PrologEpilogInserter][AMDGPU] Only adjust offset ...
Roger Ferrer Ibáñez via All-commits
all-commits at lists.llvm.org
Mon Mar 29 10:27:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 489ca73ac4974a092f5e8f0bb32b0b8872b31bf9
https://github.com/llvm/llvm-project/commit/489ca73ac4974a092f5e8f0bb32b0b8872b31bf9
Author: Roger Ferrer Ibanez <roger.ferrer at bsc.es>
Date: 2021-03-29 (Mon, 29 Mar 2021)
Changed paths:
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir
Log Message:
-----------
[PrologEpilogInserter][AMDGPU] Only adjust offset for emergency spill slots if the stack grows down
D89239 adjusts the stack offset of emergency spill slots for overaligned
stacks. However the adjustment is not valid for targets whose stack
grows up (such as AMDGPU).
This change makes the adjustment conditional only to those targets whose
stack grows down.
Fixes https://bugs.llvm.org/show_bug.cgi?id=49686
Differential Revision: https://reviews.llvm.org/D99504
More information about the All-commits
mailing list