[llvm-commits] [llvm] r77006 - in /llvm/trunk/test/CodeGen/Thumb2: load-global.ll pic-load.ll

Evan Cheng evan.cheng at apple.com
Fri Jul 24 15:42:22 PDT 2009


Author: evancheng
Date: Fri Jul 24 17:42:22 2009
New Revision: 77006

URL: http://llvm.org/viewvc/llvm-project?rev=77006&view=rev
Log:
Fix these tests.

Modified:
    llvm/trunk/test/CodeGen/Thumb2/load-global.ll
    llvm/trunk/test/CodeGen/Thumb2/pic-load.ll

Modified: llvm/trunk/test/CodeGen/Thumb2/load-global.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/load-global.ll?rev=77006&r1=77005&r2=77006&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/load-global.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/load-global.ll Fri Jul 24 17:42:22 2009
@@ -17,7 +17,7 @@
 ; DYNAMIC: .long L_G$non_lazy_ptr
 
 ; PIC: _test1
-; PIC: add r0, pc
+; PIC: add r0, r0, pc
 ; PIC: .long L_G$non_lazy_ptr-(LPC0+4)
 
 ; LINUX: test1

Modified: llvm/trunk/test/CodeGen/Thumb2/pic-load.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/pic-load.ll?rev=77006&r1=77005&r2=77006&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/pic-load.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/pic-load.ll Fri Jul 24 17:42:22 2009
@@ -8,7 +8,7 @@
 define hidden arm_apcscc i32 @atexit(void ()* %func) nounwind {
 entry:
 ; CHECK: atexit:
-; CHECK: add r1, pc
+; CHECK: add r1, r1, 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





More information about the llvm-commits mailing list