Even as the NPM has been in use by Polly for a while now, the majority of the tests continue using the LPM passes. This patch ports the tests to use the NPM passes (for example, by replacing a flag such as -polly-detect with -passes=polly-detect following the NPM syntax for specifying passes) with some exceptions for some missing features in the new passes. Relanding #90632.
14 lines
338 B
LLVM
14 lines
338 B
LLVM
; RUN: opt %loadNPMPolly '-passes=polly-prepare,scop(print<polly-ast>)' -S < %s \
|
|
; RUN: | FileCheck %s
|
|
|
|
; This testcase tests plugin registration. Check-lines below serve to verify
|
|
; that the passes actually ran.
|
|
|
|
; CHECK-LABEL: void @foo
|
|
; CHECK-NEXT: entry:
|
|
; CHECK-NEXT: br label %entry.split
|
|
define void @foo() {
|
|
entry:
|
|
ret void
|
|
}
|