OSDN Git Service

Don't skip over all "terminator" instructions when determining where to put the
authorBill Wendling <isanbard@gmail.com>
Fri, 31 Oct 2008 04:00:23 +0000 (04:00 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 31 Oct 2008 04:00:23 +0000 (04:00 +0000)
commitf6a9988ceab0ca660fa4f4e89d8d683f487118eb
tree40d810941b73fa68a95150cae99235cecb5974e0
parent0656466734f44ac2fc0132322700b67a18d220c2
Don't skip over all "terminator" instructions when determining where to put the
callee-saved restore code. It could skip over conditional jumps
accidentally. Instead, just skip the "return" instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/X86/X86RegisterInfo.cpp