Files
clang-p2996/llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
Craig Topper 306adcc852 [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
2022-12-20 07:16:43 -08:00

16 KiB