1; RUN: llc -mtriple=arm-eabi -mcpu=arm7tdmi %s -o - | FileCheck %s
2
3; movw is only legal for V6T2 and later.
4; rdar://12300648
5
6define i32 @t(i32 %x) {
7; CHECK-LABEL: t:
8; CHECK-NOT: movw
9  %tmp = add i32 %x, -65535
10  ret i32 %tmp
11}
12