Skip to content
  1. Apr 28, 2009
    • Bill Wendling's avatar
      Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to · d0ae1594
      Bill Wendling authored
      use the old behavior, the flag is -O0. This change allows for finer-grained
      control over which optimizations are run at different -O levels.
      
      Most of this work was pretty mechanical. The majority of the fixes came from
      verifying that a "fast" variable wasn't used anymore. The JIT still uses a
      "Fast" flag. I'm not 100% sure if it's necessary to change it there...
      
      llvm-svn: 70270
      d0ae1594
  2. Apr 15, 2009
  3. Apr 13, 2009
  4. Apr 10, 2009
  5. Apr 08, 2009
  6. Mar 25, 2009
  7. Mar 24, 2009
  8. Mar 23, 2009
    • Dale Johannesen's avatar
      Fix internal representation of fp80 to be the · 93eefa00
      Dale Johannesen authored
      same as a normal i80 {low64, high16} rather
      than its own {high64, low16}.  A depressing number
      of places know about this; I think I got them all.
      Bitcode readers and writers convert back to the old
      form to avoid breaking compatibility.
      
      llvm-svn: 67562
      93eefa00
  9. Mar 20, 2009
  10. Mar 13, 2009
    • Evan Cheng's avatar
      Fix some significant problems with constant pools that resulted in unnecessary... · 1fb8aedd
      Evan Cheng authored
      Fix some significant problems with constant pools that resulted in unnecessary paddings between constant pool entries, larger than necessary alignments (e.g. 8 byte alignment for .literal4 sections), and potentially other issues.
      
      1. ConstantPoolSDNode alignment field is log2 value of the alignment requirement. This is not consistent with other SDNode variants.
      2. MachineConstantPool alignment field is also a log2 value.
      3. However, some places are creating ConstantPoolSDNode with alignment value rather than log2 values. This creates entries with artificially large alignments, e.g. 256 for SSE vector values.
      4. Constant pool entry offsets are computed when they are created. However, asm printer group them by sections. That means the offsets are no longer valid. However, asm printer uses them to determine size of padding between entries.
      5. Asm printer uses expensive data structure multimap to track constant pool entries by sections.
      6. Asm printer iterate over SmallPtrSet when it's emitting constant pool entries. This is non-deterministic.
      
      
      Solutions:
      1. ConstantPoolSDNode alignment field is changed to keep non-log2 value.
      2. MachineConstantPool alignment field is also changed to keep non-log2 value.
      3. Functions that create ConstantPool nodes are passing in non-log2 alignments.
      4. MachineConstantPoolEntry no longer keeps an offset field. It's replaced with an alignment field. Offsets are not computed when constant pool entries are created. They are computed on the fly in asm printer and JIT.
      5. Asm printer uses cheaper data structure to group constant pool entries.
      6. Asm printer compute entry offsets after grouping is done.
      7. Change JIT code to compute entry offsets on the fly.
      
      llvm-svn: 66875
      1fb8aedd
  11. Mar 10, 2009
  12. Mar 09, 2009
  13. Feb 24, 2009
  14. Feb 21, 2009
    • Anton Korobeynikov's avatar
      Drop bunch of half-working stuff in the ext_weak linkage support. · 42aae865
      Anton Korobeynikov authored
      Now we're using one gross, but quite robust hack :) (previous ones
      did not work, for example, when ext_weak symbol was used deep inside
      constant expression in the initializer).
      
      The proper fix of this problem will require some quite huge asmprinter
      changes and that's why was postponed. This fixes PR3629 by the way :)
      
      llvm-svn: 65230
      42aae865
  15. Feb 05, 2009
  16. Jan 30, 2009
    • Sanjiv Gupta's avatar
      Enable emitting of constant values in non-default address space as well. The... · 964a29f6
      Sanjiv Gupta authored
      Enable emitting of constant values in non-default address space as well. The APIs emitting constants now take an additional parameter signifying the address space in which to emit. The APIs like getData8BitsDirective() etc are made virtual enabling targets to be able to define appropirate directivers for various sizes and address spaces.
      
      llvm-svn: 63377
      964a29f6
  17. Jan 28, 2009
  18. Jan 23, 2009
  19. Jan 22, 2009
  20. Jan 15, 2009
  21. Jan 13, 2009
  22. Jan 12, 2009
  23. Dec 22, 2008
  24. Dec 19, 2008
    • Rafael Espindola's avatar
      Fix bug 3202. · 770b4b83
      Rafael Espindola authored
      The EH_frame and .eh symbols are now private, except for darwin9 and earlier.
      The patch also fixes the definition of PrivateGlobalPrefix on pcc linux.
      
      llvm-svn: 61242
      770b4b83
  25. Dec 03, 2008
    • Rafael Espindola's avatar
      Fix bug 3140. · cda011b5
      Rafael Espindola authored
      Print a single parameter .file directive if we have an ELF target.
      
      llvm-svn: 60480
      cda011b5
  26. Nov 22, 2008
  27. Nov 10, 2008
  28. Nov 09, 2008
  29. Nov 08, 2008
  30. Oct 10, 2008
  31. Oct 09, 2008
  32. Oct 03, 2008
  33. Sep 25, 2008
Loading