summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-10-08 20:43:22 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-10-08 20:43:22 +0000
commit222b86cd54e732cf1b9ec66fe103c54211b6e44a (patch)
treeb25d9fa0e247014a21e4ff88a3e474ffb25d0f79 /llvm/test
parente1969dcd110261be9cd09d28a993d2dc5feadb9f (diff)
downloadbcm5719-llvm-222b86cd54e732cf1b9ec66fe103c54211b6e44a.tar.gz
bcm5719-llvm-222b86cd54e732cf1b9ec66fe103c54211b6e44a.zip
Use lower16 / upper16 imm modifiers to asmprint 32-bit imms splitted via movt/movw pair.
llvm-svn: 83572
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/t2-imm.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/t2-imm.ll b/llvm/test/CodeGen/ARM/t2-imm.ll
index 8b619bfef3e..848a4dfed05 100644
--- a/llvm/test/CodeGen/ARM/t2-imm.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud