diff options
author | Philip Reames <preames@rivosinc.com> | 2022-11-18 15:30:39 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-11-18 15:30:39 -0800 |
commit | 06e2b44c46243a74ba5682aa3225d79e45038651 (patch) | |
tree | af202dee5f42c3ba1cd07c8569f83f3913f33d05 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 6705d940054da319b49aa74be2427b045d6edf80 (diff) | |
download | llvm-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/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions