Sign in
cobalt
/
cobalt
/
refs/heads/20.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
CodeGen
/
ARM
/
2012-09-18-ARMv4ISelBug.ll
blob: 8d777634f6c50d403ff550f9cbc33e9d21cddd42 [
file
] [
log
] [
blame
] [
edit
]
; RUN: llc -mtriple=arm-eabi -mcpu=arm7tdmi %s -o - | FileCheck %s
; movw is only legal for V6T2 and later.
; rdar://12300648
define
i32
@t
(
i32
%x
)
{
; CHECK-LABEL: t:
; CHECK-NOT: movw
%tmp
=
add
i32
%x
,
-
65535
ret
i32
%tmp
}