[flang-commits] [flang] 4427e34 - [Flang][Pass]Remove dependence on CodeGen pass
Alexey Bataev via flang-commits
flang-commits at lists.llvm.org
Wed Dec 10 11:08:43 PST 2025
Author: Alexey Bataev
Date: 2025-12-10T11:08:31-08:00
New Revision: 4427e34a6476721b53364e7dad97340dc38f5cb6
URL: https://github.com/llvm/llvm-project/commit/4427e34a6476721b53364e7dad97340dc38f5cb6
DIFF: https://github.com/llvm/llvm-project/commit/4427e34a6476721b53364e7dad97340dc38f5cb6.diff
LOG: [Flang][Pass]Remove dependence on CodeGen pass
Added:
Modified:
flang/lib/Frontend/FrontendActions.cpp
Removed:
################################################################################
diff --git a/flang/lib/Frontend/FrontendActions.cpp b/flang/lib/Frontend/FrontendActions.cpp
index d99c44d5aa1ea..f7b99a19d50a9 100644
--- a/flang/lib/Frontend/FrontendActions.cpp
+++ b/flang/lib/Frontend/FrontendActions.cpp
@@ -46,7 +46,6 @@
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Bitcode/BitcodeWriterPass.h"
-#include "llvm/CodeGen/LibcallLoweringInfo.h"
#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"
#include "llvm/IR/LLVMRemarkStreamer.h"
#include "llvm/IR/LegacyPassManager.h"
@@ -1021,7 +1020,6 @@ void CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
targetMachine->Options.MCOptions.ABIName,
targetMachine->Options.VecLib);
});
- mam.registerPass([&] { return llvm::LibcallLoweringModuleAnalysis(); });
// Register all the basic analyses with the managers.
pb.registerModuleAnalyses(mam);
More information about the flang-commits
mailing list