summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/long.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-11 16:48:36 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-11 16:48:36 +0000
commit581da642418d96bffa88ce840b0d564a0b6820cc (patch)
tree93edd11bfe3435eae6fc81114ab5387b9687e01e /llvm/test/CodeGen/ARM/long.ll
parent5fb3f665166dd1080be05022fce7288d6328d910 (diff)
downloadbcm5719-llvm-581da642418d96bffa88ce840b0d564a0b6820cc.tar.gz
bcm5719-llvm-581da642418d96bffa88ce840b0d564a0b6820cc.zip
Simplify printing of ARM shifted immediates.
Print shifted immediate values directly rather than as a payload+shifter value pair. This makes for more readable output assembly code, simplifies the instruction printer, and is consistent with how Thumb immediates are displayed. llvm-svn: 134902
Diffstat (limited to 'llvm/test/CodeGen/ARM/long.ll')
-rw-r--r--llvm/test/CodeGen/ARM/long.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/long.ll b/llvm/test/CodeGen/ARM/long.ll
index e401dca1ca8..0f1c7be6a3d 100644
--- a/llvm/test/CodeGen/ARM/long.ll
+++ b/llvm/test/CodeGen/ARM/long.ll
@@ -14,14 +14,14 @@ entry:
define i64 @f3() {
; CHECK: f3:
-; CHECK: mvn r0, #2, #2
+; CHECK: mvn r0, #-2147483648
entry:
ret i64 2147483647
}
define i64 @f4() {
; CHECK: f4:
-; CHECK: mov r0, #2, #2
+; CHECK: mov r0, #-2147483648
entry:
ret i64 2147483648
}
@@ -29,7 +29,7 @@ entry:
define i64 @f5() {
; CHECK: f5:
; CHECK: mvn r0, #0
-; CHECK: mvn r1, #2, #2
+; CHECK: mvn r1, #-2147483648
entry:
ret i64 9223372036854775807
}
OpenPOWER on IntegriCloud