The BLX instruction is encoded differently than the BL, because why not? In
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-11-18-Stride1.ll
index fc6bbb1e3d3cad1313d521be03332072e99dbce5..db527fefa976b090c6907e29d98565ac1d965095 100644 (file)
@@ -1,4 +1,9 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 3}
+; RUN: opt < %s -analyze -scalar-evolution \
+; RUN:  | grep {Loop %bb: Unpredictable backedge-taken count\\.}
+
+; ScalarEvolution can't compute a trip count because it doesn't know if
+; dividing by the stride will have a remainder. This could theoretically
+; be teaching it how to use a more elaborate trip count computation.
 
 define i32 @f(i32 %x) nounwind readnone {
 entry: