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 08, 2008
  5. Nov 07, 2008
  6. Nov 06, 2008
  7. Nov 05, 2008
  8. Nov 04, 2008
  9. Nov 03, 2008
  10. Nov 02, 2008
  11. Oct 31, 2008
  12. Oct 30, 2008
  13. Oct 29, 2008
  14. Oct 28, 2008
  15. Oct 27, 2008
    • Torok Edwin's avatar
      export an ID for the instructionNamer, allowing analysis/transformation passes · ca97b42e
      Torok Edwin authored
      that need it to require it by ID.
      
      llvm-svn: 58238
      ca97b42e
    • Chris Lattner's avatar
      Rewrite all the 'PromoteLocallyUsedAlloca[s]' logic. With the power of · 59b56913
      Chris Lattner authored
      LargeBlockInfo, we can now dramatically simplify their implementation
      and speed them up at the same time.  Now the code has time proportional
      to the number of uses of the alloca, not the size of the block.
      
      This also eliminates code that tried to batch up different allocas which
      are used in the same blocks, and eliminates the 'retry list' logic which
      was baroque and no unneccesary.  In addition to being a speedup for crazy
      cases, this is also a nice cleanup:
      
      PromoteMemoryToRegister.cpp |  270 +++++++++++++++-----------------------------
       1 file changed, 96 insertions(+), 174 deletions(-)
      
      llvm-svn: 58229
      59b56913
Loading