mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Get the function specific subtarget.
llvm-svn: 230038
This commit is contained in:
parent
a480b0a899
commit
804b453f80
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user