Skip to content
  1. May 31, 2006
  2. May 30, 2006
  3. May 29, 2006
  4. May 28, 2006
  5. May 27, 2006
    • Owen Anderson's avatar
      Make LCSSA insert proper Phi nodes throughout the rest of the CFG by computing · 1310e428
      Owen Anderson authored
      the iterated Dominance Frontier of the loop-closure Phi's.  This is the
      second phase of the LCSSA pass.  The third phase (coming soon) will be to
      update all uses of loop variables to use the loop-closure Phi's instead.
      
      llvm-svn: 28524
      1310e428
    • Chris Lattner's avatar
      Fix some regression from the inliner patch I committed last night. This fixes · 67c424e0
      Chris Lattner authored
      ldecod, lencod, and SPASS.
      
      llvm-svn: 28523
      67c424e0
    • Chris Lattner's avatar
      Switch the inliner over to using CloneAndPruneFunctionInto. This effectively · be853d77
      Chris Lattner authored
      makes it so that it constant folds instructions on the fly.  This is good
      for several reasons:
      
      0. Many instructions are constant foldable after inlining, particularly if
         inlining a call with constant arguments.
      1. Without this, the inliner has to allocate memory for all of the instructions
         that can be constant folded, then a subsequent pass has to delete them.  This
         gets the job done without this extra work.
      2. This makes the inliner *pass* a bit more aggressive: in particular, it
         partially solves a phase order issue where the inliner would inline lots
         of code that folds away to nothing, but think that the resultant function
         is big because of this code that will be gone.  Now the code never exists.
      
      This is the first part of a 2-step process.  The second part will be smart
      enough to see when this implicit constant folding propagates a constant into
      a branch or switch instruction, making CFG edges dead.
      
      This implements Transforms/Inline/inline_constprop.ll
      
      llvm-svn: 28521
      be853d77
Loading