[llvm] [CFI][stackprobe] Shrink wrapper select safe prologue insertion block when inline stack probing is enabled (PR #81676)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 11:12:17 PST 2024


================
@@ -2010,6 +2010,11 @@ class TargetLoweringBase {
 
   virtual bool hasInlineStackProbe(const MachineFunction &MF) const { return false; }
 
+  virtual bool
+  isStackProbeInstrDefinedFlagRegLiveIn(const MachineBasicBlock *MBB) const {
----------------
momchil-velikov wrote:

Suggest renaming to something like `stackProbingMayClobberLiveInRegs`.

https://github.com/llvm/llvm-project/pull/81676


More information about the llvm-commits mailing list