[X86][SSE] Added tests for i8/i16 vector shifts
[oota-llvm.git] / test / CodeGen / ARM / globals.ll
index 5e7e3f2a92eb988fd72ed4e1e15550ade03c9f8f..bab96dadce55ee00ea47713c6cef137f406ea4e3 100644 (file)
@@ -6,7 +6,7 @@
 @G = external global i32
 
 define i32 @test1() {
-       %tmp = load i32* @G
+       %tmp = load i32, i32* @G
        ret i32 %tmp
 }
 
@@ -43,6 +43,7 @@ define i32 @test1() {
 ; DarwinPIC: LPC0_0:
 ; DarwinPIC:    ldr r0, [pc, r0]
 ; DarwinPIC:    ldr r0, [r0]
+; DarwinPIC-NOT: ldr
 ; DarwinPIC:    bx lr
 
 ; DarwinPIC:   .align  2
@@ -57,7 +58,7 @@ define i32 @test1() {
 
 
 
-; LinuxPIC: test1:
+; LinuxPIC-LABEL: test1:
 ; LinuxPIC:    ldr r0, .LCPI0_0
 ; LinuxPIC:    ldr r1, .LCPI0_1
        
@@ -70,6 +71,5 @@ define i32 @test1() {
 ; LinuxPIC: .align 2
 ; LinuxPIC: .LCPI0_0:
 ; LinuxPIC:     .long _GLOBAL_OFFSET_TABLE_-(.LPC0_0+8)
-; LinuxPIC: .align 2
 ; LinuxPIC: .LCPI0_1:
 ; LinuxPIC:     .long  G(GOT)