Skip to content
  1. Jan 19, 2010
    • Bruno Cardoso Lopes's avatar
      load f64 +0.0 in a cleaner way. This fix part of PR5445 · c9818a77
      Bruno Cardoso Lopes authored
      llvm-svn: 93876
      c9818a77
    • Bruno Cardoso Lopes's avatar
      Fix return registers for mips eabi · 2f5c8e34
      Bruno Cardoso Lopes authored
      llvm-svn: 93875
      2f5c8e34
    • Chris Lattner's avatar
      Now that we have everything nicely factored (e.g. asmprinter is not · c7a062d1
      Chris Lattner authored
      doing global variable classification anymore) and hookized, sink almost
      all target targets global variable emission code into AsmPrinter and out
      of each target.
      
      Some notes:
      
      1. PIC16 does completely custom and crazy stuff, so it is not changed.
      2. XCore has some custom handling for extra directives.  I'll look at it next.
      3. This switches linux/ppc to use .globl instead of .global.  If .globl is
         actually wrong, let me know and I'll fix it.
      4. This makes linux/ppc get a lot of random cases right which were obviously
         wrong before, it is probably now a bit healthier.
      5. Blackfin will probably start getting .comm and other things that it didn't
         before.  If this is undesirable, it should explicitly opt out of these
         things by clearing the relevant fields of MCAsmInfo.
      
      This leads to a nice diffstat:
       14 files changed, 127 insertions(+), 830 deletions(-)
      
      llvm-svn: 93858
      c7a062d1
    • Chris Lattner's avatar
      simplify the mips target to print .size and .type for c strings · 9d749a2f
      Chris Lattner authored
      just like all other elf targets.  Bruno, if this isn't right, please
      let me know + why :)
      
      llvm-svn: 93856
      9d749a2f
  2. Jan 17, 2010
  3. Jan 16, 2010
  4. Jan 05, 2010
  5. Dec 21, 2009
  6. Dec 19, 2009
  7. Dec 05, 2009
  8. Nov 25, 2009
  9. Nov 24, 2009
  10. Nov 21, 2009
  11. Nov 19, 2009
  12. Nov 16, 2009
  13. Nov 13, 2009
  14. Nov 12, 2009
    • David Greene's avatar
      · be851acf
      David Greene authored
      Make the MachineFunction argument of getFrameRegister const.
      
      This also fixes a build error.
      
      llvm-svn: 87027
      be851acf
    • David Greene's avatar
      · 1fbe0544
      David Greene authored
      Add a bool flag to StackObjects telling whether they reference spill
      slots.  The AsmPrinter will use this information to determine whether to
      print a spill/reload comment.
      
      Remove default argument values.  It's too easy to pass a wrong argument
      value when multiple arguments have default values.  Make everything
      explicit to trap bugs early.
      
      Update all targets to adhere to the new interfaces..
      
      llvm-svn: 87022
      1fbe0544
    • Bruno Cardoso Lopes's avatar
      A real solution for the first part of PR5445 · 626d49f6
      Bruno Cardoso Lopes authored
      llvm-svn: 86895
      626d49f6
  15. Nov 10, 2009
  16. Nov 09, 2009
  17. Nov 07, 2009
  18. Nov 05, 2009
  19. Oct 29, 2009
  20. Oct 28, 2009
  21. Oct 27, 2009
  22. Oct 25, 2009
  23. Oct 07, 2009
    • Jim Grosbach's avatar
      Add register-reuse to frame-index register scavenging. When a target uses · fa14dd43
      Jim Grosbach authored
      a virtual register to eliminate a frame index, it can return that register
      and the constant stored there to PEI to track. When scavenging to allocate
      for those registers, PEI then tracks the last-used register and value, and
      if it is still available and matches the value for the next index, reuses
      the existing value rather and removes the re-materialization instructions.
      Fancier tracking and adjustment of scavenger allocations to keep more
      values live for longer is possible, but not yet implemented and would likely
      be better done via a different, less special-purpose, approach to the
      problem.
      
      eliminateFrameIndex() is modified so the target implementations can return
      the registers they wish to be tracked for reuse.
      
      ARM Thumb1 implements and utilizes the new mechanism. All other targets are
      simply modified to adjust for the changed eliminateFrameIndex() prototype.
      
      llvm-svn: 83467
      fa14dd43
  24. Oct 06, 2009
  25. Oct 05, 2009
  26. Oct 01, 2009
    • Devang Patel's avatar
      Use MachineInstr as an processDebugLoc() argument. · e0709cfc
      Devang Patel authored
      This will allow processDebugLoc() to handle scopes for DWARF debug info. 
      
      llvm-svn: 83183
      e0709cfc
    • Bob Wilson's avatar
      Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this · b633d7a6
      Bob Wilson authored
      to emit target-specific things at the beginning of the asm output.  This
      fixes a problem for PPC, where the text sections are not being kept together
      as expected.  The base class doInitialization code calls DW->BeginModule()
      which emits a bunch of DWARF section directives.  The PPC doInitialization
      code then emits all the TEXT section directives, with the intention that they
      will be kept together. But as I understand it, the Darwin assembler treats
      the default TEXT section as a special case and moves it to the beginning of
      the file, which means that all those DWARF sections are in the middle of
      the text.  With this change, the EmitStartOfAsmFile hook is called before
      the DWARF section directives are emitted, so that all the PPC text section
      directives come out right at the beginning of the file.
      
      llvm-svn: 83176
      b633d7a6
Loading