Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)...
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2009-05-09-PointerEdgeCount.ll
index 5e5128bd577a6b5e3183087167d3f903ab45f7bf..5d1502da179f8788dfc6b1b1b7a4e67798c1d5d7 100644 (file)
@@ -1,6 +1,10 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {count is 2}
+; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s
 ; PR3171
 
+; CHECK: count is 2
+
+target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
+
        %struct.Foo = type { i32 }
        %struct.NonPod = type { [2 x %struct.Foo] }