Sign in
ara-mdk
/
platform
/
external
/
llvm
/
7e6274dc66895c11a5743dad7d95a2a255819f91
/
.
/
test
/
CodeGen
/
ARM
/
2012-09-18-ARMv4ISelBug.ll
blob: e761ffe72c13a0ca61673ce6d45b97c757c77bdb [
file
] [
log
] [
blame
]
; 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
}