Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/llvm-project
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 71fe7ec06b85f612fc0e4eb4134c7a7d0f23fac5
Choose a base ref
...
head repository: rust-lang/llvm-project
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8adf9bdccfefb8d03f0e8db3b012fb41da1580a4
Choose a head ref
  • 16 commits
  • 43 files changed
  • 8 contributors

Commits on Sep 10, 2019

  1. Merging r371434:

    ------------------------------------------------------------------------
    r371434 | efriedma | 2019-09-09 20:29:27 +0200 (Mon, 09 Sep 2019) | 15 lines
    
    [IfConversion] Correctly handle cases where analyzeBranch fails.
    
    If analyzeBranch fails, on some targets, the out parameters point to
    some blocks in the function. But we can't use that information, so make
    sure to clear it out.  (In some places in IfConversion, we assume that
    any block with a TrueBB is analyzable.)
    
    The change to the testcase makes it trigger a bug on builds without this
    fix: IfConvertDiamond tries to perform a followup "merge" operation,
    which isn't legal, and we somehow end up with a branch to a deleted MBB.
    I'm not sure how this doesn't crash the compiler.
    
    Differential Revision: https://reviews.llvm.org/D67306
    
    
    ------------------------------------------------------------------------
    
    llvm-svn: 371490
    zmodem committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    127240a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2019

  1. Merging r371766:

    ------------------------------------------------------------------------
    r371766 | nickdesaulniers | 2019-09-12 21:53:35 +0200 (Thu, 12 Sep 2019) | 29 lines
    
    [Clang][CodeGen] support alias attribute w/ gnu_inline
    
    Summary:
    r369705 did not consider the addition of gnu_inline on function
    declarations of alias attributed functions. This resulted in a reported
    regression in the clang-9-rc4 release from the Zig developers building
    glibc, which was observable as a failed assertion:
    
    llvm-project/clang/lib/AST/Decl.cpp:3336: bool
    clang::FunctionDecl::isInlineDefinitionExternallyVisible() const:
    Assertion `(doesThisDeclarationHaveABody() || willHaveBody()) && "Must
    be a function definition"' failed.
    
    Alias function declarations do not have bodies, so allow us to proceed
    if we have the alias function attribute but no body/definition, and add
    a test case.  The emitted symbols and their linkage matches GCC for the
    added test case.
    
    Link: https://bugs.llvm.org/show_bug.cgi?id=43268
    
    Reviewers: aaron.ballman, rsmith, erichkeane, andrewrk
    
    Reviewed By: andrewrk
    
    Subscribers: cfe-commits, andrewrk, hans, srhines
    
    Tags: #clang
    
    Differential Revision: https://reviews.llvm.org/D67455
    ------------------------------------------------------------------------
    
    llvm-svn: 371821
    zmodem committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    02a0ef0 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. ReleaseNotes: known issue: PR40547

    llvm-svn: 371964
    zmodem committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    8972a47 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2019

  1. Merging r371969:

    ------------------------------------------------------------------------
    r371969 | karka | 2019-09-16 11:52:23 +0200 (Mon, 16 Sep 2019) | 13 lines
    
    Change signature of __builtin_rotateright64 back to unsigned
    
    The signature of __builtin_rotateright64 was by misstake changed from
    unsigned to signed in r360863, this patch will change it back to
    unsigned as intended.
    
    This fixes pr43309
    
    Reviewers: efriedma, hans
    
    Reviewed By: hans
    
    Differential Revision: https://reviews.llvm.org/D67606
    ------------------------------------------------------------------------
    
    llvm-svn: 372100
    zmodem committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    12f174e View commit details
    Browse the repository at this point in the history
  2. Add external project LDC to release notes.

    LDC, the LLVM-based D compiler, is already ready for LLVM 9.0.0.
    
    llvm-svn: 372167
    redstar committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    0399d5a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Add accessors for MCSubtargetInfo CPU and Feature tables

    This is needed for `-C target-cpu=help` and `-C target-feature=help` in rustc
    bitshifter authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    92706f0 View commit details
    Browse the repository at this point in the history
  2. Fix compile on dist-i686-linux builder

    If this lines are present then we apparently get errors [1] when compiling in
    the current [2] dist-i686-linux container. Attempts to upgrade both gcc and
    binutils did not fix the error, so it appears that this may just be a bug in the
    super old glibc we're using on the dist-i686-linux container.
    
    We don't actually need this code anyway, so just work around these issues by
    removing references to the `*64` functions. This'll get things compiling
    locally and shouldn't be a regression in functionality.
    
    [1]: https://travis-ci.org/rust-lang/rust/jobs/257578199
    [2]: https://github.com/rust-lang/rust/tree/eba9d7f08ce5c90549ee52337aca0010ad566f0d/src/ci/docker/dist-i686-linux
    alexcrichton authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    5da93e4 View commit details
    Browse the repository at this point in the history
  3. Disable checks for libatomic for now

    For whatever reason this is failing the i686-freebsd builder in the Rust repo
    as-of this red-hot moment. The build seems to work fine without it so let's just
    remove it for now and pray there's a better fix later.
    
    Although if you're reading this and know of a better fix, we'd love to remove
    this!
    alexcrichton authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    f20d29e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70a556e View commit details
    Browse the repository at this point in the history
  5. Fix compile on dist-x86_64-linux builder

    Apparently glibc is so old it doesn't have the _POSIX_ARG_MAX constant. This
    shouldn't affect anything we use anyway though.
    
    https://travis-ci.org/rust-lang/rust/jobs/399333071
    alexcrichton authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    adfca5b View commit details
    Browse the repository at this point in the history
  6. Compile with /MT on MSVC

    Can't seem to figure out how to do this without this patch...
    alexcrichton authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    529b7b4 View commit details
    Browse the repository at this point in the history
  7. Fix compilation of sanitizers in Rust containers

    It's not entertirely clear why this is necessary but this is carrying
    over an old `compiler-rt` patch to ensure that `compiler-rt` compiles in
    our super ancient containers that we build sanitizers in. This ideally
    isn't the worst thing to keep with us going forward, but we'll see!
    alexcrichton authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    9ec3424 View commit details
    Browse the repository at this point in the history
  8. Fix sanitizer build without O_CLOEXEC

    Define it to 0 if it doesn't exist.
    nikic authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    2d8f68e View commit details
    Browse the repository at this point in the history
  9. Comment out __builtin_available() use (#21)

    __builtin_available() pulls in __isOSVersionAtLeast() from
    compiler-rt. Comment it out so we don't have to figure out how
    to pull in this symbol...
    nikic authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    8e098c0 View commit details
    Browse the repository at this point in the history
  10. [WebAssembly] Add DBG_VALUE with local operands location in WebAssemb…

    …lyExplicitLocals pass
    
    Extends DWARF expression larguage to express locals/globals locations. (via
    target-index operands)
    
    The WebAssemblyExplicitLocals can replace virtual registers to target-index()
    operand type at the time when WebAssembly backend introduces local.{get,set,tee}
    instead of corresponding virtual registers.
    
    Reviewers: aprantl, dschuff
    
    Differential Revision: https://reviews.llvm.org/D52634
    yurydelendik authored and cuviper committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    9f057e5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8adf9bd View commit details
    Browse the repository at this point in the history
Loading