aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/pic-load.ll
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-07-30 18:56:48 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-07-30 18:56:48 +0000
commitd8c95b5ac2ae0619c22434dbdd993196ea82489b (patch)
treea528043507699838e145e501dcab5a5b65d19c26 /test/CodeGen/Thumb2/pic-load.ll
parent78ab9e2c4907428f5f0d8aa594258ac188dd2125 (diff)
Cleanup and include code selection for some frame index cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/pic-load.ll')
-rw-r--r--test/CodeGen/Thumb2/pic-load.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/pic-load.ll b/test/CodeGen/Thumb2/pic-load.ll
index 71fec5d96d..553377b48b 100644
--- a/test/CodeGen/Thumb2/pic-load.ll
+++ b/test/CodeGen/Thumb2/pic-load.ll
@@ -8,7 +8,7 @@
define hidden arm_apcscc i32 @atexit(void ()* %func) nounwind {
entry:
; CHECK: atexit:
-; CHECK: add.w r1, r1, pc
+; CHECK: add.w r0, 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