1; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
2
3define i32 @f1(i32 %a) {
4    %tmp = sub i32 %a, 4095
5    ret i32 %tmp
6}
7; CHECK: f1:
8; CHECK: 	subw	r0, r0, #4095
9