aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-07 00:42:42 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-07 00:42:42 +0000
commit3bbdcea49abddea69d124e7ef055c9fdaa8d12f6 (patch)
treeb4af7a4a7a077d1b1fb1d448c2468fd23226b39b /test/CodeGen
parent1bb9adae4ca5c3da92e5733aa8b105645a0f7fea (diff)
downloadexternal_llvm-3bbdcea49abddea69d124e7ef055c9fdaa8d12f6.zip
external_llvm-3bbdcea49abddea69d124e7ef055c9fdaa8d12f6.tar.gz
external_llvm-3bbdcea49abddea69d124e7ef055c9fdaa8d12f6.tar.bz2
Allow use of the 16-bit literal move instruction in CMOVs for ARM mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/ARM/select-imm.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/select-imm.ll b/test/CodeGen/ARM/select-imm.ll
index 6e15fde..66e025e 100644
--- a/test/CodeGen/ARM/select-imm.ll
+++ b/test/CodeGen/ARM/select-imm.ll
@@ -25,8 +25,8 @@ entry:
; ARM: movle r0, #123
; T2: t2:
-; T2: movw r0, #357
-; T2: movle r0, #123
+; T2: mov r0, #123
+; T2: movwgt r0, #357
%0 = icmp sgt i32 %c, 1
%1 = select i1 %0, i32 357, i32 123