Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

JL #74

Open
wants to merge 90 commits into
base: master
Choose a base branch
from
Open

JL #74

wants to merge 90 commits into from

Commits on Aug 1, 2018

  1. Configuration menu
    Copy the full SHA
    75e093b View commit details
    Browse the repository at this point in the history
  2. Drop 'svn' suffix from the version number.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338573 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    02181d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2018

  1. Merging r338658:

    ------------------------------------------------------------------------
    r338658 | nemanjai | 2018-08-02 02:03:22 +0200 (Thu, 02 Aug 2018) | 13 lines
    
    [PowerPC] Do not round values prior to converting to integer
    
    Adding the FP_ROUND nodes when combining FP_TO_[SU]INT of elements
    feeding a BUILD_VECTOR into an FP_TO_[SU]INT of the built vector
    loses precision. This patch removes the code that adds these nodes
    to true f64 operands. It also adds patterns required to ensure
    the code is still vectorized rather than converting individual
    elements and inserting into a vector.
    
    Fixes https://bugs.llvm.org/show_bug.cgi?id=38342
    
    Differential Revision: https://reviews.llvm.org/D50121
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338678 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    3332f06 View commit details
    Browse the repository at this point in the history
  2. Merging r338682:

    ------------------------------------------------------------------------
    r338682 | hans | 2018-08-02 10:10:34 +0200 (Thu, 02 Aug 2018) | 1 line
    
    utils/release/tag.sh: add debuginfo-tests to project list
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338683 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    9dbe7c7 View commit details
    Browse the repository at this point in the history
  3. Merging r338554:

    ------------------------------------------------------------------------
    r338554 | bryanpkc | 2018-08-01 15:50:29 +0200 (Wed, 01 Aug 2018) | 11 lines
    
    [AArch64] Fix FCCMP with FP16 operands
    
    Summary: This patch adds support for FCCMP instruction with FP16 operands, avoiding an assertion during instruction selection.
    
    Reviewers: olista01, SjoerdMeijer, t.p.northover, javed.absar
    
    Reviewed By: SjoerdMeijer
    
    Subscribers: kristof.beyls, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50115
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338692 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    d030aee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f6e104 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2018

  1. Merging r338703 and r338709:

    ------------------------------------------------------------------------
    r338703 | bd1976llvm | 2018-08-02 13:27:38 +0200 (Thu, 02 Aug 2018) | 8 lines
    
    [llvm-ar] Correct help text
    
    Corrected and simplified the help text.
    
    It was clearly too difficult to maintain before (see e.g. @227296) making it
    simpler and more consistent it should help people keep it up to date.
    
    Differential Revision: https://reviews.llvm.org/D48577
    ------------------------------------------------------------------------
    
    ------------------------------------------------------------------------
    r338709 | bd1976llvm | 2018-08-02 14:27:01 +0200 (Thu, 02 Aug 2018) | 3 lines
    
    [llvm-ar] Fix help text test. NFC.
    
    Missed from @338703
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338840 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    9cc4d9e View commit details
    Browse the repository at this point in the history
  2. Merging r338751:

    ------------------------------------------------------------------------
    r338751 | tstellar | 2018-08-02 20:16:10 +0200 (Thu, 02 Aug 2018) | 13 lines
    
    CMake: Remove LLVM_DYLIB_SYMBOL_VERSIONING
    
    Summary:
    This option is no longer needed since r300496 added symbol
    versioning by default
    
    Reviewers: sylvestre.ledru, beanz, mgorny
    
    Reviewed By: mgorny
    
    Subscribers: llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D49835
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338842 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    5aa2b5a View commit details
    Browse the repository at this point in the history
  3. Merging r338762:

    ------------------------------------------------------------------------
    r338762 | gbiv | 2018-08-02 21:50:27 +0200 (Thu, 02 Aug 2018) | 15 lines
    
    [Support] Add an enable bit to our DebugCounters
    
    r337748 made us start incrementing DebugCounters all of the time. This
    makes tsan unhappy in multithreaded environments.
    
    Since it doesn't make much sense to use DebugCounters with multiple
    threads, this patch makes us only count anything if the user passed a
    -debug-counter option or if some other piece of code explicitly asks
    for it (e.g. the pass in D50031).
    
    The amount of global state here makes writing a unittest for this
    behavior somewhat awkward. So, no test is provided.
    
    Differential Revision: https://reviews.llvm.org/D50150
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338846 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    ed621a5 View commit details
    Browse the repository at this point in the history
  4. Merging r338599:

    ------------------------------------------------------------------------
    r338599 | vlad.tsyrklevich | 2018-08-01 19:44:37 +0200 (Wed, 01 Aug 2018) | 16 lines
    
    [X86] FastISel fall back on !absolute_symbol GVs
    
    Summary:
    D25878, which added support for !absolute_symbol for normal X86 ISel,
    did not add support for materializing references to absolute symbols for
    X86 FastISel. This causes build failures because FastISel generates
    PC-relative relocations for absolute symbols. Fall back to normal ISel
    for references to !absolute_symbol GVs. Fix for PR38200.
    
    Reviewers: pcc, craig.topper
    
    Reviewed By: pcc
    
    Subscribers: hiraditya, llvm-commits, kcc
    
    Differential Revision: https://reviews.llvm.org/D50116
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338847 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    731482e View commit details
    Browse the repository at this point in the history
  5. Release note for DWARF v5 support

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338891 91177308-0d34-0410-b5e6-96231b3b80d8
    pogo59 committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    491b046 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Merging r338817:

    ------------------------------------------------------------------------
    r338817 | inouehrs | 2018-08-03 07:39:48 +0200 (Fri, 03 Aug 2018) | 10 lines
    
    [InstSimplify] fold extracting from std::pair (2/2)
    
    This is the second patch of the series which intends to enable jump threading for an inlined method whose return type is std::pair<int, bool> or std::pair<bool, int>. 
    The first patch is https://reviews.llvm.org/rL338485.
    
    This patch handles code sequences that merges two values using `shl` and `or`, then extracts one value using `and`.
    
    Differential Revision: https://reviews.llvm.org/D49981
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339097 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    1a7200c View commit details
    Browse the repository at this point in the history
  2. Merging r338665:

    ------------------------------------------------------------------------
    r338665 | lliu0 | 2018-08-02 03:54:12 +0200 (Thu, 02 Aug 2018) | 11 lines
    
    Fix FCOPYSIGN expansion
    
    In expansion of FCOPYSIGN, the shift node is missing when the two
    operands of FCOPYSIGN are of the same size. We should always generate
    shift node (if the required shift bit is not zero) to put the sign
    bit into the right position, regardless of the size of underlying
    types.
    
    Differential Revision: https://reviews.llvm.org/D49973
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339098 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    7fe11a1 View commit details
    Browse the repository at this point in the history
  3. Merging r338968:

    ------------------------------------------------------------------------
    r338968 | echristo | 2018-08-05 16:23:37 +0200 (Sun, 05 Aug 2018) | 6 lines
    
    Revert "Add a warning if someone attempts to add extra section flags to sections"
    
    There are a bunch of edge cases and inconsistencies in how we're emitting sections
    cause this warning to fire and it needs more work.
    
    This reverts commit r335558.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339099 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    9d9705f View commit details
    Browse the repository at this point in the history
  4. Merging r338569:

    ------------------------------------------------------------------------
    r338569 | jvesely | 2018-08-01 17:04:36 +0200 (Wed, 01 Aug 2018) | 5 lines
    
    AMDGPU: Allow fp32-denormals feature for r600 targets
    
    This was accidentally removed in r335942.
    
    Differential Revision: https://reviews.llvm.org/D49934
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339103 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    7afafa5 View commit details
    Browse the repository at this point in the history
  5. Merging r338610:

    ------------------------------------------------------------------------
    r338610 | jvesely | 2018-08-01 20:36:07 +0200 (Wed, 01 Aug 2018) | 3 lines
    
    AMDGPU/R600: Convert kernel param loads to use PARAM_I_ADDRESS
    
    Non ext aligned i32 loads are still optimized to use CONSTANT_BUFFER (AS 8)
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339105 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    07e3ee9 View commit details
    Browse the repository at this point in the history
  6. Merging r338915:

    ------------------------------------------------------------------------
    r338915 | ctopper | 2018-08-03 22:14:18 +0200 (Fri, 03 Aug 2018) | 5 lines
    
    [SelectionDAG] Teach LegalizeVectorTypes to widen the mask input to a masked store.
    
    The mask operand is visited before the data operand so we need to be able to widen it.
    
    Fixes PR38436.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339106 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    c5aadce View commit details
    Browse the repository at this point in the history
  7. ReleaseNotes: the new vs integration

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339133 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    7205f34 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Merging r338716:

    ------------------------------------------------------------------------
    r338716 | spatel | 2018-08-02 15:46:20 +0200 (Thu, 02 Aug 2018) | 41 lines
    
    [ValueTracking] fix maxnum miscompile for cannotBeOrderedLessThanZero (PR37776)
    
    This adds the NAN checks suggested in PR37776:
    https://bugs.llvm.org/show_bug.cgi?id=37776
    
    If both operands to maxnum are NAN, that should get constant folded, so we don't 
    have to handle that case. This is the same assumption as other FP ops in this
    function. Returning 'false' is always conservatively correct.
    
    Copying from the bug report:
    
    Currently, we have this for "when is cannotBeOrderedLessThanZero 
    (mustBePositiveOrNaN) true for maxnum":
                   L
            -------------------
            | Pos | Neg | NaN |
       ------------------------
       |Pos |  x  |  x  |  x  |
       ------------------------
     R |Neg |  x  |     |  x  |
       ------------------------
       |NaN |  x  |  x  |  x  |
       ------------------------
    
    
    The cases with (Neg & NaN) are wrong. We should have:
    
                    L
            -------------------
            | Pos | Neg | NaN |
       ------------------------
       |Pos |  x  |  x  |  x  |
       ------------------------
     R |Neg |  x  |     |     |
       ------------------------
       |NaN |  x  |     |  x  |
       ------------------------
    
    Differential Revision: https://reviews.llvm.org/D50081
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339234 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    b87385f View commit details
    Browse the repository at this point in the history
  2. Merging r339190:

    ------------------------------------------------------------------------
    r339190 | jvesely | 2018-08-07 23:54:37 +0200 (Tue, 07 Aug 2018) | 12 lines
    
    AMDGPU: Remove broken i16 ternary patterns
    
    Fixup test to check for GCN prefix
    These patterns always zero extend the result even though it might need sign extension.
    This has been broken since the addition of i16 support.
    It has popped up in mad_sat(char) test since min(max()) combination is turned into v_med3, resulting in the following (incorrect) sequence:
            v_mad_i16 v2, v10, v9, v11
            v_med3_i32 v2, v2, v8, v7
    
    Fixes mad_sat(char) piglit on VI.
    
    Differential Revision: https://reviews.llvm.org/D49836
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339235 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    62ca9ef View commit details
    Browse the repository at this point in the history
  3. Merging r338902:

    ------------------------------------------------------------------------
    r338902 | jgalenson | 2018-08-03 19:12:23 +0200 (Fri, 03 Aug 2018) | 5 lines
    
    Fix crash in bounds checking.
    
    In r337830 I added SCEV checks to enable us to insert fewer bounds checks.  Unfortunately, this sometimes crashes when multiple bounds checks are added due to SCEV caching issues.  This patch splits the bounds checking pass into two phases, one that computes all the conditions (using SCEV checks) and the other that adds the new instructions.
    
    Differential Revision: https://reviews.llvm.org/D49946
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339239 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    f208a0a View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2018

  1. Merging r339319:

    ------------------------------------------------------------------------
    r339319 | hans | 2018-08-09 10:41:03 +0200 (Thu, 09 Aug 2018) | 1 line
    
    cmake: don't pack system libs unless CMAKE_INSTALL_UCRT_LIBRARIES is set (PR38476)
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339323 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    ef7dd70 View commit details
    Browse the repository at this point in the history
  2. Merging r339316:

    ------------------------------------------------------------------------
    r339316 | hahnfeld | 2018-08-09 09:45:49 +0200 (Thu, 09 Aug 2018) | 16 lines
    
    [NVPTX] Select atomic loads and stores
    
    According to PTX ISA .volatile has the same memory synchronization
    semantics as .relaxed.sys, so it can be used to implement monotonic
    atomic loads and stores. This is important for OpenMP's atomic
    construct where
     - 'read's and 'write's are lowered to atomic loads and stores, and
     - an update of float or double types are lowered into a cmpxchg loop.
    (Note that PTX could do better because it has atom.add.f{32,64} but
    LLVM's atomicrmw instruction only allows integer types.)
    
    Higher levels of atomicity (like acquire and release) need additional
    synchronization properties which were added with PTX ISA 6.0 / sm_70.
    So using these instructions still results in an error.
    
    Differential Revision: https://reviews.llvm.org/D50391
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339338 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    f7ec630 View commit details
    Browse the repository at this point in the history
  3. [7.0 branch] Update release notes (SystemZ, TableGen)

    This updates the 7.0 branch release notes to mention the SystemZ
    specific changes, and also the new support for multi-alternative
    patterns in TableGen (see D48545).
    
    Reviewed by: hans
    Differential Revision: https://reviews.llvm.org/D50514
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339355 91177308-0d34-0410-b5e6-96231b3b80d8
    uweigand committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    387b5e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2018

  1. Merging r339225:

    ------------------------------------------------------------------------
    r339225 | thopre | 2018-08-08 11:35:26 +0200 (Wed, 08 Aug 2018) | 11 lines
    
    Support inline asm with multiple 64bit output in 32bit GPR
    
    Summary: Extend fix for PR34170 to support inline assembly with multiple output operands that do not naturally go in the register class it is constrained to (eg. double in a 32-bit GPR as in the PR).
    
    Reviewers: bogner, t.p.northover, lattner, javed.absar, efriedma
    
    Reviewed By: efriedma
    
    Subscribers: efriedma, tra, eraman, javed.absar, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D45437
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339539 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 13, 2018
    Configuration menu
    Copy the full SHA
    c7b3270 View commit details
    Browse the repository at this point in the history
  2. Merging r339073:

    ------------------------------------------------------------------------
    r339073 | stella.stamenova | 2018-08-07 00:37:44 +0200 (Tue, 07 Aug 2018) | 14 lines
    
    [lit, python] Always add quotes around the python path in lit
    
    Summary:
    The issue with the python path is that the path to python on Windows can contain spaces. To make the tests always work, the path to python needs to be surrounded by quotes.
    
    This change updates several configuration files which specify the path to python as a substitution and also remove quotes from existing tests.
    
    Reviewers: asmith, zturner, alexshap, jakehehrlich
    
    Reviewed By: zturner, alexshap, jakehehrlich
    
    Subscribers: mehdi_amini, nemanjai, eraman, kbarton, jakehehrlich, steven_wu, dexonsmith, stella.stamenova, delcypher, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50206
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339541 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 13, 2018
    Configuration menu
    Copy the full SHA
    5a09a6b View commit details
    Browse the repository at this point in the history
  3. Merging r339179 and r339184:

    ------------------------------------------------------------------------
    r339179 | stella.stamenova | 2018-08-07 22:54:38 +0200 (Tue, 07 Aug 2018) | 12 lines
    
    [lit, python3] Update lit error logging to work correctly in python3 and other test fixes
    
    Summary:
    In Python2 'unicode' is a distinct type from 'str', but in Python3 'unicode' does not exist and instead all 'str' objects are Unicode string. This change updates the logic in the test logging for lit to correctly process each of the types, and more importantly, to not just fail in Python3.
    
    This change also reverses the use of quotes in several of the cfg files. By using '""' we are guaranteeing that the resulting path will work correctly on Windows while "''" only works correctly sometimes. This also fixes one of the failing tests.
    
    Reviewers: asmith, zturner
    
    Subscribers: stella.stamenova, delcypher, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50397
    ------------------------------------------------------------------------
    
    ------------------------------------------------------------------------
    r339184 | stella.stamenova | 2018-08-07 23:21:30 +0200 (Tue, 07 Aug 2018) | 3 lines
    
    [lit] Disable shtest-timeout on Windows
    
    This test passes on Windows when using Python 3 but fails when using Python 2, so it needs more investigation before it can be enabled as the bots use Python 2.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339542 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 13, 2018
    Configuration menu
    Copy the full SHA
    c2e9eb3 View commit details
    Browse the repository at this point in the history
  4. Merging r339492:

    ------------------------------------------------------------------------
    r339492 | tstellar | 2018-08-11 03:08:34 +0200 (Sat, 11 Aug 2018) | 9 lines
    
    [gold] Fix Tests cases on i686
    
    Reviewers: tejohnson
    
    Reviewed By: tejohnson
    
    Subscribers: llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50583
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339544 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 13, 2018
    Configuration menu
    Copy the full SHA
    b4d5f64 View commit details
    Browse the repository at this point in the history
  5. Merging r339411:

    ------------------------------------------------------------------------
    r339411 | gbiv | 2018-08-10 07:14:43 +0200 (Fri, 10 Aug 2018) | 17 lines
    
    [MemorySSA] "Fix" lifetime intrinsic handling
    
    MemorySSA currently creates MemoryAccesses for lifetime intrinsics, and
    sometimes treats them as clobbers. This may/may not be the best way
    forward, but while we're doing it, we should consider
    MayAlias/PartialAlias to be clobbers.
    
    The ideal fix here is probably to remove all of this reasoning about
    lifetimes from MemorySSA + put it into the passes that need to care. But
    that's a wayyy broader fix that needs some consensus, and we have
    miscompiles + a release branch today, and this should solve the
    miscompiles just as well.
    
    differential revision is D43269. Landing without an explicit LGTM (and
    without using the special please-autoclose-this syntax) so we can still
    use that revision as a place to decide what the right fix here is.
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339545 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 13, 2018
    Configuration menu
    Copy the full SHA
    18c17c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2018

  1. Configuration menu
    Copy the full SHA
    1415ff0 View commit details
    Browse the repository at this point in the history
  2. Merging r339600:

    ------------------------------------------------------------------------
    r339600 | scott.linder | 2018-08-13 20:44:21 +0200 (Mon, 13 Aug 2018) | 8 lines
    
    [CodeGen] Fix assert in SelectionDAG::computeKnownBits
    
    Fix SelectionDAG::computeKnownBits asserting when handling EXTRACT_SUBVECTOR
    when zero extending the demanded elements mask if it is already as long as the
    source vector.
    
    Differential Revision: https://reviews.llvm.org/D49574
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339664 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    9360946 View commit details
    Browse the repository at this point in the history
  3. Merging r339636:

    ------------------------------------------------------------------------
    r339636 | rnk | 2018-08-13 18:24:35 -0700 (Mon, 13 Aug 2018) | 17 lines
    
    [BasicAA] Don't assume tail calls with byval don't alias allocas
    
    Summary:
    Calls marked 'tail' cannot read or write allocas from the current frame
    because the current frame might be destroyed by the time they run.
    However, a tail call may use an alloca with byval. Calling with byval
    copies the contents of the alloca into argument registers or stack
    slots, so there is no lifetime issue. Tail calls never modify allocas,
    so we can return just ModRefInfo::Ref.
    
    Fixes PR38466, a longstanding bug.
    
    Reviewers: hfinkel, nlewycky, gbiv, george.burgess.iv
    
    Subscribers: hiraditya, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50679
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339698 91177308-0d34-0410-b5e6-96231b3b80d8
    rnk committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    36b087d View commit details
    Browse the repository at this point in the history
  4. [ReleaseNotes] Add release notes for Hexagon

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339717 91177308-0d34-0410-b5e6-96231b3b80d8
    Krzysztof Parzyszek committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    12eb6bc View commit details
    Browse the repository at this point in the history
  5. [ReleaseNotes] Fix a typo

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339718 91177308-0d34-0410-b5e6-96231b3b80d8
    Krzysztof Parzyszek committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    ef7c5cc View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2018

  1. Merging r339166:

    ------------------------------------------------------------------------
    r339166 | abataev | 2018-08-07 21:21:05 +0200 (Tue, 07 Aug 2018) | 12 lines
    
    [SLP] Fix insert point for reused extract instructions.
    
    Summary:
    Reworked the previously committed patch to insert shuffles for reused
    extract element instructions in the correct position. Previous logic was
    incorrect, and might lead to the crash with PHIs and EH instructions.
    
    Reviewers: efriedma, javed.absar
    
    Subscribers: llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50143
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339853 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8684e0b View commit details
    Browse the repository at this point in the history
  2. Merging r339533:

    ------------------------------------------------------------------------
    r339533 | ctopper | 2018-08-13 07:26:49 +0200 (Mon, 13 Aug 2018) | 5 lines
    
    [SelectionDAG] In PromoteFloatRes_BITCAST, insert a bitcast before the fp16_to_fp in case the input type isn't an i16.
    
    The bitcast can be further legalized as needed.
    
    Fixes PR38533.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339855 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0caaac0 View commit details
    Browse the repository at this point in the history
  3. Merging r339535:

    ------------------------------------------------------------------------
    r339535 | ctopper | 2018-08-13 08:53:47 +0200 (Mon, 13 Aug 2018) | 5 lines
    
    [SelectionDAG] In PromoteIntRes_BITCAST, when the input is TypePromoteFloat, make sure the output type is scalar. For vectors, use a store and load of temporary.
    
    Previously if the result type was a vector, we emitted a FP_TO_FP16 with a vector result type which isn't valid.
    
    This is basically the opposite case of the root cause of PR38533.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339856 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    bb6ad81 View commit details
    Browse the repository at this point in the history
  4. Merging r339536:

    ------------------------------------------------------------------------
    r339536 | ctopper | 2018-08-13 08:53:49 +0200 (Mon, 13 Aug 2018) | 3 lines
    
    [SelectionDAG] In PromoteFloatOp_BITCAST, insert a bitcast after the fp_to_fp16 in case the result type isn't a scalar integer.
    
    This is another variation of PR38533. In this case, the result type of the bitcast is legal and 16-bits wide, but not a scalar integer. So we need to emit the convert to i16 and then bitcast it to the true result type. This new bitcast will be further type legalized if necessary.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339857 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    f6ce3c5 View commit details
    Browse the repository at this point in the history
  5. Merging r339769:

    ------------------------------------------------------------------------
    r339769 | nemanjai | 2018-08-15 14:58:13 +0200 (Wed, 15 Aug 2018) | 12 lines
    
    [PowerPC] Don't run BV DAG Combine before legalization if it assumes legal types
    
    When trying to combine a DAG that builds a vector out of sign-extensions of
    vector extracts, the code assumes legal input types. Due to that, we have to
    disable this combine prior to legalization.
    In some cases, the DAG will look slightly different after legalization so
    account for that in the matching code.
    
    This is a fix for https://bugs.llvm.org/show_bug.cgi?id=38087
    
    Differential Revision: https://reviews.llvm.org/D49080
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339859 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2c9adfa View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2018

  1. Merging r339515:

    ------------------------------------------------------------------------
    r339515 | d0k | 2018-08-12 13:43:03 +0200 (Sun, 12 Aug 2018) | 4 lines
    
    [InstSimplify] Guard against large shift amounts.
    
    These are always UB, but can happen for large integer inputs. Testing it
    is very fragile as -simplifycfg will nuke the UB top-down.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339985 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    02e459e View commit details
    Browse the repository at this point in the history
  2. Merging r339883:

    ------------------------------------------------------------------------
    r339883 | hans | 2018-08-16 17:12:12 +0200 (Thu, 16 Aug 2018) | 10 lines
    
    [cmake] Prevent LLVMgold.so from being unloaded on Linux
    
    Extend the fix from D40459 to also apply to modules such as the LLVM
    gold plugin. This is needed because current binutils master (and future
    binutils 2.32) calls dlclose() on bfd plugins as part of a recent fix
    for https://sourceware.org/bugzilla/show_bug.cgi?id=23460.
    
    Patch by Evangelos Foutras!
    
    Differential Revision: https://reviews.llvm.org/D50416
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339993 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    e7782a9 View commit details
    Browse the repository at this point in the history
  3. Merging r339945:

    ------------------------------------------------------------------------
    r339945 | ctopper | 2018-08-16 23:54:02 +0200 (Thu, 16 Aug 2018) | 9 lines
    
    [X86] In EFLAGS copy pass, don't emit EXTRACT_SUBREG instructions since we're after peephole
    
    Normally the peephole pass converts EXTRACT_SUBREG to COPY instructions. But we're after peephole so we can't rely on it to clean these up.
    
    To fix this, the eflags pass now emits a COPY with a subreg input.
    
    I also noticed that in 32-bit mode we need to constrain the input to the copy to ensure the subreg is valid. Otherwise we'll fail verify-machineinstrs
    
    Differential Revision: https://reviews.llvm.org/D50656
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@339999 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    dff83e9 View commit details
    Browse the repository at this point in the history
  4. Merging r338841:

    ------------------------------------------------------------------------
    r338841 | jmorse | 2018-08-03 12:13:35 +0200 (Fri, 03 Aug 2018) | 11 lines
    
    [Windows FS] Allow moving files in TempFile::keep
    
    In r338216 / D49860 TempFile::keep was extended to allow keeping across
    filesystems. The aim on Windows was to have this happen in rename_internal
    using the existing system API. However, to fix an issue and preserve the
    idea of "renaming" not being a move, put Windows keep-across-filesystem in
    TempFile::keep.
    
    Differential Revision: https://reviews.llvm.org/D50048
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340030 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    98aa61b View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

  1. Merging r339822:

    ------------------------------------------------------------------------
    r339822 | carrot | 2018-08-16 00:08:26 +0200 (Thu, 16 Aug 2018) | 12 lines
    
    
    [CodeGenPrepare] Add BothExtension type to PromotedInsts
    
    This patch fixes PR38125.
    
    Instruction extension types are recorded in PromotedInsts, it can be used later in function canGetThrough. If an instruction has two users with different extension types, it will be inserted into PromotedInsts two times in function promoteOperandForOther. The second one overwrites the first one, and the final extension type is wrong, later causes problem in canGetThrough.
    
    This patch changes the simple bool extension type to 2-bit enum type, add a BothExtension type in addition to zero/sign extension. When an user sees BothExtension for an instruction, it actually knows nothing about how that instruction is extended.
    
    Differential Revision: https://reviews.llvm.org/D49512
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340294 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    39ee064 View commit details
    Browse the repository at this point in the history
  2. Merging r339895 and r339896:

    ------------------------------------------------------------------------
    r339895 | niravd | 2018-08-16 18:31:14 +0200 (Thu, 16 Aug 2018) | 13 lines
    
    [MC][X86] Enhance X86 Register expression handling to more closely match GCC.
    
    Allow the comparison of x86 registers in the evaluation of assembler
    directives. This generalizes and simplifies the extension from r334022
    to catch another case found in the Linux kernel.
    
    Reviewers: rnk, void
    
    Reviewed By: rnk
    
    Subscribers: hiraditya, nickdesaulniers, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50795
    ------------------------------------------------------------------------
    
    ------------------------------------------------------------------------
    r339896 | d0k | 2018-08-16 18:50:23 +0200 (Thu, 16 Aug 2018) | 1 line
    
    [MC] Remove unused variable
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340329 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    1215ec5 View commit details
    Browse the repository at this point in the history
  3. Merging r339091:

    ------------------------------------------------------------------------
    r339091 | stella.stamenova | 2018-08-07 06:08:46 +0200 (Tue, 07 Aug 2018) | 12 lines
    
    [lit, tests] Fix failing lit test: shtest-format.py
    
    Summary:
    The problem here is that on windows double quotes are used for paths (usually) while single quotes are not. This is not generally a problem for the tests because the lit infrastructure tends to treat both the same. One (and possibly only) exception is when some tests are run in an external shell such as some of the shtest-format tests. In this case on windows the path to python was not created correctly because it had single quotes and the test failed.
    
    This same test is already failing with python 3 which is why our testing missed the new failure. This patch will take care of the immediate failure with python 2 and I'll send a follow up for the python 3 failure.
    
    Reviewers: asmith, zturner
    
    Subscribers: delcypher, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D50373
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340349 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    9a7960e View commit details
    Browse the repository at this point in the history
  4. Merging r340158:

    ------------------------------------------------------------------------
    r340158 | s.desmalen | 2018-08-20 11:16:59 +0200 (Mon, 20 Aug 2018) | 16 lines
    
    [AArch64][SVE] Asm: Add SVE System registers
    
    This patch adds system registers for controlling aspects of SVE:
    - ZCR_EL1  (r/w)   visible at EL1 and EL0.
    - ZCR_EL2  (r/w)   visible at EL2 and Non-secure EL1 and EL0.
    - ZCR_EL3  (r/w)   visible at all exception levels.
    
    and a system register identifying SVE:
    - ID_AA64ZFR0_EL1  (r)  SVE Feature identifier.
    
    Reviewers: SjoerdMeijer, samparker, pbarrio, fhahn, javed.absar
    
    Reviewed By: SjoerdMeijer
    
    Differential Revision: https://reviews.llvm.org/D50885
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340355 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    fbe3346 View commit details
    Browse the repository at this point in the history
  5. Merging r339674:

    ------------------------------------------------------------------------
    r339674 | aemerson | 2018-08-14 14:04:25 +0200 (Tue, 14 Aug 2018) | 3 lines
    
    [GlobalISel][IRTranslator] Fix a bug in handling repeating struct types during argument lowering.
    
    Differential Revision: https://reviews.llvm.org/D49442
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340358 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    57aa5d9 View commit details
    Browse the repository at this point in the history
  6. Merging r340303:

    ------------------------------------------------------------------------
    r340303 | ctopper | 2018-08-21 19:15:33 +0200 (Tue, 21 Aug 2018) | 9 lines
    
    [BypassSlowDivision] Teach bypass slow division not to interfere with div by constant where constants have been constant hoisted, but not moved from their basic block
    
    DAGCombiner doesn't pay attention to whether constants are opaque before doing the div by constant optimization. So BypassSlowDivision shouldn't introduce control flow that would make DAGCombiner unable to see an opaque constant. This can occur when a div and rem of the same constant are used in the same basic block. it will be hoisted, but not leave the block.
    
    Longer term we probably need to look into the X86 immediate cost model used by constant hoisting and maybe not mark div/rem immediates for hoisting at all.
    
    This fixes the case from PR38649.
    
    Differential Revision: https://reviews.llvm.org/D51000
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340359 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    9df0977 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. Merging r340691:

    ------------------------------------------------------------------------
    r340691 | codafi | 2018-08-25 21:54:39 +0200 (Sat, 25 Aug 2018) | 11 lines
    
    [C-API][DIBuilder] Use NameLen in LLVMDIBuilderCreateParameterVariable
    
    Summary: NameLen wasn't being used and caused the parameters in gdb to very long, in my case, crashes in others. Please also perform the correct magical incarnations to have this be applied to the LLVM 7 branch.
    
    Reviewers: whitequark, CodaFi
    
    Reviewed By: CodaFi
    
    Subscribers: llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D51141
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340724 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    4a4bff5 View commit details
    Browse the repository at this point in the history
  2. Merging r340641:

    ------------------------------------------------------------------------
    r340641 | stefanp | 2018-08-24 21:38:29 +0200 (Fri, 24 Aug 2018) | 9 lines
    
    [Exception Handling] Unwind tables are required for all functions that have an EH personality.
    
    This patch is for defect:
    https://bugs.llvm.org/show_bug.cgi?id=32611
    
    Functions may require unwind tables even if they are marked with the attribute
    nounwind. Any function with an EH personality may require an unwind table.
    
    Differential Revision: https://reviews.llvm.org/D50987
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340731 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    d6e617b View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2018

  1. Merging r340839:

    ------------------------------------------------------------------------
    r340839 | bcain | 2018-08-28 18:23:39 +0200 (Tue, 28 Aug 2018) | 14 lines
    
    [debuginfo] generate debug info with asm+.file
    
    Summary:
    For assembly input files, generate debug info even when the .file
    directive is present, provided it does not include a file-number
    argument.  Fixes PR38695.
    
    Reviewers: probinson, sidneym
    
    Subscribers: aprantl, hiraditya, JDevlieghere, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D51315
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341036 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    3d019e2 View commit details
    Browse the repository at this point in the history
  2. Merging r340820:

    ------------------------------------------------------------------------
    r340820 | uabelho | 2018-08-28 14:40:11 +0200 (Tue, 28 Aug 2018) | 34 lines
    
    [CloneFunction] Constant fold terminators before checking single predecessor
    
    Summary:
    This fixes PR31105.
    
    There is code trying to delete dead code that does so by e.g. checking if
    the single predecessor of a block is the block itself.
    
    That check fails on a block like this
     bb:
       br i1 undef, label %bb, label %bb
    since that has two (identical) predecessors.
    
    However, after the check for dead blocks there is a call to
    ConstantFoldTerminator on the basic block, and that call simplifies the
    block to
     bb:
       br label %bb
    
    Therefore we now do the call to ConstantFoldTerminator before the check if
    the block is dead, so it can realize that it really is.
    
    The original behavior lead to the block not being removed, but it was
    simplified as above, and then we did a call to
        Dest->replaceAllUsesWith(&*I);
    with old and new being equal, and an assertion triggered.
    
    Reviewers: chandlerc, fhahn
    
    Reviewed By: fhahn
    
    Subscribers: eraman, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D51280
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341037 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    4a19487 View commit details
    Browse the repository at this point in the history
  3. Merging r340455:

    ------------------------------------------------------------------------
    r340455 | yhs | 2018-08-22 23:21:03 +0200 (Wed, 22 Aug 2018) | 38 lines
    
    bpf: fix an assertion in BPFAsmBackend applyFixup()
    
    Fix bug https://bugs.llvm.org/show_bug.cgi?id=38643
    
    In BPFAsmBackend applyFixup(), there is an assertion for FixedValue to be 0.
    This may not be true, esp. for optimiation level 0.
    For example, in the above bug, for the following two
    static variables:
      @bpf_map_lookup_elem = internal global i8* (i8*, i8*)*
          inttoptr (i64 1 to i8* (i8*, i8*)*), align 8
      @bpf_map_update_elem = internal global i32 (i8*, i8*, i8*, i64)*
          inttoptr (i64 2 to i32 (i8*, i8*, i8*, i64)*), align 8
    
    The static variable @bpf_map_update_elem will have a symbol
    offset of 8 and a FK_SecRel_8 with FixupValue 8 will cause
    the assertion if llvm is built with -DLLVM_ENABLE_ASSERTIONS=ON.
    
    The above relocations will not exist if the program is compiled
    with optimization level -O1 and above as the compiler optimizes
    those static variables away. In the below error message, -O2
    is suggested as this is the common practice.
    
    Note that FixedValue = 0 in applyFixup() does exist and is valid,
    e.g., for the global variable my_map in the above bug. The bpf
    loader will process them properly for map_id's before loading
    the program into the kernel.
    
    The static variables, which are not optimized away by compiler,
    may have FK_SecRel_8 relocation with non-zero FixedValue.
    
    The patch removed the offending assertion and will issue
    a hard error as below if the FixedValue in applyFixup()
    is not 0.
      $ llc -march=bpf -filetype=obj fixup.ll
      LLVM ERROR: Unsupported relocation: try to compile with -O2 or above,
          or check your static variable usage
    
    Signed-off-by: Yonghong Song <[email protected]>
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341038 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    400322b View commit details
    Browse the repository at this point in the history
  4. Merging r340416:

    ------------------------------------------------------------------------
    r340416 | hakzsam | 2018-08-22 18:08:43 +0200 (Wed, 22 Aug 2018) | 8 lines
    
    AMDGPU: fix existing alias rules for constant and global
    
    Constant and global may alias, also one rules table wasn't
    ordered correctly.
    
    Pinpointed by Matt.
    
    v2: add a test with swapped parameters
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341040 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    8be2375 View commit details
    Browse the repository at this point in the history
  5. Merging r340417:

    ------------------------------------------------------------------------
    r340417 | hakzsam | 2018-08-22 18:08:48 +0200 (Wed, 22 Aug 2018) | 14 lines
    
    AMDGPU: bump AS.MAX_COMMON_ADDRESS to 6 since 32-bit addr space
    
    32-bit constant address space is declared as 6, so the
    maximum number of address spaces is 6, not 5.
    
    Fixes "LLVM ERROR: Pointer address space out of range".
    
    v5: rename MAX_COMMON_ADDRESS to MAX_AMDGPU_ADDRESS
    v4: - fix compilation issues
        - fix out of bounds access
    v3: use static_assert()
    v2: add a very simple test for 32-bit addr space
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106630
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341041 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    9f22831 View commit details
    Browse the repository at this point in the history
  6. Merging r340751:

    ------------------------------------------------------------------------
    r340751 | hans | 2018-08-27 17:55:39 +0200 (Mon, 27 Aug 2018) | 7 lines
    
    Use a lambda for calls to ::open in RetryAfterSignal
    
    In Bionic, open can be overloaded for _FORTIFY_SOURCE support, causing
    compile errors of RetryAfterSignal due to overload resolution. Wrapping
    the call in a lambda avoids this.
    
    Based on a patch by Chih-Wei Huang <[email protected]>!
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341044 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    c19f813 View commit details
    Browse the repository at this point in the history
  7. Merging r340900:

    ------------------------------------------------------------------------
    r340900 | hans | 2018-08-29 08:55:27 +0200 (Wed, 29 Aug 2018) | 6 lines
    
    LoopSink: Don't sink into blocks without an insertion point (PR38462)
    
    In the PR, LoopSink was trying to sink into a catchswitch block, which
    doesn't have a valid insertion point.
    
    Differential Revision: https://reviews.llvm.org/D51307
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341048 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    224408d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2018

  1. [docs][mips] 7.0 Release notes

    Differential revision: https://reviews.llvm.org/D51355
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341203 91177308-0d34-0410-b5e6-96231b3b80d8
    atanasyan committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    485d211 View commit details
    Browse the repository at this point in the history
  2. Merging r341094:

    ------------------------------------------------------------------------
    r341094 | efriedma | 2018-08-30 20:59:24 +0200 (Thu, 30 Aug 2018) | 11 lines
    
    [SROA] Fix alignment for uses of PHI nodes.
    
    Splitting an alloca can decrease the alignment of GEPs into the
    partition.  Normally, rewriting accounts for this, but the code was
    missing for uses of PHI nodes and select instructions.
    
    Fixes https://bugs.llvm.org/show_bug.cgi?id=38707 .
    
    Differential Revision: https://reviews.llvm.org/D51335
    
    
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341220 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    8be5c4f View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Merging r341244:

    ------------------------------------------------------------------------
    r341244 | tstellar | 2018-08-31 22:15:31 +0200 (Fri, 31 Aug 2018) | 11 lines
    
    lit: Use sys.executable for executing builtin commands
    
    Summary:
    The python executable may not exist on all systems so use sys.executable
    instead.
    
    Reviewers: ddunbar, stella.stamenova
    
    Subscribers: delcypher, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D51511
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341349 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    1a55853 View commit details
    Browse the repository at this point in the history
  2. Merging r340959:

    ------------------------------------------------------------------------
    r340959 | mareko | 2018-08-29 22:03:00 +0200 (Wed, 29 Aug 2018) | 9 lines
    
    AMDGPU: Handle 32-bit address wraparounds for SMRD opcodes
    
    Summary: This fixes GPU hangs with OpenGL bindless handle arithmetic.
    
    Reviewers: arsenm, nhaehnle
    
    Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D51203
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341351 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    8111e8d View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2018

  1. ReleaseNotes for PowerPC

    Patch by Lei Huang!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341453 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    600f7a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Configuration menu
    Copy the full SHA
    738f19a View commit details
    Browse the repository at this point in the history
  2. ReleaseNotes: ARM SVE asm/disasm support

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341522 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    80cc9fc View commit details
    Browse the repository at this point in the history
  3. Merging r341416:

    ------------------------------------------------------------------------
    r341416 | annat | 2018-09-05 00:12:23 +0200 (Wed, 05 Sep 2018) | 11 lines
    
    [LV] First order recurrence phis should not be treated as uniform
    
    This is fix for PR38786.
    First order recurrence phis were incorrectly treated as uniform,
    which caused them to be vectorized as uniform instructions.
    
    Patch by Ayal Zaks and Orivej Desh!
    
    Reviewed by: Anna
    
    Differential Revision: https://reviews.llvm.org/D51639
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341523 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    033c772 View commit details
    Browse the repository at this point in the history
  4. Merging r341512:

    ------------------------------------------------------------------------
    r341512 | ctopper | 2018-09-06 04:03:14 +0200 (Thu, 06 Sep 2018) | 7 lines
    
    [X86][Assembler] Allow %eip as a register in 32-bit mode for .cfi directives.
    
    This basically reverts a change made in r336217, but improves the text of the error message for not allowing IP-relative addressing in 32-bit mode.
    
    Fixes PR38826.
    
    Patch by Iain Sandoe.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341530 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    a5b9a59 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. ReleaseNotes: tidy up for the release

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341640 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    cd197f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. Merging r341642:

    ------------------------------------------------------------------------
    r341642 | tnorthover | 2018-09-07 11:21:25 +0200 (Fri, 07 Sep 2018) | 8 lines
    
    ARM: fix Thumb2 CodeGen for ldrex with folded frame-index.
    
    Because t2LDREX (& t2STREX) were marked as AddrModeNone, but did allow a
    FrameIndex operand, rewriteT2FrameIndex asserted. This gives them a
    proper addressing-mode and tells the rewriter about it so that encodable
    offsets are exploited and others are rejected.
    
    Should fix PR38828.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341783 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    4a05921 View commit details
    Browse the repository at this point in the history
  2. ReleaseNotes: minor tweaks

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341804 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    82250ed View commit details
    Browse the repository at this point in the history
  3. docs: drop another in-progress warning

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341828 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    0d41278 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Configuration menu
    Copy the full SHA
    627a2d5 View commit details
    Browse the repository at this point in the history
  2. ReleaseNotes: some notes from Andres Freund

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341916 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    65ce2e5 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2018

  1. Merging r343347:

    ------------------------------------------------------------------------
    r343347 | cmatthews | 2018-09-28 10:55:18 -0700 (Fri, 28 Sep 2018) | 4 lines
    
    make lit builtins a package
    
    cat.py is not being installed when lit is installed from source. So
    tests that use the internal shell fail when using cat.
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@344792 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    6c2e5a1 View commit details
    Browse the repository at this point in the history
  2. Merging r343443:

    ------------------------------------------------------------------------
    r343443 | ctopper | 2018-10-01 00:08:41 -0700 (Mon, 01 Oct 2018) | 9 lines
    
    [X86] Stop X86DomainReassignment from creating copies between GR8/GR16 physical registers and k-registers.
    
    We can only copy between a k-register and a GR32/GR64 register.
    
    This patch detects that the copy will be illegal and prevents the domain reassignment from happening for that closure.
    
    This probably isn't the best fix, and we should probably figure out how to handle this correctly.
    
    Fixes PR38803.
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@344804 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    9a0352f View commit details
    Browse the repository at this point in the history
  3. Merging r343428:

    ------------------------------------------------------------------------
    r343428 | ctopper | 2018-09-30 16:43:30 -0700 (Sun, 30 Sep 2018) | 3 lines
    
    [X86] Change an llvm_unreachable to a report_fatal_error so the optimizer will stop making us reach the other report_fatal_error in this function.
    
    There's a conditional report_fatal_error just above this llvm_unreachable. The optimizer when seeing the unreachable removes the conditional and just makes any other error trigger the existing report_fatal_error.
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@344805 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    b2504ea View commit details
    Browse the repository at this point in the history
  4. Merging r343373:

    ------------------------------------------------------------------------
    r343373 | rksimon | 2018-09-29 06:25:22 -0700 (Sat, 29 Sep 2018) | 3 lines
    
    [X86][SSE] Fixed issue with v2i64 variable shifts on 32-bit targets
    
    The shift amount might have peeked through a extract_subvector, altering the number of vector elements in the 'Amt' variable - so we were incorrectly calculating the ratio when peeking through bitcasts, resulting in incorrectly detecting splats.
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@344810 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    888225e View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. Merging r342461:

    ------------------------------------------------------------------------
    r342461 | devnexen | 2018-09-18 03:31:10 -0700 (Tue, 18 Sep 2018) | 10 lines
    
    [Xray] llvm-xray fix possible segfault
    
    top argument when superior to the instrumentated code list capacity can lead to a segfault.
    
    Reviewers: dberris
    
    Reviewed By: dberris
    
    Differential Revision: https://reviews.llvm.org/D52224
    
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@344918 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    eb0722e View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Merging r344325:

    ------------------------------------------------------------------------
    r344325 | evgeny777 | 2018-10-12 00:24:02 -0700 (Fri, 12 Oct 2018) | 4 lines
    
    [ThinLTO] Don't import GV which contains blockaddress
    
    Differential revision: https://reviews.llvm.org/D53139
    
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@345401 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    4c946b7 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2018

  1. Merging r344454, r344455, r344645:

    ------------------------------------------------------------------------
    r344454 | xbolva00 | 2018-10-13 08:21:55 -0700 (Sat, 13 Oct 2018) | 11 lines
    
    [InstCombine] Fixed crash with aliased functions
    
    Summary: Fixes PR39177
    
    Reviewers: spatel, jbuening
    
    Reviewed By: jbuening
    
    Subscribers: jbuening, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D53129
    ------------------------------------------------------------------------
    
    ------------------------------------------------------------------------
    r344455 | xbolva00 | 2018-10-13 08:26:13 -0700 (Sat, 13 Oct 2018) | 2 lines
    
    [NFC] Fixed duplicated test file
    
    ------------------------------------------------------------------------
    
    ------------------------------------------------------------------------
    r344645 | xbolva00 | 2018-10-16 14:18:31 -0700 (Tue, 16 Oct 2018) | 9 lines
    
    [InstCombine] Cleanup libfunc attribute inferring
    
    Reviewers: efriedma
    
    Reviewed By: efriedma
    
    Subscribers: llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D53338
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@345921 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    5ab8235 View commit details
    Browse the repository at this point in the history
  2. Merging r342354:

    ------------------------------------------------------------------------
    r342354 | kristina | 2018-09-16 15:21:59 -0700 (Sun, 16 Sep 2018) | 11 lines
    
    [DebugInfo] Fix build when std::vector::iterator is a pointer
    
    std::vector::iterator type may be a pointer, then
    iterator::value_type fails to compile since iterator is not a class,
    namespace, or enumeration.
    
    Patch by orivej (Orivej Desh)
    
    Differential Revision: https://reviews.llvm.org/D52142
    
    ------------------------------------------------------------------------
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@345923 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    2e8411d View commit details
    Browse the repository at this point in the history
  3. Bump version to 7.0.1

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@346007 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellar committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    d0abf8b View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2018

  1. Port Memoro to LLVM 7.0

    ttreyer committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    b386e8b View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2018

  1. removing unneeded code from memoro instrumentation pass, other commen…

    …ts and cleanup
    Stuart Byma committed Dec 12, 2018
    Configuration menu
    Copy the full SHA
    076c3f5 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. removing tool options in memoro instrumentation, it was a relic and w…

    …asnt ever needed
    Stuart Byma committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    65dac8b View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2019

  1. Formatting

    ttreyer committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    9720d28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35c5877 View commit details
    Browse the repository at this point in the history
  3. Cleanup the merge

    ttreyer committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    4113dff View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2019

  1. Configuration menu
    Copy the full SHA
    ca9d68c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc3f246 View commit details
    Browse the repository at this point in the history