correct suffix matching to search for s/l/t suffixes on
[oota-llvm.git] / test / Transforms / SimplifyCFG / 2005-10-02-InvokeSimplify.ll
1 ; RUN: opt < %s -simplifycfg -disable-output
2
3 define i1 @foo() {
4         %X = invoke i1 @foo( )
5                         to label %N unwind label %F             ; <i1> [#uses=1]
6 F:              ; preds = %0
7         ret i1 false
8 N:              ; preds = %0
9         br i1 %X, label %A, label %B
10 A:              ; preds = %N
11         ret i1 true
12 B:              ; preds = %N
13         ret i1 true
14 }
15