[PATCH] D38128: Handle COPYs of physregs better (regalloc hints)
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 11:37:02 PDT 2017
qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.
LGTM for the generic part.
================
Comment at: include/llvm/CodeGen/MachineRegisterInfo.h:755
+ /// register allocation hints for VReg.
+ const std::pair<unsigned, SmallVector<unsigned, 4>>
+ &getRegAllocationHints(unsigned VReg) const {
----------------
Could we use SmallVectorImpl to not leak the size of the vector?
https://reviews.llvm.org/D38128
More information about the llvm-commits
mailing list