[llvm] [RISCV] Add a rematerializable pseudo instruction for LUI+ADDI for global addresses. (PR #93352)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 13:07:47 PDT 2024
================
@@ -44,6 +44,7 @@ class RISCVPostRAExpandPseudo : public MachineFunctionPass {
bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
MachineBasicBlock::iterator &NextMBBI);
bool expandMovImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
+ bool expandLIaddr(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
----------------
preames wrote:
expandMovAddr just for consistency.
https://github.com/llvm/llvm-project/pull/93352
More information about the llvm-commits
mailing list