git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253244
91177308-0d34-0410-b5e6-
96231b3b80d8
// not taking a chance at messing with them.
// I.e., unless this block is already an exit block, we can't use
// it as an epilogue.
- if (MBB.getParent()->getSubtarget<X86Subtarget>().isTargetWin64() &&
- !MBB.succ_empty() && !MBB.isReturnBlock())
+ if (STI.isTargetWin64() && !MBB.succ_empty() && !MBB.isReturnBlock())
return false;
if (canUseLEAForSPInEpilogue(*MBB.getParent()))