revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / Blackfin / 2009-08-15-LiveIn-SubReg.ll
blob412c66913b2dc2cb0d07b1538d4a00639e36a189
1 ; RUN: llc < %s -march=bfin -verify-machineinstrs
2 ; XFAIL: *
4 ; When joining live intervals of sub-registers, an MBB live-in list is not
5 ; updated properly. The register scavenger asserts on an undefined register.
7 define i32 @foo(i8 %bar) {
8 entry:
9   switch i8 %bar, label %bb1203 [
10     i8 117, label %bb1204
11     i8 85, label %bb1204
12     i8 106, label %bb1204
13   ]
15 bb1203:                                           ; preds = %entry
16   ret i32 1
18 bb1204:                                           ; preds = %entry, %entry, %entry
19   ret i32 2