mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Remove the TargetMachine forwards for TargetSubtargetInfo based
information and update all callers. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -25,7 +25,9 @@
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
#include "llvm/Target/TargetLowering.h"
|
||||
#include "llvm/Target/TargetSubtargetInfo.h"
|
||||
#include "llvm/Transforms/Utils/GlobalStatus.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
/// ComputeLinearIndex - Given an LLVM IR aggregate type and a sequence
|
||||
@ -509,8 +511,8 @@ bool llvm::isInTailCallPosition(ImmutableCallSite CS, const TargetMachine &TM) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return returnTypeIsEligibleForTailCall(ExitBB->getParent(), I, Ret,
|
||||
*TM.getTargetLowering());
|
||||
return returnTypeIsEligibleForTailCall(
|
||||
ExitBB->getParent(), I, Ret, *TM.getSubtargetImpl()->getTargetLowering());
|
||||
}
|
||||
|
||||
bool llvm::returnTypeIsEligibleForTailCall(const Function *F,
|
||||
|
Reference in New Issue
Block a user