[SimplifyCFG] Tweak heuristic for merging conditional stores
authorJames Molloy <james.molloy@arm.com>
Thu, 5 Nov 2015 08:40:19 +0000 (08:40 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 5 Nov 2015 08:40:19 +0000 (08:40 +0000)
commita3bdb086c7ebc1a21844059620f8728f56ce93b4
treef28b40c0845ccfb9ae6723b193117fecda96b53e
parentb1b2c5a45726af8ac71735780354820fab8fe797
[SimplifyCFG] Tweak heuristic for merging conditional stores

We were correctly skipping dbginfo intrinsics and terminators, but the initial bailout wasn't, causing it to bail out on almost any block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252152 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp