Do not try to update dominator info while manipulating CFG. This code does not handl...
authorDevang Patel <dpatel@apple.com>
Thu, 3 Jul 2008 17:37:52 +0000 (17:37 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 3 Jul 2008 17:37:52 +0000 (17:37 +0000)
commit77a01136ff62502b0340c2749c6f708151018533
treeef8341959d8e26e69eaa2336c688d652ce9f7aed
parent9da02b844f7fe2ddae936b029fcdb34d74706b22
Do not try to update dominator info while manipulating CFG.  This code does not handle all cases and keeps invalid dom info around some cases, which misleads other passes down stream.

Right now, dom info is recaluclated in the end if the loop is switched.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53106 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp