Skip to content
  • Chris Lattner's avatar
    Teach jump threading some more simple tricks: · 595c7279
    Chris Lattner authored
    1) have it fold "br undef", which does occur with
       surprising frequency as jump threading iterates.
    2) teach j-t to delete dead blocks.  This removes the successor
       edges, reducing the in-edges of other blocks, allowing 
       recursive simplification.
    3) Fold things like:
         br COND, BBX, BBY
      BBX:
         br COND, BBZ, BBW
    
       which also happens because jump threading iterates.
    
    llvm-svn: 60470
    595c7279
Loading