Limit the number of times we're willing to chase pointers. Removes an O(n^2)
commita899d239f67485170ee8d5210352da473dbd4c86
authorNick Lewycky <nicholas@mxc.ca>
Wed, 15 Apr 2009 06:23:41 +0000 (15 06:23 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 15 Apr 2009 06:23:41 +0000 (15 06:23 +0000)
treea0672fb1b81cb3632304b6fd4e14e13acdd6fa03
parentb9ecc704bd8194aaaec050bd82327bf6bb92d9da
Limit the number of times we're willing to chase pointers. Removes an O(n^2)
problem from instcombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69151 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Value.cpp