Skip to content
  1. Mar 28, 2014
  2. Mar 21, 2014
  3. Feb 18, 2014
    • Duncan P. N. Exon Smith's avatar
      PGO: llvm-profdata: tool for merging profiles · 846a627f
      Duncan P. N. Exon Smith authored
      Introducing llvm-profdata, a tool for merging profile data generated by
      PGO instrumentation in clang.
      
      - The name indicates a file extension of <name>.profdata.  Eventually
        profile data output by clang should be changed to that extension.
      
      - llvm-profdata merges two profiles.  However, the name is more general,
        since it will likely pick up more tasks (such as summarizing a single
        profile).
      
      - llvm-profdata parses the current text-based format, but will be
        updated once we settle on a binary format.
      
      <rdar://problem/15949645>
      
      llvm-svn: 201535
      846a627f
  4. Jan 30, 2014
  5. Jan 22, 2014
  6. Dec 04, 2013
  7. Oct 29, 2013
  8. Oct 26, 2013
  9. Oct 23, 2013
    • Anders Waldenborg's avatar
      Add llvm-c-test tool for testing llvm-c · b932c669
      Anders Waldenborg authored
      This provides rudimentary testing of the llvm-c api.
      
      The following commands are implemented:
      
        * --module-dump
          Read bytecode from stdin - print ir
      
        * --module-list-functions
          Read bytecode from stdin - list summary of functions
      
        * --module-list-globals
          Read bytecode from stdin - list summary of globals
      
        * --targets-list
          List available targets
      
        * --object-list-sections
          Read object file from stdin - list sections
      
        * --object-list-symbols
          Read object file from stdin - list symbols (like nm)
      
        * --disassemble
          Read lines of triple, hex ascii machine code from stdin - print disassembly
      
        * --calc
          Read lines of name, rpn from stdin - print generated module ir
      
      Differential-Revision: http://llvm-reviews.chandlerc.com/D1776
      llvm-svn: 193233
      b932c669
  10. Oct 02, 2013
    • Chandler Carruth's avatar
      Remove the very substantial, largely unmaintained legacy PGO · ea564946
      Chandler Carruth authored
      infrastructure.
      
      This was essentially work toward PGO based on a design that had several
      flaws, partially dating from a time when LLVM had a different
      architecture, and with an effort to modernize it abandoned without being
      completed. Since then, it has bitrotted for several years further. The
      result is nearly unusable, and isn't helping any of the modern PGO
      efforts. Instead, it is getting in the way, adding confusion about PGO
      in LLVM and distracting everyone with maintenance on essentially dead
      code. Removing it paves the way for modern efforts around PGO.
      
      Among other effects, this removes the last of the runtime libraries from
      LLVM. Those are being developed in the separate 'compiler-rt' project
      now, with somewhat different licensing specifically more approriate for
      runtimes.
      
      llvm-svn: 191835
      ea564946
    • Chandler Carruth's avatar
      Don't layout items in a list in columns. That requires changing every · 40689dc0
      Chandler Carruth authored
      line just to add or remove a single element. What I wouldn't give to
      have clang-format here an be able to format this more densely without
      caring...
      
      Re-group and sort the entries while here to make the whole thing more
      clear.
      
      llvm-svn: 191828
      40689dc0
  11. Sep 30, 2013
  12. Sep 21, 2013
  13. Sep 20, 2013
  14. Sep 13, 2013
  15. Aug 30, 2013
  16. Aug 22, 2013
  17. Aug 21, 2013
  18. Aug 16, 2013
    • Daniel Dunbar's avatar
      [tests] Cleanup initialization of test suffixes. · 9efbedfd
      Daniel Dunbar authored
       - Instead of setting the suffixes in a bunch of places, just set one master
         list in the top-level config. We now only modify the suffix list in a few
         suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py).
      
       - Aside from removing the need for a bunch of lit.local.cfg files, this enables
         4 tests that were inadvertently being skipped (one in
         Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and
         CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been
         XFAILED).
      
       - This commit also fixes a bunch of config files to use config.root instead of
         older copy-pasted code.
      
      llvm-svn: 188513
      9efbedfd
  19. Aug 09, 2013
  20. Aug 08, 2013
  21. Aug 05, 2013
  22. Jul 12, 2013
  23. Jun 26, 2013
  24. Jun 15, 2013
    • Rafael Espindola's avatar
      Remove the LLVM specific archive index. · 668c6428
      Rafael Espindola authored
      Archive files (.a) can have a symbol table indicating which object
      files in them define which symbols. The purpose of this symbol table
      is to speed up linking by allowing the linker the read only the .o
      files it is actually going to use instead of having to parse every
      object's symbol table.
      
      LLVM's archive library currently supports a LLVM specific format for
      such table. It is hard to see any value in that now that llvm-ld is
      gone:
      
      * System linkers don't use it: GNU ar uses the same plugin as the
      linker to create archive files with a regular index. The OS X ar
      creates no symbol table for IL files, I assume the linker just parses
      all IL files.
      
      * It doesn't interact well with archives having both IL and native objects.
      
      * We probably don't want to be responsible for yet another archive
      format variant.
      
      This patch then:
      
      * Removes support for creating and reading such index from lib/Archive.
      * Remove llvm-ranlib, since there is nothing left for it to do.
      
      We should in the future add support for regular indexes to llvm-ar for
      both native and IL objects. When we do that, llvm-ranlib should be
      reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s".
      
      llvm-svn: 184019
      668c6428
  25. Jun 14, 2013
  26. May 06, 2013
    • Tim Northover's avatar
      AArch64: use MCJIT by default and enable related tests. · 7dbbc28f
      Tim Northover authored
      This just enables some testing I'd missed after implementing MCJIT
      support.
      
      llvm-svn: 181215
      7dbbc28f
    • Ulrich Weigand's avatar
      · 80435baa
      Ulrich Weigand authored
      [SystemZ] Set up JIT/MCJIT test cases
      
      This patch adds the necessary configuration bits and #ifdef's to set up
      the JIT/MCJIT test cases for SystemZ.  Like other recent targets, we do
      fully support MCJIT, but do not support the old JIT at all.  Set up the
      lit config files accordingly, and disable old-JIT unit tests.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181207
      80435baa
  27. Apr 23, 2013
  28. Apr 12, 2013
  29. Apr 10, 2013
    • Jyotsna Verma's avatar
      Add object-emission flag for lit tests. This flag is used · 9dea0955
      Jyotsna Verma authored
      to disable following tests for Hexagon that require direct object
      generation support.
      
      DebugInfo/dwarf-public-names.ll
      DebugInfo/dwarf-version.ll
      DebugInfo/member-pointers.ll
      DebugInfo/namespace.ll
      DebugInfo/two-cus-from-same-file.ll
      
      Fixes bug 15616 - http://llvm.org/bugs/show_bug.cgi?id=15616
      
      llvm-svn: 179209
      9dea0955
    • Reid Kleckner's avatar
      [test] Use lit's shell test runner on Windows · d16abb77
      Reid Kleckner authored
      Summary:
      I did a local comparison between using bash and using lit's runner, and
      more of the suite passes with lit than passes with bash.  Most of the
      bash failures have to do with /dev/null, which is nonsensical on
      Windows, but the lit runner handles it.
      
      The lit shell runner is also much faster than bash, so I would expect
      most Windows devs would want it by default.
      
      The behavior can be overridden on any OS by setting
      LIT_USE_INTERNAL_SHELL to 0 or 1 in the environment.
      
      Reviewers: chapuni, ddunbar
      
      CC: llvm-commits, timurrrr
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D559
      
      llvm-svn: 179173
      d16abb77
  30. Apr 04, 2013
  31. Mar 27, 2013
  32. Mar 26, 2013
  33. Mar 15, 2013
  34. Mar 13, 2013
  35. Jan 16, 2013
    • Peter Collingbourne's avatar
      Introduce llvm::sys::getProcessTriple() function. · a51c6ed6
      Peter Collingbourne authored
      In r143502, we renamed getHostTriple() to getDefaultTargetTriple()
      as part of work to allow the user to supply a different default
      target triple at configure time.  This change also affected the JIT.
      However, it is inappropriate to use the default target triple in the
      JIT in most circumstances because this will not necessarily match
      the current architecture used by the process, leading to illegal
      instruction and other such errors at run time.
      
      Introduce the getProcessTriple() function for use in the JIT and
      its clients, and cause the JIT to use it.  On architectures with a
      single bitness, the host and process triples are identical.  On other
      architectures, the host triple represents the architecture of the
      host CPU, while the process triple represents the architecture used
      by the host CPU to interpret machine code within the current process.
      For example, when executing 32-bit code on a 64-bit Linux machine,
      the host triple may be 'x86_64-unknown-linux-gnu', while the process
      triple may be 'i386-unknown-linux-gnu'.
      
      This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple
      platforms.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D254
      
      llvm-svn: 172627
      a51c6ed6
  36. Nov 21, 2012
Loading