Skip to content
  1. Sep 06, 2010
    • Chris Lattner's avatar
      Teach loop rotate to hoist trivially invariant instructions · b01c24a9
      Chris Lattner authored
      in the duplicated block instead of duplicating them.  
      
      Duplicating them into the end of the loop and the preheader 
      means that we got a phi node in the header of the loop, 
      which prevented LICM from hoisting them.  GVN would
      usually come around later and merge the duplicated 
      instructions so we'd get reasonable output... except that
      anything dependent on the shoulda-been-hoisted value can't
      be hoisted.  In PR5319 (which this fixes), a memory value
      didn't get promoted.
      
      llvm-svn: 113134
      b01c24a9
    • Chris Lattner's avatar
      pull a simple method out of LICM into a new · da24b9a4
      Chris Lattner authored
      Loop::hasLoopInvariantOperands method. Remove
      a useless and confusing Loop::isLoopInvariant(Instruction)
      method, which didn't do what you thought it did.
      
      No functionality change.
      
      llvm-svn: 113133
      da24b9a4
    • Chris Lattner's avatar
      remove some dead code. t2addrmode_imm8s4 is never used in a · f43cb302
      Chris Lattner authored
      pattern, so there is no need to define a matching function.
      
      llvm-svn: 113122
      f43cb302
  2. Sep 05, 2010
  3. Sep 04, 2010
  4. Sep 03, 2010
Loading