diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-05-31 10:14:34 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-05-31 10:25:28 -0700 |
commit | 1b2de79ff4b27f3dee342607ee5285d870be08cb (patch) | |
tree | 4670a2c88f78e3cffcb20823e7e4efd43d1eca36 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9d1b260fae40379d1dfbc33255f0f1c3854c06d2 (diff) | |
download | llvm-1b2de79ff4b27f3dee342607ee5285d870be08cb.zip llvm-1b2de79ff4b27f3dee342607ee5285d870be08cb.tar.gz llvm-1b2de79ff4b27f3dee342607ee5285d870be08cb.tar.bz2 |
[RISCV] Use two ADDIs to do some stack pointer adjustments.
If the adjustment doesn't fit in 12 bits, try to break it into
two 12 bit values before falling back to movImm+add/sub.
This is based on a similar idea from isel.
Reviewed By: luismarques, reames
Differential Revision: https://reviews.llvm.org/D126392
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions