]> granicus.if.org Git - llvm/commit
Merging r310481, r310492 and r310510:
authorHans Wennborg <hans@hanshq.net>
Thu, 10 Aug 2017 17:33:55 +0000 (17:33 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 10 Aug 2017 17:33:55 +0000 (17:33 +0000)
commit366b5faf38a7644e6ae8a927ce5b363e7e814b78
tree8b5007eae8156f2002b47c1881f994b7eb6cfbda
parent926f39369005c89e44e12d5c2e97f12d2ece33d2
Merging r310481, r310492 and r310510:
------------------------------------------------------------------------
r310481 | davide | 2017-08-09 08:13:50 -0700 (Wed, 09 Aug 2017) | 8 lines

[ValueTracking] Honour recursion limit.

The recently improved support for `icmp` in ValueTracking
(r307304) exposes the fact that `isImplied` condition doesn't
really bail out if we hit the recursion limit (and calls
`computeKnownBits` which increases the depth and asserts).

Differential Revision:  https://reviews.llvm.org/D36512
------------------------------------------------------------------------

------------------------------------------------------------------------
r310492 | davide | 2017-08-09 09:06:04 -0700 (Wed, 09 Aug 2017) | 1 line

[ValueTracking] Update tests to unbreak the bots.
------------------------------------------------------------------------

------------------------------------------------------------------------
r310510 | spatel | 2017-08-09 11:56:26 -0700 (Wed, 09 Aug 2017) | 6 lines

[SimplifyCFG] remove checks for crasher test from r310481

Not sure why the earlier version would fail, but trying to get the bots
(and my local machine) to pass again.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@310634 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/SimplifyCFG/pr34131.ll [new file with mode: 0644]