llvm.org GIT mirror llvm / ea60d3d
Add XFAIL test case for a scavenger assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79092 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 10 years ago
1 changed file(s) with 20 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 ; When joining live intervals of sub-registers, an MBB live-in list is not
4 ; updated properly. The register scavenger asserts on an undefined register.
5
6 define i32 @foo(i8 %bar) {
7 entry:
8 switch i8 %bar, label %bb1203 [
9 i8 117, label %bb1204
10 i8 85, label %bb1204
11 i8 106, label %bb1204
12 ]
13
14 bb1203: ; preds = %entry
15 ret i32 1
16
17 bb1204: ; preds = %entry, %entry, %entry
18 ret i32 2
19 }