• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=bfin -verify-machineinstrs
2
3; An undef argument causes a setugt node to escape instruction selection.
4
5define void @bugt() {
6cond_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
11bb311:                                            ; preds = %cond_next305
12  unreachable
13
14bb314:                                            ; preds = %cond_next305
15  ret void
16}
17