1; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s 2 3; CHECK-NOT: AssumedContext 4 5target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" 6target triple = "x86_64-apple-macosx10.9.0" 7 8; Function Attrs: nounwind ssp uwtable 9define void @hoge([38 x [64 x float]]* %arg, [32 x [2 x float]]* %arg5, i32 %arg6) #0 { 10bb: 11 br i1 undef, label %bb7, label %bb25 12 13bb7: ; preds = %bb21, %bb 14 %tmp8 = phi i64 [ %tmp22, %bb21 ], [ 0, %bb ] 15 %tmp9 = icmp sgt i32 %arg6, 0 16 br i1 %tmp9, label %bb10, label %bb21 17 18bb10: ; preds = %bb10, %bb7 19 %tmp11 = getelementptr inbounds [32 x [2 x float]], [32 x [2 x float]]* %arg5, i64 %tmp8, i64 0 20 %tmp = bitcast [2 x float]* %tmp11 to i32* 21 %tmp12 = load i32, i32* %tmp, align 4, !tbaa !4 22 %tmp13 = getelementptr inbounds [32 x [2 x float]], [32 x [2 x float]]* %arg5, i64 %tmp8, i64 0, i64 1 23 %tmp14 = bitcast float* %tmp13 to i32* 24 %tmp15 = load i32, i32* %tmp14, align 4, !tbaa !4 25 %tmp16 = getelementptr inbounds [38 x [64 x float]], [38 x [64 x float]]* %arg, i64 1, i64 0, i64 %tmp8 26 %tmp17 = bitcast float* %tmp16 to i32* 27 store i32 %tmp15, i32* %tmp17, align 4, !tbaa !4 28 %tmp18 = add nuw nsw i64 0, 1 29 %tmp19 = trunc i64 %tmp18 to i32 30 %tmp20 = icmp ne i32 %tmp19, %arg6 31 br i1 %tmp20, label %bb10, label %bb21 32 33bb21: ; preds = %bb10, %bb7 34 %tmp22 = add nsw i64 %tmp8, 1 35 %tmp23 = trunc i64 %tmp22 to i32 36 %tmp24 = icmp ne i32 %tmp23, 64 37 br i1 %tmp24, label %bb7, label %bb25 38 39bb25: ; preds = %bb21, %bb 40 ret void 41} 42 43attributes #0 = { nounwind ssp 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"="core2" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+ssse3" "unsafe-fp-math"="false" "use-soft-float"="false" } 44 45!llvm.module.flags = !{!0, !1, !2} 46!llvm.ident = !{!3} 47 48!0 = !{i32 2, !"Dwarf Version", i32 2} 49!1 = !{i32 2, !"Debug Info Version", i32 3} 50!2 = !{i32 1, !"PIC Level", i32 2} 51!3 = !{!"clang version 3.8.0 (trunk 251760) (llvm/trunk 251765)"} 52!4 = !{!5, !5, i64 0} 53!5 = !{!"float", !6, i64 0} 54!6 = !{!"omnipotent char", !7, i64 0} 55!7 = !{!"Simple C/C++ TBAA"} 56