Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / Transforms / LoopRotate / 2009-01-25-SingleEntryPhi.ll
blob3e170dce71546d626e8b81ace3d13866fbd42b8a
1 ; RUN: opt < %s -loop-rotate | llvm-dis
2 ; PR3408
3 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
4 target triple = "x86_64-unknown-linux-gnu"
5         %struct.Cls = type { i32, i8, [2 x %struct.Cls*], [2 x %struct.Lit*] }
6         %struct.Lit = type { i8 }
8 define void @picosat_main_bb13.i.i71.outer_bb132.i.i.i.outer(%struct.Cls**, %struct.Cls**, i32 %collect.i.i.i.1.lcssa, i32 %lcollect.i.i.i.2.lcssa, %struct.Cls*** %rhead.tmp.0236.out, i32* %collect.i.i.i.2.out, i32* %lcollect.i.i.i.3.ph.ph.ph.out) nounwind {
9 newFuncRoot:
10         br label %codeRepl
12 bb133.i.i.i.exitStub:           ; preds = %codeRepl
13         ret void
15 bb130.i.i.i:            ; preds = %codeRepl
16         %rhead.tmp.0236.lcssa82 = phi %struct.Cls** [ null, %codeRepl ]         ; <%struct.Cls**> [#uses=0]
17         br label %codeRepl
19 codeRepl:               ; preds = %bb130.i.i.i, %newFuncRoot
20         br i1 false, label %bb130.i.i.i, label %bb133.i.i.i.exitStub