aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2022-11-18 15:30:39 -0800
committerPhilip Reames <listmail@philipreames.com>2022-11-18 15:30:39 -0800
commit06e2b44c46243a74ba5682aa3225d79e45038651 (patch)
treeaf202dee5f42c3ba1cd07c8569f83f3913f33d05 /lldb/source/Plugins/ScriptInterpreter/Python
parent6705d940054da319b49aa74be2427b045d6edf80 (diff)
downloadllvm-06e2b44c46243a74ba5682aa3225d79e45038651.zip
llvm-06e2b44c46243a74ba5682aa3225d79e45038651.tar.gz
llvm-06e2b44c46243a74ba5682aa3225d79e45038651.tar.bz2
[RISCV] Optimize scalable frame setup when VLEN is precisely known
If we know the exact value of VLEN, the frame offset adjustment for scalable stack slots becomes a fixed constant. This avoids the need to read vlenb, and may allow the offset to be folded into the immediate field of an add/sub. We could go further here, and fold the offset into a single larger frame adjustment - instead of having a separate scalable adjustment step - but that requires a bit more code reorganization. I may (or may not) return to that in a future patch. Differential Revision: https://reviews.llvm.org/D137593
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions