Use WriteAsOperand instead of getName() to print loop header names,
[oota-llvm.git] / test / Analysis / ScalarEvolution / trip-count8.ll
index 21ccc47b8b9adedb8473c9020793367ceb895e06..5063342f178b428f85568d28c7f3e846535940fa 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
-; RUN:  | grep {Loop for\\.body: backedge-taken count is (-1 + \[%\]ecx)}
+; RUN: opt < %s -analyze -scalar-evolution -disable-output \
+; RUN:  | grep {Loop %for\\.body: backedge-taken count is (-1 + \[%\]ecx)}
 ; PR4599
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"