blob: 24dd5fd9da99ba563c0901f6ef593643c4a6c335 [file] [log] [blame]
Hal Finkel838a7fb2013-07-11 05:55:57 +00001; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s
2target triple = "powerpc64-unknown-linux-gnu"
3
4define void @autogen_SD156869(i8*, i64*) {
5BB:
6 %A3 = alloca <2 x i1>
7 %A2 = alloca <8 x i32>
8 br label %CF
9
10CF: ; preds = %CF85, %CF, %BB
11 br i1 undef, label %CF, label %CF82.critedge
12
13CF82.critedge: ; preds = %CF
14 store i8 -59, i8* %0
15 br label %CF82
16
17CF82: ; preds = %CF82, %CF82.critedge
18 %L17 = load i8* %0
19 %E18 = extractelement <2 x i64> undef, i32 0
20 %PC = bitcast <2 x i1>* %A3 to i64*
21 br i1 undef, label %CF82, label %CF84.critedge
22
23CF84.critedge: ; preds = %CF82
24 store i64 455385, i64* %PC
25 br label %CF84
26
27CF84: ; preds = %CF84, %CF84.critedge
28 %L40 = load i64* %PC
29 store i64 -1, i64* %PC
30 %Sl46 = select i1 undef, i1 undef, i1 false
31 br i1 %Sl46, label %CF84, label %CF85
32
33CF85: ; preds = %CF84
34 %L47 = load i64* %PC
35 store i64 %E18, i64* %PC
36 %PC52 = bitcast <8 x i32>* %A2 to ppc_fp128*
37 store ppc_fp128 0xM4D436562A0416DE00000000000000000, ppc_fp128* %PC52
38 %PC59 = bitcast i64* %1 to i8*
39 %Cmp61 = icmp slt i64 %L47, %L40
40 br i1 %Cmp61, label %CF, label %CF77
41
42CF77: ; preds = %CF77, %CF85
43 br i1 undef, label %CF77, label %CF81
44
45CF81: ; preds = %CF77
46 store i8 %L17, i8* %PC59
47 ret void
48}