[all-commits] [llvm/llvm-project] 18c5f3: [RegisterScavenger][RISCV] Don't search for FrameS...
luxufan via All-commits
all-commits at lists.llvm.org
Thu Nov 17 23:14:14 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18c5f3c35d18ca069f02b78e62468d7494ed6c7c
https://github.com/llvm/llvm-project/commit/18c5f3c35d18ca069f02b78e62468d7494ed6c7c
Author: luxufan <luxufan at iscas.ac.cn>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M llvm/lib/CodeGen/RegisterScavenging.cpp
M llvm/test/CodeGen/RISCV/out-of-reach-emergency-slot.mir
A llvm/test/CodeGen/RISCV/pr58286.ll
M llvm/test/CodeGen/RISCV/rvv/large-rvv-stack-size.mir
Log Message:
-----------
[RegisterScavenger][RISCV] Don't search for FrameSetup instrs if we were searching from Non-FrameSetup instrs
Otherwise, the spill position may point to position where before
FrameSetup instructions. In which case, the spill instruction may store
to caller's frame since the stack pointer has not been adjustted.
Fixes https://github.com/llvm/llvm-project/issues/58286
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D135693
More information about the All-commits
mailing list