1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

Fix these tests.

llvm-svn: 77006
This commit is contained in:
Evan Cheng 2009-07-24 22:42:22 +00:00
parent 11e86150c4
commit b8b61017e8
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ define i32 @test1() {
; 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

View File

@ -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