2003-01-23 02:11:29 +00:00
|
|
|
; Testcase reduced from 197.parser by bugpoint
|
2008-03-01 09:15:35 +00:00
|
|
|
; RUN: llvm-as < %s | opt -adce
|
2003-01-23 02:11:29 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @conjunction_prune() {
|
|
|
|
; <label>:0
|
|
|
|
br label %bb19
|
2003-01-23 02:11:29 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
bb19: ; preds = %bb23, %bb22, %0
|
|
|
|
%reg205 = phi i8* [ null, %bb22 ], [ null, %bb23 ], [ null, %0 ] ; <i8*> [#uses=1]
|
|
|
|
br i1 false, label %bb21, label %bb22
|
2003-01-23 02:11:29 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
bb21: ; preds = %bb19
|
|
|
|
%cast455 = bitcast i8* %reg205 to i8** ; <i8**> [#uses=0]
|
|
|
|
br label %bb22
|
2003-01-23 02:11:29 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
bb22: ; preds = %bb21, %bb19
|
|
|
|
br i1 false, label %bb19, label %bb23
|
2003-01-23 02:11:29 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
bb23: ; preds = %bb22
|
|
|
|
br i1 false, label %bb19, label %bb28
|
2003-01-23 02:11:29 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
bb28: ; preds = %bb23
|
|
|
|
ret void
|
2003-01-23 02:11:29 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|