Skip to content
  1. Jan 08, 2011
    • Chris Lattner's avatar
      Have loop-rotate simplify instructions (yay instsimplify!) as it clones · 8c5defd0
      Chris Lattner authored
      them into the loop preheader, eliminating silly instructions like
      "icmp i32 0, 100" in fixed tripcount loops.  This also better exposes the 
      bigger problem with loop rotate that I'd like to fix: once this has been
      folded, the duplicated conditional branch *often* turns into an uncond branch.
      
      Not aggressively handling this is pessimizing later loop optimizations 
      somethin' fierce by making "dominates all exit blocks" checks fail.
      
      llvm-svn: 123060
      8c5defd0
    • Chris Lattner's avatar
      Revamp the ValueMapper interfaces in a couple ways: · 43f8d164
      Chris Lattner authored
      1. Take a flags argument instead of a bool.  This makes
         it more clear to the reader what it is used for.
      2. Add a flag that says that "remapping a value not in the
         map is ok".
      3. Reimplement MapValue to share a bunch of code and be a lot
         more efficient.  For lookup failures, don't drop null values
         into the map.
      4. Using the new flag a bunch of code can vaporize in LinkModules
         and LoopUnswitch, kill it.
      
      No functionality change.
      
      llvm-svn: 123058
      43f8d164
    • Chris Lattner's avatar
      two minor changes: switch to the standard ValueToValueMapTy · 2b3f20e6
      Chris Lattner authored
      map from ValueMapper.h (giving us access to its utilities)
      and add a fastpath in the loop rotation code, avoiding expensive
      ssa updator manipulation for values with nothing to update.
      
      llvm-svn: 123057
      2b3f20e6
  2. Jan 06, 2011
  3. Jan 05, 2011
  4. Jan 04, 2011
  5. Jan 03, 2011
Loading