Skip to content
  1. Dec 06, 2011
  2. Dec 05, 2011
  3. Dec 03, 2011
  4. Dec 01, 2011
  5. Nov 30, 2011
  6. Nov 29, 2011
    • Duncan Sands's avatar
      Fix a theoretical problem (not seen in the wild): if different instances of a · ca6f8ddb
      Duncan Sands authored
      weak variable are compiled by different compilers, such as GCC and LLVM, while
      LLVM may increase the alignment to the preferred alignment there is no reason to
      think that GCC will use anything more than the ABI alignment.  Since it is the
      GCC version that might end up in the final program (as the linkage is weak), it
      is wrong to increase the alignment of loads from the global up to the preferred
      alignment as the alignment might only be the ABI alignment.
      
      Increasing alignment up to the ABI alignment might be OK, but I'm not totally
      convinced that it is.  It seems better to just leave the alignment of weak
      globals alone.
      
      llvm-svn: 145413
      ca6f8ddb
    • Andrew Trick's avatar
      Reenable this IndVars unit test. · e756031a
      Andrew Trick authored
      SCEV can't optimize undef in all cases, which is a separate issue from this test case.
      
      llvm-svn: 145343
      e756031a
    • Eli Friedman's avatar
      Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438. · b3f9b067
      Eli Friedman authored
      llvm-svn: 145316
      b3f9b067
  7. Nov 28, 2011
  8. Nov 27, 2011
  9. Nov 26, 2011
  10. Nov 23, 2011
  11. Nov 21, 2011
  12. Nov 20, 2011
  13. Nov 18, 2011
    • Andrew Trick's avatar
      Fix a corner case in updating LoopInfo after fully unrolling an outer loop. · 6b4d578f
      Andrew Trick authored
      The loop tree's inclusive block lists are painful and expensive to
      update. (I have no idea why they're inclusive). The design was
      supposed to handle this case but the implementation missed it and my
      unit tests weren't thorough enough.
      
      Fixes PR11335: loop unroll update.
      
      llvm-svn: 144970
      6b4d578f
    • Andrew Trick's avatar
      Fix an overly general check in SimplifyIndvar to handle useless phi cycles. · 94904586
      Andrew Trick authored
      The right way to check for a binary operation is
      cast<BinaryOperator>. The original check: cast<Instruction> &&
      numOperands() == 2 would match phi "instructions", leading to an
      infinite loop in extreme corner case: a useless phi with operands
      [self, constant] that prior optimization passes failed to remove,
      being used in the loop by another useless phi, in turn being used by an
      lshr or udiv.
      
      Fixes PR11350: runaway iteration assertion.
      
      llvm-svn: 144935
      94904586
  14. Nov 17, 2011
  15. Nov 16, 2011
  16. Nov 14, 2011
  17. Nov 12, 2011
  18. Nov 11, 2011
    • Eli Friedman's avatar
      Get rid of an optimization in SCCP which appears to have many issues. ... · 0a309292
      Eli Friedman authored
      Get rid of an optimization in SCCP which appears to have many issues.  Specifically, it doesn't handle many cases involving undef correctly, and it is missing other checks which
      lead to it trying to re-mark a value marked as a constant with a different value.  It also appears to trigger very rarely.
      
      Fixes PR11357.
      
      llvm-svn: 144352
      0a309292
  19. Nov 10, 2011
  20. Nov 08, 2011
  21. Nov 05, 2011
Loading