File tree 1 file changed +0
-6
lines changed 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 84
84
#include " llvm/Transforms/Scalar/EarlyCSE.h"
85
85
#include " llvm/Transforms/Scalar/GVN.h"
86
86
#include " llvm/Transforms/Scalar/JumpThreading.h"
87
- #include " llvm/Transforms/Scalar/SimplifyCFG.h"
88
87
#include " llvm/Transforms/Utils/Debugify.h"
89
88
#include " llvm/Transforms/Utils/EntryExitInstrumenter.h"
90
89
#include " llvm/Transforms/Utils/ModuleUtils.h"
@@ -753,11 +752,6 @@ static void addSanitizers(const Triple &TargetTriple,
753
752
// from `buildInlinerPipeline`, which called after profile matching.
754
753
PB.registerScalarOptimizerLateEPCallback (
755
754
[](FunctionPassManager &FPM, OptimizationLevel Level) {
756
- // RemoveTrapsPass expects trap blocks preceded by conditional
757
- // branches, which usually is not the case without SimplifyCFG.
758
- // TODO: Remove `SimplifyCFGPass` after switching to dedicated
759
- // intrinsic.
760
- FPM.addPass (SimplifyCFGPass ());
761
755
FPM.addPass (RemoveTrapsPass ());
762
756
});
763
757
}
You can’t perform that action at this time.
0 commit comments