]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/ARM/bfc.ll
Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function...
[opencl/llvm.git] / test / CodeGen / ARM / bfc.ll
1 ; RUN: llc < %s -march=arm -mattr=+v6t2 | FileCheck %s
3 ; 4278190095 = 0xff00000f
4 define i32 @f1(i32 %a) {
5 ; CHECK-LABEL: f1:
6 ; CHECK: bfc
7     %tmp = and i32 %a, 4278190095
8     ret i32 %tmp
9 }
11 ; 4286578688 = 0xff800000
12 define i32 @f2(i32 %a) {
13 ; CHECK-LABEL: f2:
14 ; CHECK: bfc
15     %tmp = and i32 %a, 4286578688
16     ret i32 %tmp
17 }
19 ; 4095 = 0x00000fff
20 define i32 @f3(i32 %a) {
21 ; CHECK-LABEL: f3:
22 ; CHECK: bfc
23     %tmp = and i32 %a, 4095
24     ret i32 %tmp
25 }