diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:00:08 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:00:08 +0000 | 
| commit | c7dac04c3480f3c20487f912f77343139fce2d99 (patch) | |
| tree | 21a09bce0171e27bd1e92649db9df797fa097cea /lib/Target/PowerPC/PPCTargetMachine.cpp | |
| parent | 044eb2f6afba375a914ac9d8024f8f5142bb912e (diff) | |
Notes
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index 491f25ca2c64a..20a83c9730267 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -451,8 +451,7 @@ void PPCPassConfig::addPreEmitPass() {    addPass(createPPCBranchSelectionPass(), false);  } -TargetIRAnalysis PPCTargetMachine::getTargetIRAnalysis() { -  return TargetIRAnalysis([this](const Function &F) { -    return TargetTransformInfo(PPCTTIImpl(this, F)); -  }); +TargetTransformInfo +PPCTargetMachine::getTargetTransformInfo(const Function &F) { +  return TargetTransformInfo(PPCTTIImpl(this, F));  }  | 
