Implement function prefix data as an IR feature.
[oota-llvm.git] / test / Feature / weak_constant.ll
index 06cfe115cd550cdf49b57957f3f151d76c98a8ee..fba7f12e1dee433aca5f56ee90c25f1daf5c90d4 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: opt %s -std-compile-opts | llvm-dis > %t
+; RUN: opt < %s -std-compile-opts -S > %t
 ; RUN:   grep undef %t | count 1
 ; RUN:   grep 5 %t | count 1
 ; RUN:   grep 7 %t | count 1
 ; RUN:   grep 9 %t | count 1
 
-       type { i32, i32 }               ; type %0
+       %0 = type { i32, i32 }          ; type %0
 @a = weak constant i32 undef           ; <i32*> [#uses=1]
 @b = weak constant i32 5               ; <i32*> [#uses=1]
 @c = weak constant %0 { i32 7, i32 9 }         ; <%0*> [#uses=1]