optimize away stackrestore calls that have no intervening alloca or call.
authorChris Lattner <sabre@nondot.org>
Mon, 18 Feb 2008 06:12:38 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Feb 2008 06:12:38 +0000 (06:12 +0000)
commitbf1d8a7099bb23e9dc92b56fe2564cbc2a71b063
tree2088a996d29f56b54ce1f2ce592e3b2d61952304
parent28cb2051c85f72a425c1fa595d10b175413416bb
optimize away stackrestore calls that have no intervening alloca or call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47258 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/stacksaverestore.ll