Skip to content
  1. Mar 22, 2010
  2. Mar 20, 2010
    • Dan Gohman's avatar
      Clear the SCEVExpander's insertion point after making deletions, · 1a2abe55
      Dan Gohman authored
      so that the SCEVExpander doesn't retain a dangling pointer as its
      insert position. The dangling pointer in this case wasn't ever used
      to insert new instructions, but it was causing trouble with
      SCEVExpander's code for automatically advancing its insert position
      past debug intrinsics.
      
      This fixes use-after-free errors that valgrind noticed in
      test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll and
      test/Transforms/IndVarSimplify/exit_value_tests.ll.
      
      llvm-svn: 99036
      1a2abe55
  3. Mar 19, 2010
  4. Mar 16, 2010
  5. Mar 15, 2010
  6. Mar 14, 2010
  7. Mar 12, 2010
  8. Mar 11, 2010
  9. Mar 10, 2010
  10. Mar 06, 2010
  11. Mar 05, 2010
  12. Mar 03, 2010
  13. Mar 02, 2010
  14. Mar 01, 2010
  15. Feb 28, 2010
  16. Feb 27, 2010
  17. Feb 26, 2010
  18. Feb 25, 2010
    • Dan Gohman's avatar
      Make LoopSimplify change conditional branches in loop exiting blocks · a9c205cc
      Dan Gohman authored
      which branch on undef to branch on a boolean constant for the edge
      exiting the loop. This helps ScalarEvolution compute trip counts for
      loops.
      
      Teach ScalarEvolution to recognize single-value PHIs, when safe, and
      ForgetSymbolicName to forget such single-value PHI nodes as apprpriate
      in ForgetSymbolicName.
      
      llvm-svn: 97126
      a9c205cc
  19. Feb 24, 2010
    • Daniel Dunbar's avatar
      Reapply r97010, the speculative revert failed. · 693ea892
      Daniel Dunbar authored
      llvm-svn: 97036
      693ea892
    • Daniel Dunbar's avatar
      Speculatively revert r97010, "Add an argument to PHITranslateValue to specify · 0a2031e5
      Daniel Dunbar authored
      the DominatorTree. ...", in hopes of restoring poor old PPC bootstrap.
      
      llvm-svn: 97027
      0a2031e5
    • Bob Wilson's avatar
      Add an argument to PHITranslateValue to specify the DominatorTree. If this · 66e58ac7
      Bob Wilson authored
      argument is non-null, pass it along to PHITranslateSubExpr so that it can
      prefer using existing values that dominate the PredBB, instead of just
      blindly picking the first equivalent value that it finds on a uselist.
      Also when the DominatorTree is specified, have PHITranslateValue filter
      out any result that does not dominate the PredBB.  This is basically just
      refactoring the check that used to be in GetAvailablePHITranslatedSubExpr
      and also in GVN.
      
      Despite my initial expectations, this change does not affect the results
      of GVN for any testcases that I could find, but it should help compile time.
      Before this change, if PHITranslateSubExpr picked a value that does not
      dominate, PHITranslateWithInsertion would then insert a new value, which GVN
      would later determine to be redundant and would replace.  By picking a good
      value to begin with, we save GVN the extra work of inserting and then
      replacing a new value.
      
      llvm-svn: 97010
      66e58ac7
  20. Feb 23, 2010
  21. Feb 22, 2010
Loading