aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-12-20 07:05:37 -0800
committerCraig Topper <craig.topper@sifive.com>2022-12-20 07:16:43 -0800
commit4a2e7da3ce3e8b6fa8d7d886be441dda42c18265 (patch)
treeafdb7472af3a13a202241d0189f63c192acdaf4f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent2aa998d22fe09191cd6c1b697e373266c1131502 (diff)
downloadllvm-4a2e7da3ce3e8b6fa8d7d886be441dda42c18265.zip
llvm-4a2e7da3ce3e8b6fa8d7d886be441dda42c18265.tar.gz
llvm-4a2e7da3ce3e8b6fa8d7d886be441dda42c18265.tar.bz2
[RISCV] Teach RISCVMergeBaseOffset to handle constant pools.
Primarily this allows us to fold the addi from PseudoLLA expansion into a load. If the linker is able to GP relax the constant pool access we'll end up with a GP relative load. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D140341
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions