aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/sub.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
commit589130fac11bc8c186736161600575c3ed6acc5b (patch)
treec998cc511d05334bb9e6cb222ad7b86376db753a /test/CodeGen/ARM/sub.ll
parent6e6cdd00aaca083779eb70dc238779935da6b9c8 (diff)
downloadexternal_llvm-589130fac11bc8c186736161600575c3ed6acc5b.zip
external_llvm-589130fac11bc8c186736161600575c3ed6acc5b.tar.gz
external_llvm-589130fac11bc8c186736161600575c3ed6acc5b.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/sub.ll')
-rw-r--r--test/CodeGen/ARM/sub.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/sub.ll b/test/CodeGen/ARM/sub.ll
index 555b18e..06ea703 100644
--- a/test/CodeGen/ARM/sub.ll
+++ b/test/CodeGen/ARM/sub.ll
@@ -12,7 +12,7 @@ define i64 @f1(i64 %a) {
; 66846720 = 0x03fc0000
define i64 @f2(i64 %a) {
; CHECK: f2
-; CHECK: subs r0, r0, #255, #14
+; CHECK: subs r0, r0, #66846720
; CHECK: sbc r1, r1, #0
%tmp = sub i64 %a, 66846720
ret i64 %tmp