Improve readability and make it easier to simplify the pipeline moving forward.
Pull O1 pass pipeline out into a separate function and simplify
buildFunctionSimplificationPipeline accordingly.
Paths
| Differential D79385
NFC: Simplify O1 pass pipeline construction. AcceptedPublic Authored by echristo on May 4 2020, 6:42 PM.
Details
Summary Improve readability and make it easier to simplify the pipeline moving forward. Pull O1 pass pipeline out into a separate function and simplify
Diff Detail
Event TimelineComment Actions As much as I'm not thrilled about the duplication, the number of comments I have below about the exact O1 pipeline sure make it seem valuable. Unsure how you feel about addressing these here, later, etc.
Comment Actions
Later :) I wanted to get the actual separation as a noop and then make actual substantial changes as I could do them. I have a couple more pending patches as well. That said, appreciate the specific suggestions - I think the new format makes it much easier to really see what's going on here (and yes, lots of room for cleanup/changes/investigation). -eric Comment Actions LGTM, but one of these I think should be addressed here. Also, definitely want to see the rest of these. W/o TODOs, always worried about losing track...
This revision is now accepted and ready to land.May 12 2020, 11:08 PM Comment Actions Thanks. I'll go ahead and commit after the loop unrolling optimization patch.
Revision Contents
Diff 261984 llvm/include/llvm/Passes/PassBuilder.h
llvm/lib/Passes/PassBuilder.cpp
|
clang-format: please reformat the code