[PATCH] D64325: RegUsageInfoCollector: Don't iterate all regs for every reg class

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 10:59:51 PDT 2019


arsenm added a comment.

In D64325#1573940 <https://reviews.llvm.org/D64325#1573940>, @qcolombet wrote:

> > Remove loop entirely. Ultimately determineCalleeSaves adds everything from MCRegAliasIterator anyway
>
> Hmm, I missed that. Why did we add this code in the first place?


It was added by D46315 <https://reviews.llvm.org/D46315>


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64325/new/

https://reviews.llvm.org/D64325





More information about the llvm-commits mailing list