[PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021)
[oota-llvm.git] / test / Transforms / GlobalOpt / 2009-02-15-BitcastAlias.ll
index a1b69efe1a76f1e5cf8778644871a59b6f6a4ea7..e6337adefa132e6aef7dc935fa6115da72f2b657 100644 (file)
@@ -1,10 +1,10 @@
 ; RUN: opt < %s -globalopt
 
-@g = external global i32
+@g = global i32 0
 
-@a = alias bitcast (i32* @g to i8*)
+@a = alias i8, bitcast (i32* @g to i8*)
 
 define void @f() {
-       %tmp = load i8* @a
+       %tmp = load i8, i8* @a
        ret void
 }