Files
Craig Topper 4fedc84270 [SimplifyCFG] When merging conditional stores, don't count the store we're merging against the PHINodeFoldingThreshold
Merging conditional stores tries to check to see if the code is if convertible after the store is moved. But the store hasn't been moved yet so its being counted against the threshold.

The patch adds 1 to the threshold comparison to make sure we don't count the store. I've adjusted a test to use a lower threshold to ensure we still do that conversion with the lower threshold.

Differential Revision: https://reviews.llvm.org/D39570

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317368 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-03 21:08:13 +00:00
..
2017-08-07 18:30:35 +00:00
2016-03-28 22:12:21 +00:00
2015-02-13 11:08:40 +00:00
2016-03-28 22:12:21 +00:00
2016-03-28 22:12:21 +00:00
2016-09-16 02:43:36 +00:00