Permalink
Commits on May 15, 2012
  1. Merge in 156319 156837 156838.

    isanbard committed May 15, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@156863 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Update.

    isanbard committed May 15, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@156862 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Add some more release notes for Clang

    DougGregor committed May 15, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@156799 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 13, 2012
  1. Update.

    isanbard committed May 13, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@156734 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 11, 2012
  1. s/3.1svn/3.1/g

    isanbard committed May 11, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@156640 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 8, 2012
  1. New Revision: 155749

    isanbard committed May 8, 2012
    URL: http://llvm.org/viewvc/llvm-project?rev=155749&view=rev
    Log:
    Reapply 155668: Fix the SD scheduler to avoid gluing the same node twice.
    
    This time, also fix the caller of AddGlue to properly handle
    incomplete chains. AddGlue had failure modes, but shamefully hid them
    from its caller. It's luck ran out.
    
    Fixes rdar://11314175: BuildSchedUnits assert.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@156376 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 2, 2012
  1. Merging r155984:

    isanbard committed May 2, 2012
    ------------------------------------------------------------------------
    r155984 | void | 2012-05-02 02:59:45 -0700 (Wed, 02 May 2012) | 4 lines
    
    The value held in the vector may be RAUW'ed by some of the canonicalization
    methods. Use a weak value handle to keep up with this.
    PR12245
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155985 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 1, 2012
  1. Merging r155954:

    isanbard committed May 1, 2012
    ------------------------------------------------------------------------
    r155954 | void | 2012-05-01 15:50:45 -0700 (Tue, 01 May 2012) | 3 lines
    
    Strip the pointer casts off of allocas so that the selection DAG can find them.
    PR10799
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155955 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Merging r155902:

    isanbard committed May 1, 2012
    ------------------------------------------------------------------------
    r155902 | void | 2012-05-01 01:27:43 -0700 (Tue, 01 May 2012) | 7 lines
    
    Change the PassManager from a reference to a pointer.
    
    The TargetPassManager's default constructor wants to initialize the PassManager
    to 'null'. But it's illegal to bind a null reference to a null l-value. Make the
    ivar a pointer instead.
    PR12468
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155903 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Merging r155895:

    isanbard committed May 1, 2012
    ------------------------------------------------------------------------
    r155895 | eliben | 2012-04-30 23:15:40 -0700 (Mon, 30 Apr 2012) | 4 lines
    
    Removed examples of stack frame inspection which no longer work for old JIT.
    Added an example of MCJIT-based debugging.
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155901 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 30, 2012
  1. Merging r155844:

    isanbard committed Apr 30, 2012
    ------------------------------------------------------------------------
    r155844 | spop | 2012-04-30 13:06:58 -0700 (Mon, 30 Apr 2012) | 8 lines
    
    fix typo
    
    Thanks to "Gabor Greif" <ggreif@gmail.com> for reporting this problem.
    
    The configure flag should be --with-default-sysroot as documented, and
    not --with-sysroot.  The reason we don't want to define --with-sysroot
    is that GCC has a configure flag by that name and it has a different
    semantics.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155852 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Rename to match coding conventions.

    isanbard committed Apr 30, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155834 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Merging r155817:

    isanbard committed Apr 30, 2012
    ------------------------------------------------------------------------
    r155817 | void | 2012-04-30 03:44:54 -0700 (Mon, 30 Apr 2012) | 9 lines
    
    Second attempt at PR12573:
    
    Allow the "SplitCriticalEdge" function to split the edge to a landing pad. If
    the pass is *sure* that it thinks it knows what it's doing, then it may go ahead
    and specify that the landing pad can have its critical edge split. The loop
    unswitch pass is one of these passes. It will split the critical edges of all
    edges coming from a loop to a landing pad not within the loop. Doing so will
    retain important loop analysis information, such as loop simplify.
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155833 91177308-0d34-0410-b5e6-96231b3b80d8
  4. Merging r155813:

    isanbard committed Apr 30, 2012
    ------------------------------------------------------------------------
    r155813 | void | 2012-04-30 02:23:48 -0700 (Mon, 30 Apr 2012) | 1 line
    
    Remove hack from r154987. The problem persists even with it, so it's not even a good hack.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155831 91177308-0d34-0410-b5e6-96231b3b80d8
  5. Merging r155166:

    isanbard committed Apr 30, 2012
    ------------------------------------------------------------------------
    r155166 | void | 2012-04-19 16:31:07 -0700 (Thu, 19 Apr 2012) | 1 line
    
    Put this expensive check below the less expensive ones.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155830 91177308-0d34-0410-b5e6-96231b3b80d8
  6. Merging r155809:

    isanbard committed Apr 30, 2012
    ------------------------------------------------------------------------
    r155809 | rafael | 2012-04-29 20:53:06 -0700 (Sun, 29 Apr 2012) | 2 lines
    
    Make sure HoistInsertPosition finds a position that is dominated by all
    inputs.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155828 91177308-0d34-0410-b5e6-96231b3b80d8
  7. Merging r155818:

    isanbard committed Apr 30, 2012
    ------------------------------------------------------------------------
    r155818 | baldrick | 2012-04-30 04:56:58 -0700 (Mon, 30 Apr 2012) | 3 lines
    
    Just mark the sign bit as known zero, rather than any other irrelevant bits
    known zero in the LHS.  Fixes PR12541.
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155827 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 26, 2012
  1. Merging r155668:

    isanbard committed Apr 26, 2012
    ------------------------------------------------------------------------
    r155668 | atrick | 2012-04-26 14:48:25 -0700 (Thu, 26 Apr 2012) | 8 lines
    
    Fix the SD scheduler to avoid gluing the same node twice.
    
    DAGCombine strangeness may result in multiple loads from the same
    offset. They both may try to glue themselves to another load. We could
    insist that the redundant loads glue themselves to each other, but the
    beter fix is to bail out from bad gluing at the time we detect it.
    
    Fixes rdar://11314175: BuildSchedUnits assert.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155672 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 25, 2012
  1. Merging r155536:

    isanbard committed Apr 25, 2012
    ------------------------------------------------------------------------
    r155536 | lattner | 2012-04-24 23:37:20 -0700 (Tue, 24 Apr 2012) | 3 lines
    
    openbsd doesn't support soname, patch by Brad Smith!
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155574 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 24, 2012
  1. Merging r155466:

    isanbard committed Apr 24, 2012
    ------------------------------------------------------------------------
    r155466 | chandlerc | 2012-04-24 11:42:47 -0700 (Tue, 24 Apr 2012) | 17 lines
    
    Fix a crash on valid (if UB) bitcode that is produced for some global
    constants in C++11 mode. I have no idea why it required such particular
    circumstances to get here, the code seems clearly to rely upon unchecked
    assumptions.
    
    Specifically, when we decide to form an index into a struct type, we may
    have gone through (at least one) zero-length array indexing round, which
    would have left the offset un-adjusted, and thus not necessarily valid
    for use when indexing the struct type.
    
    This is just an canonicalization step, so the correct thing is to refuse
    to canonicalize nonsensical GEPs of this form. Implemented, and test
    case added.
    
    Fixes PR12642. Pair debugged and coded with Richard Smith. =] I credit
    him with most of the debugging, and preventing me from writing the wrong
    code.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155506 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 23, 2012
  1. Merging r155287:

    isanbard committed Apr 23, 2012
    ------------------------------------------------------------------------
    r155287 | chapuni | 2012-04-21 08:31:45 -0700 (Sat, 21 Apr 2012) | 3 lines
    
    llvm/lib/Target: [PR12611] Add "llvm/Support/raw_ostream.h" for Debug build on MSVC.
    
    Thanks to Andy Gibbs, to report the issue.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155378 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Merging r155286:

    isanbard committed Apr 23, 2012
    ------------------------------------------------------------------------
    r155286 | chapuni | 2012-04-21 08:31:36 -0700 (Sat, 21 Apr 2012) | 1 line
    
    HexagonISelLowering.cpp: Reorder #includes.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155377 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Merging r155288:

    isanbard committed Apr 23, 2012
    ------------------------------------------------------------------------
    r155288 | d0k | 2012-04-21 09:05:27 -0700 (Sat, 21 Apr 2012) | 6 lines
    
    Remove unused PointerLikeTypeTraits for IndexListEntry.
    
    It set NumLowBitAvailable = 3 which may not be true on all platforms.  We only
    ever use 2 bits (the default) so this assumption can be safely removed
    
    Should fix PR12612.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155375 91177308-0d34-0410-b5e6-96231b3b80d8
  4. Merging r155342:

    isanbard committed Apr 23, 2012
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155374 91177308-0d34-0410-b5e6-96231b3b80d8
  5. Merging r155285:

    isanbard committed Apr 23, 2012
    ------------------------------------------------------------------------
    r155285 | chapuni | 2012-04-21 07:51:02 -0700 (Sat, 21 Apr 2012) | 1 line
    
    CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support older environments than VS9.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155335 91177308-0d34-0410-b5e6-96231b3b80d8
  6. Merging r155284:

    isanbard committed Apr 23, 2012
    ------------------------------------------------------------------------
    r155284 | chapuni | 2012-04-21 07:50:56 -0700 (Sat, 21 Apr 2012) | 1 line
    
    CMake: Prune redundant LLVM_COMPILER_JOBS from llvm/CMakeLists.txt. HandleLLVMOptions.cmake has it.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155334 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 22, 2012
  1. Merging r155307:

    isanbard committed Apr 22, 2012
    ------------------------------------------------------------------------
    r155307 | void | 2012-04-22 00:23:04 -0700 (Sun, 22 Apr 2012) | 1 line
    
    Remove some potential warnings about variables used uninitialized.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155308 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 20, 2012
  1. Merging r155230:

    isanbard committed Apr 20, 2012
    ------------------------------------------------------------------------
    r155230 | void | 2012-04-20 13:31:44 -0700 (Fri, 20 Apr 2012) | 1 line
    
    Modify the sh-bang to run out-of-the-box for FreeBSDes.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155231 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 18, 2012
  1. Add a flag to rebranch if we need to.

    isanbard committed Apr 18, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155049 91177308-0d34-0410-b5e6-96231b3b80d8
  2. This reverts a long string of commits to the Hexagon backend. These

    chandlerc committed Apr 18, 2012
    commits have had several major issues pointed out in review, and those
    issues are not being addressed in a timely fashion. Furthermore, this
    was all committed leading up to the v3.1 branch, and we don't need piles
    of code with outstanding issues in the branch.
    
    It is possible that not all of these commits were necessary to revert to
    get us back to a green state, but I'm going to let the Hexagon
    maintainer sort that out. They can recommit, in order, after addressing
    the feedback.
    
    Reverted commits, with some notes:
    
    Primary commit r154616: HexagonPacketizer
      - There are lots of review comments here. This is the primary reason
        for reverting. In particular, it introduced large amount of warnings
        due to a bad construct in tablegen.
      - Follow-up commits that should be folded back into this when
        reposting:
        - r154622: CMake fixes
        - r154660: Fix numerous build warnings in release builds.
      - Please don't resubmit this until the three commits above are
        included, and the issues in review addressed.
    
    Primary commit r154695: Pass to replace transfer/copy ...
      - Reverted to minimize merge conflicts. I'm not aware of specific
        issues with this patch.
    
    Primary commit r154703: New Value Jump.
      - Primarily reverted due to merge conflicts.
      - Follow-up commits that should be folded back into this when
        reposting:
        - r154703: Remove iostream usage
        - r154758: Fix CMake builds
        - r154759: Fix build warnings in release builds
      - Please incorporate these fixes and and review feedback before
        resubmitting.
    
    Primary commit r154829: Hexagon V5 (floating point) support.
      - Primarily reverted due to merge conflicts.
      - Follow-up commits that should be folded back into this when
        reposting:
        - r154841: Remove unused variable (fixing build warnings)
    
    There are also accompanying Clang commits that will be reverted for
    consistency.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155047 91177308-0d34-0410-b5e6-96231b3b80d8
  3. LiveIntervalUpdate validators weren't recorded after the calls to std…

    cooperp committed Apr 18, 2012
    …::for_each. Turns out std::for_each doesn't update the variable passed in for the functor but instead copy constructs a new one.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155041 91177308-0d34-0410-b5e6-96231b3b80d8
  4. Document that StringMap iteration order is non-deterministic.

    Jim Grosbach committed Apr 18, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155040 91177308-0d34-0410-b5e6-96231b3b80d8
  5. Revert "Replace some uses of std:map<std::string,...> with StringMap."

    Jim Grosbach committed Apr 18, 2012
    StringMap iterators are not deterministic, and that's more important
    here than speed or memory.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155039 91177308-0d34-0410-b5e6-96231b3b80d8
  6. tblgen: remove duplicated newlines.

    d0k committed Apr 18, 2012
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155038 91177308-0d34-0410-b5e6-96231b3b80d8