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)
commitdcee8ce8ed4ee0aacb770334d727697e05f79452
tree12c9a8516a6617b4155aaad6faa7d658238b2305
parent4921017afdac6ce9c4e0447f8dd66f1311f42721
Use std::stable_sort instead of std::sort when sorting stack slots
to guarantee deterministic code generation.

llvm-svn: 168074
llvm/lib/CodeGen/StackColoring.cpp