Really turn if-converter loose:
authorEvan Cheng <evan.cheng@apple.com>
Sat, 16 Jun 2007 09:34:52 +0000 (09:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 16 Jun 2007 09:34:52 +0000 (09:34 +0000)
commite882fca902ba6b1a9e0c361c5781084f79eb6216
tree91c3c2e5affcf456f58f7481caa93abe7d7db031
parent0c5c8d8f54135dc0abfc126881804d5135e67d65
Really turn if-converter loose:
1. Consider all possible ifcvt cases at once. No longer restricted to bottom
   up iterative approach.
2. Sort all possible cases based on a cost function. Perform the most profitable
   ones first invalidate others that target the same blocks.
3. Fixed a number of bugs related to block duplication.

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