diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-08-04 23:47:55 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-04 23:47:55 +0000 |
commit | 35d6c41fde95422fb8483be0ac0af2b1425a4b13 (patch) | |
tree | b3dda01da047d6b0f2466bab08a6ff0f6a5cb860 /test/CodeGen/Thumb2/pic-load.ll | |
parent | 9eb5c93d34b7de9bd4387481c5048d3b13085712 (diff) | |
download | external_llvm-35d6c41fde95422fb8483be0ac0af2b1425a4b13.zip external_llvm-35d6c41fde95422fb8483be0ac0af2b1425a4b13.tar.gz external_llvm-35d6c41fde95422fb8483be0ac0af2b1425a4b13.tar.bz2 |
Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/pic-load.ll')
-rw-r--r-- | test/CodeGen/Thumb2/pic-load.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/pic-load.ll b/test/CodeGen/Thumb2/pic-load.ll index 553377b..92862c8 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 r0, r0, 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 |