commit | d16eb2fb217128c28c5ce2fefbd08d3e9236aa5c | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Tue Aug 04 23:47:55 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Tue Aug 04 23:47:55 2009 +0000 |
tree | b3dda01da047d6b0f2466bab08a6ff0f6a5cb860 | |
parent | d55466f386e5e8ef651dd0862e6052d0e03b0a85 [diff] [blame] |
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
diff --git a/test/CodeGen/Thumb2/load-global.ll b/test/CodeGen/Thumb2/load-global.ll index 24aaf21..4aad567 100644 --- a/test/CodeGen/Thumb2/load-global.ll +++ b/test/CodeGen/Thumb2/load-global.ll
@@ -17,7 +17,7 @@ ; DYNAMIC: .long L_G$non_lazy_ptr ; PIC: _test1 -; PIC: add.w r0, r0, pc +; PIC: add r0, pc ; PIC: .long L_G$non_lazy_ptr-(LPC0+4) ; LINUX: test1