[RISCV] Reduce duplicated code in RISCVMergeBaseOffsetOpt::detectFoldable. NFC
The LUI and AUIPC share quite a few similarities. This refactors the code to share what we can. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D140345
parent
4a2e7da3
Please register or sign in to comment