Started 8 mo 24 days ago
Took 10 min on green-dragon-14

Failed Build #307 (Feb 20, 2019 12:17:55 PM)

Revisions
  • http://llvm.org/svn/llvm-project/llvm/trunk : 354510
  • http://llvm.org/svn/llvm-project/cfe/trunk : 354509
  • http://llvm.org/svn/llvm-project/compiler-rt/trunk : 354500
  • http://llvm.org/svn/llvm-project/debuginfo-tests/trunk : 346271
  • http://llvm.org/svn/llvm-project/libcxx/trunk : 354212
  • http://llvm.org/svn/llvm-project/clang-tools-extra/trunk : 354507
Changes
  1. Add support for pointer types in patterns

    Summary:
    This adds support for defining patterns for global isel using pointer
    types, for example:

    def : Pat<(load GPR32:$src),
              (p1 (LOAD GPR32:$src))>;

    DAGISelEmitter will ignore the pointer information and treat these
    types as integers with the same bit-width as the pointer type.

    Reviewers: dsanders, rtereshin, arsenm

    Reviewed By: arsenm

    Subscribers: Petar.Avramovic, wdng, rovka, kristof.beyls, jfb, volkan, llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D57065 (detail/ViewSVN)
    by tstellar
  2. [OPENMP] Use targetDiag for diagnostics of unsupported exceptions, NFC. (detail/ViewSVN)
    by abataev
  3. Fix testcase. (detail/ViewSVN)
    by niravd
  4. [clangd] Fix a crash in Selection

    Summary:
    The assertion checking that a range of a node is a token range does
    not hold in case of "split" tokens, e.g. between two closing template
    argument lists (`vector<vector<int>>`).

    Reviewers: kadircet, sammccall

    Reviewed By: kadircet

    Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58447 (detail/ViewSVN)
    by ibiryukov
  5. [clangd] Store index in '.clangd/index' instead of '.clangd-index'

    Summary: To take up the .clangd folder for other potential uses in the future.

    Reviewers: kadircet, sammccall

    Reviewed By: kadircet

    Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58440 (detail/ViewSVN)
    by ibiryukov
  6. Add test case. (detail/ViewSVN)
    by niravd
  7. Fix remaining semicolon pedantic errors for intel (detail/ViewSVN)
    by martong
  8. [Clang Driver] Add support for "-static-pie" argument to the Clang driver.

    Summary: This change mimics GCC's support for the "-static-pie" argument.

    Subscribers: cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58307 (detail/ViewSVN)
    by sivachandra
  9. [X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros. NFC

    If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits.

    This can prevent GetDemandedBits from recognizing that the AND is unnecessary. (detail/ViewSVN)
    by ctopper
  10. Fix license headers (detail/ViewSVN)
    by Vitaly Buka
  11. Revert r354498 "[X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros."

    I accidentally committed more than just the test. (detail/ViewSVN)
    by ctopper
  12. [X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros.

    If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits.

    This can prevent GetDemandedBits from recognizing that the AND is unnecessary. (detail/ViewSVN)
    by ctopper
  13. AArch64/test: Add check for function name to machine-outliner-bad-adrp.mir

    Summary:
    This test was failing in one of our setups because the generated ModuleID
    had the full path of the test file and that path contained the string
    BL.

    Reviewers: t.p.northover, jpaquette, paquette

    Reviewed By: paquette

    Subscribers: javed.absar, kristof.beyls, llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D58217 (detail/ViewSVN)
    by tstellar
  14. Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h

    NDEBUG is misspelled as NDBEBUG in include/llvm/Support/raw_ostream.h. (detail/ViewSVN)
    by zer0
  15. [MCA][Scheduler] Correctly initialize field NumDispatchedToThePendingSet.

    This should have been part of r354490. (detail/ViewSVN)
    by adibiagio
  16. Add partial implementation of std::to_address() as llvm::to_address()

    Summary:
    Following on from the review for D58088, this patch provides the
    prerequisite to_address() implementation that's needed to have
    pointer_iterator support unique_ptr.

    The late bound return should be removed once we move to C++14 to better
    align with the C++20 declaration. Also, this implementation can be removed
    once we move to C++20 where it's defined as std::to_addres()

    The std::pointer_traits<>::to_address(p) variations of these overloads has
    not been implemented.

    Reviewers: dblaikie, paquette

    Reviewed By: dblaikie

    Subscribers: dexonsmith, kristina, llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D58421 (detail/ViewSVN)
    by dsanders
  17. [MCA][Scheduler] Collect resource pressure and memory dependency bottlenecks.

    Every cycle, the Scheduler checks if instructions in the ReadySet can be issued
    to the underlying pipelines. If an instruction cannot be issued because one or
    more pipeline resources are unavailable, then field
    Instruction::CriticalResourceMask is updated with the resource identifier of the
    unavailable resources.

    If an instruction cannot be promoted from the PendingSet to the ReadySet because
    of a memory dependency, then field Instruction::CriticalMemDep is updated with
    the identifier of the dependending memory instruction.

    Bottleneck information is collected after every cycle for instructions that are
    waiting to execute. The idea is to help identify causes of bottlenecks; this
    information can be used in future to implement a bottleneck analysis. (detail/ViewSVN)
    by adibiagio
  18. [X86][SSE] combineX86ShufflesRecursively - begin generalizing the number of shuffle inputs. NFCI.

    We currently bail if the target shuffle decodes to more than 2 input vectors, this is some initial cleanup that still has the limit but generalizes the opindices to an array that will be necessary when we drop the limit. (detail/ViewSVN)
    by rksimon
  19. [OPENMP] Delay emission of the asm target-specific error messages.

    Summary:
    Added the ability to emit target-specific builtin assembler error
    messages only in case if the function is really is going to be emitted
    for the device.

    Reviewers: rjmccall

    Subscribers: guansong, jdoerfert, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58243 (detail/ViewSVN)
    by abataev
  20. Update property prefix regex to allow numbers.

    Subscribers: jfb, cfe-commits

    Differential Revision: https://reviews.llvm.org/D56896 (detail/ViewSVN)
    by wizard
  21. [llvm-readelf]Test a couple of corner-cases for --section-mapping

    This patch adds two new tests for edge-case behaviour for --section-
    mapping, namely when there are no program headers, and when there are no
    section headers.

    Reviewed by: mattd

    Differential Revision: https://reviews.llvm.org/D58456 (detail/ViewSVN)
    by jhenderson
  22. Fix compile error with Intel's compiler (-Werror=pedantic)

    An extra semicolon at the end of macro invocations caused a build bot
    failure for Intel's compiler when pedantic is turned on. (detail/ViewSVN)
    by martong
  23. [CodeGen] Enable the complex-math test for arm

    This test wasn't running due to a missing : after the RUN statement.
    Enabling this test revealed that it's actually broken.

    Differential Revision: https://reviews.llvm.org/D58429 (detail/ViewSVN)
    by phosek
  24. GlobalISel: Fix fewerElementsVector for ctlz with different result type

    Also complete the set of related operations. (detail/ViewSVN)
    by arsenm
  25. [OPENMP][NVPTX]Use faster teams reduction algorithm.

    A faster way to reduce the values in teams reductions was found, the
    codegen is updated to use this faster algorithm and new runtime functions. (detail/ViewSVN)
    by abataev
  26. GlobalISel: Implement moreElementsVector for g_insert results (detail/ViewSVN)
    by arsenm
  27. Re-land the refactoring part of r354244 "[DAGCombiner] Eliminate dead stores to stack."

    This is an NFC. (detail/ViewSVN)
    by courbet
  28. [CGP][x86] add tests for usubo special-case; NFC

    This is another example from PR31754:
    https://bugs.llvm.org/show_bug.cgi?id=31754 (detail/ViewSVN)
    by spatel
  29. [obj2yaml][yaml2obj]Locate all .yaml and .test tests

    A number of the obj2yaml tests end in .yaml, but .yaml is not a default
    file type picked up by lit, so these tests weren't being run when
    running the testsuite as a whole (they could be run explicitly still).
    This change adds a lit local config file to specify the known file types
    for obj2yaml tests (.yaml and .test). Additionally, it fixes the
    yaml2obj config file to allow both .test and .yaml suffixed tests
    (previously, the two tests ending in '.test' were not being run).

    Reviewed by: grimar

    Differential Revision: https://reviews.llvm.org/D58439 (detail/ViewSVN)
    by jhenderson
  30. [Hexagon] Split vector pairs for ISD::SIGN_EXTEND and ISD::ZERO_EXTEND (detail/ViewSVN)
    by kparzysz
  31. Speculative buildfix for Mac

    Our builds were failing with

    FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
    [..]
    In file included from /b/c/b/ToTMac/src/third_party/llvm/lib/Support/ARMBuildAttrs.cpp:9:
    In file included from /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/StringRef.h:12:
    In file included from /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/STLExtras.h:19:
    /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/Optional.h:88:25: error: no member named 'addressof' in namespace 'std'
        ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
                       ~~~~~^

    Try to fix by including <memory> (detail/ViewSVN)
    by hans
  32. [MCA][ResourceManager] Add a table that maps processor resource indices to processor resource identifiers.

    This patch adds a lookup table to speed up resource queries in the ResourceManager.
    This patch also moves helper function 'getResourceStateIndex()' from
    ResourceManager.cpp to Support.h, so that we can reuse that logic in the
    SummaryView (and potentially other views in llvm-mca).
    No functional change intended. (detail/ViewSVN)
    by adibiagio
  33. Fix the build with gcc/libstdc++ 4.8.2 after r354441 (detail/ViewSVN)
    by hans
  34. [InstSimplify] use any-zero matcher for fcmp folds

    The m_APFloat matcher does not work with anything but strict
    splat vector constants, so we could miss these folds and then
    trigger an assertion in instcombine:
    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13201

    The previous attempt at this in rL354406 had a logic bug that
    actually triggered a regression test failure, but I failed to
    notice it the first time. (detail/ViewSVN)
    by spatel
  35. [yaml2elf] - Rename a variable. NFC.

    Was suggested during review of D58441. (detail/ViewSVN)
    by grimar
  36. [yaml2obj] - Simplify implementation. NFCI.

    Knowing about how types are declared for 32/64 bit platforms:
    https://github.com/llvm-mirror/llvm/blob/master/include/llvm/BinaryFormat/ELF.h#L28

    it is possible to simplify code that writes a binary a bit.
    The patch does that.

    Differential revision: https://reviews.llvm.org/D58441 (detail/ViewSVN)
    by grimar
  37. [MIPS MSA] Avoid some DAG combines for vector shifts

    DAG combiner combines two shifts into shift + and with bitmask.
    Avoid such combines for vectors since leaving two vector shifts
    as they are produces better end results.

    Differential Revision: https://reviews.llvm.org/D58225 (detail/ViewSVN)
    by petar.avramovic
  38. [clangd] Fix a typo. NFC

    The documentation for -index-file mentioned clang-index instead of
    clangd-indexer. (detail/ViewSVN)
    by ibiryukov
  39. [MIPS MSA] Add test for vector shift combines

    Add test for vector shift combines. (detail/ViewSVN)
    by petar.avramovic
  40. [SLPVectorizer][X86] Add add/sub/mul overflow tests

    Baseline tests - overflow intrinsics aren't flagged as vectorizable yet (detail/ViewSVN)
    by rksimon
  41. [clangd] Revert r354442 and r354444

    Looks like sysroot is only working on linux. (detail/ViewSVN)
    by kadircet
  42. [clang-format] Do not emit replacements if Java imports are OK

    Summary:
    Currently clang-format would always emit a replacement for a block of Java imports even if it is correctly formatted:
    ```
    % cat /tmp/Aggregator.java
    import X;
    % clang-format /tmp/Aggregator.java
    import X;
    % clang-format -output-replacements-xml /tmp/Aggregator.java
    <?xml version='1.0'?>
    <replacements xml:space='preserve' incomplete_format='false'>
    <replacement offset='0' length='9'>import X;</replacement>
    </replacements>
    %
    ```
    This change makes clang-format not emit replacements in this case. Note that
    there is logic to not emit replacements in this case for C++.

    Reviewers: ioeric

    Reviewed By: ioeric

    Subscribers: jdoerfert, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58436 (detail/ViewSVN)
    by krasimir
  43. [sanitizers] Restore internal_readlink for x32

    r316591 has

    @@ -389,13 +383,11 @@ uptr internal_dup2(int oldfd, int newfd) {
    }

    uptr internal_readlink(const char *path, char *buf, uptr bufsize) {
    -#if SANITIZER_NETBSD
    -  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
    -#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
    +#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
       return internal_syscall(SYSCALL(readlinkat), AT_FDCWD,
                               (uptr)path, (uptr)buf, bufsize);
    #else
    -  return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
    +  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
    #endif
    }

    which dropped the (uptr) cast and broke x32.  This patch puts back the
    (uptr) cast to restore x32 and fixes:

    https://bugs.llvm.org/show_bug.cgi?id=40783

    Differential Revision: https://reviews.llvm.org/D58413 (detail/ViewSVN)
    by hjl
  44. [clangd] Try to fix windows build bots (detail/ViewSVN)
    by kadircet
  45. [Codegen] Remove dead flags on Physical Defs in machine cse

    We may leave behind incorrect dead flags on instructions that are CSE'd. Make
    sure we remove the dead flags on physical registers to prevent other incorrect
    code motion.

    Differential Revision: https://reviews.llvm.org/D58115 (detail/ViewSVN)
    by dmgreen
  46. [clangd] Testcase for bug 39811

    Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, jdoerfert, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58133 (detail/ViewSVN)
    by kadircet

Started by upstream project Clang Stage 2: cmake, R -g Asan&UBSan, using Stage 1 RA, Phase 1 build number 6152
originally caused by:

This run spent:

  • 1 hr 37 min waiting;
  • 10 min build duration;
  • 1 hr 48 min total from scheduled to completion.

Identified problems

Missing test results

The test result file Jenkins is looking for does not exist after the build.
Indication 1

CMake Error

This build failed because of an CMake configuration error. Below is a list of all errors in the build log:
Indication 2