[PowerPC] Fix the PPCInstrInfo::getInstrLatency implementation
[oota-llvm.git] / test / CodeGen / PowerPC / ppc-crbits-onoff.ll
index 88648df5fa363550452b47d5a83c6d8593b7be06..c69f30017d881a24485cac7a6db11c115b13c736 100644 (file)
@@ -15,8 +15,8 @@ entry:
 ; CHECK-DAG: cmplwi {{[0-9]+}}, 3, 0
 ; CHECK-DAG: li [[REG2:[0-9]+]], 1
 ; CHECK-DAG: cntlzw [[REG3:[0-9]+]],
-; CHECK: isel 3, 0, [[REG2]]
-; CHECK: and 3, 3, [[REG3]]
+; CHECK: isel [[REG4:[0-9]+]], 0, [[REG2]]
+; CHECK: and 3, [[REG4]], [[REG3]]
 ; CHECK: blr
 }