llvm.org GIT mirror llvm / 7d92721
Add XFAIL testcase for setcc undef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79093 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 10 years ago
1 changed file(s) with 17 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs
1 ; XFAIL: *
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 ; [#uses=1]
8 %tmp308 = icmp ugt i8 %tmp306307, 6 ; [#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 }