Skip to content
  1. Dec 14, 2010
  2. Dec 13, 2010
  3. Dec 05, 2010
    • Frits van Bommel's avatar
      Teach SimplifyCFG to turn · 8fb69ee8
      Frits van Bommel authored
        (indirectbr (select cond, blockaddress(@fn, BlockA),
                                  blockaddress(@fn, BlockB)))
      into
        (br cond, BlockA, BlockB).
      
      llvm-svn: 120943
      8fb69ee8
  4. Oct 24, 2010
    • Duncan Sands's avatar
      Fix PR8445: a block with no predecessors may be the entry block, in which case · 31c803b2
      Duncan Sands authored
      it isn't unreachable and should not be zapped.  The check for the entry block
      was missing in one case: a block containing a unwind instruction.  While there,
      do some small cleanups: "M" is not a great name for a Function* (it would be
      more appropriate for a Module*), change it to "Fn"; use Fn in more places.
      
      llvm-svn: 117224
      31c803b2
  5. Aug 16, 2010
  6. Aug 14, 2010
    • Dan Gohman's avatar
      Teach SimplifyCFG how to simplify indirectbr instructions. · 4a63fad9
      Dan Gohman authored
       - 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.
      
      llvm-svn: 111060
      4a63fad9
  7. Jul 22, 2010
Loading