Support for Hexagon VLIW Packetizer.
[oota-llvm.git] / test / CodeGen / Generic / global-ret0.ll
index dfe6aef67d36f6c58bb14a696b15bd4000d6a3e7..74bff876f882446577a5dc6f6bb4d9c5a4334525 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc
+; RUN: llc < %s
 
-%g = global int 0
+@g = global i32 0               ; <i32*> [#uses=1]
 
-int %main() {  
-  %h = load int* %g
-  ret int %h
+define i32 @main() {
+        %h = load i32* @g               ; <i32> [#uses=1]
+        ret i32 %h
 }