Hello,

While working on our CLI port, I realized that we were missing, among others, the block reordering pass. This is because we emit CLI code before the RTL passes are reached. Looking at the backend optimizations, it is clear that some modify the CFG. But my understanding is that loop optimizations and unrolling are also being moved to GIMPLE. I do not know about others.

Could it be that sometime all the optimizations that modify the CFG are run on GIMPLE? Is there any plan/interest in having a block layout pass running at GIMPLE level?

Cheers,

--
Erven.

Reply via email to