Skip to content
  1. Aug 18, 2009
  2. Aug 17, 2009
  3. Aug 16, 2009
    • Eli Friedman's avatar
      Fix for PR3016: detect the tricky case, where there are · d56fca47
      Eli Friedman authored
      unfoldable references to a PHI node in the block being folded, and disable
      the transformation in that case.  The correct transformation of such PHI
      nodes depends on whether BB dominates Succ, and dominance is expensive 
      to compute here.  (Alternatively, it's possible to check whether any 
      uses are live, but that's also essentially a dominance calculation. 
      Another alternative is to use reg2mem, but it probably isn't a good idea to
      use that in simplifycfg.)
      
      Also, remove some incorrect code from CanPropagatePredecessorsForPHIs 
      which is made unnecessary with this patch: it didn't consider the case 
      where a PHI node in BB has multiple uses.
      
      llvm-svn: 79174
      d56fca47
  4. Aug 15, 2009
  5. Aug 14, 2009
  6. Aug 13, 2009
  7. Aug 12, 2009
  8. Aug 11, 2009
  9. Aug 08, 2009
    • Daniel Dunbar's avatar
      More ProfileInfo improvements. · 3b5008e2
      Daniel Dunbar authored
       - Part of optimal static profiling patch sequence by Andreas Neustifter.
      
       - Store edge, block, and function information separately for each functions
         (instead of in one giant map).
      
       - Return frequencies as double instead of int, and use a sentinel value for
         missing information.
      
      llvm-svn: 78477
      3b5008e2
  10. Aug 07, 2009
  11. Aug 06, 2009
  12. Aug 05, 2009
  13. Aug 04, 2009
  14. Aug 03, 2009
  15. Jul 31, 2009
Loading