[PATCH] D123265: [RISCV] Extend the Merge Base Offset pass to handle AUIPC+ADDI
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 10:24:40 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp:125
+ Hi.getOperand(1).setOffset(Offset);
+ Lo.getOperand(2).setOffset(Offset);
// Delete the tail instruction.
----------------
This should also be skipped if Hi is AUIPC
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123265/new/
https://reviews.llvm.org/D123265
More information about the llvm-commits
mailing list