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
This commit is contained in:
Jim Grosbach
2010-10-07 00:42:42 +00:00
parent 1bb9adae4c
commit 3bbdcea49a
4 changed files with 32 additions and 17 deletions

View File

@@ -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