Merging r258616:
[oota-llvm.git] / test / Transforms / GlobalOpt / storepointer-compare.ll
index ca49ea6a8aaa7ec93f0cc7eae0b603664d62bc85..bcf7cafd831ce6da1f1677ba05262abf808537f5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -globalopt | llvm-dis | \
-; RUN:   grep {call void @Actual}
+; RUN: opt < %s -globalopt -S | \
+; RUN:   grep "call void @Actual"
 
 ; Check that a comparison does not prevent an indirect call from being made 
 ; direct.  The global will still remain, but indirect call elim is still good.
@@ -16,7 +16,7 @@ define void @init() {
 }
 
 define void @doit() {
-        %FP = load void ()** @G         ; <void ()*> [#uses=2]
+        %FP = load void ()*, void ()** @G         ; <void ()*> [#uses=2]
         %CC = icmp eq void ()* %FP, null                ; <i1> [#uses=1]
         br i1 %CC, label %isNull, label %DoCall