30 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s2 3; Check that we do not crash on this input. Earlier this indeed crashed as4; we tried to model the access functions in an error block.5 6target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"7 8; Function Attrs: nounwind uwtable9define void @FORMAT3_4() {10entry:11 br label %entry.split12 13entry.split: ; preds = %entry14 br i1 false, label %if.end.38, label %if.else15 16if.else: ; preds = %entry.split17 call void (i32, i32, ptr, ...) @BYTES_TO_BITS(i32 undef, i32 1, ptr undef)18 %0 = load i32, ptr null, align 419 br label %if.end.3820 21if.end.38: ; preds = %if.else, %entry.split22 unreachable23}24 25declare void @BYTES_TO_BITS(...)26 27!llvm.ident = !{!0}28 29!0 = !{!"clang version 3.8.0"}30