================
@@ -2187,3 +2212,15 @@ bool SIFrameLowering::requiresStackPointerReference(
// references the SP, like variable sized stack objects.
return frameTriviallyRequiresSP(MFI);
}
+
+MachineInstr *SIFrameLowering::buildCFI(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator MBBI,
+ const DebugLoc &DL,
+ const MCCFIInstruction &CFIInst,
+ MachineInstr::MIFlag flag) const {
+ MachineFunction &MF = *MBB.getParent();
+ const SIInstrInfo *TII = MF.getSubtarget<GCNSubtarget>().getInstrInfo();
----------------
arsenm wrote:
Either/or. Probably should be the target specific instance in the target
subclasses
https://github.com/llvm/llvm-project/pull/183152
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits