[AArch64] Make AArch64A57FPLoadBalancing output stable.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 30 Jan 2015 19:55:40 +0000 (19:55 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 30 Jan 2015 19:55:40 +0000 (19:55 +0000)
commitcea6171bda84f2396e86e15b460507a739da5d0c
treecff87cf8017c92b22e55506ac599ff37206b43b1
parentaeeb71e276fb8509295cf3e62861e868e65c7db7
[AArch64] Make AArch64A57FPLoadBalancing output stable.

Add tie breaker to colorChainSet() sort so that processing order doesn't
depend on std::set order, which depends on pointer order, which is
unstable from run to run.

No test case as this is nearly impossible to reproduce.

Phabricator Review: http://reviews.llvm.org/D7265
Patch by Geoff Berry <gberry@codeaurora.org>!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227606 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp