summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/select-imm.ll
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
commit742adc328a52a7b342cbeb2a3ce75480734bf888 (patch)
tree480e59e410c2cf09064a51697d999c01f7e4947c /llvm/test/CodeGen/ARM/select-imm.ll
parent894d2e61467a09581d8bd3fb600df5b3dee78aed (diff)
downloadbcm5719-llvm-742adc328a52a7b342cbeb2a3ce75480734bf888.tar.gz
bcm5719-llvm-742adc328a52a7b342cbeb2a3ce75480734bf888.zip
Allow use of the 16-bit literal move instruction in CMOVs for ARM mode.
llvm-svn: 115884
Diffstat (limited to 'llvm/test/CodeGen/ARM/select-imm.ll')
-rw-r--r--llvm/test/CodeGen/ARM/select-imm.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/select-imm.ll b/llvm/test/CodeGen/ARM/select-imm.ll
index 6e15fde045f..66e025e3f52 100644
--- a/llvm/test/CodeGen/ARM/select-imm.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud