[ARM] Better OR's for MVE compares
[llvm-core.git] / test / Transforms / LoopSimplify / 2007-10-28-InvokeCrash.ll
blob9f65d68202f33b7959eb4d94f68d620b9d228cc1
1 ; RUN: opt < %s -loop-simplify -disable-output
2 ; PR1752
3 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-s0:0:64-f80:32:32"
4 target triple = "i686-pc-mingw32"
6 define void @func() personality i32 (...)* @__gxx_personality_v0 {
7 bb_init:
8         br label %bb_main
10 bb_main:
11         br label %invcont17.normaldest
13 invcont17.normaldest917:                ; No predecessors!
14         %tmp23 = invoke i32 @foo()
15                         to label %invcont17.normaldest unwind label %invcont17.normaldest.normaldest
17 invcont17.normaldest:           ; preds = %invcont17.normaldest917, %bb_main
18         br label %bb_main
20 invcont17.normaldest.normaldest:                ; No predecessors!
21         %exn = landingpad {i8*, i32}
22                  catch i8* null
23         store i32 %tmp23, i32* undef
24         br label %bb_main
27 declare i32 @foo()
29 declare i32 @__gxx_personality_v0(...)