mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Get the function specific subtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -518,8 +518,9 @@ bool llvm::isInTailCallPosition(ImmutableCallSite CS, const TargetMachine &TM) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const Function *F = ExitBB->getParent();
|
||||
return returnTypeIsEligibleForTailCall(
|
||||
ExitBB->getParent(), I, Ret, *TM.getSubtargetImpl()->getTargetLowering());
|
||||
F, I, Ret, *TM.getSubtargetImpl(*F)->getTargetLowering());
|
||||
}
|
||||
|
||||
bool llvm::returnTypeIsEligibleForTailCall(const Function *F,
|
||||
|
Reference in New Issue
Block a user