The saved registers weren't being processed in the correct order. This lead to
authorBill Wendling <isanbard@gmail.com>
Wed, 14 Dec 2011 23:53:24 +0000 (23:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 14 Dec 2011 23:53:24 +0000 (23:53 +0000)
commitae94fb4009a5763bb71019dee3e8de66ad9ecec9
tree047ed04b2fb4bccfb139697aa7c7f604f587af95
parent50952e9571ee97d10888a7f2cfe0106a921e5b57
The saved registers weren't being processed in the correct order. This lead to
the compact unwind claiming that one register was saved before another, which
isn't all that great in general. Process them in the natural order. Reverse the
list only when necessary for the algorithm.

llvm-svn: 146612
llvm/lib/Target/X86/X86FrameLowering.cpp