X86: Make sure we account for the FMA4 register immediate value, otherwise rip-rel...
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-11-18-Stride1.ll
index 78cda0e175f4baec5bc489eb512b395737852832..56a83438830e7c3d92c04b663d68e3dc035c4fd1 100644 (file)
@@ -1,4 +1,9 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& 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: