Differential Revision: https://reviews.llvm.org/D60177
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357962
91177308-0d34-0410-b5e6-
96231b3b80d8
auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
LibInfo = TLIP ? &TLIP->getTLI() : nullptr;
PreserveLCSSA = mustPreserveAnalysisID(LCSSAID);
+ SchedModel.init(STI);
bool MadeChange = false;
; a2q should use mtctr, but pwr8 should not use mtctr.
define signext i32 @testTripCount5() {
; CHECK-LABEL: testTripCount5:
-; CHECK-PWR8: mtctr
+; CHECK-PWR8-NOT: mtctr
; CHECK-A2Q: mtctr
entry: