HomePhabricator

Fix LSR best register search algorithm.

Description

Fix LSR best register search algorithm.

Summary:
Fix a case when first register in a search has maximum
RegUses.getUsedByIndices(Reg).count()

Reviewers: qcolombet

Differential Revision: http://reviews.llvm.org/D26877

From: Evgeny Stupachenko <evstupac@gmail.com>

Details

Committed
evstupacNov 30 2016, 2:23 PM
Parents
rL288277: Clarify rules for reserved regs, fix aarch64 ones.
Branches
Unknown
Tags
Unknown