Summary: As of rL329273, LLVM has a mechanism to load new-pm plugins in opt. Use this API in Polly. Reviewers: grosser, Meinersbur, bollu Reviewed By: grosser, Meinersbur Subscribers: lksbhm, bollu, pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D45484 llvm-svn: 330181
14 lines
335 B
LLVM
14 lines
335 B
LLVM
; RUN: opt %loadPolly -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
|
|
}
|