If we have something like this:
authorChris Lattner <sabre@nondot.org>
Tue, 30 Nov 2004 00:29:14 +0000 (00:29 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Nov 2004 00:29:14 +0000 (00:29 +0000)
commit37dc938bbe556a9414d063196d367c2f75d07d95
tree9f37a05b1ca48c3cd2a645ae6748bfd0774f9aaf
parentee8c9ad8d26a4f232b4845742a620d66a65ee1c0
If we have something like this:

  if (x) {
    code
    ...
  } else {
    code
    ...
  }

Turn it into:

  code
  if (x) {
    ...
  } else {
    ...
  }

This reduces code size and in some common cases allows us to completely
eliminate the conditional.  This turns several if/then/else blocks in loops
into straightline code in 179.art, turning the loops into single basic blocks
(good for modsched even!).

Maybe now brg will leave me alone ;-)

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