Background.- DSE Approach for Compiler Passes.- Addressing the Selection Problem of Passes using ML.- Intermediate Speedup Prediction for the Phase-ordering Problem.- Full-sequence Speedup Prediction for the Phase-ordering Problem.- Concluding Remarks.