Add an early bailout to IsValueFullyAvailableInBlock from deeply nested blocks.
authorMon P Wang <wangmp@apple.com>
Fri, 27 Apr 2012 18:09:28 +0000 (18:09 +0000)
committerMon P Wang <wangmp@apple.com>
Fri, 27 Apr 2012 18:09:28 +0000 (18:09 +0000)
commit5dde20bfacdad9bc3ddc99eff93d52ed54312ed9
tree4e7615c1c302190a1e3293307691afd450b8cea6
parent03e091f0b5f43beee12170efc00bbab86ffeb0dc
Add an early bailout to IsValueFullyAvailableInBlock from deeply nested blocks.
The limit is set to an arbitrary 1000 recursion depth to avoid stack overflow
issues. <rdar://problem/11286839>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp