Skip to content
  • Chris Lattner's avatar
    Substantially refactor the SCCP class into an SCCP pass and an SCCPSolver · 074be1f6
    Chris Lattner authored
    class.  The only changes are minor:
    
     * Do not try to SCCP instructions that return void in the rewrite loop.
       This is silly and fool hardy, wasting a map lookup and adding an entry
       to the map which is never used.
     * If we decide something has an undefined value, rewrite it to undef,
       potentially leading to further simplications.
    
    llvm-svn: 17816
    074be1f6
Loading