Fix PR2488, a case where we deleted stack restores too aggressively.
authorChris Lattner <sabre@nondot.org>
Wed, 25 Jun 2008 05:59:28 +0000 (05:59 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Jun 2008 05:59:28 +0000 (05:59 +0000)
commitaa0bf52625447ec3ce29c94393f946c58475aa60
tree77bb839581c40e0413b2039d3a0b2356a3f19a8c
parent601ca4b434f5c67503a30575cc36b688b0d959e6
Fix PR2488, a case where we deleted stack restores too aggressively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52702 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2008-06-24-StackRestore.ll [new file with mode: 0644]