summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/thumb2-select_xform.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-06-18 23:32:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-06-18 23:32:07 +0000
commit96c3da64363ef8c0fddf4dbba7576332ef868780 (patch)
treeea2e6f21c3ae93e658ec07af1bd7b813937f943b /test/CodeGen/Thumb2/thumb2-select_xform.ll
parentdb4971259ce94cea26e555e9ade82672a3581f5c (diff)
downloadexternal_llvm-96c3da64363ef8c0fddf4dbba7576332ef868780.zip
external_llvm-96c3da64363ef8c0fddf4dbba7576332ef868780.tar.gz
external_llvm-96c3da64363ef8c0fddf4dbba7576332ef868780.tar.bz2
Move ARM if-conversion before post-ra scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-select_xform.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-select_xform.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-select_xform.ll b/test/CodeGen/Thumb2/thumb2-select_xform.ll
index 7fc2e2a..56cb1f6 100644
--- a/test/CodeGen/Thumb2/thumb2-select_xform.ll
+++ b/test/CodeGen/Thumb2/thumb2-select_xform.ll
@@ -3,8 +3,8 @@
define i32 @t1(i32 %a, i32 %b, i32 %c) nounwind {
; CHECK: t1
; CHECK: sub.w r0, r1, #-2147483648
+; CHECK: subs r0, #1
; CHECK: cmp r2, #10
-; CHECK: sub.w r0, r0, #1
; CHECK: it gt
; CHECK: movgt r0, r1
%tmp1 = icmp sgt i32 %c, 10