aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMats Petersson <mats.petersson@arm.com>2022-10-05 19:16:18 +0100
committerMats Petersson <mats.petersson@arm.com>2022-10-05 19:43:02 +0100
commit4d1460c77d0095fb5eb974b42d96ca4f4567a7cd (patch)
tree262b2e754a805a61c7e88be400f3f7f4dbdb5acb /flang/lib/Frontend/CompilerInvocation.cpp
parent4f6477a615d18dac6cc3aa0d3fb946191f8168c9 (diff)
downloadllvm-4d1460c77d0095fb5eb974b42d96ca4f4567a7cd.zip
llvm-4d1460c77d0095fb5eb974b42d96ca4f4567a7cd.tar.gz
llvm-4d1460c77d0095fb5eb974b42d96ca4f4567a7cd.tar.bz2
Revert "[flang] Add -fpass-plugin option to Flang frontend"
This reverts commit 43fe6f7cc35ded691bbc2fa844086d321e705d46. Reverting this as CI breaks. To reproduce, run check-flang, and it will fail with an error saying .../lib/Bye.so not found in pass-plugin.f90
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--flang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp
index b00a2a3d..0ad63b0 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -125,9 +125,6 @@ static void parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
clang::driver::options::OPT_fno_debug_pass_manager, false))
opts.DebugPassManager = 1;
- for (auto *a : args.filtered(clang::driver::options::OPT_fpass_plugin_EQ))
- opts.LLVMPassPlugins.push_back(a->getValue());
-
// -mrelocation-model option.
if (const llvm::opt::Arg *A =
args.getLastArg(clang::driver::options::OPT_mrelocation_model)) {