Skip to content
  1. Feb 14, 2012
  2. Feb 05, 2012
    • Chris Lattner's avatar
      reapply the patches reverted in r149470 that reenable ConstantDataArray, · cf9e8f69
      Chris Lattner authored
      but with a critical fix to the SelectionDAG code that optimizes copies
      from strings into immediate stores: the previous code was stopping reading
      string data at the first nul.  Address this by adding a new argument to
      llvm::getConstantStringInfo, preserving the behavior before the patch.
      
      llvm-svn: 149800
      cf9e8f69
  3. Feb 03, 2012
  4. Feb 01, 2012
  5. Jan 31, 2012
    • Chris Lattner's avatar
      · 8ea967d0
      Chris Lattner authored
      with recent changes, ConstantArray is never a "string".  Remove the associated
      methods and constant fold the clients to false.
      
      llvm-svn: 149362
      8ea967d0
    • Chris Lattner's avatar
      don't emit a 1-byte object as a .fill. This is silly and causes · 0d3785e1
      Chris Lattner authored
      CodeGen/X86/global-sections.ll to fail with CDArray
      
      llvm-svn: 149343
      0d3785e1
    • Chandler Carruth's avatar
      Chris's constant data sequence refactoring actually enabled printing · 2c469ff1
      Chandler Carruth authored
      vectors of all one bits to be printed more cleverly in the AsmPrinter.
      Unfortunately, the byte value for all one bits is the same with
      -fsigned-char as the error return of '-1'. Force this to be the unsigned
      byte value when returning it to avoid this problem, and update the test
      case for the shiny new behavior.
      
      Yay for building LLVM and Clang with -funsigned-char.
      
      Chris, please review, and let me know if there is any reason to not
      desire this change. It seems good on the surface, and certainly intended
      based on the code written.
      
      llvm-svn: 149299
      2c469ff1
  6. Jan 30, 2012
  7. Jan 26, 2012
  8. Jan 25, 2012
  9. Jan 24, 2012
  10. Jan 20, 2012
  11. Jan 13, 2012
  12. Dec 20, 2011
  13. Dec 07, 2011
  14. Dec 06, 2011
    • Jakob Stoklund Olesen's avatar
      Use logarithmic units for basic block alignment. · 10e12522
      Jakob Stoklund Olesen authored
      This was actually a bit of a mess. TLI.setPrefLoopAlignment was clearly
      documented as taking log2(bytes) units, but the x86 target would still
      set a preferred loop alignment of '16'.
      
      CodePlacementOpt passed this number on to the basic block, and
      AsmPrinter interpreted it as bytes.
      
      Now both MachineFunction and MachineBasicBlock use logarithmic
      alignments.
      
      Obviously, MachineConstantPool still measures alignments in bytes, so we
      can emulate the thrill of using as.
      
      llvm-svn: 145889
      10e12522
  15. Dec 04, 2011
  16. Nov 15, 2011
    • Rafael Espindola's avatar
      We currently use a callback to handle an IL pass deleting a BB that still · f11e7f13
      Rafael Espindola authored
      has a reference to it. Unfortunately, that doesn't work for codegen passes
      since we don't get notified of MBB's being deleted (the original BB stays).
      
      Use that fact to our advantage and after printing a function, check if
      any of the IL BBs corresponds to a symbol that was not printed. This fixes
      pr11202.
      
      llvm-svn: 144674
      f11e7f13
  17. Nov 05, 2011
  18. Oct 27, 2011
  19. Oct 05, 2011
  20. Sep 29, 2011
  21. Sep 02, 2011
  22. Aug 31, 2011
    • David Greene's avatar
      Fix Size Typing · 7df940d6
      David Greene authored
      Stores sizes as uint64_t to avoid possible truncation.
      
      llvm-svn: 138901
      7df940d6
    • David Greene's avatar
      Compress Repeated Byte Output · cdef71f4
      David Greene authored
      Emit a repeated sequence of bytes using .zero.  This saves an enormous
      amount of asm file space for certain programs.
      
      llvm-svn: 138864
      cdef71f4
  23. Aug 28, 2011
  24. Aug 01, 2011
  25. Jul 20, 2011
  26. Jul 19, 2011
  27. Jul 18, 2011
  28. Jun 24, 2011
  29. Jun 22, 2011
  30. Jun 19, 2011
  31. Jun 15, 2011
Loading