[PATCH] D29835: Correct PressureDiff calculation in presence of subregs

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 11:10:18 PST 2017


MatzeB added a comment.

I did not implement it this way yet because in general a bit in the lane mask doesn't necessarily represent 1 register pressure unit. Without a similar patch to `{increase|decrease}RegPressure()` pressure book keeping will go out of sync as well. I'd recomment running with `-verify-misched` when touching the regpressure code.


Repository:
  rL LLVM

https://reviews.llvm.org/D29835





More information about the llvm-commits mailing list