aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-05-03 19:29:33 -0700
committerCraig Topper <craig.topper@sifive.com>2022-05-03 19:35:21 -0700
commit9cce9a126cca662316e650f9111fc715dc3e0351 (patch)
tree8ff48e0fd71b0618c4bce99d4353da34dc5e1e3c /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent097181974067ff9372faccfd419a51f9ba662443 (diff)
downloadllvm-9cce9a126cca662316e650f9111fc715dc3e0351.zip
llvm-9cce9a126cca662316e650f9111fc715dc3e0351.tar.gz
llvm-9cce9a126cca662316e650f9111fc715dc3e0351.tar.bz2
[RISCV] Make use of SHXADD instructions in RVV spill/reload code.
We can use SH1ADD, SH2ADD, SH3ADD to multipy by 3, 5, and 9 respectively. We could extend this to 3, 5, or 9 multiplied by a power 2 by also emitting a SLLI. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D124824
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions