diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-10-08 20:43:22 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-10-08 20:43:22 +0000 |
commit | 632606c724ebcfa6a9da71c443151e7a65829c99 (patch) | |
tree | 0d5db6b860d019541efdd7b9e9fba710c1c6c5f8 /test/CodeGen/ARM/t2-imm.ll | |
parent | 85d29e2de30cf49956558e45246b998f6d9ed985 (diff) | |
download | llvm-632606c724ebcfa6a9da71c443151e7a65829c99.tar.gz llvm-632606c724ebcfa6a9da71c443151e7a65829c99.tar.bz2 llvm-632606c724ebcfa6a9da71c443151e7a65829c99.tar.xz |
Use lower16 / upper16 imm modifiers to asmprint 32-bit imms splitted via movt/movw pair.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/t2-imm.ll')
-rw-r--r-- | test/CodeGen/ARM/t2-imm.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/t2-imm.ll b/test/CodeGen/ARM/t2-imm.ll index 8b619bfef3..848a4dfed0 100644 --- a/test/CodeGen/ARM/t2-imm.ll +++ b/test/CodeGen/ARM/t2-imm.ll @@ -2,8 +2,8 @@ define i32 @f6(i32 %a) { ; CHECK:f6 -; CHECK: movw r0, #1123 -; CHECK: movt r0, #1000 +; CHECK: movw r0, #:lower16:65537123 +; CHECK: movt r0, #:upper16:65537123 %tmp = add i32 0, 65537123 ret i32 %tmp } |