1 ; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
3 ; CHECK-LABEL: polly.merge_new_and_old:
4 ; CHECK-NEXT: %tmp7.ph.merge = phi ptr [ %tmp7.ph.final_reload, %polly.exiting ], [ %tmp7.ph, %bb6.region_exiting ]
6 ; CHECK-LABEL: polly.stmt.bb3:
7 ; CHECK-NEXT: store ptr %tmp2, ptr %tmp7.s2a
9 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
11 %struct.blam = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
12 %struct.wibble = type { i32, ptr, ptr }
14 @global = external global ptr, align 8
16 ; Function Attrs: nounwind uwtable
17 define void @wobble() #0 {
21 bb1: ; preds = %bb6, %bb
22 %tmp2 = phi ptr [ %tmp7, %bb6 ], [ undef, %bb ]
23 %tmp = load ptr, ptr @global, align 8, !tbaa !1
27 %tmp4 = getelementptr inbounds %struct.blam, ptr %tmp, i64 0, i32 1
28 br i1 false, label %bb6, label %bb5
33 bb6: ; preds = %bb5, %bb3
34 %tmp7 = phi ptr [ %tmp2, %bb3 ], [ undef, %bb5 ]
35 br i1 undef, label %bb8, label %bb1
44 attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }
48 !0 = !{!"clang version 3.8.0 (trunk 250010) (llvm/trunk 250018)"}
50 !2 = !{!"any pointer", !3, i64 0}
51 !3 = !{!"omnipotent char", !4, i64 0}
52 !4 = !{!"Simple C/C++ TBAA"}