comparison test/CodeGen/X86/stride-nine-with-base-reg.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children 803732b1fca8
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
15 %tmp1 = icmp sgt i32 %m, 0 15 %tmp1 = icmp sgt i32 %m, 0
16 br i1 %tmp1, label %bb, label %return 16 br i1 %tmp1, label %bb, label %return
17 17
18 bb: 18 bb:
19 %i.019.0 = phi i32 [ %indvar.next, %bb ], [ 0, %entry ] 19 %i.019.0 = phi i32 [ %indvar.next, %bb ], [ 0, %entry ]
20 %tmp2 = getelementptr [1000 x i8]* @B, i32 0, i32 %i.019.0 20 %tmp2 = getelementptr [1000 x i8], [1000 x i8]* @B, i32 0, i32 %i.019.0
21 %tmp3 = load i8* %tmp2, align 4 21 %tmp3 = load i8, i8* %tmp2, align 4
22 %tmp4 = mul i8 %tmp3, 2 22 %tmp4 = mul i8 %tmp3, 2
23 %tmp5 = getelementptr [1000 x i8]* @A, i32 0, i32 %i.019.0 23 %tmp5 = getelementptr [1000 x i8], [1000 x i8]* @A, i32 0, i32 %i.019.0
24 store i8 %tmp4, i8* %tmp5, align 4 24 store i8 %tmp4, i8* %tmp5, align 4
25 %tmp8 = mul i32 %i.019.0, 9 25 %tmp8 = mul i32 %i.019.0, 9
26 %tmp0 = add i32 %tmp8, %p 26 %tmp0 = add i32 %tmp8, %p
27 %tmp10 = getelementptr [1000 x i8]* @P, i32 0, i32 %tmp0 27 %tmp10 = getelementptr [1000 x i8], [1000 x i8]* @P, i32 0, i32 %tmp0
28 store i8 17, i8* %tmp10, align 4 28 store i8 17, i8* %tmp10, align 4
29 %tmp11 = getelementptr [1000 x i8]* @Q, i32 0, i32 %tmp0 29 %tmp11 = getelementptr [1000 x i8], [1000 x i8]* @Q, i32 0, i32 %tmp0
30 store i8 19, i8* %tmp11, align 4 30 store i8 19, i8* %tmp11, align 4
31 %indvar.next = add i32 %i.019.0, 1 31 %indvar.next = add i32 %i.019.0, 1
32 %exitcond = icmp eq i32 %indvar.next, %m 32 %exitcond = icmp eq i32 %indvar.next, %m
33 br i1 %exitcond, label %return, label %bb 33 br i1 %exitcond, label %return, label %bb
34 34