51 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s 2>&1 | FileCheck %s2 3; CHECK-NOT: AssumedContext4 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 uwtable9define void @hoge(ptr %arg, ptr %arg5, i32 %arg6) {10bb:11 br i1 undef, label %bb7, label %bb2512 13bb7: ; preds = %bb21, %bb14 %tmp8 = phi i64 [ %tmp22, %bb21 ], [ 0, %bb ]15 %tmp9 = icmp sgt i32 %arg6, 016 br i1 %tmp9, label %bb10, label %bb2117 18bb10: ; preds = %bb10, %bb719 %tmp11 = getelementptr inbounds [32 x [2 x float]], ptr %arg5, i64 %tmp8, i64 020 %tmp12 = load i32, ptr %tmp11, align 4, !tbaa !421 %tmp13 = getelementptr inbounds [32 x [2 x float]], ptr %arg5, i64 %tmp8, i64 0, i64 122 %tmp15 = load i32, ptr %tmp13, align 4, !tbaa !423 %tmp16 = getelementptr inbounds [38 x [64 x float]], ptr %arg, i64 1, i64 0, i64 %tmp824 store i32 %tmp15, ptr %tmp16, align 4, !tbaa !425 %tmp18 = add nuw nsw i64 0, 126 %tmp19 = trunc i64 %tmp18 to i3227 %tmp20 = icmp ne i32 %tmp19, %arg628 br i1 %tmp20, label %bb10, label %bb2129 30bb21: ; preds = %bb10, %bb731 %tmp22 = add nsw i64 %tmp8, 132 %tmp23 = trunc i64 %tmp22 to i3233 %tmp24 = icmp ne i32 %tmp23, 6434 br i1 %tmp24, label %bb7, label %bb2535 36bb25: ; preds = %bb21, %bb37 ret void38}39 40!llvm.module.flags = !{!0, !1, !2}41!llvm.ident = !{!3}42 43!0 = !{i32 2, !"Dwarf Version", i32 2}44!1 = !{i32 2, !"Debug Info Version", i32 3}45!2 = !{i32 1, !"PIC Level", i32 2}46!3 = !{!"clang version 3.8.0 (trunk 251760) (llvm/trunk 251765)"}47!4 = !{!5, !5, i64 0}48!5 = !{!"float", !6, i64 0}49!6 = !{!"omnipotent char", !7, i64 0}50!7 = !{!"Simple C/C++ TBAA"}51