summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commit79c079b4789823b8175f8bc4c65005ee3ec52ede (patch)
tree01d4c2952663965800234bbff2ddf9378a8d9d15 /llvm/test
parent63524446351835225a5815dbf360ce727ca81e6b (diff)
downloadbcm5719-llvm-79c079b4789823b8175f8bc4c65005ee3ec52ede.tar.gz
bcm5719-llvm-79c079b4789823b8175f8bc4c65005ee3ec52ede.zip
Cleanup and include code selection for some frame index cases.
llvm-svn: 77622
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/Thumb2/pic-load.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/pic-load.ll b/llvm/test/CodeGen/Thumb2/pic-load.ll
index 71fec5d96d0..553377b48bc 100644
--- a/llvm/test/CodeGen/Thumb2/pic-load.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud