look for the verboten argument slot access in any order, thanks to Frits
[oota-llvm.git] / test / CodeGen / Blackfin / 2009-08-15-SetCC-Undef.ll
1 ; RUN: llc < %s -march=bfin -verify-machineinstrs
2
3 ; An undef argument causes a setugt node to escape instruction selection.
4
5 define void @bugt() {
6 cond_next305:
7   %tmp306307 = trunc i32 undef to i8              ; <i8> [#uses=1]
8   %tmp308 = icmp ugt i8 %tmp306307, 6             ; <i1> [#uses=1]
9   br i1 %tmp308, label %bb311, label %bb314
10
11 bb311:                                            ; preds = %cond_next305
12   unreachable
13
14 bb314:                                            ; preds = %cond_next305
15   ret void
16 }