Skip to content

Commit 4427e34

Browse files
committed
[Flang][Pass]Remove dependence on CodeGen pass
1 parent aca48a4 commit 4427e34

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

flang/lib/Frontend/FrontendActions.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#include "llvm/Analysis/TargetLibraryInfo.h"
4747
#include "llvm/Analysis/TargetTransformInfo.h"
4848
#include "llvm/Bitcode/BitcodeWriterPass.h"
49-
#include "llvm/CodeGen/LibcallLoweringInfo.h"
5049
#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"
5150
#include "llvm/IR/LLVMRemarkStreamer.h"
5251
#include "llvm/IR/LegacyPassManager.h"
@@ -1021,7 +1020,6 @@ void CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
10211020
targetMachine->Options.MCOptions.ABIName,
10221021
targetMachine->Options.VecLib);
10231022
});
1024-
mam.registerPass([&] { return llvm::LibcallLoweringModuleAnalysis(); });
10251023

10261024
// Register all the basic analyses with the managers.
10271025
pb.registerModuleAnalyses(mam);

0 commit comments

Comments
 (0)