blob: 8d777634f6c50d403ff550f9cbc33e9d21cddd42 [file] [log] [blame]
Saleem Abdulrasool72587352014-04-03 16:01:44 +00001; RUN: llc -mtriple=arm-eabi -mcpu=arm7tdmi %s -o - | FileCheck %s
Evan Cheng1de7ec82012-09-18 21:24:16 +00002
3; movw is only legal for V6T2 and later.
4; rdar://12300648
5
6define i32 @t(i32 %x) {
Stephen Lind24ab202013-07-14 06:24:09 +00007; CHECK-LABEL: t:
Evan Cheng1de7ec82012-09-18 21:24:16 +00008; CHECK-NOT: movw
9 %tmp = add i32 %x, -65535
10 ret i32 %tmp
11}