1 ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {rsb\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#171\\|#1179666\\|#872428544\\|#1448498774\\|#66846720} | count 5
4 define i32 @f1(i32 %a) {
10 define i32 @f2(i32 %a) {
11 %tmp = sub i32 1179666, %a
15 ; 872428544 = 0x34003400
16 define i32 @f3(i32 %a) {
17 %tmp = sub i32 872428544, %a
21 ; 1448498774 = 0x56565656
22 define i32 @f4(i32 %a) {
23 %tmp = sub i32 1448498774, %a
27 ; 66846720 = 0x03fc0000
28 define i32 @f5(i32 %a) {
29 %tmp = sub i32 66846720, %a