aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Object/ELFObjectFileTest.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2025-10-31 07:42:16 -0700
committerGitHub <noreply@github.com>2025-10-31 14:42:16 +0000
commite72876a519b1c65dc2cee96d512ac6967c6a1555 (patch)
tree52d4c18a274a103f52454538bfbd4de6117986d7 /llvm/unittests/Object/ELFObjectFileTest.cpp
parent8f7efa094e9ca18f714094eaefb011442b124ec3 (diff)
downloadllvm-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 'llvm/unittests/Object/ELFObjectFileTest.cpp')
0 files changed, 0 insertions, 0 deletions