aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
diff options
context:
space:
mode:
authorluxufan <932494295@qq.com>2021-02-20 14:02:56 +0800
committerluxufan <932494295@qq.com>2021-03-13 16:05:55 +0800
commita9b9c64fd4c8d456f11dcbd409cdd62116eb021f (patch)
tree8fd1f264e525869a1890d2c9ed2523f9cecfd548 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
parent5ddbd1fdbb08b63a0e4b4468b374780cd36286ee (diff)
downloadllvm-a9b9c64fd4c8d456f11dcbd409cdd62116eb021f.zip
llvm-a9b9c64fd4c8d456f11dcbd409cdd62116eb021f.tar.gz
llvm-a9b9c64fd4c8d456f11dcbd409cdd62116eb021f.tar.bz2
change rvv frame layout
This patch change the rvv frame layout that proposed in D94465. In patch D94465, In the eliminateFrameIndex function, to eliminate the rvv frame index, create temp virtual register is needed. This virtual register should be scavenged by class RegsiterScavenger. If the machine function has other unused registers, there is no problem. But if there isn't unused registers, we need a emergency spill slot. Because of the emergency spill slot belongs to the scalar local variables field, to access emergency spill slot, we need a temp virtual register again. This makes the compiler report the "Incomplete scavenging after 2nd pass" error. So I change the rvv frame layout as follows: ``` |--------------------------------------| | arguments passed on the stack | |--------------------------------------|<--- fp | callee saved registers | |--------------------------------------| | rvv vector objects(local variables | | and outgoing arguments | |--------------------------------------| | realignment field | |--------------------------------------| | scalar local variable(also contains| | emergency spill slot) | |--------------------------------------|<--- bp | variable-sized local variables | |--------------------------------------|<--- sp ``` Differential Revision: https://reviews.llvm.org/D97111
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
0 files changed, 0 insertions, 0 deletions