1 ; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
2 ; RUN: grep {and DWORD PTR} | count 2
4 target datalayout = "e-p:32:32"
5 %struct.Macroblock = type { i32, i32, i32, i32, i32, [8 x i32], %struct.Macroblock*, %struct.Macroblock*, i32, [2 x [4 x [4 x [2 x i32]]]], [16 x i8], [16 x i8], i32, i64, [4 x i32], [4 x i32], i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, double, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
7 define internal fastcc i32 @dct_chroma(i32 %uv, i32 %cr_cbp) {
9 br i1 true, label %cond_true2732.preheader, label %cond_true129
10 cond_true129: ; preds = %entry
12 cond_true2732.preheader: ; preds = %entry
13 %tmp2666 = getelementptr %struct.Macroblock* null, i32 0, i32 13 ; <i64*> [#uses=2]
14 %tmp2674 = trunc i32 0 to i8 ; <i8> [#uses=1]
15 br i1 true, label %cond_true2732.preheader.split.us, label %cond_true2732.preheader.split
16 cond_true2732.preheader.split.us: ; preds = %cond_true2732.preheader
17 br i1 true, label %cond_true2732.outer.us.us, label %cond_true2732.outer.us
18 cond_true2732.outer.us.us: ; preds = %cond_true2732.preheader.split.us
19 %tmp2667.us.us = load i64* %tmp2666 ; <i64> [#uses=1]
20 %tmp2670.us.us = load i64* null ; <i64> [#uses=1]
21 %shift.upgrd.1 = zext i8 %tmp2674 to i64 ; <i64> [#uses=1]
22 %tmp2675.us.us = shl i64 %tmp2670.us.us, %shift.upgrd.1 ; <i64> [#uses=1]
23 %tmp2675not.us.us = xor i64 %tmp2675.us.us, -1 ; <i64> [#uses=1]
24 %tmp2676.us.us = and i64 %tmp2667.us.us, %tmp2675not.us.us ; <i64> [#uses=1]
25 store i64 %tmp2676.us.us, i64* %tmp2666
27 cond_true2732.outer.us: ; preds = %cond_true2732.preheader.split.us
29 cond_true2732.preheader.split: ; preds = %cond_true2732.preheader
31 cond_next2752: ; No predecessors!