Skip to content
  1. Aug 05, 2008
    • Owen Anderson's avatar
      - Fix SelectionDAG to generate correct CFGs. · a102290b
      Owen Anderson authored
      - Add a basic machine-level dead block eliminator.
      
      These two have to go together, since many other parts of the code generator are unable to handle the unreachable blocks otherwise created.
      
      llvm-svn: 54333
      a102290b
    • Eli Friedman's avatar
      PR2621: Improvements to the SCEV AddRec binomial expansion. This · 61f67624
      Eli Friedman authored
      version uses a new algorithm for evaluating the binomial coefficients 
      which is significantly more efficient for AddRecs of more than 2 terms 
      (see the comments in the code for details on how the algorithm works).  
      It also fixes some bugs: it removes the arbitrary length restriction for 
      AddRecs, it fixes the silent generation of incorrect code for AddRecs 
      which require a wide calculation width, and it fixes an issue where we 
      were incorrectly truncating the iteration count too far when evaluating 
      an AddRec expression narrower than the induction variable.
      
      There are still a few related issues I know of: I think there's 
      still an issue with the SCEVExpander expansion of AddRec in terms of
      the width of the induction variable used.  The hack to avoid generating 
      too-wide integers shouldn't be necessary; instead, the callers should be 
      considering the cost of the expansion before expanding it (in addition 
      to not expanding too-wide integers, we might not want to expand 
      expressions that are really expensive, especially when optimizing for 
      size; calculating an length-17 32-bit AddRec currently generates about 250 
      instructions of straight-line code on X86).  Also, for long 32-bit 
      AddRecs on X86, CodeGen really sucks at scheduling the code.  I'm planning on 
      filing follow-up PRs for these issues.
      
      llvm-svn: 54332
      61f67624
    • Dan Gohman's avatar
      Fix SDISel lowering of PHI nodes to use ComputeValueVTs. · 90c724ca
      Dan Gohman authored
      This allows it to work correctly on aggregate values.
      This fixes PR2623.
      
      llvm-svn: 54331
      90c724ca
    • Dan Gohman's avatar
      Fix SDISel lowering of zeroinitializer and undef to use ComputeValueVTs. · 6e023e63
      Dan Gohman authored
      This allows it to work correctly on nested aggregate values.
      This fixes PR2625.
      
      llvm-svn: 54330
      6e023e63
    • Dan Gohman's avatar
      Add an assert to catch invalid VECTOR_SHUFFLE mask indices. · 8ef79ebd
      Dan Gohman authored
      llvm-svn: 54329
      8ef79ebd
    • Ted Kremenek's avatar
      Nico Weber: · be9b33bf
      Ted Kremenek authored
      "the attached patch fixes some typos, 80 cols violations, etc. in comments."
      
      llvm-svn: 54328
      be9b33bf
  2. Aug 04, 2008
  3. Aug 03, 2008
  4. Aug 02, 2008
  5. Aug 01, 2008
  6. Jul 31, 2008
Loading