[all-commits] [llvm/llvm-project] 5603ed: [RISCV] Fix StackOffset calculation when using sp ...
luxufan via All-commits
all-commits at lists.llvm.org
Thu Apr 29 20:03:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5603ed60ad6cd6370010e0746faef9f823c1fa72
https://github.com/llvm/llvm-project/commit/5603ed60ad6cd6370010e0746faef9f823c1fa72
Author: luxufan <932494295 at qq.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/localvar.ll
Log Message:
-----------
[RISCV] Fix StackOffset calculation when using sp to access the fixed stack object in the case of rvv vector objects existed
When rvv vector objects existed, using sp to access the fixed stack object will pass the rvv vector objects field. So the StackOffset needs add a scalable offset of the size of rvv vector objects field
Differential Revision: https://reviews.llvm.org/D100286
More information about the All-commits
mailing list