Go to file
Bob Wilson 53a31ad3c1 Fix branch folding bug for indirect branches: for a block containing only
an unconditional branch (possibly from tail merging), this code is
trying to redirect all of its predecessors to go directly to the branch
target, but that isn't feasible for indirect branches.  The other
predecessors (that don't end with indirect branches) could theoretically
still be handled, but that is not easily done right now.

The AnalyzeBranch interface doesn't currently let us distinguish jump table
branches from indirect branches, and this code is currently handling
jump tables.  To avoid punting on address-taken blocks, we would have to give
up handling jump tables.  That seems like a bad tradeoff.

llvm-svn: 85975
2009-11-03 23:44:31 +00:00
clang Test case for recent checkin. 2009-11-03 23:32:42 +00:00
compiler-rt Add DragonFly BSD to supported platforms list. 2009-11-01 18:30:27 +00:00
llvm Fix branch folding bug for indirect branches: for a block containing only 2009-11-03 23:44:31 +00:00