mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
1a3416521f
llvm-svn: 164169
12 lines
217 B
LLVM
12 lines
217 B
LLVM
; RUN: llc < %s -march=arm -mcpu=arm7tdmi | FileCheck %s
|
|
|
|
; movw is only legal for V6T2 and later.
|
|
; rdar://12300648
|
|
|
|
define i32 @t(i32 %x) {
|
|
; CHECK: t:
|
|
; CHECK-NOT: movw
|
|
%tmp = add i32 %x, -65535
|
|
ret i32 %tmp
|
|
}
|