[llvm] [RISCV][GlobalISel] Select G_PTR_ADD (PR #67605)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 15:57:04 PDT 2023
================
@@ -45,6 +45,16 @@ class RISCVInstructionSelector : public InstructionSelector {
getRegClassForTypeOnBank(LLT Ty, const RegisterBank &RB) const;
bool selectImpl(MachineInstr &I, CodeGenCoverage &CoverageInfo) const;
+
+ // A lowering phase that runs before any selection attempts.
+ // Returns true if the instruction was modified.
+ bool preISelLower(MachineInstr &MI, MachineIRBuilder &MIB,
----------------
mshockwave wrote:
I don't think we need the return value here, as opposed to its AArch64 counterpart
https://github.com/llvm/llvm-project/pull/67605
More information about the llvm-commits
mailing list