R600/SI: Add failing testcase reduced from OpenCV
[oota-llvm.git] / test / CodeGen / R600 / v-cmp-vreg1-src-error.ll
1 ; XFAIL: *
2 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s
3
4 define void @init_data_cost_reduce_0(i32 %arg) #0 {
5 bb:
6   br i1 undef, label %bb1, label %bb2
7
8 bb1:                                              ; preds = %bb
9   br label %bb2
10
11 bb2:                                              ; preds = %bb1, %bb
12   br i1 undef, label %bb3, label %bb4
13
14 bb3:                                              ; preds = %bb2
15   %tmp = mul i32 undef, %arg
16   br label %bb4
17
18 bb4:                                              ; preds = %bb3, %bb2
19   unreachable
20 }
21
22 attributes #0 = { nounwind }