18 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<detect>' -polly-print-detect -polly-process-unprofitable=false -disable-output -polly-detect-full-functions < %s 2>&1 | FileCheck %s2 3; Verify if a simple function with basic block not part of loop doesn't crash with polly-process-unprofitable=false and polly-detect-full-functions flags.4 5; CHECK: Detected Scops in Function foo6 7define void @foo() {8 br label %19 101: ; preds = %1, %011 br i1 false, label %2, label %112 132: ; preds = %114 %3 = load ptr, ptr null, align 815 store ptr null, ptr null, align 816 ret void17}18