The `opt -analyze` option only works with the legacy pass manager and might be removed in the future, as explained in llvm.org/PR53733. This patch introduced -polly-print-* passes that print what the pass would print with the `-analyze` option and replaces all uses of `-analyze` in the regression tests. There are two exceptions: `CodeGen\single_loop_param_less_equal.ll` and `CodeGen\loop_with_condition_nested.ll` use `-analyze on the `-loops` pass which is not part of Polly. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D120782
25 lines
422 B
LLVM
25 lines
422 B
LLVM
; RUN: opt %loadPolly -polly-detect -pass-remarks-missed="polly-detect" -disable-output < %s 2>&1| FileCheck %s
|
|
|
|
; CHECK: remark: <unknown>:0:0: Scop contains function entry (not yet supported).
|
|
|
|
define void @hoge(i8* %arg) {
|
|
bb1:
|
|
br i1 false, label %bb2, label %bb3
|
|
|
|
bb2:
|
|
br i1 false, label %bb4, label %bb5
|
|
|
|
bb4:
|
|
br i1 false, label %bb3, label %bb5
|
|
|
|
bb5:
|
|
br label %bb6
|
|
|
|
bb6:
|
|
br label %bb4
|
|
|
|
bb3:
|
|
ret void
|
|
}
|
|
|