Revisit the loop optimization infrastructure in GCC

by · Sep 10, 2017 · 728 views ·


I would like to give a talk on current status of high level loop optimizations in GCC, current improvements ongoing and possible future improvements. It consists of three parts. The first part gives brief idea about current loop optimization infrastructure. The second part describes enhancements we have finished recently to loop optimizations. I will briefly go through recent improvements and describe some of them in detail, for example, loop split, rewrite of loop ivopts, introduction of tree level register pressure estimate for loop, enhanced loop distribution/predcom, etc.. The third part covers future work I would like to do, for example, loop interchange, pass optimization info to later passes as well as better interaction and organization among different optimizations. I may be able to start some of these works before the event of Cauldron, so will update it depending on future progress.