[PATCH] D86888: RegAllocFast: Make self loop live-out heuristic more aggressive

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 12:09:54 PDT 2020


qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.

LGTM with one caveat, do we need the new `getOneDefInstr`?



================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:275
+  return ++DI == MRI.def_instr_end() ? FirstDef : nullptr;
+}
+
----------------
How does this differ from `MachineRegisterInfo::getUniqueVRegDef`?


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

https://reviews.llvm.org/D86888



More information about the llvm-commits mailing list