Add explicit -mtriple=arm-unknown to llvm/test/CodeGen/ARM/disable-tail-calls.ll...
[oota-llvm.git] / test / CodeGen / ARM / 2012-09-18-ARMv4ISelBug.ll
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
6 define i32 @t(i32 %x) {
7 ; CHECK-LABEL: t:
8 ; CHECK-NOT: movw
9   %tmp = add i32 %x, -65535
10   ret i32 %tmp
11 }