🤖 AI Summary
This work addresses the limitations of existing compiler optimization techniques that rely on graph parameters such as treewidth, which often fail to accurately capture the intrinsic structural constraints of control flow graphs (CFGs) derived from structured programs. To overcome this, the paper introduces a syntax-driven Series-Parallel-Loop (SPL) decomposition framework that aligns graph decomposition with the syntactic structure of the source program, thereby precisely characterizing structured CFGs. Leveraging this decomposition, the authors design specialized dynamic programming algorithms tailored for register allocation and Lazy On-the-Side Partial Redundancy Elimination (LOSPRE). Experimental results demonstrate that the proposed approach significantly outperforms state-of-the-art methods on both tasks, confirming the efficacy and performance advantages of CFG-specific decomposition guided by program syntax.