Skip to content
  1. Feb 19, 2011
  2. Feb 18, 2011
  3. Feb 17, 2011
  4. Feb 16, 2011
  5. Feb 15, 2011
  6. Feb 14, 2011
  7. Feb 13, 2011
    • Chris Lattner's avatar
      Enhance ComputeMaskedBits to know that aligned frameindexes · 46c01a30
      Chris Lattner authored
      have their low bits set to zero.  This allows us to optimize
      out explicit stack alignment code like in stack-align.ll:test4 when
      it is redundant.
      
      Doing this causes the code generator to start turning FI+cst into
      FI|cst all over the place, which is general goodness (that is the
      canonical form) except that various pieces of the code generator
      don't handle OR aggressively.  Fix this by introducing a new
      SelectionDAG::isBaseWithConstantOffset predicate, and using it
      in places that are looking for ADD(X,CST).  The ARM backend in
      particular was missing a lot of addressing mode folding opportunities
      around OR.
      
      llvm-svn: 125470
      46c01a30
    • Chris Lattner's avatar
      Revisit my fix for PR9028: the issue is that DAGCombine was · e95d1950
      Chris Lattner authored
      generating i8 shift amounts for things like i1024 types.  Add
      an assert in getNode to prevent this from occuring in the future,
      fix the buggy transformation, revert my previous patch, and
      document this gotcha in ISDOpcodes.h
      
      llvm-svn: 125465
      e95d1950
    • Chris Lattner's avatar
      when legalizing extremely wide shifts, make sure that · d5f0b114
      Chris Lattner authored
      the shift amounts are in a suitably wide type so that
      we don't generate out of range constant shift amounts.
      
      This fixes PR9028.
      
      llvm-svn: 125458
      d5f0b114
    • Chris Lattner's avatar
      fix visitShift to properly zero extend the shift amount if the provided operand · 2a720d93
      Chris Lattner authored
      is narrower than the shift register.  Doing an anyext provides undefined bits in
      the top part of the register.
      
      llvm-svn: 125457
      2a720d93
Loading