diff options
Diffstat (limited to 'contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp')
| -rw-r--r-- | contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp b/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp index e74d68182949..3a167a6d452a 100644 --- a/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp +++ b/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp @@ -257,8 +257,7 @@ TargetPassConfig *SystemZTargetMachine::createPassConfig(PassManagerBase &PM) {    return new SystemZPassConfig(*this, PM);  } -TargetIRAnalysis SystemZTargetMachine::getTargetIRAnalysis() { -  return TargetIRAnalysis([this](const Function &F) { -    return TargetTransformInfo(SystemZTTIImpl(this, F)); -  }); +TargetTransformInfo +SystemZTargetMachine::getTargetTransformInfo(const Function &F) { +  return TargetTransformInfo(SystemZTTIImpl(this, F));  } | 
