Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)...
[oota-llvm.git] / test / Analysis / GlobalsModRef / 2008-09-03-ReadGlobals.ll
index e10d9bd5f0ee2088fa960cb6655faff6c06a8fd2..d51c159a91175fe2afc337c1bafa0625cf00a31e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | grep call | count 2
+; RUN: opt < %s -globalsmodref-aa -gvn -S | FileCheck %s
 
 @g = internal global i32 0             ; <i32*> [#uses=2]
 
@@ -8,6 +8,8 @@ define i32 @r() {
 }
 
 define i32 @f() {
+; CHECK: call i32 @e()
+; CHECK: call i32 @e()
 entry:
        %tmp = call i32 @e( )           ; <i32> [#uses=1]
        store i32 %tmp, i32* @g