Revert "Revert "DI: Fold constant arguments into a single MDString""
[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         %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
8                  catch i8* null
9         ret i1 false
10 N:              ; preds = %0
11         br i1 %X, label %A, label %B
12 A:              ; preds = %N
13         ret i1 true
14 B:              ; preds = %N
15         ret i1 true
16 }
17
18 declare i32 @__gxx_personality_v0(...)