brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · cbe7d07 Raw
36 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<detect>' -polly-print-detect -disable-output < %s 2>&1 | FileCheck %s2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"3 4; CHECK: Valid Region for Scop: bb19 => bb205 6; Make sure we do not crash in this test case.7 8define void @hoge(ptr %arg)  {9bb:10  br label %bb911 12bb9:                                              ; preds = %bb13  %tmp = add i64 undef, 414  %tmp10 = zext i32 undef to i6415  %tmp11 = mul i64 %tmp, %tmp1016  %tmp12 = add i64 %tmp11, undef17  %tmp13 = add i64 %tmp12, undef18  %tmp14 = add i64 %tmp13, 819  %tmp15 = sub i64 %tmp14, undef20  %tmp16 = getelementptr i8, ptr %arg, i64 %tmp1521  %tmp17 = getelementptr inbounds i8, ptr %tmp16, i64 422  %tmp18 = getelementptr inbounds i8, ptr %tmp17, i64 2023  br label %bb1924 25bb19:                                             ; preds = %bb19, %bb926  br i1 false, label %bb19, label %bb2027 28bb20:                                             ; preds = %bb1929  %tmp21 = getelementptr inbounds i8, ptr %tmp18, i64 430  %tmp23 = load i32, ptr %tmp2131  br label %bb2432 33bb24:                                             ; preds = %bb2034  unreachable35}36