[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
parent
2aa998d2
Please register or sign in to comment