comparison test/CodeGen/ARM/bfx.ll @ 95:afa8332a0e37

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
39 %and = lshr i32 %x, 8 39 %and = lshr i32 %x, 8
40 %shr = and i32 %and, 255 40 %shr = and i32 %and, 255
41 %and1 = lshr i32 %x, 16 41 %and1 = lshr i32 %x, 16
42 %shr2 = and i32 %and1, 255 42 %shr2 = and i32 %and1, 255
43 %shr4 = lshr i32 %x, 24 43 %shr4 = lshr i32 %x, 24
44 %arrayidx = getelementptr inbounds i32* %ctx, i32 %shr4 44 %arrayidx = getelementptr inbounds i32, i32* %ctx, i32 %shr4
45 %0 = load i32* %arrayidx, align 4 45 %0 = load i32, i32* %arrayidx, align 4
46 %arrayidx5 = getelementptr inbounds i32* %ctx, i32 %shr2 46 %arrayidx5 = getelementptr inbounds i32, i32* %ctx, i32 %shr2
47 %1 = load i32* %arrayidx5, align 4 47 %1 = load i32, i32* %arrayidx5, align 4
48 %add = add i32 %1, %0 48 %add = add i32 %1, %0
49 %arrayidx6 = getelementptr inbounds i32* %ctx, i32 %shr 49 %arrayidx6 = getelementptr inbounds i32, i32* %ctx, i32 %shr
50 %2 = load i32* %arrayidx6, align 4 50 %2 = load i32, i32* %arrayidx6, align 4
51 %add7 = add i32 %add, %2 51 %add7 = add i32 %add, %2
52 ret i32 %add7 52 ret i32 %add7
53 } 53 }