blob: bd90d1f9631136fe8f884c7dc431135bb8ac5a40 [file] [log] [blame]
Dan Gohman1b4c27772009-09-08 16:50:01 +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}