brintos

brintos / llvm-project-archived public Read only

0
0
Text · 838 B · 70de9c9 Raw
42 lines · plain
1; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s2 3; 171 = 0x000000ab4define i32 @f1(i32 %a) {5    %tmp = and i32 %a, 1716    ret i32 %tmp7}8; CHECK-LABEL: f1:9; CHECK: 	and	r0, r0, #17110 11; 1179666 = 0x0012001212define i32 @f2(i32 %a) {13    %tmp = and i32 %a, 117966614    ret i32 %tmp15}16; CHECK-LABEL: f2:17; CHECK: 	and	r0, r0, #117966618 19; 872428544 = 0x3400340020define i32 @f3(i32 %a) {21    %tmp = and i32 %a, 87242854422    ret i32 %tmp23}24; CHECK-LABEL: f3:25; CHECK: 	and	r0, r0, #87242854426 27; 1448498774 = 0x5656565628define i32 @f4(i32 %a) {29    %tmp = and i32 %a, 144849877430    ret i32 %tmp31}32; CHECK-LABEL: f4:33; CHECK: bic r0, r0, #-144849877534 35; 66846720 = 0x03fc000036define i32 @f5(i32 %a) {37    %tmp = and i32 %a, 6684672038    ret i32 %tmp39}40; CHECK-LABEL: f5:41; CHECK: 	and	r0, r0, #6684672042