diff options
| author | Philip Reames <preames@rivosinc.com> | 2025-10-31 07:42:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-31 14:42:16 +0000 |
| commit | e72876a519b1c65dc2cee96d512ac6967c6a1555 (patch) | |
| tree | 52d4c18a274a103f52454538bfbd4de6117986d7 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 8f7efa094e9ca18f714094eaefb011442b124ec3 (diff) | |
| download | llvm-e72876a519b1c65dc2cee96d512ac6967c6a1555.zip llvm-e72876a519b1c65dc2cee96d512ac6967c6a1555.tar.gz llvm-e72876a519b1c65dc2cee96d512ac6967c6a1555.tar.bz2 | |
[RISCV] Mask integer and float loads as canFoldAsLoad for stackmaps (#165761)
We have two mechanisms used in inline spilled for folding a load into a
consuming instruction. One is used for stack reloads, the other for
other load instructions (usually argument loads). We currently only
implement optimizations for the first case, but stackmaps have generic
support in target independent code for the other. We can go ahead and
set the flag to enable that optimization.
The primary motivation for this is that if we enable load
rematerialization without it, we run into crashes where we can't make
progress through rematerialization.
We probably should enable the other foldMemoryOperand hook for RISCV
specific instructions, but that's a separate optimization.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
