Changes

Summary

  1. [zorg] Cleanup clang-cmake-{armv7,aarch64}-quick bots (details)
  2. [zorg] Build all targets on Linaro-maintained bots (details)
  3. [zorg] Add AArch64 SVE vector-length-specific (VLS) bots (details)
  4. [zorg] Rename Linaro's AArch64 and ARM bots to use consistent names (details)
  5. [zorg] Remove settings that match defaults from Linaro bots (details)
Commit 3f8251ff00a50c67bc04a500d674bd51bb4d66e8 by maxim.kuvyrkov
[zorg] Cleanup clang-cmake-{armv7,aarch64}-quick bots

Run "ninja check" for armv7 bot and don't pretend we run
LNT testsuite for the aarch64 bot.

Reviewed By: rovka, DavidSpickett

Differential Revision: https://reviews.llvm.org/D103468
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 986da61015dc684d43a1c3b1849726c72fcf1592 by maxim.kuvyrkov
[zorg] Build all targets on Linaro-maintained bots

... not just AArch64 and ARM.  Make an exception for the quick
bots, which build a single target.

Reviewed By: rovka, zatrazz

Differential Revision: https://reviews.llvm.org/D103469
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 2f6844e02cae962a4dd6ddf2f4ef279900e77fa6 by maxim.kuvyrkov
[zorg] Add AArch64 SVE vector-length-specific (VLS) bots

We add 1-stage bot that tests SVE support by building/running testsuite,
and 2-stage bot that additionally builds 2nd stage compiler with SVE.

Reviewed By: rovka

Differential Revision: https://reviews.llvm.org/D103470
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
Commit 89bc08fea5e20fdf8fb18c19c48f0046499f20b5 by maxim.kuvyrkov
[zorg] Rename Linaro's AArch64 and ARM bots to use consistent names

This will simplify Linaro's buildbot maintenance scripts.  We also
remove now-unused AArch64 and ARM libcxx workers, since these have
been migrated to buildkite a few months ago.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D103957
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
Commit 7b33ebd712c3a7d5d80f247bbc4ff844dc541304 by maxim.kuvyrkov
[zorg] Remove settings that match defaults from Linaro bots

Remove from arguments of ClangBuilder.getClangCMakeBuildFactory
- checkout_compiler_rt=True
- checkout_lld=True
- test=True
- useTwoStage=False
- testStage1=True
All these are defaults anyway.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D103963
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [VP] Binary floating-point intrinsics. (details)
  2. [flang] Add initial implementation for CPU_TIME (details)
  3. [llvm] remove Sequence::asSmallVector() (details)
  4. [clang][deps] NFC: Preserve the original frontend action (details)
  5. [libc] Add a set of elementary operations (details)
  6. [clang][modules][pch] Allow loading PCH with different modules cache path (details)
  7. Reland "[lldb] Set return status to failed when adding a command error" (details)
  8. [lldb] Add missing changes to a2363c0cf9b6a9a81c76ac652da667f73845d38b (details)
  9. [clang][deps] Handle precompiled headers' AST files (details)
  10. Revert "[libc] Add a set of elementary operations" (details)
  11. [lldb] Correct "else if" to "elif" in TestRegisters (details)
  12. [flang] Add POSIX implementation for CPU_TIME (details)
  13. Fix -Wswitch warning after 092c303955cd18be6c0b923b1c0a1b96e2c91893. (details)
  14. [clang][deps] Handle modular dependencies present in PCH (details)
  15. [Analyzer][solver] Simplify existing eq classes and constraints when a new constraint is added (details)
  16. [clang][deps] Move stripping of diagnostic serialization from `clang-scan-deps` to `DependencyScanning` library (details)
  17. [clang][deps] Move invocation adjustments from `clang-scan-deps` to `DependencyScanning` library (details)
  18. [clang][deps] Move injection of `-Wno-error` from `clang-scan-deps` to `DependencyScanning` library (details)
  19. [clang][deps] Move enabling system header deps from `clang-scan-deps` to `DependencyScanning` library (details)
  20. [VPlan] Add additional tests for region merging. (details)
  21. [clang][deps] Fix failing modules.cpp test (details)
  22. [lldb][docs] Document SBType (details)
  23. [clang][deps] NFC: Check the correct context hashes in tests (details)
  24. [clang][deps] Prevent unintended modifications of the original TU command-line (details)
  25. Revert "[lldb] Set return status to failed when adding a command error" (and fixups) (details)
  26. [libc++] Refactor the tests for std::prev, next and advance (details)
  27. [MLIR][NFC] Rename MemRefDataFlow -> AffineScalarReplacement (details)
  28. [clang][deps] NFC: Fix an XFAIL test on Windows (details)
  29. [libc++] NFC: More refactoring in the prev/next/advance tests per review comments (details)
  30. Intrinsic::getName: require a Module argument (details)
  31. [clang][deps] NFC: Handle `DependencyOutputOptions` only once (details)
  32. [clang][deps] NFC: Stop using moved-from object (details)
  33. [DAGCombine] reduceBuildVecToShuffle(): sort input vectors by decreasing size (details)
  34. [NFC][DAGCombine] Extract getFirstIndexOf() lambda back into a function (details)
  35. Reland "[lldb] Set return status to failed when adding a command error" (details)
  36. [flang] Fix compilation problem with rename of "MemRefDataFlow" (details)
  37. Add AutomaticAllocationScope to memref.alloca_scope (details)
  38. [libc++] [test] No longer rely on std::hash<T>::argument_type. (details)
  39. [lldb][docs] Fix section name for InputReaderGranularity (details)
  40. [lldb][docs] Add the missing rst anchors to the Python enum docs (details)
  41. [libcxx][ranges] Implement views::all. (details)
  42. [gn build] Port c820b494d6e1 (details)
  43. Revert "[clang] NRVO: Improvements and handling of more cases." (details)
  44. [AArch64] Improve SAD pattern (details)
  45. [ADT] Use unnamed argument for unused arg in StringMapEntryStorage. (details)
  46. [AIX][XCOFF] emit vector info of traceback table. (details)
  47. SelectionDAG: repair the Windows build (details)
  48. [VectorCombine] Limit scalarization to non-poison indices for now. (details)
  49. [mlir] Mark gpu dialect illegal in gpu-to-llvm conversion (details)
  50. [LoopDeletion] Add test with irreducible control flow in loop. (details)
  51. [InstCombine] add tests for logical and/or with not ops; NFC (details)
  52. [InstCombine] add DeMorgan folds for logical ops in select form (details)
  53. [Verifier] Parallelize verification and dom checking.  NFC. (details)
  54. [flang] Move buffer runtime test to GTest (details)
  55. [RISCV] Transform unaligned RVV vector loads/stores to aligned ones (details)
  56. [Clang] Test case for -Wunused-but-set-variable, warn for volatile. (details)
  57. [CSSPGO] Aggregation by the last K context frames for cold profiles (details)
  58. [OpenMP] Fix C-only clang assert on parsing use_allocator clause of target directive (details)
  59. [lld-macho] Reword comment for clarity (details)
  60. [lld-macho] Fix "shift exponent too large" UBSAN error (details)
  61. [OpaquePtr] Remove existing support for forward compatibility (details)
  62. [NFC] Remove unused variable (details)
  63. [docs][OpaquePtr] Shuffle around the transition plan section (details)
  64. X86: pass swift_async context in R14 on Win64 (details)
  65. Remove accidentally added debugging code from D103135 (details)
  66. [mlir:Linalg] Populate LinalgOp patterns on LinalgDialect as opposed to each op (details)
  67. Move some code under NDEBUG from D103135 (details)
  68. [PassManager] Save compile time by not running the verifier unnecessarily. NFC (details)
  69. [OPENMP][C++20]Add support for CXXRewrittenBinaryOperator in ranged for loops. (details)
  70. [libc++] Clean up scripts to setup CI on macOS (details)
  71. [libc++abi] NFC: avoid a -Wunused-parameter warning (details)
  72. [AMDGPU] Limit runs of fixLdsBranchVmemWARHazard (details)
  73. [mlir][Linalg] Make printer/parser have the same behavior. (details)
  74. Adding some of the documents for C11. (details)
  75. [TLI] SimplifyDemandedVectorElts(): handle SCALAR_TO_VECTOR(EXTRACT_VECTOR_ELT(?, 0)) (details)
  76. [dfsan] Add stack-trace printing functions to dfsan interface (details)
  77. Allow signposts to take advantage of deferred string substitution (details)
  78. [HWASan] Enable globals support for LAM. (details)
  79. [libc] Add hardware implementations of x86_64 sqrt functions. (details)
  80. [Hexagon] Add HVX and control register names to Hexagon target (details)
  81. Revert "Allow signposts to take advantage of deferred string substitution" (details)
  82. [SVE][LSR] Teach LSR to enable simple scaled-index addressing mode generation for SVE. (details)
  83. Allow signposts to take advantage of deferred string substitution (details)
  84. Remove redundant environment variable XLA_FLAGS. (details)
  85. [compiler-rt][hwasan] Add newline between record_addr lines on frame record dumps (details)
  86. [mlir:OpFormatGen] Add Support for `$_ctxt` in the transformer. (details)
  87. [NFC][sanitizer] clang-format some code (details)
  88. [PowerPC] Export 16 byte load-store instructions (details)
  89. [lld][MachO] Add support for LC_DATA_IN_CODE (details)
  90. [libc++][ci] Enable modules in the Runtimes build (details)
  91. Do not merge LocalInstantiationScope for template specialization (details)
  92. [lld][MachO] Fix UB after D103006 (details)
  93. [NFC][hwasan] Fix "implicitly declaring library function" (details)
Commit 74d45b884cfb13d8530a64ba538817bdab165c12 by simon.moll
[VP] Binary floating-point intrinsics.

This patch implements vector-predicated intrinsics on IR level for fadd,
fsub, fmul, fdiv and frem.  There operate in the default floating-point
environment. We will use constrained fp operand bundles for constrained
vector-predicated fp math (D93455).

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D93470
The file was modifiedllvm/unittests/IR/VPIntrinsicTest.cpp
The file was modifiedllvm/test/Verifier/vp-intrinsics.ll
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/VPIntrinsics.def
Commit 57e85622bbdb2eb18cc03df2ea457019c58f6912 by diana.picus
[flang] Add initial implementation for CPU_TIME

Add an implementation for CPU_TIME based on std::clock(), which should
be available on all the platforms that we support.

Also add a test that's basically just a sanity check to make sure we
return positive values and that the value returned at the start of some
amount of work is larger than the one returned after the end.

Differential Revision: https://reviews.llvm.org/D104019
The file was addedflang/runtime/time-intrinsic.cpp
The file was addedflang/unittests/RuntimeGTest/Time.cpp
The file was modifiedflang/unittests/RuntimeGTest/CMakeLists.txt
The file was modifiedflang/runtime/CMakeLists.txt
Commit 1d49e5352f9538bb9c514dd627a93f9c40982d3a by gchatelet
[llvm] remove Sequence::asSmallVector()

There's no need for `toSmallVector()` as `SmallVector.h` already provides a `to_vector` free function that takes a range.

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D104024
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
The file was modifiedllvm/include/llvm/ADT/Sequence.h
Commit 669771cfe75b48ac4c195ce9e8824319be973f4d by Jan Svoboda
[clang][deps] NFC: Preserve the original frontend action

This patch stops adjusting the frontend action when `clang-scan-deps` is configured to use the full output format.

In a future patch, the dependency scanner needs to check whether the original compiler invocation builds a PCH. That's impossible when `-Eonly` et al. override `-emit-pch`.

The `-Eonly` flag is not needed - the dependency scanner explicitly sets up its own frontend action anyways.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D103461
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
Commit e63f27a3cf8129cb66b8350ad50bf19633554a6b by gchatelet
[libc] Add a set of elementary operations

Each of these elementary operations can be assembled to support higher order constructs (Overlapping access, Loop, Aligned Loop).
The patch does not compile yet as it depends on other ones (D100571, D100631) but it allows to get the conversation started.

Differential Revision: https://reviews.llvm.org/D100646
The file was addedlibc/test/src/string/memory_utils/elements_test.cpp
The file was modifiedlibc/src/string/memory_utils/CMakeLists.txt
The file was modifiedlibc/src/string/aarch64/memcpy.cpp
The file was modifiedlibc/src/string/CMakeLists.txt
The file was modifiedlibc/src/string/x86_64/memcpy.cpp
The file was addedlibc/src/string/memory_utils/elements.h
The file was addedlibc/src/string/memory_utils/elements_x86.h
The file was removedlibc/test/src/string/memory_utils/memcpy_utils_test.cpp
The file was removedlibc/src/string/memory_utils/memcpy_utils.h
The file was modifiedlibc/src/string/memcpy.cpp
The file was modifiedlibc/src/string/memory_utils/memset_utils.h
The file was modifiedlibc/test/src/string/memory_utils/CMakeLists.txt
The file was addedlibc/test/src/string/memory_utils/memory_access_test.cpp
Commit 78668c822af9504f77a554f5924e1097365d9c33 by Jan Svoboda
[clang][modules][pch] Allow loading PCH with different modules cache path

It's useful to be able to load explicitly-built PCH files into an implicit build (e.g. during dependency scanning). That's currently impossible, since the explicitly-built PCH has an empty modules cache path, while the current compilation has (and needs to have) a valid path, triggering an error in the `PCHValidator`.

This patch adds a preprocessor option and command-line flag that can be used to omit this check.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D103802
The file was addedclang/test/Modules/module-pch-different-cache-path.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/Modules/Inputs/pch-typedef.h
The file was modifiedclang/include/clang/Lex/PreprocessorOptions.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit a2363c0cf9b6a9a81c76ac652da667f73845d38b by david.spickett
Reland "[lldb] Set return status to failed when adding a command error"

This reverts commit db93e4e70aa453e5ba04ba0d9e01f581882b6c81.

This modifies TestRegsters.py to account for Darwin showing
AVX registers as part of "Floating Point Registers" instead
of in a separate "Advanced Vector Extensions" category.
The file was addedlldb/test/Shell/Commands/command-backtrace-parser-2.test
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/source/Interpreter/CommandReturnObject.cpp
The file was removedlldb/test/Shell/Commands/command-backtrace.test
The file was addedlldb/test/Shell/Commands/command-backtrace-parser-1.test
Commit 0f94d68a2e15d50796439f20bcb508b95931d2ae by david.spickett
[lldb] Add missing changes to a2363c0cf9b6a9a81c76ac652da667f73845d38b

Completely forgot to actually update the change before relanding it.
This adds the Darwin AVX changes.
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
Commit 9223209be11e93c1b701054c6fff88d46ee54658 by Jan Svoboda
[clang][deps] Handle precompiled headers' AST files

The `PreprocessOnlyAction` doesn't support loading the AST file of a precompiled header. This is problematic for dependency scanning, since the `#include` manufactured for the PCH is treated as textual. This means the PCH contents get scanned with each TU, which is redundant. Moreover, dependencies of the PCH end up being considered dependency of the TU.

To handle AST file of PCH properly, this patch creates new `FrontendAction` that behaves the same way `PreprocessorOnlyAction` does, but treats the manufactured PCH `#include` as a normal compilation would (by not claiming it only uses a preprocessor and creating the default AST consumer).

The AST file is now reported as a file dependency of the TU.

Depends on D103519.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D103524
The file was modifiedclang/test/ClangScanDeps/modules-pch.c
The file was modifiedclang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
The file was modifiedclang/include/clang/Frontend/FrontendActions.h
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
Commit ab45c1f21f63bfd0acb9e27a626ab33659918868 by gchatelet
Revert "[libc] Add a set of elementary operations"

This reverts commit e63f27a3cf8129cb66b8350ad50bf19633554a6b.
The file was removedlibc/test/src/string/memory_utils/elements_test.cpp
The file was modifiedlibc/src/string/memory_utils/CMakeLists.txt
The file was addedlibc/src/string/memory_utils/memcpy_utils.h
The file was modifiedlibc/src/string/memory_utils/memset_utils.h
The file was modifiedlibc/test/src/string/memory_utils/CMakeLists.txt
The file was removedlibc/test/src/string/memory_utils/memory_access_test.cpp
The file was removedlibc/src/string/memory_utils/elements_x86.h
The file was removedlibc/src/string/memory_utils/elements.h
The file was modifiedlibc/src/string/aarch64/memcpy.cpp
The file was modifiedlibc/src/string/memcpy.cpp
The file was modifiedlibc/src/string/x86_64/memcpy.cpp
The file was addedlibc/test/src/string/memory_utils/memcpy_utils_test.cpp
The file was modifiedlibc/src/string/CMakeLists.txt
Commit f583029da3d6dbabe82f48b160227eb0120abd33 by david.spickett
[lldb] Correct "else if" to "elif" in TestRegisters
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
Commit 166192eb78cdeb41ee25a37e920259fb13f82f6a by diana.picus
[flang] Add POSIX implementation for CPU_TIME

Add an implementation for CPU_TIME using the POSIX function
clock_gettime. I think on most POSIX systems this will be included for
free via <ctime>, which corresponds to "time.h" (YMMV, we can fix the
code if the need arises).

Detecting that clock_gettime is available is tricky. For instance, commit
827407a86aa07 used the following incantation in f18-parse-demo.cpp:

  #if _POSIX_C_SOURCE >= 199309L && _POSIX_TIMERS > 0 && _POSIX_CPUTIME && \
    defined CLOCK_PROCESS_CPUTIME_ID

This doesn't work on my AArch64 Ubuntu system, which provides
clock_gettime but doesn't define _POSIX_TIMERS. Since finding the right
combination of macros requires infinite time, patience and access to
sundry POSIX systems, we should probably try a different approach.

This patch attempts to use SFINAE instead of the preprocessor to choose
an implementation for CPU_TIME. We define a helper function template
which helps us check if clock_gettime is available (and has the
interface we expect). I hope the comments explain it well enough.

This approach has the advantage that it keeps the detection of
clock_gettime close to the code that uses it. An alternative would be to
use CMake to check for the symbol (I personally haven't used this before
so I don't know if there are any quirks).

Differential Revision: https://reviews.llvm.org/D104020
The file was modifiedflang/runtime/time-intrinsic.cpp
Commit a83ef21ff82e4283044fd31470fc6c1bc4b99c51 by hokein.wu
Fix -Wswitch warning after 092c303955cd18be6c0b923b1c0a1b96e2c91893.
The file was modifiedclang/lib/Basic/Targets/X86.cpp
Commit 4629554f0b664c94ada7c44fe40855d7a9a39820 by Jan Svoboda
[clang][deps] Handle modular dependencies present in PCH

When a translation unit uses a PCH and imports the same modules as the PCH, we'd prefer to resolve to those modules instead of inventing new modules and reporting them as modular dependencies. Since the PCH modules have already been built nudge the compiler to reuse them when deciding whether to build a new module and don't report them as regular modular dependencies.

Depends on D103524 & D103802.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D103526
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/cdb_pch.json
The file was modifiedclang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/mod_common_1.h
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/tu_with_common.c
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/mod_tu_with_common.h
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/mod_common_2.h
The file was modifiedclang/test/ClangScanDeps/Inputs/modules-pch/pch.h
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/cdb_tu_with_common.json
The file was addedclang/test/ClangScanDeps/Inputs/modules-pch/mod_pch.h
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
The file was modifiedclang/test/ClangScanDeps/modules-pch.c
The file was modifiedclang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
The file was modifiedclang/test/ClangScanDeps/Inputs/modules-pch/module.modulemap
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Commit 8ddbb442b6e87efc9c6599280740c6f4fc40963d by gabor.marton
[Analyzer][solver] Simplify existing eq classes and constraints when a new constraint is added

Update `setConstraint` to simplify existing equivalence classes when a
new constraint is added. In this patch we iterate over all existing
equivalence classes and constraints and try to simplfy them with
simplifySVal. This solves problematic cases where we have two symbols in
the tree, e.g.:
```
int test_rhs_further_constrained(int x, int y) {
  if (x + y != 0)
    return 0;
  if (y != 0)
    return 0;
  clang_analyzer_eval(x + y == 0); // expected-warning{{TRUE}}
  clang_analyzer_eval(y == 0);     // expected-warning{{TRUE}}
  return 0;
}
```

Differential Revision: https://reviews.llvm.org/D103314
The file was addedclang/test/Analysis/find-binop-constraints.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
Commit 35fa3e60d1612dcc4f8e233b046423d948ca9a9b by Jan Svoboda
[clang][deps] Move stripping of diagnostic serialization from `clang-scan-deps` to `DependencyScanning` library

To prevent the creation of diagnostics file, `clang-scan-deps` strips the corresponding command-line argument. This behavior is useful even when using the C++ `DependencyScanner` library.

This patch transforms stripping of command-line in `clang-scan-deps` into stripping of `CompilerInvocation` in `DependencyScanning`.

AFAIK, the `clang-cl` driver doesn't even accept `--serialize-diagnostics`, so I've removed the test. (It would fail with an unknown command-line argument otherwise.)

Note: Since we're generating command-lines for modular dependencies from `CompilerInvocation`, the `--serialize-diagnostics` will be dropped. This was already happening in `clang-scan-deps` before this patch, but it will now happen also when using `DependencyScanning` library directly. This is resolved in D104036.

Reviewed By: dexonsmith, arphaman

Differential Revision: https://reviews.llvm.org/D104012
The file was modifiedclang/include/clang/Tooling/ArgumentsAdjusters.h
The file was modifiedclang/test/ClangScanDeps/Inputs/strip_diag_serialize.json
The file was modifiedclang/test/ClangScanDeps/strip_diag_serialize.cpp
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/lib/Tooling/ArgumentsAdjusters.cpp
Commit d8bab69ead22a10dc4cdb2e36f6ea6fdfe774e2e by Jan Svoboda
[clang][deps] Move invocation adjustments from `clang-scan-deps` to `DependencyScanning` library

The `clang-scan-deps` tool has some logic that parses and modifies the original Clang command-line. The goal is to setup `DependencyOutputOptions` by injecting `-M -MT <target>` and prevent the creation of output files.

This patch moves the logic into the `DependencyScanning` library, and uses the parsed `CompilerInvocation` instead of the raw command-line. The code simpler and can be used from the C++ API as well.

The `-o /dev/null` arguments are not necessary, since the `DependencyScanning` library only runs a preprocessing action, so there's no way it'll produce an actual object file.

Related: The `-M` argument implies `-w`, which would appear on the command-line of modular dependencies even though it was not on the original TU command line (see D104036).

Some related tests were updated.

Reviewed By: arphaman

Differential Revision: https://reviews.llvm.org/D104030
The file was modifiedclang/test/ClangScanDeps/regular_cdb.cpp
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was modifiedclang/test/ClangScanDeps/modules.cpp
The file was modifiedclang/test/ClangScanDeps/modules-pch.c
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Commit cf7d9704688db746b26d739a6e154ad54b6b676e by Jan Svoboda
[clang][deps] Move injection of `-Wno-error` from `clang-scan-deps` to `DependencyScanning` library

This moves another piece of logic specific to `clang-scan-deps` into the `DependencyScanning` library. This makes it easier to check how the original command-line looked like in the library and will enable the library to stop inventing `-Wno-error` for modular dependencies (see D104036).

Reviewed By: arphaman

Differential Revision: https://reviews.llvm.org/D104031
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Commit 6c6dcfc4ce750bb7dc15d0a4ad631c66beed70d4 by Jan Svoboda
[clang][deps] Move enabling system header deps from `clang-scan-deps` to `DependencyScanning` library

This patch moves enabling system header deps from `clang-scan-deps` into the `DependencyScanning` library. This will make it easier to preserve semantics of the original TU command-line for modular dependencies (see D104036).

Reviewed By: arphaman

Differential Revision: https://reviews.llvm.org/D104033
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Commit 9e77526d467340ba4486a471c9ef3f7c859f2b60 by flo
[VPlan] Add additional tests for region merging.

Add additional tests suggested in D100260.

Also drop the unneeded `indvars.` prefix from induction phi name.
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
Commit 1d8882b5e44e577f226b7a5a83c27df3b16b3ab6 by Jan Svoboda
[clang][deps] Fix failing modules.cpp test

Commit d8bab69ead22a10dc4cdb2e36f6ea6fdfe774e2e updated the ClangScanDeps/modules.cpp test. The new `{{.*}}` regex is supposed to only match `modules_cdb_input.o`, `a.o` or `b.o`. However, due to non-determinism, this can sometimes also match `modules_cdb_input2.o`, causing match failure on the next line. This commit changes the regex to only match one of the three valid cases.

Buildbot failure: https://lab.llvm.org/buildbot/#/builders/109/builds/16675
The file was modifiedclang/test/ClangScanDeps/modules.cpp
Commit 11e2922bb7adbbca17c3a0f44779aa87dbc64b42 by Raphael Isemann
[lldb][docs] Document SBType

This documents the behaviour of the different SBType functions with notes for
the language-specific behaviour for C/C++/Objective-C. All of this reflects the
current behaviour of LLDB (even though that also means some functions behave
kinda weird but at least they are now documented to be weird)

Reviewed By: #lldb, mib

Differential Revision: https://reviews.llvm.org/D103454
The file was modifiedlldb/bindings/interface/SBType.i
Commit 41115efca642981c2165cdf9ef2b2148605faa12 by Jan Svoboda
[clang][deps] NFC: Check the correct context hashes in tests

The `clang-scan-deps` tests for the full output format were written under the assumption that most TUs/modules have the same context hash. This is no longer true, since we're changing the original compilation options. This patch updates the tests, which no longer conflate multiple context hashes into a single FileCheck variable.
The file was modifiedclang/test/ClangScanDeps/modules-full.cpp
The file was modifiedclang/test/ClangScanDeps/modules-inferred.m
Commit 80c0c639687ef52f5c432ea059ff9cb53125d08e by Jan Svoboda
[clang][deps] Prevent unintended modifications of the original TU command-line

One of the goals of the dependency scanner is to generate command-lines that can be used to explicitly build modular dependencies of a translation unit. The only modifications to these command-lines should be for the purposes of explicit modular build.

However, the current version of dependency scanner leaks its implementation details into the command-lines.

The first problem is that the `clang-scan-deps` tool adjusts the original textual command-line (adding `-Eonly -M -MT <target> -sys-header-deps -Wno-error -o /dev/null `, removing `--serialize-diagnostics`) in order to set up the `DependencyScanning` library. This has been addressed in D103461, D104012, D104030, D104031, D104033. With these patches, the `DependencyScanning` library receives the unmodified `CompilerInvocation`, sets it up and uses it for the implicit modular build.

Finally, to prevent leaking the implementation details to the resulting command-lines, this patch generates them from the **original** unmodified `CompilerInvocation` rather than from the one that drives the implicit build.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D104036
The file was addedclang/test/ClangScanDeps/preserved-args.c
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
The file was addedclang/test/ClangScanDeps/Inputs/preserved-args/cdb.json.template
The file was addedclang/test/ClangScanDeps/Inputs/preserved-args/mod.h
The file was addedclang/test/ClangScanDeps/Inputs/preserved-args/tu.c
The file was modifiedclang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
The file was addedclang/test/ClangScanDeps/Inputs/preserved-args/module.modulemap
Commit ac031c8db2ce454a9b08f23192ce698e8bde4447 by david.spickett
Revert "[lldb] Set return status to failed when adding a command error" (and fixups)

This reverts commit f583029da3d6dbabe82f48b160227eb0120abd33,
0f94d68a2e15d50796439f20bcb508b95931d2ae and
a2363c0cf9b6a9a81c76ac652da667f73845d38b.

Due to test failures from incorrect SB API usage.
The file was removedlldb/test/Shell/Commands/command-backtrace-parser-1.test
The file was removedlldb/test/Shell/Commands/command-backtrace-parser-2.test
The file was addedlldb/test/Shell/Commands/command-backtrace.test
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/source/Interpreter/CommandReturnObject.cpp
Commit 8e93aa304b3fbe57bb7d22f63681f1b9758e63a9 by Louis Dionne
[libc++] Refactor the tests for std::prev, next and advance

This started as an attempt to fix a GCC 11 warning of misplaced parentheses.
I then noticed that trying to fix the parentheses warning actually triggered
errors in the tests, showing that we were incorrectly assuming that the
implementation of ranges::advance was using operator+= or operator-=.

This commit fixes that issue and makes the tests easier to follow by
localizing the assertions it makes.

Differential Revision: https://reviews.llvm.org/D103272
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator_count_sentinel.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/special_function.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator.pass.cpp
The file was modifiedlibcxx/test/support/test_iterators.h
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator_count.pass.cpp
The file was removedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/advance.pass.cpp
The file was removedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.verify.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/constraints.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp
The file was removedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/check_round_trip.h
The file was removedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/constraints.verify.cpp
The file was modifiedlibcxx/include/__iterator/advance.h
The file was removedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/check_round_trip.h
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp
Commit 88e4aae57d4deabf55de534e1d3e0794739f4be6 by uday
[MLIR][NFC] Rename MemRefDataFlow -> AffineScalarReplacement

NFC. Rename MemRefDataFlow -> AffineScalarReplacement and move to
AffineTransforms library. Pass command line rename: -memref-dataflow-opt
-> affine-scalrep. Update outdated pass documentation.

Rationale:
https://llvm.discourse.group/t/move-and-rename-memref-dataflow-opt-lib-transforms-lib-affine-dialect-transforms/3640

Differential Revision: https://reviews.llvm.org/D104190
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.h
The file was modifiedmlir/include/mlir/Transforms/Passes.h
The file was modifiedmlir/examples/toy/Ch5/toyc.cpp
The file was modifiedmlir/examples/toy/Ch6/toyc.cpp
The file was removedmlir/test/Transforms/memref-dataflow-opt.mlir
The file was modifiedmlir/examples/toy/Ch7/toyc.cpp
The file was addedmlir/test/Dialect/Affine/scalrep.mlir
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was removedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.td
The file was addedmlir/lib/Dialect/Affine/Transforms/AffineScalarReplacement.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
Commit f39dcf85f994b464946cd6702bbceadc518ce904 by Jan Svoboda
[clang][deps] NFC: Fix an XFAIL test on Windows

The `sed` command ensures Windows-specific path separators (single and double backslashes) are replaced by forward slashes in the output file. FileCheck can continue using forward slashes in paths this way.
The file was modifiedclang/test/ClangScanDeps/modules-full.cpp
Commit 9f967eed89e66e39909c59ec0246dc2877d75f51 by Louis Dionne
[libc++] NFC: More refactoring in the prev/next/advance tests per review comments
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp
The file was modifiedlibcxx/test/support/test_iterators.h
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/constraints.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator_count.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator_count_sentinel.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp
Commit bb8ce25e88218be60d2a4ea9c9b0b721809eff27 by jeroen.dobbelaere
Intrinsic::getName: require a Module argument

Ensure that we provide a `Module` when checking if a rename of an intrinsic is necessary.

This fixes the issue that was detected by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32288
(as mentioned by @fhahn), after committing D91250.

Note that the `LLVMIntrinsicCopyOverloadedName` is being deprecated in favor of `LLVMIntrinsicCopyOverloadedName2`.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D99173
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedllvm/test/Assembler/auto_upgrade_intrinsics.ll
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/include/llvm/IR/Intrinsics.h
The file was modifiedllvm/lib/CodeGen/ReplaceWithVeclib.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/include/llvm-c/Core.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/IR/Function.cpp
Commit f95ff81627212a8db9f942aafa91392096538847 by Jan Svoboda
[clang][deps] NFC: Handle `DependencyOutputOptions` only once

There's no need to pass `DependencyOutputOptions` to each call of `handleFileDependency`, since the options don't ever change.

This patch adds new `handleDependencyOutputOpts` method to the `DependencyConsumer` interface and the dependency scanner uses it to report the options only once.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D104104
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
The file was modifiedclang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
Commit 85208b96b85f6f3e502cf4b7fd5f440434d1c7e5 by Jan Svoboda
[clang][deps] NFC: Stop using moved-from object

The dependency scanning worker uses `std::move` to "reset" `DependencyOutputOptions` in the `CompilerInstance` that performs the implicit build. It's probably preferable to replace the object with value-initialized instance, rather than depending on the behavior of a moved-from object.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D104106
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Commit 6e5628354e22f3ca40b04295bac540843b8e6482 by lebedev.ri
[DAGCombine] reduceBuildVecToShuffle(): sort input vectors by decreasing size

The sorting, obviously, must be stable, else we will have random assembly fluctuations.

Apparently there was no test coverage that would benefit from that,
so i've added one test.

The sorting consists of two parts - just sort the input vectors,
and recompute the shuffle mask -> input vector mapping.
I don't believe we need to do anything else.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D104187
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/oddshuffles.ll
Commit 0f94c3c80dde666f369ef98057ac943e869c3d52 by lebedev.ri
[NFC][DAGCombine] Extract getFirstIndexOf() lambda back into a function

Not all supported compilers like such lambdas, at least one buildbot is unhappy.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 31b9acaec5797e409afb83d665fc8816d8a37940 by david.spickett
Reland "[lldb] Set return status to failed when adding a command error"

This reverts commit ac031c8db2ce454a9b08f23192ce698e8bde4447.

SB API usage has been corrected.
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/source/Interpreter/CommandReturnObject.cpp
The file was addedlldb/test/Shell/Commands/command-backtrace-parser-1.test
The file was removedlldb/test/Shell/Commands/command-backtrace.test
The file was addedlldb/test/Shell/Commands/command-backtrace-parser-2.test
Commit b88fa0e39fa7b8906562b7044d06bba094c8b688 by psteinfeld
[flang] Fix compilation problem with rename of "MemRefDataFlow"

Revision https://reviews.llvm.org/D104190 renamed MemRefDataFlow -> AffineScalarReplacement.  After this rename, mlir failed to build.  With this change, all of clang, mlir, and flang build and test correctly.

Differential Revision: https://reviews.llvm.org/D104223
The file was modifiedflang/include/flang/Optimizer/Support/InitFIR.h
Commit c83e696732fd906297d83a98dee044f1173be355 by zinenko
Add AutomaticAllocationScope to memref.alloca_scope

This change adds `AutomaticAllocationScope` to the
memref.alloca_scope op. Additionally, it also clarifies
that alloca_scope is is conceptually a passthrough operation.

Reviewed By: ftynse, bondhugula

Differential Revision: https://reviews.llvm.org/D104227
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
Commit bbd717b9a3b22c6cba1535018dae2ebcee95fc9b by arthur.j.odwyer
[libc++] [test] No longer rely on std::hash<T>::argument_type.

Differential Revision: https://reviews.llvm.org/D104166
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/size.compile.fail.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.swap/swap_non_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/assign_init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/assign_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/copy_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/init_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/copy_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.compile.fail.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_non_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/assign_move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/range_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/swap_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/range_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/swap_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.compile.fail.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.swap/swap_non_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/swap_member.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/size.compile.fail.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal_allocator.pass.cpp
The file was modifiedlibcxx/test/std/containers/test_hash.h
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/init_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_move.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/move_alloc.pass.cpp
Commit e3d5e3193fd5a202a58652d28115f71d0a04a479 by Raphael Isemann
[lldb][docs] Fix section name for InputReaderGranularity
The file was modifiedlldb/docs/python_api_enums.rst
Commit d94ce1a391cbc85dab13ac6b6c4afbaef7684eec by Raphael Isemann
[lldb][docs] Add the missing rst anchors to the Python enum docs
The file was modifiedlldb/docs/python_api_enums.rst
Commit c820b494d6e13c255cd89d77e66d911468e3a95d by zoecarver
[libcxx][ranges] Implement views::all.

Differential Revision: https://reviews.llvm.org/D102028
The file was modifiedlibcxx/include/ranges
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/__ranges/size.h
The file was addedlibcxx/test/std/ranges/range.adaptors/range.all.pass.cpp
The file was addedlibcxx/include/__ranges/all.h
Commit bfd451a0ca9bc6cd448c39bcf6fb06e1c1742637 by llvmgnsyncbot
[gn build] Port c820b494d6e1
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit c60dd3b2626a4d9eefd9f82f9a406b0d28d3fd72 by hans
Revert "[clang] NRVO: Improvements and handling of more cases."

This change caused build errors related to move-only __block variables,
see discussion on https://reviews.llvm.org/D99696

> This expands NRVO propagation for more cases:
>
> Parse analysis improvement:
> * Lambdas and Blocks with dependent return type can have their variables
>   marked as NRVO Candidates.
>
> Variable instantiation improvements:
> * Fixes crash when instantiating NRVO variables in Blocks.
> * Functions, Lambdas, and Blocks which have auto return type have their
>   variables' NRVO status propagated. For Blocks with non-auto return type,
>   as a limitation, this propagation does not consider the actual return
>   type.
>
> This also implements exclusion of VarDecls which are references to
> dependent types.
>
> Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
>
> Reviewed By: Quuxplusone
>
> Differential Revision: https://reviews.llvm.org/D99696

This also reverts the follow-on change which was hard to tease apart
form the one above:

> "[clang] Implement P2266 Simpler implicit move"
>
> This Implements [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2266r1.html|P2266 Simpler implicit move]].
>
> Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
>
> Reviewed By: Quuxplusone
>
> Differential Revision: https://reviews.llvm.org/D99005

This reverts commits 1e50c3d785f4563873ab1ce86559f2a1285b5678 and
bf20631782183cd19e0bb7219e908c2bbb01a75f.
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/CXX/drs/dr3xx.cpp
The file was modifiedclang/test/SemaCXX/warn-return-std-move.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaCXX/coroutines.cpp
The file was modifiedclang/test/SemaCXX/deduced-return-type-cxx14.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx14.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/CXX/class/class.init/class.copy.elision/p3.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CXX/temp/temp.decls/temp.mem/p5.cpp
The file was modifiedclang/test/CodeGen/nrvo-tracking.cpp
The file was modifiedclang/test/SemaCXX/coroutine-rvo.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/p4-cxx14.cpp
The file was modifiedclang/test/SemaCXX/return-stack-addr.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
Commit 08ce52ef5e6b879216f8018b920ef5c0621e797d by jingu.kang
[AArch64] Improve SAD pattern

Given a vecreduce_add node, detect the below pattern and convert it to the node
sequence with UABDL, [S|U]ADB and UADDLP.

i32 vecreduce_add(
v16i32 abs(
   v16i32 sub(
    v16i32 [sign|zero]_extend(v16i8 a), v16i32 [sign|zero]_extend(v16i8 b))))
=================>
i32 vecreduce_add(
  v4i32 UADDLP(
    v8i16 add(
      v8i16 zext(
        v8i8 [S|U]ABD low8:v16i8 a, low8:v16i8 b
      v8i16 zext(
        v8i8 [S|U]ABD high8:v16i8 a, high8:v16i8 b

Differential Revision: https://reviews.llvm.org/D104042
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vabs.ll
The file was modifiedllvm/test/CodeGen/AArch64/neon-sad.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
Commit d767d1dd2c7870bf7e1c4c301a59b682370b9a2a by flo
[ADT] Use unnamed argument for unused arg in StringMapEntryStorage.

This silences an 'unsused argument' warning.

Similar to c2006f857d80f54b90ed7d911d3e7acf4f46001b.
The file was modifiedllvm/include/llvm/ADT/StringMapEntry.h
Commit 7ed515d16803f12fc06258ebf8a405931dc8a637 by zhijian
[AIX][XCOFF] emit vector info of traceback table.

Summary:

emit vector info of traceback table.

Reviewers: Jason Liu,Hubert Tong
Differential Revision: https://reviews.llvm.org/D93659
The file was modifiedllvm/test/CodeGen/PowerPC/aix-exception.ll
The file was modifiedllvm/test/DebugInfo/XCOFF/explicit-section.ll
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was modifiedllvm/lib/BinaryFormat/XCOFF.cpp
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
The file was modifiedllvm/unittests/Object/XCOFFObjectFileTest.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
The file was modifiedllvm/lib/CodeGen/MachineRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineRegisterInfo.h
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll
Commit 5b5833b9e092bd6808818615c2e4816995382b55 by Saleem Abdulrasool
SelectionDAG: repair the Windows build

6e5628354e22f3ca40b04295bac540843b8e6482 regressed the Windows build as
the return type no longer matched in both branches for the return value
type deduction.  This uses a bit more compiler magic to deal with that.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 96ca03493ae51def23eb69475fbf1bfae1eb9f2c by flo
[VectorCombine] Limit scalarization to non-poison indices for now.

As Eli mentioned post-commit in D103378, the result of the freeze may
still be out-of-range according to Alive2. So for now, just limit the
transform to indices that are non-poison.
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
Commit abe501f240c6b675b32c9b1e60dd4591a34c4f94 by csigg
[mlir] Mark gpu dialect illegal in gpu-to-llvm conversion

Reviewed By: herhut, bondhugula

Differential Revision: https://reviews.llvm.org/D104208
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
Commit ee9bb258bb76e9c076c19592b3778e2ecc2ff47c by flo
[LoopDeletion] Add test with irreducible control flow in loop.

Currently the irreducible cycles in the loops are ignored. The
irreducible cycle may loop infinitely in
irreducible_subloop_no_mustprogress, which is allowed and the loop
should not be removed.

Discussed in D103382.
The file was addedllvm/test/Transforms/LoopDeletion/loops-with-irreducible-subloops.ll
Commit 56ae4f23b227897361d2a7c84364a6df81f3c327 by spatel
[InstCombine] add tests for logical and/or with not ops; NFC
The file was modifiedllvm/test/Transforms/InstCombine/not.ll
The file was modifiedllvm/test/Transforms/InstCombine/select-and-or.ll
Commit 8591640379ac9175a8a8493126ecf0b44e3bb4af by spatel
[InstCombine] add DeMorgan folds for logical ops in select form

We canonicalized to these select patterns (poison-safe logic)
with D101191, so we need to reduce 'not' ops when possible
as we would with 'and'/'or' instructions.

This is shown in a secondary example in:
https://llvm.org/PR50389

https://alive2.llvm.org/ce/z/BvsESh
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select-and-or.ll
Commit ce77039596a9bfb9f1649455ef4f26aeada2ee8c by clattner
[Verifier] Parallelize verification and dom checking.  NFC.

This changes the outer verification loop to not recurse into
IsolatedFromAbove operations - instead return them up to a place
where a parallel for loop can process them all in parallel.  This
also changes Dominance checking to happen on IsolatedFromAbove
chunks of the region tree, which makes it easy to fold operation
and dominance verification into a single simple parallel regime.

This speeds up firtool in CIRCT from ~40s to 31s on a large
testcase in -verify-each mode (the default).  The .fir parser and
module passes in particular benefit from this - FModule passes
(roughly analogous to function passes) were already running the
verifier in parallel as part of the pass manager.  This allows
the whole-module passes to verify their enclosed functions /
FModules in parallel.

-verify-each mode is still faster (26.3s on the same testcase),
but we do expect the verifier to take *some* time.

Differential Revision: https://reviews.llvm.org/D104207
The file was modifiedmlir/lib/IR/Verifier.cpp
Commit c58cf692f4197bf1f8ea7e0efb95c1afd2d6d81f by ashermancinelli
[flang] Move buffer runtime test to GTest

Move buffer unit test from Runtime directory to RuntimeGtest
directory and use GTest. Test coverage is only maintained.

Differential Revision: https://reviews.llvm.org/D102335
Reviewed By: awarzynski, klausler
The file was removedflang/unittests/Runtime/buffer.cpp
The file was addedflang/unittests/RuntimeGTest/BufferTest.cpp
The file was modifiedflang/unittests/RuntimeGTest/CMakeLists.txt
The file was modifiedflang/unittests/Runtime/CMakeLists.txt
Commit c75e454cb93206833f8cedde1ed5d12ef161e357 by fraser
[RISCV] Transform unaligned RVV vector loads/stores to aligned ones

This patch adds support for loading and storing unaligned vectors via an
equivalently-sized i8 vector type, which has support in the RVV
specification for byte-aligned access.

This offers a more optimal path for handling of unaligned fixed-length
vector accesses, which are currently scalarized. It also prevents
crashing when `LegalizeDAG` sees an unaligned scalable-vector load/store
operation.

Future work could be to investigate loading/storing via the largest
vector element type for the given alignment, in case that would be more
optimal on hardware. For instance, a 4-byte-aligned nxv2i64 vector load
could loaded as nxv4i32 instead of as nxv16i8.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D104032
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/unaligned-loads-stores.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll
Commit 20f7b5f3f9c8ebbbe7bf6648c824b815385d4bf7 by George Burgess IV
[Clang] Test case for -Wunused-but-set-variable, warn for volatile.

Differential Revision: https://reviews.llvm.org/D103623
The file was modifiedclang/test/Sema/warn-unused-but-set-variables.c
Commit 863184dd6920a65dd122603be7e595bc88d89e8b by wlei
[CSSPGO] Aggregation by the last K context frames for cold profiles

This change provides the option to merge and aggregate cold context by the last k frames instead of context-less name. By default K = 1 means the context-less one.

This is for better perf tuning. The more selective merging and trimming will rely on llvm-profgen's preinliner.

Reviewed By: wenlei, hoy

Differential Revision: https://reviews.llvm.org/D104131
The file was modifiedllvm/test/tools/llvm-profgen/merge-cold-profile.test
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.cpp
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
Commit 44f197e94b83d389b59ce6a2a1977f972e6d34e3 by a.bataev
[OpenMP] Fix C-only clang assert on parsing use_allocator clause of target directive

The parser code assumes building with C++ compiler and asserts when using clang (not clang++) on C file. I made the code dependent on input language. This shows up for amdgpu target.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D103899
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/OpenMP/target_uses_allocators.c
Commit e06b9ba48562741357622573d194209fdfb70274 by jezng
[lld-macho] Reword comment for clarity
The file was modifiedlld/MachO/MapFile.cpp
Commit cc17bfe4898de0b57b58103bb629960f89eb4706 by jezng
[lld-macho] Fix "shift exponent too large" UBSAN error

UBSAN seems to have added this check somewhere along the way...

This might also fix the PPC buildbot, which is failing on the same test
The file was modifiedlld/MachO/InputFiles.cpp
Commit 8c5a44901cafa5c848d3f2f2c26a23e6583ed657 by aeubanks
[OpaquePtr] Remove existing support for forward compatibility

It assumes that PointerType will keep having an optional pointee type,
but we'd like to remove the pointee type in PointerType at some point.

I feel like the current implementation could be simplified anyway,
although perhaps I'm underestimating the amount of work needed
throughout BitcodeReader.

We will still need a side table to keep track of pointee types. This
will be reimplemented at some point.

This is essentially a revert of a4771e9d (which doesn't look like it was
reviewed anyway).

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D103135
The file was modifiedllvm/lib/Bitcode/Reader/ValueList.h
The file was modifiedllvm/lib/Bitcode/Reader/ValueList.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit d650ccf6390bb1e4454dd735cfcec9eda9af8ca3 by Vitaly Buka
[NFC] Remove unused variable

To fix 'set but not used' warning on sanitizer-x86_64-linux-android bot.
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
Commit 0e31e22ed973ba542cb15176a202947b2438733a by aeubanks
[docs][OpaquePtr] Shuffle around the transition plan section

Emphasize that this is basically an attempt to remove
``PointerType::getElementType`` and ``Type::getPointerElementType()``.

Add a couple more subtasks.

Differential Revision: https://reviews.llvm.org/D104151
The file was modifiedllvm/docs/OpaquePointers.rst
Commit 8c8dbc10825cf099607af3da58b839e10c68320f by Saleem Abdulrasool
X86: pass swift_async context in R14 on Win64

Pass swift_async context in a callee-saved register rather than as a
regular parameter.  This is similar to the Swift `self` and `error`
parameters.
The file was modifiedllvm/lib/Target/X86/X86CallingConv.td
The file was addedllvm/test/CodeGen/X86/swift-async-reg-win64.ll
Commit 75d3b46ad2dfa7494c9bffa277203b51ff86df38 by aeubanks
Remove accidentally added debugging code from D103135
The file was modifiedllvm/lib/Bitcode/Reader/ValueList.cpp
Commit 66e27082054bf8f106ce63d5cb7d6c67e628feff by riddleriver
[mlir:Linalg] Populate LinalgOp patterns on LinalgDialect as opposed to each op

Interface patterns are unique in that they get added to every operation that also implements that interface, given that they aren't tied to individual operations. When the same interface pattern gets added to multiple operations (such as the current behavior with Linalg), an reference to each of these patterns is added to every op (meaning that an operation will now have N references to effectively the same pattern). This revision fixes this problematic behavior in Linalg, and can bring upwards of a 25% reduction in compile time in Linalg based workloads.

Differential Revision: https://reviews.llvm.org/D104160
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
Commit cc8d32ae7d94c96b9280df40eb3507eae79c7101 by aeubanks
Move some code under NDEBUG from D103135
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit a490ca8e014acac9c2df7bd7f0aff6c7422d850a by clattner
[PassManager] Save compile time by not running the verifier unnecessarily. NFC

This changes the pass manager to not rerun the verifier when a pass says it
didn't change anything or after an OpToOpPassAdaptor, since neither of those
cases need verification (and if the pass lied, then there will be much larger
semantic problems than will be caught by the verifier).

This maintains behavior in EXPENSIVE_CHECKS mode.

Differential Revision: https://reviews.llvm.org/D104243
The file was modifiedmlir/lib/Pass/Pass.cpp
Commit 4e155608796b79d7e369f4e42980ce670bff7172 by a.bataev
[OPENMP][C++20]Add support for CXXRewrittenBinaryOperator in ranged for loops.

Added support for CXXRewrittenBinaryOperator as a condition in ranged
for loops. This is a new kind of expression, need to extend support for
  C++20 constructs.
It fixes PR49970: range-based for compilation fails for libstdc++ vector
with -std=c++20.

Differential Revision: https://reviews.llvm.org/D104240
The file was addedclang/test/OpenMP/for_ast_print_cxx20.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit d9d20802d0ce757d4b33d6bd67d700e3272bc8b6 by Louis Dionne
[libc++] Clean up scripts to setup CI on macOS
The file was modifiedlibcxx/docs/AddingNewCIJobs.rst
The file was removedlibcxx/utils/ci/secrets.env
The file was modifiedlibcxx/utils/ci/macos-ci-setup
Commit ecb68f1c8b11b54dc8c48af9f5fe28c261090aba by xingxue
[libc++abi] NFC: avoid a -Wunused-parameter warning

Summary:
A -Wunused-parameter warning was introduced by patch rG7f0244afa828 [libc++abi] NFC: adding a new parameter base to functions for calculating… (authored by xingxue). The unused parameter base will be used in a follow-on patch D101298. This patch is to avoid the warning before D101298 is landed.

Reviewers: ldionne, sfertile, compnerd, libc++abi

Reviewed by: ldionne

Differential Revision: https://reviews.llvm.org/D104235
The file was modifiedlibcxxabi/src/cxa_personality.cpp
Commit e0c382a9d5a0e2689b97186736ebc82e17c5f822 by Piotr Sobczak
[AMDGPU] Limit runs of fixLdsBranchVmemWARHazard

The code in fixLdsBranchVmemWARHazard looks for patterns of a vmem/lds
access followed by a branch, followed by an lds/vmem access.

The handling of the hazard requires an arbitrary number of instructions
to process. In the worst case where a function has a vmem access, but no lds
accesses, all instructions are examined only to conclude that the hazard
cannot occur.

Add the pre-processing stage which detects if there is both lds and vmem
present in the function and only then does the more costly search.

This patch significantly improves compilation time in the cases the hazard
cannot happen. In one pathological case I looked at IsHazardInst is needlesly
called 88.6 milions times.

The numbers could also be improved by introducing a map around the
inner calls to ::getWaitStatesSince in fixLdsBranchVmemWARHazard, but
nothing will beat not running fixLdsBranchVmemWARHazard at all in the cases
detected by shouldRunLdsBranchVmemWARHazardFixup().

Differential Revision: https://reviews.llvm.org/D104219
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Commit e3bc4dbe8e75faf13798028fcb7710675d8c05ed by hanchung
[mlir][Linalg] Make printer/parser have the same behavior.

The parser of generic op did not recognize the output from mlir-opt when there
are multiple outputs. One would wrap the result types with braces, and one would
not. The patch makes the behavior the same.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D104256
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/test/Dialect/Linalg/bufferize.mlir
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit 00dbf8c83218829633b9f2ec1ee94a1f3b8dd29c by aaron
Adding some of the documents for C11.

This is not the complete set of language-related documents for C11, but
is about 75% complete.
The file was modifiedclang/www/c_status.html
Commit 585e65d3307f5f081b32b21421f2a0b84eccd1b5 by lebedev.ri
[TLI] SimplifyDemandedVectorElts(): handle SCALAR_TO_VECTOR(EXTRACT_VECTOR_ELT(?, 0))

Iff we have `SCALAR_TO_VECTOR` (and we demand it's only defined 0'th element),
and said scalar was produced by `EXTRACT_VECTOR_ELT` from the 0'th element
of some vector, then we can just continue traversal into said source vector.

This comes up in X86 vector uniform shift lowering.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D104250
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-512.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 98504959a6f114866cbf523e44d2f45e755626d5 by gbalats
[dfsan] Add stack-trace printing functions to dfsan interface

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D104165
The file was modifiedcompiler-rt/include/sanitizer/dfsan_interface.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
The file was modifiedcompiler-rt/lib/dfsan/done_abilist.txt
The file was addedcompiler-rt/test/dfsan/stack_trace.c
Commit 03841edde7eee21d1d450041ab9a113a7e1be869 by Adrian Prantl
Allow signposts to take advantage of deferred string substitution

One nice feature of the os_signpost API is that format string
substitutions happen in the consumer, not the logging
application. LLVM's current Signpost class doesn't take advantage of
this though and instead always uses a static "Begin/End %s" format
string.

This patch uses variadic macros to allow the API to be used as
intended. Unfortunately, the primary use-case I had in mind (the
LLDB_SCOPED_TIMER() macro) does not get much better from this, because
__PRETTY_FUNCTION__ is *not* a macro, but a static string, so
signposts created by LLDB_SCOPED_TIMER() still use a static "%s"
format string. At least LLDB_SCOPED_TIMERF() works as intended.

This reapplies the previsously reverted patch with additional MachO.h
macro #undefs.

Differential Revision: https://reviews.llvm.org/D103575
The file was modifiedllvm/include/llvm/Support/Signposts.h
The file was modifiedllvm/lib/Support/Signposts.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Utility/Timer.cpp
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedllvm/lib/Support/Timer.cpp
Commit b87894a1d28f3819e38c11ce1fdf05113ac5ca34 by mascasa
[HWASan] Enable globals support for LAM.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D104265
The file was modifiedcompiler-rt/test/hwasan/TestCases/global.c
The file was addedllvm/test/Instrumentation/HWAddressSanitizer/X86/globals.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Commit a58b2827feceaa27193318a12e3a06893eabdcb6 by sivachandra
[libc] Add hardware implementations of x86_64 sqrt functions.
The file was addedlibc/src/math/x86_64/sqrt.cpp
The file was modifiedlibc/src/math/x86_64/CMakeLists.txt
The file was addedlibc/src/math/x86_64/sqrtf.cpp
The file was addedlibc/src/math/x86_64/sqrtl.cpp
Commit 0577f4b1789eff410f5b28434a4f7854a50dc639 by kparzysz
[Hexagon] Add HVX and control register names to Hexagon target
The file was addedclang/test/CodeGen/hexagon-inline-asm-reg-names.c
The file was modifiedclang/lib/Basic/Targets/Hexagon.cpp
Commit 7a7c00761f6294dc21c40cbe1737354e655cda9b by Adrian Prantl
Revert "Allow signposts to take advantage of deferred string substitution"

This reverts commit 03841edde7eee21d1d450041ab9a113a7e1be869.

Unfortunately this still breaks the LLDB standalone bot.
The file was modifiedllvm/include/llvm/Support/Signposts.h
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedllvm/lib/Support/Timer.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Utility/Timer.cpp
The file was modifiedllvm/lib/Support/Signposts.cpp
Commit 1c096bf09ffd3d51665b60942d6bde19e7dbbd5a by huihuiz
[SVE][LSR] Teach LSR to enable simple scaled-index addressing mode generation for SVE.

Currently, Loop strengh reduce is not handling loops with scalable stride very well.

Take loop vectorized with scalable vector type <vscale x 8 x i16> for instance,
(refer to test/CodeGen/AArch64/sve-lsr-scaled-index-addressing-mode.ll added).

Memory accesses are incremented by "16*vscale", while induction variable is incremented
by "8*vscale". The scaling factor "2" needs to be extracted to build candidate formula
i.e., "reg(%in) + 2*reg({0,+,(8 * %vscale)}". So that addrec register reg({0,+,(8*vscale)})
can be reused among Address and ICmpZero LSRUses to enable optimal solution selection.

This patch allow LSR getExactSDiv to recognize special cases like "C1*X*Y /s C2*X*Y",
and pull out "C1 /s C2" as scaling factor whenever possible. Without this change, LSR
is missing candidate formula with proper scaled factor to leverage target scaled-index
addressing mode.

Note: This patch doesn't fully fix AArch64 isLegalAddressingMode for scalable
vector. But allow simple valid scale to pass through.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D103939
The file was modifiedllvm/test/CodeGen/AArch64/sve-fold-vscale.ll
The file was addedllvm/test/CodeGen/AArch64/sve-lsr-scaled-index-addressing-mode.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 035217ff515b8ecdc871e39fa840f3cba1b9cec7 by Adrian Prantl
Allow signposts to take advantage of deferred string substitution

One nice feature of the os_signpost API is that format string
substitutions happen in the consumer, not the logging
application. LLVM's current Signpost class doesn't take advantage of
this though and instead always uses a static "Begin/End %s" format
string.

This patch uses variadic macros to allow the API to be used as
intended. Unfortunately, the primary use-case I had in mind (the
LLDB_SCOPED_TIMER() macro) does not get much better from this, because
__PRETTY_FUNCTION__ is *not* a macro, but a static string, so
signposts created by LLDB_SCOPED_TIMER() still use a static "%s"
format string. At least LLDB_SCOPED_TIMERF() works as intended.

This reapplies the previously reverted patch with additional include
order fixes for non-modular builds of LLDB.

Differential Revision: https://reviews.llvm.org/D103575
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedlldb/source/Utility/Timer.cpp
The file was modifiedllvm/include/llvm/Support/Signposts.h
The file was modifiedllvm/lib/Support/Timer.cpp
The file was modifiedllvm/lib/Support/Signposts.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
Commit 6c848c28c2f495f97a8fce879bd0624d61272d24 by jacobhegna
Remove redundant environment variable XLA_FLAGS.

If the flag is not set, the script saved_model_aot_compile.py in tensorflow will
default it to the correct value. However, in TF 2.5, the way the value is set in
TensorFlowCompile.cmake file triggers a build error.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D103972
The file was modifiedllvm/cmake/modules/TensorFlowCompile.cmake
Commit 312011899ac3c48a77f4c5a069000f8aa93a8873 by leonardchan
[compiler-rt][hwasan] Add newline between record_addr lines on frame record dumps

If SymbolizePC failes, it's possible for the newline to not be emitted.

Differential Revision: https://reviews.llvm.org/D103845
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit 853a614864754cd4b000f03a7ab8fbba103d6177 by silvasean
[mlir:OpFormatGen] Add Support for `$_ctxt` in the transformer.

This is useful for "build tuple" type ops. In my case, in npcomp, I have
an op:

```
// Result type is `!torch.tuple<!torch.tensor, !torch.tensor>`.
torch.prim.TupleConstruct %0, %1 : !torch.tensor, !torch.tensor
```

and the context is required for the `Torch::TupleType::get` call (for
the case of an empty tuple).

The handling of these FmtContext's in the code is pretty ad-hoc -- I didn't
attempt to rationalize it and just made a targeted fix. As someone
unfamiliar with the code I had a hard time seeing how to more broadly fix
the situation.

Differential Revision: https://reviews.llvm.org/D104274
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/test/mlir-tblgen/op-format.mlir
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit b8919fb0eac15d13c5f56d3d30ce378a588dd78c by Vitaly Buka
[NFC][sanitizer] clang-format some code
The file was modifiedcompiler-rt/lib/asan/asan_malloc_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/lib/ubsan/ubsan_platform.h
The file was modifiedcompiler-rt/lib/asan/asan_new_delete.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp
The file was modifiedcompiler-rt/lib/asan/asan_mapping_myriad.h
The file was modifiedcompiler-rt/lib/interception/interception.h
The file was modifiedcompiler-rt/lib/asan/asan_poisoning.cpp
The file was modifiedcompiler-rt/lib/asan/asan_mapping.h
The file was modifiedcompiler-rt/lib/asan/asan_interceptors.cpp
The file was modifiedcompiler-rt/lib/asan/asan_rtl.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
The file was modifiedcompiler-rt/lib/asan/asan_shadow_setup.cpp
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedcompiler-rt/lib/asan/asan_internal.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_errno.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit 1c450c3d7ec01d9daaf9f2651da93b01e7790ffd by lkail
[PowerPC] Export 16 byte load-store instructions

Export `lq`, `stq`, `lqarx` and `stqcx.` in preparation for implementing 16-byte lock free atomic operations on AIX.
Add a new register class `g8prc` for these instructions, since these instructions require even-odd register pair.

Reviewed By: nemanjai, jsji, #powerpc

Differential Revision: https://reviews.llvm.org/D103010
The file was addedllvm/test/CodeGen/PowerPC/ldst-16-byte-asm.mir
The file was modifiedllvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
The file was modifiedllvm/test/MC/PowerPC/ppc64-encoding-bookII.s
The file was modifiedllvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.h
The file was addedllvm/test/CodeGen/PowerPC/ldst-16-byte.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSchedule.td
The file was modifiedllvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrFormats.td
The file was modifiedllvm/test/MC/PowerPC/ppc64-encoding.s
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
Commit 928394d10918c97880ef36e4e9853888b0d55207 by alexshap
[lld][MachO] Add support for LC_DATA_IN_CODE

Add first bits for emitting LC_DATA_IN_CODE.

Test plan: make check-lld-macho

Differential revision: https://reviews.llvm.org/D103006
The file was modifiedlld/MachO/Writer.cpp
The file was addedlld/test/MachO/data-in-code.s
The file was modifiedlld/test/MachO/local-got.s
The file was modifiedlld/MachO/InputSection.h
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/test/MachO/headerpad.s
The file was modifiedlld/MachO/InputFiles.h
Commit 1b87573aaf8ad6a0e1edaac7ab7b34a28f8f41bb by Louis Dionne
[libc++][ci] Enable modules in the Runtimes build

The runtimes build has assertions enabled, which is necessary to catch
some of the modules-related issues we've been seeing recently. This
patch enables testing with modules in the runtimes build so as to cover
those cases.

In the future, a better solution would be to systematically use versions
of Clang that have assertions enabled. However, the Clangs we release
currently don't have assertions enabled by default, which causes a
challenge for the CI (we could try to build our own Clang from ToT with
assertions in the CI, but that poses some problems).

Differential Revision: https://reviews.llvm.org/D104252
The file was modifiedlibcxx/utils/ci/run-buildbot
Commit 79f9cfbc21e02555258523ea77c3dd389891cfb3 by Yaxun.Liu
Do not merge LocalInstantiationScope for template specialization

A lambda in a function template may be recursively instantiated. The recursive
lambda will cause a lambda function instantiated multiple times, one inside another.
The inner LocalInstantiationScope should not be marked as MergeWithParentScope
since it already has references to locals properly substituted, otherwise it causes
assertion due to the check for duplicate locals in merged LocalInstantiationScope.

Reviewed by: Richard Smith

Differential Revision: https://reviews.llvm.org/D98068
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was addedclang/test/SemaCXX/recursive-lambda.cpp
Commit b01bfdfda64b684965cd7f97e99e4b0bce5d67fa by Vitaly Buka
[lld][MachO] Fix UB after D103006

ubsan detected:
lld/MachO/SyntheticSections.cpp:636:15: runtime error: null pointer
passed as argument 2, which is declared to never be null
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 51ed1c6ccc7b9d9b0ff3169b9f5e6b798eed599b by Vitaly Buka
[NFC][hwasan] Fix "implicitly declaring library function"
The file was modifiedcompiler-rt/test/hwasan/TestCases/mem-intrinsics.c

Summary

  1. [zorg] Cleanup clang-cmake-{armv7,aarch64}-quick bots (details)
  2. [zorg] Build all targets on Linaro-maintained bots (details)
  3. [zorg] Add AArch64 SVE vector-length-specific (VLS) bots (details)
  4. [zorg] Rename Linaro's AArch64 and ARM bots to use consistent names (details)
  5. [zorg] Remove settings that match defaults from Linaro bots (details)
Commit 3f8251ff00a50c67bc04a500d674bd51bb4d66e8 by maxim.kuvyrkov
[zorg] Cleanup clang-cmake-{armv7,aarch64}-quick bots

Run "ninja check" for armv7 bot and don't pretend we run
LNT testsuite for the aarch64 bot.

Reviewed By: rovka, DavidSpickett

Differential Revision: https://reviews.llvm.org/D103468
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 986da61015dc684d43a1c3b1849726c72fcf1592 by maxim.kuvyrkov
[zorg] Build all targets on Linaro-maintained bots

... not just AArch64 and ARM.  Make an exception for the quick
bots, which build a single target.

Reviewed By: rovka, zatrazz

Differential Revision: https://reviews.llvm.org/D103469
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 2f6844e02cae962a4dd6ddf2f4ef279900e77fa6 by maxim.kuvyrkov
[zorg] Add AArch64 SVE vector-length-specific (VLS) bots

We add 1-stage bot that tests SVE support by building/running testsuite,
and 2-stage bot that additionally builds 2nd stage compiler with SVE.

Reviewed By: rovka

Differential Revision: https://reviews.llvm.org/D103470
The file was modifiedbuildbot/osuosl/master/config/workers.py
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 89bc08fea5e20fdf8fb18c19c48f0046499f20b5 by maxim.kuvyrkov
[zorg] Rename Linaro's AArch64 and ARM bots to use consistent names

This will simplify Linaro's buildbot maintenance scripts.  We also
remove now-unused AArch64 and ARM libcxx workers, since these have
been migrated to buildkite a few months ago.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D103957
The file was modifiedbuildbot/osuosl/master/config/workers.py
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 7b33ebd712c3a7d5d80f247bbc4ff844dc541304 by maxim.kuvyrkov
[zorg] Remove settings that match defaults from Linaro bots

Remove from arguments of ClangBuilder.getClangCMakeBuildFactory
- checkout_compiler_rt=True
- checkout_lld=True
- test=True
- useTwoStage=False
- testStage1=True
All these are defaults anyway.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D103963
The file was modifiedbuildbot/osuosl/master/config/builders.py