remove xfail
[oota-llvm.git] / test / CodeGen / Thumb2 / pic-load.ll
index 5db2e9e267e0140e36066e1a82090c2d69765389..1f8aea912f6f207125a9c1ec05d6da5a8169b97b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin9 -relocation-model=pic | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -relocation-model=pic | FileCheck %s
 
        %struct.anon = type { void ()* }
        %struct.one_atexit_routine = type { %struct.anon, i32, i8* }
@@ -8,7 +8,7 @@
 define hidden arm_apcscc i32 @atexit(void ()* %func) nounwind {
 entry:
 ; CHECK: atexit:
-; CHECK: add r1, r1, pc
+; CHECK: add r0, pc
        %r = alloca %struct.one_atexit_routine, align 4         ; <%struct.one_atexit_routine*> [#uses=3]
        %0 = getelementptr %struct.one_atexit_routine* %r, i32 0, i32 0, i32 0          ; <void ()**> [#uses=1]
        store void ()* %func, void ()** %0, align 4