blob: 0fe37ec74098d8308aea3b4a7f42de5c04546b83 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -ssi-everything -disable-output
Nick Lewycky3f620d42009-08-15 20:12:18 +00002
3declare fastcc i32 @ras_Empty(i8** nocapture) nounwind readonly
4
5define i32 @cc_Tautology() nounwind {
6entry:
7 unreachable
8
9cc_InitData.exit: ; No predecessors!
10 %0 = call fastcc i32 @ras_Empty(i8** undef) nounwind ; <i32> [#uses=1]
11 %1 = icmp eq i32 %0, 0 ; <i1> [#uses=1]
12 br i1 %1, label %bb2, label %bb6
13
14bb2: ; preds = %cc_InitData.exit
15 unreachable
16
17bb6: ; preds = %cc_InitData.exit
18 ret i32 undef
19}