Files
clang-p2996/polly/test/Support/Plugins.ll
Wael Yehia c80198b3d3 Reland "Load pass plugins during option processing, so that plugin options are registered and live."
Fix Polly failures.

Reviewed By: mehdi_amini, Meinersbur

Differential Revision: https://reviews.llvm.org/D121566
2022-03-18 03:27:53 +00:00

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
}