SuccessChanges

Summary

  1. Revert "lldb-cmake job: Temporarily disable LLVM_ENABLE_MODULES" (details)
Commit d844b847bca360adc9e8fb5e81f4211281f09570 by Vedant Kumar
Revert "lldb-cmake job: Temporarily disable LLVM_ENABLE_MODULES"

This reverts commit e2ed346edb77255059f41d931a1edab3ac6b11f3.

Let's see if this is fixed.
The file was modifiedzorg/jenkins/monorepo_build.py (diff)

Summary

  1. [mlir] Hotfix - Rename MLIRRuntimeUtils to mlir_runtime_utils (details)
  2. [AMDGPU] improve fragile test for divergent branches (details)
  3. Forward declare special case lists (details)
  4. Forward declare FileEntry and DirectoryEntry in Module.h (details)
  5. [libc++] Mark more try_lock tests as possibly flaky. (details)
  6. [XCOFF] Don't emit non-external labels in the symbol table and handle MCSA_LGlobal (details)
  7. [clang-tidy] Store all ranges in clang::tooling::Diagnostic (details)
  8. [MLIR] add show-dialects option for mlir-opt (details)
  9. [MLIR][Loops] Expose transformations on loop.parallel in header (NFC). (details)
  10. [mlir] NFC - Split out RunnerUtils that don't require a C++ runtime (details)
Commit 512f345a5db163ac52bf0223f749acc6188e6138 by ntv
[mlir] Hotfix - Rename MLIRRuntimeUtils to mlir_runtime_utils
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was modifiedmlir/test/CMakeLists.txt
Commit 0c8a21879872c8ca8aa5966263f9d67207b3108e by sameer.sahasrabuddhe
[AMDGPU] improve fragile test for divergent branches

Summary:
The affected LIT test intends to test the correct use of divergence
analysis to detect a divergent branch with a uniform predicate. The
passes involved are LLVM IR passes, but the test runs llc and tries to
match against generated ISA, which makes it hard to demonstrate that
the intended behavior was really tested. Replaced this with a test
that invokes opt on the required passes and then checks for the
appropriate changes in the LLVM IR.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D75267
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
Commit 04da3dfecc199a7fdd262b06eeb399fc8ce0d1f6 by rnk
Forward declare special case lists

This avoids pulling in unordered_map from TrigramIndex.h:

$ diff -u thedeps-before.txt thedeps-after.txt | \
        grep '^[-+] ' | sort | uniq -c | sort -nr
    976 -    ../llvm/include/llvm/Support/TrigramIndex.h
    976 -    ../llvm/include/llvm/Support/SpecialCaseList.h
    976 -    ../clang/include/clang/Basic/SanitizerSpecialCaseList.h
    502 -    ../../../PROGRA~2/MIB055~1/2019/PROFES~1/VC/Tools/MSVC/14.24.28314/include/unordered_map
    467 -    ../../../PROGRA~2/MIB055~1/2019/PROFES~1/VC/Tools/MSVC/14.24.28314/include/xhash
    467 -    ../../../PROGRA~2/MIB055~1/2019/PROFES~1/VC/Tools/MSVC/14.24.28314/include/xbit_ops.h
    212 -    ../llvm/include/llvm/ADT/StringSet.h
The file was modifiedclang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/SanitizerBlacklist.h
The file was modifiedclang/include/clang/Basic/SanitizerSpecialCaseList.h
The file was modifiedclang/lib/Basic/SanitizerBlacklist.cpp
The file was modifiedclang/lib/Basic/XRayLists.cpp
The file was modifiedclang/include/clang/Basic/XRayLists.h
Commit bc8836651fba3304d92e1025ff6a918f25e9e209 by rnk
Forward declare FileEntry and DirectoryEntry in Module.h

FileManager.h is an expensive header (~350ms for me in isolation), so
try to do without it.

Notably, we need to avoid checking the alignment of FileEntry, which
happens for DenseMap<FileEntry*> and PointerUnion<FileEntry*>. I
adjusted the code to avoid PointerUnion, and moved the DenseMap
insertion to the .cpp file.

Globally, this only saved about ~17 includes of the related headers
because SourceManager.h still includes FileManager.h, and it is more
popular than Module.h.
The file was modifiedclang/include/clang/Basic/Module.h
The file was modifiedclang/include/clang/Serialization/ModuleFile.h
The file was modifiedclang/lib/Lex/ModuleMap.cpp
The file was modifiedclang/lib/Basic/Module.cpp
Commit d4ad2adb0046ef5bc4276552f978b43446e9c0c2 by eric
[libc++] Mark more try_lock tests as possibly flaky.

These tests check that an operations happens within a specified
deadline, which causes flaky failures on slow machines or machines
under heavy load.

By adding the // FLAKY_TEST. tag it allows the test suite to
retry or ignore the tests
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp
Commit d32fa59fa007ba53b8453f96a5661b149e4715c7 by daltenty
[XCOFF] Don't emit non-external labels in the symbol table and handle MCSA_LGlobal

Summary:
We need to handle the  MCSA_LGlobal case in emitSymbolAttribute for functions marked internal in the IR so that the
appropriate storage class is emitted on the function descriptor csect.  As part of this we need to make sure that external
labels are not emitted into the symbol table, so we don't emit the descriptor label in the object writing path.

Reviewers: jasonliu, DiggerLin, hubert.reinterpretcast

Reviewed By: jasonliu

Subscribers: Xiangling_L, wuzish, nemanjai, hiraditya, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74968
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-internal.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit b26c88e3c6e08f8f78ab4291bc85b5685241f493 by alexfh
[clang-tidy] Store all ranges in clang::tooling::Diagnostic

Summary: Instead of dropping all the ranges associated with a Diagnostic when
converting them to a ClangTidy error, instead attach them to the ClangTidyError,
so they can be consumed by other APIs.

Patch by Joe Turner <joturner@google.com>.
Differential Revision: https://reviews.llvm.org/D69782
The file was modifiedclang/lib/Tooling/Core/Diagnostic.cpp
The file was modifiedclang/unittests/Tooling/DiagnosticsYamlTest.cpp
The file was modifiedclang/include/clang/Tooling/Core/Diagnostic.h
The file was modifiedclang-tools-extra/unittests/clang-apply-replacements/ApplyReplacementsTest.cpp
The file was modifiedclang/include/clang/Tooling/DiagnosticsYaml.h
Commit 01b209679f69cc42e96f05a3c37ba06480094819 by stephen.neuendorffer
[MLIR] add show-dialects option for mlir-opt

Display the list of dialects known to mlir-opt.  This is useful
for ensuring that linkage has happened correctly, for instance.

Differential Revision: https://reviews.llvm.org/D74865
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was addedmlir/test/mlir-opt/commandline.mlir
Commit 9227a74b7e8ff9b9cb5924e03547b940dc06e331 by herhut
[MLIR][Loops] Expose transformations on loop.parallel in header (NFC).

Summary:
This change does not add any functionality but merely exposes existing
static functions to make the associated transformations available
outside of their testing passes.

Differential Revision: https://reviews.llvm.org/D75232
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
The file was addedmlir/include/mlir/Dialect/LoopOps/Transforms.h
Commit 4a966e5dd75160a7df0c7231e4c760a2bb127112 by ntv
[mlir] NFC - Split out RunnerUtils that don't require a C++ runtime

Summary:
This revision split out a new CRunnerUtils library that supports
MLIR execution on targets without a C++ runtime.

Differential Revision: https://reviews.llvm.org/D75257
The file was addedmlir/include/mlir/ExecutionEngine/CRunnerUtils.h
The file was modifiedmlir/include/mlir/ExecutionEngine/RunnerUtils.h
The file was modifiedmlir/test/CMakeLists.txt
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was addedmlir/lib/ExecutionEngine/CRunnerUtils.cpp
The file was modifiedmlir/lib/ExecutionEngine/RunnerUtils.cpp
The file was modifiedmlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir