- Pass plugins can use LLVM options, matching #173287. - Pass plugins can run a hook before codegen, matching #171872. - Pass plugins are now tested whenever they can be built, matching #171998. Plugins currently don't work on AIX, tracked in #172203.
21 lines
497 B
Fortran
21 lines
497 B
Fortran
! This tests that the plugin is correctly added to and executed as part of the
|
|
! optimization pipeline.
|
|
|
|
! UNSUPPORTED: system-windows
|
|
|
|
! REQUIRES: plugins, examples
|
|
! Plugins are currently broken on AIX, at least in the CI.
|
|
! XFAIL: system-aix
|
|
|
|
! RUN: %flang -S %s %loadbye -mllvm -wave-goodbye -o /dev/null \
|
|
! RUN: 2>&1 | FileCheck %s
|
|
|
|
! RUN: %flang_fc1 -S %s %loadbye -mllvm -wave-goodbye -o /dev/null \
|
|
! RUN: 2>&1 | FileCheck %s
|
|
|
|
|
|
! CHECK: Bye: empty_
|
|
|
|
subroutine empty
|
|
end subroutine empty
|