diff options
| author | Chen Zheng <czhengsz@cn.ibm.com> | 2019-04-09 01:25:25 +0000 |
|---|---|---|
| committer | Chen Zheng <czhengsz@cn.ibm.com> | 2019-04-09 01:25:25 +0000 |
| commit | 19ce6719bc8412b15addd46dd2e12a2fe2cd07a6 (patch) | |
| tree | 9a7fb501f365eb1058eaf51b4047ce471eaf936e /llvm/lib/Target/PowerPC | |
| parent | 6f75a8f5d0679eed4ead6f89d8d5a17e01b1765e (diff) | |
| download | bcm5719-llvm-19ce6719bc8412b15addd46dd2e12a2fe2cd07a6.tar.gz bcm5719-llvm-19ce6719bc8412b15addd46dd2e12a2fe2cd07a6.zip | |
[PowerPC] initialize SchedModel according to platform.
Differential Revision: https://reviews.llvm.org/D60177
llvm-svn: 357962
Diffstat (limited to 'llvm/lib/Target/PowerPC')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCCTRLoops.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp index c52d7d83dfc..526e06aeb2a 100644 --- a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp +++ b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp @@ -202,6 +202,7 @@ bool PPCCTRLoops::runOnFunction(Function &F) { auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>(); LibInfo = TLIP ? &TLIP->getTLI() : nullptr; PreserveLCSSA = mustPreserveAnalysisID(LCSSAID); + SchedModel.init(STI); bool MadeChange = false; |

