Use std::stable_sort instead of std::sort when sorting stack slots
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 15 Nov 2012 19:33:30 +0000 (19:33 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 15 Nov 2012 19:33:30 +0000 (19:33 +0000)
commitf38aa4272c2fcebae4ad10b21ea29874d0edef80
treeb70371cd4c225f360da82e894751005525ef78c6
parent7c6694946d2d2e45d529430b4678b553cd164f58
Use std::stable_sort instead of std::sort when sorting stack slots
to guarantee deterministic code generation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168074 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StackColoring.cpp