Skip to content
  1. Nov 11, 2008
  2. Nov 10, 2008
  3. Nov 09, 2008
    • Nuno Lopes's avatar
      fix leakage of ValueNumbering · 2e42927e
      Nuno Lopes authored
      llvm-svn: 58933
      2e42927e
    • Bill Wendling's avatar
      If the LHS of the FCMP is coming from a UIToFP instruction, then we don't want · 3f547be2
      Bill Wendling authored
      to generate signed ICMP instructions to replace the FCMP. This would violate
      the following:
      
      define i1 @test1(i32 %val) {
        %1 = uitofp i32 %val to double
        %2 = fcmp ole double %1, 0.000000e+00
        ret i1 %2
      }
      
      would be transformed into:
      
      define i1 @test1(i32 %val) {
        %1 = icmp slt i33 %val, 1
        ret i1 %1
      }
      
      which is obviously wrong. This patch modifes InstCombiner::FoldFCmp_IntToFP_Cst
      to handle when the LHS comes from UIToFP.
      
      llvm-svn: 58929
      3f547be2
  4. Nov 06, 2008
  5. Nov 05, 2008
  6. Nov 04, 2008
  7. Nov 03, 2008
  8. Nov 02, 2008
  9. Oct 30, 2008
  10. Oct 28, 2008
  11. Oct 24, 2008
  12. Oct 23, 2008
    • Daniel Dunbar's avatar
      Change create*Pass factory functions to return Pass* instead of · 7f39e2d8
      Daniel Dunbar authored
      LoopPass*.
       - Although less precise, this means they can be used in clients
         without RTTI (who would otherwise need to include LoopPass.h, which
         eventually includes things using dynamic_cast). This was the
         simplest solution that presented itself, but I am happy to use a
         better one if available.
      
      llvm-svn: 58010
      7f39e2d8
  13. Oct 17, 2008
  14. Oct 16, 2008
    • Dan Gohman's avatar
      Teach instcombine's visitLoad to scan back several instructions · bc027840
      Dan Gohman authored
      to find opportunities for store-to-load forwarding or load CSE,
      in the same way that visitStore scans back to do DSE. Also, define
      a new helper function for testing whether the addresses of two
      memory accesses are known to have the same value, and use it in
      both visitStore and visitLoad.
      
      These two changes allow instcombine to eliminate loads in code
      produced by front-ends that frequently emit obviously redundant
      addressing for memory references.
      
      llvm-svn: 57608
      bc027840
  15. Oct 14, 2008
  16. Oct 13, 2008
  17. Oct 12, 2008
  18. Oct 11, 2008
  19. Oct 10, 2008
  20. Oct 08, 2008
  21. Oct 07, 2008
  22. Oct 06, 2008
  23. Oct 05, 2008
  24. Oct 01, 2008
  25. Sep 30, 2008
Loading