HomePhabricator

[RISCV] Fix StackOffset calculation when using sp to access the fixed stack…

Authored by StephenFan on Apr 11 2021, 10:28 PM.

Description

[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