[PATCH] D64325: RegUsageInfoCollector: Don't iterate all regs for every reg class
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 08:22:45 PDT 2019
qcolombet added inline comments.
================
Comment at: lib/CodeGen/RegUsageInfoCollector.cpp:226
+ ++SuperSubs) {
+ if (!SavedRegUnits.test(*SuperSubs)) {
+ AllRegUnitsSaved = false;
----------------
We miss the setting of `HasAtLeastOneSubreg` in the loop.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64325/new/
https://reviews.llvm.org/D64325
More information about the llvm-commits
mailing list