Skip to content
  1. Mar 05, 2010
  2. Mar 03, 2010
    • Dan Gohman's avatar
      Make SCEVExpander and LSR more aggressive about hoisting expressions out · 29707de4
      Dan Gohman authored
      of loops.
      
      llvm-svn: 97642
      29707de4
    • Bill Wendling's avatar
      This test case: · af13d829
      Bill Wendling authored
      long test(long x) { return (x & 123124) | 3; }
      
      Currently compiles to:
      
      _test:
              orl     $3, %edi
              movq    %rdi, %rax
              andq    $123127, %rax
              ret
      
      This is because instruction and DAG combiners canonicalize
      
        (or (and x, C), D) -> (and (or, D), (C | D))
      
      However, this is only profitable if (C & D) != 0. It gets in the way of the
      3-addressification because the input bits are known to be zero.
      
      llvm-svn: 97616
      af13d829
  3. Mar 02, 2010
  4. Mar 01, 2010
  5. Feb 28, 2010
  6. Feb 27, 2010
  7. Feb 26, 2010
  8. Feb 25, 2010
  9. 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
    • Dan Gohman's avatar
      Fix indentation. · 94732024
      Dan Gohman authored
      llvm-svn: 97024
      94732024
    • 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
  10. Feb 23, 2010
  11. Feb 22, 2010
Loading