Reinstate this optimization to fold icmp of xor when possible. Don't try to
[oota-llvm.git] / test / ExecutionEngine / hello2.ll
index 92aa5f1918411f06326a29220cb6bdd4286dc9e4..a6a6194ca4d62d2bc3b75951210a065a90f902e7 100644 (file)
@@ -1,22 +1,18 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-as %s -f -o %t.bc
 ; RUN: lli %t.bc > /dev/null
 
+@X = global i32 7              ; <i32*> [#uses=0]
+@msg = internal global [13 x i8] c"Hello World\0A\00"          ; <[13 x i8]*> [#uses=1]
 
-%X = global int 7
-%msg = internal global [13 x sbyte] c"Hello World\0A\00"
+declare void @printf([13 x i8]*, ...)
 
-
-implementation
-
-declare void %printf([13 x sbyte]*,...)
-
-void %bar() {
-  call void([13 x sbyte]*,...)* %printf([13 x sbyte]* %msg)
-  ret void 
+define void @bar() {
+       call void ([13 x i8]*, ...)* @printf( [13 x i8]* @msg )
+       ret void
 }
 
-int %main() {
-        call void %bar()
-        ret int 0
+define i32 @main() {
+       call void @bar( )
+       ret i32 0
 }