[llvm] [CodeGen][MachinePipeliner] Limit register pressure when scheduling (PR #74807)

Carlos Eduardo Seo via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 06:19:08 PST 2024


ceseo wrote:

> In software pipelining, when searching for the Initiation Interval (II), `MachinePipeliner` tries to reduce register pressure, but doesn't check how many variables can actually alive at the same time. This can result a lot of register spills/fills can be generated after register allocation, which might cause performance degradation. 

Do you have any benchmark numbers showing this performance degradation and how this patch improves it?

https://github.com/llvm/llvm-project/pull/74807


More information about the llvm-commits mailing list