[PATCH] D93929: [NewPM][Hexagon] Fix HexagonVectorLoopCarriedReusePass position in pipeline
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 15:04:47 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb2dafd44ca7a: [NewPM][Hexagon] Fix HexagonVectorLoopCarriedReusePass position in pipeline (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93929/new/
https://reviews.llvm.org/D93929
Files:
llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
Index: llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
===================================================================
--- llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
+++ llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
@@ -287,13 +287,9 @@
[=](LoopPassManager &LPM, PassBuilder::OptimizationLevel Level) {
LPM.addPass(HexagonLoopIdiomRecognitionPass());
});
- PB.registerOptimizerLastEPCallback(
- [=](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) {
- LoopPassManager LPM(DebugPassManager);
- FunctionPassManager FPM(DebugPassManager);
+ PB.registerLoopOptimizerEndEPCallback(
+ [=](LoopPassManager &LPM, PassBuilder::OptimizationLevel Level) {
LPM.addPass(HexagonVectorLoopCarriedReusePass());
- FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM)));
- MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
});
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93929.315255.patch
Type: text/x-patch
Size: 940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/15a3917a/attachment.bin>
More information about the llvm-commits
mailing list