[Pass][CHR] Move ControlHeightReduction to module optimization pipeline
This is a modified version of commit b3744233 by Arthur (https://reviews.llvm.org/D143424). Here we invoke to the pass independent of PGOOPT. We now check if the profile is available through the program summary. This ensures CHR is called in distributed ThinLTO BE compilation (where PGOOPT might not be created). Differential Revision: https://reviews.llvm.org/D144769
Loading
Please sign in to comment