Reenable the optimization added in 133415, but change the definition of a "simple...
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 22 Jun 2011 04:01:58 +0000 (04:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 22 Jun 2011 04:01:58 +0000 (04:01 +0000)
commitc9be25726114b43ac03a4f8f84b537c21ee2bd6d
tree9b71ac0e92949c30242616737dbc5d2b6ec5c218
parent6332fdef158802d271c294aeec50e0b4e8095365
Reenable the optimization added in 133415, but change the definition of a "simple" bb to
be one with only one unconditional branch and no phis. Duplicating the phis in this case
is possible, but requeres liveness analysis or breaking edges.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133607 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TailDuplication.cpp