Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 28, 2015
  1. [llvm-pdbdump] Better error handling.

    Zachary Turner authored
    Previously it was impossible to distinguish between "There is
    no PDB implementation for this platform" and "I tried to load
    the PDB, but couldn't find the file", making it hard to figure
    out if you built llvm-pdbdump incorrectly or if you just mistyped
    a file name.
    
    This patch adds proper error handling so that we can know exactly
    what went wrong.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230868 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Benjamin Kramer

    IndexedMap: Default to SmallVector<T, 0>

    d0k authored
    This looks ridiculous but SmallVector's realloc tricks really help with
    large vectors of PODs, such as our virtreg IndexedMap.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230866 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Benjamin Kramer

    DwarfAccelTable: We know how many hashes we have in the output, just …

    d0k authored
    …reserve the precise number
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230865 91177308-0d34-0410-b5e6-96231b3b80d8
  4. Benjamin Kramer

    StackColoring: Move set instead of copying. NFC.

    d0k authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230864 91177308-0d34-0410-b5e6-96231b3b80d8
  5. Benjamin Kramer

    LiveRange: Replace a creative vector erase loop with std::remove_if.

    d0k authored
    I didn't see this so far because it scans backwards, but that doesn't
    make it any less quadratic. NFC.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230863 91177308-0d34-0410-b5e6-96231b3b80d8
  6. nlewycky

    Revert r230812. Do not break builds for no reason.

    nlewycky authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230862 91177308-0d34-0410-b5e6-96231b3b80d8
  7. Fixup for recent -fast-isel-abort change: code didn't match description

    Mehdi Amini authored
    Level 1 should abort for all instructions but call/terminators/args.
    Instead it was aborting only if the level was > 2
    
    From: Mehdi Amini <mehdi.amini@apple.com>
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230861 91177308-0d34-0410-b5e6-96231b3b80d8
  8. [X86] Remove the blendpd/blendps/pblendw/pblendd intrinsics. They can…

    Craig Topper authored
    … represented by shuffle_vector instructions.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230860 91177308-0d34-0410-b5e6-96231b3b80d8
  9. [raw_ostream] When printing color on Windows, use correct bg color.

    Zachary Turner authored
    When using SetConsoleTextAttribute() to set the foreground or
    background color, if you don't explicitly set both colors, then
    a default value of black will be chosen for whichever you don't
    specify a value for.
    
    This is annoying when you have a non default console background
    color, for example, and you try to set the foreground color.
    
    This patch gets the existing fg/bg color and when you set one
    attribute, sets the opposite attribute to its existing color
    prior to comitting the update.
    
    Reviewed by: Aaron Ballman
    Differential Revision: http://reviews.llvm.org/D7967
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230859 91177308-0d34-0410-b5e6-96231b3b80d8
  10. bpf: fix build

    Alexei Starovoitov authored
    complete the plumbing of passing TargetRegisterInfo through
    computeRegisterProperties started by r230583
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230858 91177308-0d34-0410-b5e6-96231b3b80d8
  11. Benjamin Kramer

    TRE: Just erase dead BBs and tweak the iteration loop not to incremen…

    d0k authored
    …t the deleted BB iterator.
    
    Leaving empty blocks around just opens up a can of bugs like PR22704. Deleting
    them early also slightly simplifies code.
    
    Thanks to Sanjay for the IR test case.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230856 91177308-0d34-0410-b5e6-96231b3b80d8
  12. yrnkrn
  13. yrnkrn
  14. whitequark

    [OCaml] Generate documentation again with autoconf buildsystem.

    whitequark authored
    Patch by Evangelos Foutras:
    
    r220899 started using ocamlfind to build the OCaml bindings but
    docs/Makefile still contains references to the OCAMLDOC macro which
    is no longer being defined. The result is that OCaml documentation
    isn't generated/installed.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230850 91177308-0d34-0410-b5e6-96231b3b80d8
  15. Benjamin Kramer

    Convert push_back loops into append calls.

    d0k authored
    No functionality change intended.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230849 91177308-0d34-0410-b5e6-96231b3b80d8
  16. yrnkrn

    Silence variable set but not used warning, NFC.

    yrnkrn authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230848 91177308-0d34-0410-b5e6-96231b3b80d8
  17. Benjamin Kramer

    ArrayRefize memory operand folding. NFC.

    d0k authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230846 91177308-0d34-0410-b5e6-96231b3b80d8
  18. Benjamin Kramer

    Replace std::copy with a back inserter with vector append where feasible

    d0k authored
    All of the cases were just appending from random access iterators to a
    vector. Using insert/append can grow the vector to the perfect size
    directly and moves the growing out of the loop. No intended functionalty
    change.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230845 91177308-0d34-0410-b5e6-96231b3b80d8
  19. Remove option.ll as part of the Forward Control Flow Integrity

    Eric Christopher authored
    removal.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230844 91177308-0d34-0410-b5e6-96231b3b80d8
  20. [RewriteStatepointsForGC] Reduce indentation via early continue [NFC]

    Philip Reames authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230836 91177308-0d34-0410-b5e6-96231b3b80d8
  21. [RewriteStatepointsForGC] Fix another order of iteration bug

    Philip Reames authored
    It turns out the naming of inserted phis and selects is sensative to the order in which two sets are iterated.  We need to nail this down to avoid non-deterministic output and possible test failures.  
    
    The modified test is the one I first noticed something odd in.  The change is making it more strict to report the error.  With the test change, but without the code change, the test fails roughly 1 in 5.  With the code change, I've run ~30 runs without error.
    
    Long term, the right fix here is to adjust the naming scheme.  I'm checking in this hack to avoid any possible non-determinism in the tests over the weekend.  HJust because I only noticed one case doesn't mean it's actually the only case.  I hope to get to the right change Monday.
    
    std->llvm data structure changes bugfix change #3
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230835 91177308-0d34-0410-b5e6-96231b3b80d8
  22. [RewriteStatepointsForGC] Reduce indentation via early continue [NFC]

    Philip Reames authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230829 91177308-0d34-0410-b5e6-96231b3b80d8
  23. [RewriteStatepointsForGC] Fix iterator invalidation bug

    Philip Reames authored
    Inserting into a DenseMap you're iterating over is not well defined.  This is unfortunate since this is well defined on a std::map.
    
    "cleanup per llvm code style standards" bug #2
    
    
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230827 91177308-0d34-0410-b5e6-96231b3b80d8
  24. [dsymutil] Fully qualify llvm::make_unique<>.

    Frederic Riss authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230826 91177308-0d34-0410-b5e6-96231b3b80d8
  25. [dsymutil] Add the DwarfStreamer class.

    Frederic Riss authored
    This class is responsible for getting the linked data to the
    disk in the appropriate form. Today it it an empty shell that
    just instantiates an MC layer.
    
    As we do not put anything in the resulting file yet, we just
    check it has the right architecture (and check that -o does
    the right thing).
    
    To be able to create all the components, this commit adds a
    few dependencies to llvm-dsymutil, namely all-targets, MC and
    AsmPrinter.
    
    Also add a -no-output option, so that tests that do not need
    the binary result can continue to run even if they do not have
    the required target linked in.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230824 91177308-0d34-0410-b5e6-96231b3b80d8
  26. [dsymutil] Add a LinkOptions struct to pass to the DwarfLinker. NFC.

    Frederic Riss authored
    The only option we have to pass down currently is verbosity, but there
    are more to come.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230823 91177308-0d34-0410-b5e6-96231b3b80d8
  27. [dsymutil] clang-format a file

    Frederic Riss authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230822 91177308-0d34-0410-b5e6-96231b3b80d8
  28. [dsymutil] Add -o option to select ouptut filename

    Frederic Riss authored
    We do not create the output file yet, so no means to test.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230821 91177308-0d34-0410-b5e6-96231b3b80d8
  29. [dsymutil] Create warn() global helper...

    Frederic Riss authored
    ...and reimplement DwarfLinker::reportWarning in terms of it. Other
    compenents than the DwarfLinker will need to report warnings, and I'm
    about to add a similar "error()" helper at the same global level so
    make that consistent.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230820 91177308-0d34-0410-b5e6-96231b3b80d8
  30. [dsymutil] Make trivial accessor const.

    Frederic Riss authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230819 91177308-0d34-0410-b5e6-96231b3b80d8
  31. [RewriteStatepointsForGC] Add tests for the base pointer identificati…

    Philip Reames authored
    …on algorithm
    
    These tests cover the 'base object' identification and rewritting portion of RewriteStatepointsForGC.  These aren't completely exhaustive, but they've proven to be reasonable effective over time at finding regressions.
    
    In the process of porting these tests over, I found my first "cleanup per llvm code style standards" bug.  We were relying on the order of iteration when testing the base pointers found for a derived pointer.  When we switched from std::set to DenseSet, this stopped being a safe assumption.  I'm suspecting I'm going to find more of those.  In particular, I'm now really wondering about the main iteration loop for this algorithm.  I need to go take a closer look at the assumptions there.
    
    I'm not really happy with the fact these are testing what is essentially debug output (i.e. enabled via command line flags).  Suggestions for how to structure this better are very welcome.  
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230818 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Feb 27, 2015
  1. Jonathan Roelofs
  2. wschmidt-ibm
  3. Update SystemZ/Large test generators to handle new gep IR syntax

    David Blaikie authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230810 91177308-0d34-0410-b5e6-96231b3b80d8
  4. Update SystemZ/Large test generators to handle new load IR syntax

    David Blaikie authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230809 91177308-0d34-0410-b5e6-96231b3b80d8
Something went wrong with that request. Please try again.