llvm-6502/lib/Transforms
Dan Gohman e2c6d131d1 Teach SimplifyCFG how to simplify indirectbr instructions.
- Eliminate redundant successors.
 - Convert an indirectbr with one successor into a direct branch.

Also, generalize SimplifyCFG to be able to be run on a function entry block.
It knows quite a few simplifications which are applicable to the entry
block, and it only needs a few checks to avoid trouble with the entry block.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111060 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-14 00:29:42 +00:00
..
Hello Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
InstCombine Reapply this transformation now that it is passing the external test which it previously failed. 2010-08-13 00:17:53 +00:00
Instrumentation Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
IPO Fix a use after free error caught by the valgrind builders. 2010-08-09 21:03:28 +00:00
Scalar Teach SimplifyCFG how to simplify indirectbr instructions. 2010-08-14 00:29:42 +00:00
Utils Teach SimplifyCFG how to simplify indirectbr instructions. 2010-08-14 00:29:42 +00:00
Makefile Revert r100896 and around - this breaks the only mingw32 buildbot we have. 2010-04-15 19:51:42 +00:00