Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)...
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2009-05-09-PointerEdgeCount.ll
index 4261984025ef80ca52de36622ce01f1c92638240..5d1502da179f8788dfc6b1b1b7a4e67798c1d5d7 100644 (file)
@@ -1,6 +1,10 @@
-; RUN: opt %s -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] }