Skip to content
  1. Nov 19, 2008
    • Devang Patel's avatar
      · 7ed6c531
      Devang Patel authored
      If there are two consecutive llvm.dbg.stoppoint calls then
      it is likely that the optimizer deleted code in between these
      two intrinsics. Keep only the last llvm.dbg.stoppoint in this case.
      
      llvm-svn: 59657
      7ed6c531
  2. Nov 18, 2008
  3. Nov 17, 2008
  4. Nov 16, 2008
  5. Nov 11, 2008
  6. Nov 10, 2008
  7. 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
  8. Nov 06, 2008
  9. Nov 05, 2008
  10. Nov 04, 2008
  11. Nov 03, 2008
  12. Nov 02, 2008
  13. Oct 30, 2008
  14. Oct 28, 2008
  15. Oct 24, 2008
  16. 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
Loading