We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2accefa commit ed46a5fCopy full SHA for ed46a5f
lib/Target/PowerPC/PPCCTRLoops.cpp
@@ -202,6 +202,7 @@ bool PPCCTRLoops::runOnFunction(Function &F) {
202
auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
203
LibInfo = TLIP ? &TLIP->getTLI() : nullptr;
204
PreserveLCSSA = mustPreserveAnalysisID(LCSSAID);
205
+ SchedModel.init(STI);
206
207
bool MadeChange = false;
208
test/CodeGen/PowerPC/ctrloop-shortLoops.ll
@@ -122,7 +122,7 @@ for.end: ; preds = %if.end
122
; a2q should use mtctr, but pwr8 should not use mtctr.
123
define signext i32 @testTripCount5() {
124
; CHECK-LABEL: testTripCount5:
125
-; CHECK-PWR8: mtctr
+; CHECK-PWR8-NOT: mtctr
126
; CHECK-A2Q: mtctr
127
128
entry:
0 commit comments