From 4d1460c77d0095fb5eb974b42d96ca4f4567a7cd Mon Sep 17 00:00:00 2001 From: Mats Petersson Date: Wed, 5 Oct 2022 19:16:18 +0100 Subject: 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 --- flang/lib/Frontend/CompilerInvocation.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'flang/lib/Frontend/CompilerInvocation.cpp') 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)) { -- cgit v1.1