================ @@ -809,7 +826,59 @@ int64_t SIRegisterInfo::getFrameIndexInstrOffset(const MachineInstr *MI, return getScratchInstrOffset(MI); } +static bool isFIPlusImmOrVGPR(const SIRegisterInfo &TRI, + const MachineInstr &MI) { + const MachineOperand &Src0 = MI.getOperand(1); ---------------- rampitec wrote:
Assert this is an add or move the function inside the needsFrameBaseReg? https://github.com/llvm/llvm-project/pull/101692 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits