1 ; RUN: opt %s -lowerinvoke -disable-output -enable-correct-eh-support
6 to label %Ok unwind label %Crap ; <i32>:1 [#uses=0]
9 to label %Ok2 unwind label %Crap ; <i32>:2 [#uses=0]
12 Crap: ; preds = %Ok, %0
16 define i32 @bar(i32 %blah) {
19 ;; Value live across an unwind edge.
20 %B2 = add i32 %blah, 1 ; <i32> [#uses=1]
22 to label %Ok unwind label %Crap ; <i32>:1 [#uses=0]
25 to label %Ok2 unwind label %Crap ; <i32>:2 [#uses=0]
28 Crap: ; preds = %Ok, %doit