[SimplifyCFG] Move a portion of an if statement that should already be implied to...
authorCraig Topper <craig.topper@intel.com>
Thu, 6 Jul 2017 16:29:43 +0000 (16:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 6 Jul 2017 16:29:43 +0000 (16:29 +0000)
commitdfd01ea9ed734c9f020b518d5a984761ba717d3c
tree42527972c10a8c8c2ba7bd30fa485525608969b2
parent95e4142f94df39fc87504c11278139fc698570f2
[SimplifyCFG]  Move a portion of an if statement that should already be implied to an assert

Summary: In this code we got to Dom by following the predecessor link of BB. So it stands to reason that BB should also show up as a successor of Dom's terminator right? There isn't a way to have the CFG connect in only one direction is there?

Reviewers: jmolloy, davide, mcrosier

Reviewed By: mcrosier

Subscribers: mcrosier, llvm-commits

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

llvm-svn: 307276
llvm/lib/Transforms/Utils/SimplifyCFG.cpp