[PATCH] D29835: Correct register pressure calculation in presence of subregs

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 13:49:58 PST 2017


rampitec added a comment.

In https://reviews.llvm.org/D29835#686080, @MatzeB wrote:

> The current implementation will miscalculate the PressureDiff objects. Could you revert this until we can further investigate and fix this.


I will revert it for now. There is yet another problem, for a target which does not override getRegUnitWeight that is possible to get pressure underflow because a full register weight is decreased with each subreg def.


Repository:
  rL LLVM

https://reviews.llvm.org/D29835





More information about the llvm-commits mailing list