FailedChanges

Summary

  1. [buildbot] add CMAKE_INSTALL_RPATH_USE_LINK_PATH for ML development mode (details)
Commit 8721195e10b4722a0b5bfae6b6c9b5b24af65db9 by mtrofin
[buildbot] add CMAKE_INSTALL_RPATH_USE_LINK_PATH for ML development mode

This ensures the tensorflow library is copied to install dir.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [AST] Fix handling of some edge cases in fixed-point division. (details)
  2. [lldb] Tab completion for `frame recognizer delete` (details)
  3. [X86] Add tests for cmp-zero + and/trunc + or-reduction patterns (details)
  4. [lldb] Fix TestModuleGetXcodeSDK test after DWARFYAML change (details)
  5. [PM] Fix new PM to perform SpeculativeExecution as in old PM (details)
  6. [NFC][ARM] Tail predication reduction tests (details)
  7. [Alignment][NFC] Migrate SelectionDAGTargetInfo::EmitTargetCodeForMemset to Align (details)
  8. [Alignment][NFC] Migrate SelectionDAGTargetInfo::EmitTargetCodeForMemmove to Align (details)
  9. [clangd] Suppress GCC -Woverloaded-virtual by renaming ThreadsafeFS extension point (details)
  10. [Alignment][NFC] Migrate SelectionDAGTargetInfo::EmitTargetCodeForMemcpy to Align (details)
  11. Make it possible for client code to consume CLANG_LINK_CLANG_DYLIB (details)
  12. [X86][SSE] LowerVectorAllZero - add support for masked OR-reductions (details)
  13. [lldb/Test] Introduce "assertSuccess" (details)
  14. [ASTMatcher] Fix a performance regression: memorize the child match. (details)
  15. [DWARFYAML][MachO] Remove endianness related tests. (details)
  16. [libc++] Remove dead code since the removal of the old testing format (details)
  17. [runtimes] Rename newformat to just format, now that the old format has been removed (details)
  18. [AST][RecoveryExpr] Avoid spurious 'missing typename' diagnostic when the NNS contains errors. (details)
  19. [SystemZ] Simplify knownbits.ll test (details)
  20. [NFC] Remove dead code (details)
  21. Add Metadata to Transformer tooling (details)
  22. [lldb/Scripts] (details)
  23. [libc++abi] Remove empty source file cxa_unexpected.cpp (details)
  24. [clang-tidy] Sanity checks in ClangTidyTest header. (details)
  25. [Alignment][NFC] TargetLowering::allowsMemoryAccessForAlignment (details)
  26. [clang-tidy] performance-faster-string-find string-view (details)
  27. [CodeComplete] Tweak completion for else. (details)
  28. [ARM] Allow rounding intrinsics to be tail predicated (details)
  29. [lldb/Test] Skip recognizer tests when Python is disabled (details)
  30. [mlir] [VectorOps] Replace zero fma with mult for vector.contract (details)
  31. [ARM][MVE] Tail-predication: clean-up of unused code (details)
  32. X86: Use Register (details)
  33. AMDGPU: Use Register (details)
  34. TailDuplicator: Use Register (details)
  35. BranchFolding: Use Register (details)
  36. RegAlloc: Start using Register (details)
  37. [libc++abi] Remove unused include of <sys/types.h> (details)
  38. [ARM] Allow the usub_sat and ssub_sat intrinsics to be tail predicated (details)
  39. Pass MDFieldPrinter::printAPInt APInt arg by reference not value. (details)
  40. [ARM] Allow the fabs intrinsic to be tail predicated (details)
  41. [clang][docs] Add note about using `-flto` with `-g` on macOS (details)
  42. [PowerPC][NFC] Rename/organize encoding test files for ISA3.1 (details)
  43. [InstCombine] New FMA tests and regenerate tests. NFC (details)
  44. [MVT] Add new MVT types for RISC-V vector. (details)
  45. [flang] Silence some warnings from clang-tidy (details)
  46. [libc++] Split dylib instantiations for deprecated std::random_shuffle into a separate source file (details)
  47. Update the phabricator docs to reflect the monorepo change. (details)
  48. [SVE] Remove calls to VectorType::getNumElements from ExecutionEngine (details)
  49. [libc++] Add missing include in test (details)
  50. [SVE] Remove calls to VectorType::getNumElements from AArch64 (details)
  51. Improve the detection of iOS/tvOS/watchOS simulator binaries in (details)
  52. [PhaseOrdering][NewPM] update test that silently showed bug with SpeculativeExecutionPass; NFC (details)
  53. [PDB] Defer public serialization until PDB writing (details)
  54. [llvm-install-name-tool] Add -id option (details)
  55. [llvm-install-name-tool] Add -change option (details)
  56. [sve][acle] Enable feature macros for SVE ACLE extensions. (details)
  57. [clang-tidy] Added option to readability-else-after-return (details)
  58. [lldb/Test] Skip TestIOHandlerResizeNoEditline with reproducers (details)
  59. [mlir] Fix case in MLIRGPUtoROCDLTransforms (details)
  60. [mlir] Fix case in MLIRGPUtoNVVMTransforms (details)
  61. [macho] emit LC_BUILD_VERSION load command for supported OSes and platforms (details)
  62. [mlir] Fix case in MLIRGPUtoGPURuntimeTransforms (details)
  63. [openmp] Move Directive and Clause helper function to tablegen (details)
  64. [libc++] Fix the Lit DSL test in case a substitution is empty (details)
  65. [InstCombine] fma x, y, 0 -> fmul x, y (details)
  66. [X86] Some CHECK-NOTs for FMA4/TBM/XOP for znver1/znver2 in predefined-arch-macros.c (details)
  67. [X86] Move frontend CPU feature initialization to a look up table based implementation. NFCI (details)
  68. [mlir] minor tweaks in standard-to-llvm lowering (details)
  69. [AArch64] Add getCFInstrCost, treat branches as free for throughput. (details)
  70. [IR] Delete llvm::Constants using the correct type. (details)
  71. [lldb/Scalar] Fix undefined behavior (details)
  72. [TestReturnValue] Skip based on architecutre, not platform. (details)
  73. Skip arm-(fp|gp)-read.test on Darwin. (details)
  74. Mips: Don't store MachineFunction in MipsFunctionInfo (details)
  75. PPC: Don't store function in PPCFunctionInfo (details)
  76. RISCV: Don't store function in RISCVMachineFunctionInfo (details)
  77. Sparc: Use Register (details)
  78. [BitcodeReader] Fix DelayedShuffle handling for ConstantExpr shuffles. (details)
  79. [Sanitizer] Remove obsolete assert for OS version checking on Darwin (details)
  80. [libc++] Translate the std Lit parameter to the DSL (details)
  81. [SVE] Reject vector struct indexes for scalable vectors. (details)
  82. [ASTImporter] Fix AST import crash for a friend decl (details)
  83. [clang][diagnostics] Add '-Wundef-prefix' warning option (details)
  84. [PowerPC][Power10] Add Vector Splat Imm/Permute/Blend/Shift Double Bit Imm Definitions and MC Tests (details)
  85. [X86] Use some preprocessor macros to reduce the very similar repeated code in getVPTESTMOpc. NFCI (details)
  86. split darwin-version-min-load-command.s into Arm64 subtest to avoid failures (details)
  87. [PPC][NFC] Replace TM with Subtarget->getTargetMachine() in preparation for GlobalISel. (details)
Commit 33bae9c265486cd37e0612711a863f0a4b865a26 by bevin.hansson
[AST] Fix handling of some edge cases in fixed-point division.

Division by zero was not being handled, and division of
-EPSILON / MAX did not perform rounding correctly.
The file was modifiedclang/test/Frontend/fixed_point_errors.c
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/Frontend/fixed_point_div.c
The file was modifiedclang/lib/Basic/FixedPoint.cpp
Commit c37d25f0d1e059b39fbbc1ccc9f52ddba42be6b9 by Raphael Isemann
[lldb] Tab completion for `frame recognizer delete`

Summary: Provided tab completion for command `frame recognizer delete`.

Reviewers: teemperor, JDevlieghere

Reviewed By: teemperor, JDevlieghere

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D81241
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
Commit 0f8ca20b3e069baa715696d928bcfb1a96fe3a3a by llvm-dev
[X86] Add tests for cmp-zero + and/trunc + or-reduction patterns

Expanding off the original PR44781 test case, show the failure to fold cmp-all-zero patterns when a demanded bits limiting and/trunc is in the way.
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-cmp.ll
Commit bc163f63245e88f18de44f8a13a5c94e78cb18bd by Raphael Isemann
[lldb] Fix TestModuleGetXcodeSDK test after DWARFYAML change

D82622 / fe08ab542bd6328a7906e38ae473cf655eb6a228 changes the YAML format
so this test was failing as the test yaml wasn't updated.
The file was modifiedlldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
Commit 1a6cebb4d12c744699e23624f8afda5cbe216fe6 by dfukalov
[PM] Fix new PM to perform SpeculativeExecution as in old PM

Summary:
Old PM runs SpeculativeExecutionPass for targets that have divergent branches.
It uses `createSpeculativeExecutionIfHasBranchDivergencePass` that creates
the pass with `OnlyIfDivergentTarget=true`, whereas new PM just created the
pass with default `OnlyIfDivergentTarget=fase` so it unexpectedly runs and
causes buildbot test fails.

Reviewers: chandlerc, arsenm

Reviewed By: arsenm

Subscribers: wdng, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82735
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 2723a9dd6d339ddb452827711bd0453d3a15d05c by sam.parker
[NFC][ARM] Tail predication reduction tests
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/reductions.ll
Commit 6a6af30d433d76b230560cd4578394c88401b7f0 by gchatelet
[Alignment][NFC] Migrate SelectionDAGTargetInfo::EmitTargetCodeForMemset to Align

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Differential Revision: https://reviews.llvm.org/D82851
The file was modifiedllvm/lib/Target/AArch64/AArch64SelectionDAGInfo.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86SelectionDAGInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86SelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.h
Commit 306d7c6929b68d7a6f7f785509250740e1116b46 by gchatelet
[Alignment][NFC] Migrate SelectionDAGTargetInfo::EmitTargetCodeForMemmove to Align

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Differential Revision: https://reviews.llvm.org/D82850
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 72568984b8040fa8de70a6b4f9c63b6a5aac8d3f by sam.mccall
[clangd] Suppress GCC -Woverloaded-virtual by renaming ThreadsafeFS extension point

Summary:
By making all overloads non-virtual and delegating to a differently-named
private method, we avoid any (harmless) name-hiding in the subclasses.

Reviewers: kadircet

Subscribers: kristof.beyls, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits, Quuxplusone, dblaikie

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82793
The file was modifiedclang-tools-extra/clangd/unittests/ClangdTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TestFS.h
The file was modifiedclang-tools-extra/clangd/support/ThreadsafeFS.cpp
The file was modifiedclang-tools-extra/clangd/Preamble.cpp
The file was modifiedclang-tools-extra/clangd/support/ThreadsafeFS.h
Commit c1cd61e02add90ab79b8e4abeb0514d881735870 by gchatelet
[Alignment][NFC] Migrate SelectionDAGTargetInfo::EmitTargetCodeForMemcpy to Align

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Differential Revision: https://reviews.llvm.org/D82849
The file was modifiedllvm/lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/BPF/BPFSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreSelectionDAGInfo.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86SelectionDAGInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.h
The file was modifiedllvm/lib/Target/BPF/BPFSelectionDAGInfo.h
The file was modifiedllvm/lib/Target/Lanai/LanaiSelectionDAGInfo.h
The file was modifiedllvm/lib/Target/X86/X86SelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSelectionDAGInfo.h
Commit 05c479491c1d3236cae4eccaa3fcd2794598522c by sguelton
Make it possible for client code to consume CLANG_LINK_CLANG_DYLIB

If a client code wants to consume clang libraries, it needs to know
CLANG_LINK_CLANG_DYLIB value in order to decide whether to use the DYLIB or
individual components.

Differential Revision: https://reviews.llvm.org/D82291
The file was modifiedclang/cmake/modules/ClangConfig.cmake.in
Commit 82de01895455c2ac0f2aa7397414ca96757bea06 by llvm-dev
[X86][SSE] LowerVectorAllZero - add support for masked OR-reductions

If we're masking the result of an OR-reduction before comparing against zero, we can fold this into the PTEST() / MOVMSK(CMPEQ()) codegen by pre-masking the source value.

This works particularly well on PTEST which performs the AND as part of its operation, but the MOVMSK variant also benefits for non-V2I64 cases.

Fixes PR44781
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-cmp.ll
Commit 35674976f09ec99e74d0d28b4a64b6bce360c128 by pavel
[lldb/Test] Introduce "assertSuccess"

Summary:
A lot of our tests do 'self.assertTrue(error.Success()'. The problem
with that is that when this fails, it produces a completely useless
error message (False is not True) and the most important piece of
information -- the actual error message -- is completely hidden.

Sometimes we mitigate that by including the error message in the "msg"
argument, but this has two additional problems:
- as the msg argument is evaluated unconditionally, one needs to be
  careful to not trigger an exception when the operation was actually
  successful.
- it requires more typing, which means we often don't do it

assertSuccess solves these problems by taking the entire SBError object
as an argument. If the operation was unsuccessful, it can format a
reasonable error message itself. The function still accepts a "msg"
argument, which can include any additional context, but this context now
does not need to include the error message.

To demonstrate usage, I replace a number of existing assertTrue
assertions with the new function. As this process is not easily
automatable, I have just manually updated a representative sample. In
some cases, I did not update the code to use assertSuccess, but I went
for even higher-level assertion apis (runCmd, expect_expr), as these are
even shorter, and can produce even better failure messages.

Reviewers: teemperor, JDevlieghere

Subscribers: arphaman, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D82759
The file was modifiedlldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py
The file was modifiedlldb/test/API/commands/expression/timeout/TestCallWithTimeout.py
The file was modifiedlldb/test/API/commands/expression/context-object-objc/TestContextObjectObjc.py
The file was modifiedlldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py
The file was modifiedlldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
The file was modifiedlldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py
The file was modifiedlldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/test/API/commands/expression/context-object/TestContextObject.py
The file was modifiedlldb/test/API/commands/expression/fixits/TestFixIts.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/API/python_api/hello_world/TestHelloWorld.py
The file was modifiedlldb/test/API/commands/expression/pr35310/TestExprsBug35310.py
The file was modifiedlldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
The file was modifiedlldb/test/API/commands/expression/result_numbering/TestResultNumbering.py
The file was modifiedlldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
The file was modifiedlldb/test/API/commands/expression/options/TestExprOptions.py
Commit 9f865246a81759cdcb056c883e6f92fe6693b3d3 by hokein.wu
[ASTMatcher] Fix a performance regression: memorize the child match.

D80025 introduced a performance regression: in some cases, it makes
clang-tidy readability-container-size-empty ~80x slower (running on an internal
huge TU, before that patch 12s vs after 950s).

after this patch, we go back to 12s.

Differential Revision: https://reviews.llvm.org/D82771
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
Commit 8032727a43ca678b0b923abaa04638f500a060d6 by Xing
[DWARFYAML][MachO] Remove endianness related tests.

fe08ab542bd6328a7906e38ae473cf655eb6a228 makes build bots unhappy
(http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/33624/steps/ninja%20check%201/logs/FAIL%3A%20LLVM%3A%3ADWARF-debug_info.yaml).

This patch removes failed tests.
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
Commit b58b61c4b78ce81a4ef974374c707163b3691bfe by Louis Dionne
[libc++] Remove dead code since the removal of the old testing format
The file was removedlibcxx/test/libcxx/selftest/test.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/test.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/test.pass.mm
The file was removedlibcxx/test/libcxx/selftest/exec.sh.cpp
The file was removedlibcxx/utils/libcxx/test/executor.py
The file was removedlibcxx/utils/libcxx/test/tracing.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was removedlibcxx/utils/libcxx/test/format.py
The file was removedlibcxx/test/libcxx/selftest/test.arc.pass.mm
Commit 70f6389257a85a8fa7f128a05a1ccbd0dbba191c by Louis Dionne
[runtimes] Rename newformat to just format, now that the old format has been removed
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/no-diagnostics.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.mm/use-objective-cxx.pass.mm
The file was addedlibcxx/test/libcxx/selftest/remote-substitutions.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/compile-success.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
The file was addedlibcxx/test/libcxx/selftest/pass.cpp/link-error.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.mm/compile-error.pass.mm
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.cpp/run-error.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.mm/link-error.pass.mm
The file was addedlibcxx/test/libcxx/selftest/compile.pass.cpp/run-error.compile.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.cpp/link-error.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.cpp/werror.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/link.pass.cpp/link-error.link.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/link.fail.cpp/link-error.link.fail.cpp
The file was modifiedlibcxxabi/test/lit.site.cfg.in
The file was removedlibcxx/test/libcxx/selftest/newformat/convenience_substitutions/build_run.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/file_dependencies/dir/b.txt
The file was removedlibcxx/test/libcxx/selftest/newformat/compile.pass.cpp/compile-error.compile.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.mm/compile-error.pass.mm
The file was removedlibcxx/test/libcxx/selftest/newformat/link.fail.cpp/compile-error.link.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/run.fail.cpp/compile-error.run.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/compile.pass.cpp/compile-success.compile.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/compile.pass.cpp/run-error.compile.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/file_dependencies/dir/b.txt
The file was removedlibcxx/test/libcxx/selftest/newformat/additional_compile_flags/substitutes-in-run.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/convenience_substitutions/build_run.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/sh.cpp/substitutions.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/no-diagnostics.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/run.fail.cpp/run-success.run.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/verify.cpp/no-diagnostics-unmarked.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/compile.pass.cpp/compile-error.compile.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/shell-escape-pipes.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.cpp/compile-error.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/compile.fail.cpp/compile-success.compile.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/compile-failure.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/verify.cpp/no-werror.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/link.pass.cpp/compile-error.link.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/file_dependencies/substitute-in-dependencies.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/link.pass.cpp/link-success.link.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/run.fail.cpp/run-error.run.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/link.fail.cpp/link-success.link.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/lit.local.cfg
The file was addedlibcxx/test/libcxx/selftest/pass.mm/run-success.pass.mm
The file was removedlibcxx/test/libcxx/selftest/newformat/run.fail.cpp/link-error.run.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/no-diagnostics-unmarked.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/lit.local.cfg
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.mm/run-success.pass.mm
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/wrong-diagnostic.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/verify.cpp/wrong-diagnostic.verify.cpp
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/right-diagnostic.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/run.fail.cpp/run-error.run.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/run.fail.cpp/run-success.run.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/compile-success.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-run.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/file_dependencies/absolute-and-relative-paths.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.mm/run-error.pass.mm
The file was addedlibcxx/test/libcxx/selftest/shell-escape-pipes.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/file_dependencies/absolute-and-relative-paths.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/verify.cpp/no-werror.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/compile.pass.cpp/compile-success.compile.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.mm/no-arc.pass.mm
The file was modifiedlibcxx/test/lit.site.cfg.in
The file was addedlibcxx/test/libcxx/selftest/pass.cpp/run-error.pass.cpp
The file was removedlibcxx/utils/libcxx/test/newformat.py
The file was removedlibcxx/test/libcxx/selftest/newformat/sh.cpp/empty.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/lit.local.cfg
The file was removedlibcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/verify.cpp/right-diagnostic.verify.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/link.fail.cpp/link-error.link.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/run.fail.cpp/link-error.run.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/compile.fail.cpp/compile-success.compile.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/compile-failure.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/fail.cpp/no-diagnostics-unmarked.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/link.pass.cpp/compile-error.link.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/wrong-diagnostic.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics-unmarked.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/link.fail.cpp/link-success.link.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/sh.cpp/werror.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/compile.fail.cpp/compile-error.compile.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.mm/no-arc.pass.mm
The file was addedlibcxx/test/libcxx/selftest/sh.cpp/run-success.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/file_dependencies/a.txt
The file was removedlibcxx/test/libcxx/selftest/newformat/file_dependencies/substitute-in-dependencies.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.cpp/run-success.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.cpp/run-success.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/sh.cpp/substitutions.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/link.pass.cpp/link-success.link.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/link.pass.cpp/run-error.link.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/shell-escape.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.cpp/compile-error.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/sh.cpp/run-success.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/pass.mm/use-objective-cxx.pass.mm
The file was addedlibcxx/test/libcxx/selftest/run.fail.cpp/compile-error.run.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/fail.cpp/right-diagnostic.fail.cpp
The file was addedlibcxx/test/libcxx/selftest/link.pass.cpp/link-error.link.pass.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/verify.cpp/right-diagnostic.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/file_dependencies/a.txt
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.mm/link-error.pass.mm
The file was addedlibcxx/test/libcxx/selftest/sh.cpp/run-error.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/tmpdir-exists.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/compile.fail.cpp/compile-error.compile.fail.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/verify.cpp/wrong-diagnostic.verify.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/additional_compile_flags/substitutes-in-compile-flags.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/sh.cpp/run-error.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/shell-escape.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/link.fail.cpp/compile-error.link.fail.cpp
The file was addedlibcxx/utils/libcxx/test/format.py
The file was removedlibcxx/test/libcxx/selftest/newformat/pass.mm/run-error.pass.mm
The file was removedlibcxx/test/libcxx/selftest/newformat/remote-substitutions.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/tmpdir-exists.sh.cpp
The file was addedlibcxx/test/libcxx/selftest/compile.pass.cpp/link-error.compile.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/link.pass.cpp/run-error.link.pass.cpp
The file was addedlibcxx/test/libcxx/selftest/verify.cpp/no-diagnostics.verify.cpp
The file was addedlibcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-compile-flags.sh.cpp
The file was removedlibcxx/test/libcxx/selftest/newformat/compile.pass.cpp/link-error.compile.pass.cpp
Commit d285f29317d6086e9ab941730f1ee5a468196a4e by hokein.wu
[AST][RecoveryExpr] Avoid spurious 'missing typename' diagnostic when the NNS contains errors.

Differential Revision: https://reviews.llvm.org/D82631
The file was addedclang/test/SemaTemplate/nss-recovery.cpp
The file was modifiedclang/lib/AST/NestedNameSpecifier.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/AST/NestedNameSpecifier.h
Commit e9c6b63d4a16c7955bf0e7d5c1ab4adbb9d385cc by ulrich.weigand
[SystemZ] Simplify knownbits.ll test

The knownbits.ll test case is somewhat fragile since:
- it relies on undef inputs; and
- it operates just at the limits of the MaxRecursionDepth

This means that optimization changes may easily cause the test
to spuriously fail.  Rewrite the test so it still validates
the same thing, but in a less fragile manner.
The file was modifiedllvm/test/CodeGen/SystemZ/knownbits.ll
Commit ce404c8b854b18ca2aaa9529986b3eced73793a3 by gchatelet
[NFC] Remove dead code

Differential Revision: https://reviews.llvm.org/D81195
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
Commit 9945bd5911636e7f821ac82fdcf8fdb22126e7dc by yitzhakm
Add Metadata to Transformer tooling

This change adds a Metadata field to ASTEdit, Edit, and AtomicChange so that
edits can have associated metadata and that metadata can be constructed with
Transformer-based RewriteRules. Metadata is ignored when applying edits to
source, but other consumers of AtomicChange can use this metadata to direct how
they want to consume each edit.

Reviewed By: ymandel, gribozavr2

Differential Revision: https://reviews.llvm.org/D82226
The file was modifiedclang/include/clang/Tooling/Refactoring/AtomicChange.h
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was modifiedclang/lib/Tooling/Refactoring/AtomicChange.cpp
The file was modifiedclang/lib/Tooling/Transformer/Transformer.cpp
The file was modifiedclang/unittests/Tooling/RefactoringTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
Commit e55a09793d689f42c17f55be861773b6a65751b2 by pavel
[lldb/Scripts]

Fix analyze-project-deps.py. "lldb/Plugins" (home of Plugins.def) does
not depend on anything. Make sure this does not crash the script.
The file was modifiedlldb/scripts/analyze-project-deps.py
Commit 9c795481e2e318a906cc7826aa0144aaaa8cd3dd by Louis Dionne
[libc++abi] Remove empty source file cxa_unexpected.cpp
The file was removedlibcxxabi/src/cxa_unexpected.cpp
The file was modifiedllvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
The file was modifiedlibcxxabi/src/CMakeLists.txt
Commit 833273a81250213d3ba85ca5419d03155604ada2 by n.james93
[clang-tidy] Sanity checks in ClangTidyTest header.

Motivated by a suspicously failing build, but also good to have anyway in general.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82815
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyTest.h
Commit 423458ec09d647050f756e3ee4ca06901239d87c by gchatelet
[Alignment][NFC] TargetLowering::allowsMemoryAccessForAlignment

First patch of a series to adapt TargetLowering::allowsXXX functions

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Differential Revision: https://reviews.llvm.org/D81372
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
Commit 2efba0e8122aeca29f878c0e3056a4552d20c720 by n.james93
[clang-tidy] performance-faster-string-find string-view

Extend the default string like classes to include `std::basic_string_view`.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82720
The file was modifiedclang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-faster-string-find.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/performance-faster-string-find.rst
Commit 8ba4867c27000ee029ab70a1194050d884fce6c7 by n.james93
[CodeComplete] Tweak completion for else.

If an `if` statement uses braces for its `then` block, suggest braces for the `else` and `else if` completion blocks, Otherwise don't suggest them.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D82626
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CodeCompletion/patterns.cpp
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
Commit d9cb811cbfd9d34816497713b318ccc34ce045b7 by samteb02
[ARM] Allow rounding intrinsics to be tail predicated

This patch stops the trunc, rint, round, floor and ceil intrinsics from blocking tail predication.

Differential Revision: https://reviews.llvm.org/D82553
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-intrinsic-round.ll
Commit 69b2d9f42f6adbd0c06264dc42b4be5760689eac by Jonas Devlieghere
[lldb/Test] Skip recognizer tests when Python is disabled

The `frame recognizer` command only exists when Python scripting is
enabled. Therefore the test should be made conditional on Python.
Without it, the test fails with "'frame recognizer' is not a known
command."
The file was addedlldb/test/Shell/Recognizer/lit.local.cfg
Commit 63b3933d0c3381447a706193d3c0d84927a0fbed by ajcbik
[mlir] [VectorOps] Replace zero fma with mult for vector.contract

More efficient implementation of the multiply-reduce pair,
no need to add in a zero vector. Microbenchmarking on AVX2
yields the following difference in vector.contract speedup
(over strict-order scalar reduction).

SPEEDUP     SIMD-fma SIMD-mul
4x4     1.45 2.00
8x8     1.40 1.90
32x32    5.32 5.80

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D82833
The file was modifiedmlir/test/Dialect/Vector/vector-contract-transforms.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit af45907653fd312264632b616eff0fad1ae1eb2e by sjoerd.meijer
[ARM][MVE] Tail-predication: clean-up of unused code

After the rewrite of this pass (D79175) I missed one thing: the inserted VCTP
intrinsic can be cloned to exit blocks if there are instructions present in it
that perform the same operation, but this wasn't triggering anymore. However,
it turns out that for handling reductions, see D75533, it's actually easier not
not to have the VCTP in exit blocks, so this removes that code.

This was possible because it turned out that some other code that depended on
this, rematerialization of the trip count enabling more dead code removal
later, wasn't doing much anymore due to more aggressive dead code removal that
was added to the low-overhead loops pass.

Differential Revision: https://reviews.llvm.org/D82773
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.ll
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
Commit 249933f254e1eed3c1b90384ef4616b9e87e22a5 by Matthew.Arsenault
X86: Use Register
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit cac655f2330000df68f86a67a428f1cac0259bb3 by Matthew.Arsenault
AMDGPU: Use Register
The file was modifiedllvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit edb4a5cb369bd87e69ffe8f30132c7b5dd5268a5 by Matthew.Arsenault
TailDuplicator: Use Register
The file was modifiedllvm/lib/CodeGen/TailDuplicator.cpp
The file was modifiedllvm/include/llvm/CodeGen/TailDuplicator.h
Commit af1eeaf38072bca5fcfc0b1483b2d078cdfb2bef by Matthew.Arsenault
BranchFolding: Use Register
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
Commit b7f6ecf0c7d4ac86ed4983311d0501e75c659e25 by Matthew.Arsenault
RegAlloc: Start using Register
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.h
The file was modifiedllvm/lib/CodeGen/RegAllocBase.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocBase.h
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp
The file was modifiedllvm/lib/CodeGen/LiveRangeEdit.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocBasic.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocPBQP.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveRangeEdit.h
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
Commit c2547f1554d3f1a1af882d594529053699b14839 by Louis Dionne
[libc++abi] Remove unused include of <sys/types.h>

I ran into an error while trying to build libc++abi for a platform that
doesn't have <sys/types.h>. I couldn't find what <sys/types.h> was used
for in the header, so I think it's fine to remove it.

Differential Revision: https://reviews.llvm.org/D82810
The file was modifiedlibcxxabi/src/cxa_guard_impl.h
Commit 66fa313999923d5e0ee08774039aac2c553112c2 by samteb02
[ARM] Allow the usub_sat and ssub_sat intrinsics to be tail predicated

This patch stops the usub_sat and ssub_sat intrinsics from blocking tail predication.

Differential Revision: https://reviews.llvm.org/D82571
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-intrinsic-sub-sat.ll
Commit 32f8cd9a6a5600aed7d4001b3a16a191a4db90ab by llvm-dev
Pass MDFieldPrinter::printAPInt APInt arg by reference not value.

Noticed by clang-tidy performance-unnecessary-value-param warning.
The file was modifiedllvm/lib/IR/AsmWriter.cpp
Commit 3324e3a6eeb5aab8b704509bb4b40e652da3799d by samteb02
[ARM] Allow the fabs intrinsic to be tail predicated

This patch stops the fabs intrinsic from blocking tail predication.

Differential Revision: https://reviews.llvm.org/D82570
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-intrinsic-fabs.ll
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
Commit a1f4e48c4aca8c7339be2018926baf860a562f13 by Jonas Devlieghere
[clang][docs] Add note about using `-flto` with `-g` on macOS

If -Wl,object_path_lto,<lto-filename>.o is not passed at link time
when compiling and linking in separate steps with -flto and -g, the
temporary file used for Link Time Optimization is deleted by the linker,
so the executable is missing debug symbols and can't be easily debugged,
and dsymutil can't be run.

Document this behaviour.

Differential revision: https://reviews.llvm.org/D82733
The file was modifiedclang/docs/CommandGuide/clang.rst
Commit 3163269275dc6c778e5be005454ef1ffc8ed4a20 by lei
[PowerPC][NFC] Rename/organize encoding test files for ISA3.1

Rename `future*` encoding test files to include ISA3.1 in the file name
and combine with exisitng ISA3.1 instruction encoding tests that were
added into `p10*` test files.

Keeping the `p10*` files for now to ensure we don't add more to it.
Will remove once all ISA3.1 instruction are implemented.
The file was addedllvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31-invalid.txt
The file was addedllvm/test/MC/PowerPC/ppc64-encoding-ISA31-errors.s
The file was removedllvm/test/MC/PowerPC/future-reloc.s
The file was addedllvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31.txt
The file was addedllvm/test/MC/PowerPC/ppc64-encoding-ISA31-pcrel-reloc.s
The file was removedllvm/test/MC/Disassembler/PowerPC/futureinsts.txt
The file was modifiedllvm/test/MC/PowerPC/p10.s
The file was removedllvm/test/MC/PowerPC/future.s
The file was removedllvm/test/MC/Disassembler/PowerPC/future-invalid.txt
The file was addedllvm/test/MC/PowerPC/ppc64-encoding-ISA31.s
The file was modifiedllvm/test/MC/Disassembler/PowerPC/p10insts.txt
The file was removedllvm/test/MC/PowerPC/future-errors.s
Commit 787b1a474687831aac4815947e2f2541262b5b9d by david.green
[InstCombine] New FMA tests and regenerate tests. NFC
The file was modifiedllvm/test/Transforms/InstCombine/fma.ll
Commit a7b0f391852b6dd9001b5247269612b3d2c3ce31 by kai.wang
[MVT] Add new MVT types for RISC-V vector.

In RISC-V vector extension, users could group multiple vector registers
as one pseudo register. In mixed width operations, users could use
partial vector registers to reduce the register pressure. The parameter
to control register grouping and partial use is called LMUL. LMUL is a
part of the type. So, we have a bunch of vector types. In order to
support all these types, we need new MVT types in LLVM. In this patch, I
added several MVT types that are used in RISC-V vector implementation.
This is a standalone patch for MVT types without RISC-V related implementation.

Differential revision: https://reviews.llvm.org/D81724
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
Commit 98202edacbad2370105b8a5b837ad35569d7a387 by tkeith
[flang] Silence some warnings from clang-tidy

Disable some of the warnings from clang-tidy, in particular,
`readability-identifier-naming`. They add clutter to reviews.

Differential Revision: https://reviews.llvm.org/D82795
The file was addedflang/.clang-tidy
Commit ce6153a5282c2a66a814ac321d5af442cbb5614a by Louis Dionne
[libc++] Split dylib instantiations for deprecated std::random_shuffle into a separate source file

That makes it easier to exclude from the build if one wants to build libc++
without support for the deprecated std::random_shuffle.
The file was modifiedlibcxx/src/algorithm.cpp
The file was modifiedlibcxx/src/CMakeLists.txt
The file was addedlibcxx/src/random_shuffle.cpp
Commit 8164f69e4cb4358d5b40c054175b92b6e5f2408f by echristo
Update the phabricator docs to reflect the monorepo change.

Patch by Nathan Froyd!

Differential Revision: https://reviews.llvm.org/D82389
The file was modifiedllvm/docs/Phabricator.rst
Commit 9b500e564a74f297567a791e77249c608ad39466 by ctetreau
[SVE] Remove calls to VectorType::getNumElements from ExecutionEngine

Reviewers: efriedma, lhames, sdesmalen, fpetrogalli

Reviewed By: lhames, sdesmalen

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82211
The file was modifiedllvm/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 73370b2c0ce80810ff945f763dd61a98778a8e8f by Louis Dionne
[libc++] Add missing include in test
The file was modifiedlibcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp
Commit ab35ba5742216b3aea8421a66b480405377bf8f1 by ctetreau
[SVE] Remove calls to VectorType::getNumElements from AArch64

Reviewers: efriedma, paquette, david-arm, kmclaughlin

Reviewed By: david-arm

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82214
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
Commit 0da0437b2afbd8ebef6b11f114cca33b118e7639 by Adrian Prantl
Improve the detection of iOS/tvOS/watchOS simulator binaries in
debugserver and lldb

This patch improves the heuristics for correctly identifying simulator binaries on Darwin and adds support for simulators running on Apple Silicon.

rdar://problem/64046344

Differential Revision: https://reviews.llvm.org/D82616
The file was modifiedlldb/test/API/macosx/simulator/TestSimulatorPlatform.py
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.h
Commit 09b8dbf70c1a9ff3d9763e607c580a76a01087c3 by spatel
[PhaseOrdering][NewPM] update test that silently showed bug with SpeculativeExecutionPass; NFC

See D82735 / rG1a6cebb4d12c744699e23624f8afda5cbe216fe6
The file was modifiedllvm/test/Transforms/PhaseOrdering/rotate.ll
Commit b7402edce3150591df03b7352fdcb3336098d603 by rnk
[PDB] Defer public serialization until PDB writing

This reduces peak memory on my test case from 1960.14MB to 1700.63MB
(-260MB, -13.2%) with no measurable impact on CPU time. I'm currently
working with a publics stream that is about 277MB. Before this change,
we would allocate 277MB of heap memory, serialize publics into them,
hold onto that heap memory, open the PDB, and commit into it.  After
this change, we defer the serialization until commit time.

In the last change I made to public writing, I re-sorted the list of
publics multiple times in place to avoid allocating new temporary data
structures. Deferring serialization until later requires that we don't
reorder the publics. Instead of sorting the publics, I partially
construct the hash table data structures, store a publics index in them,
and then sort the hash table data structures. Later, I replace the index
with the symbol record offset.

This change also addresses a FIXME and moves the list of global and
public records from GSIHashStreamBuilder to GSIStreamBuilder. Now that
publics aren't being serialized, it makes even less sense to store them
as a list of CVSymbol records. The hash table used to deduplicate
globals is moved as well, since that is specific to globals, and not
publics.

Reviewed By: aganea, hans

Differential Revision: https://reviews.llvm.org/D81296
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h
The file was modifiedllvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
The file was modifiedlld/COFF/PDB.cpp
Commit ca518c49183aa3bace0def1827c1def7a28fa293 by smeenai
[llvm-install-name-tool] Add -id option

Implement `-id` option for install-name-tool. Differences from cctool's
behavior:
- Does **NOT** throw an error if multiple -id options are specified.
    Instead, picks the last one.
- Throws an error in case empty id is specified.

Reviewed By: jhenderson, smeenai

Differential Revision: https://reviews.llvm.org/D82410
The file was modifiedllvm/tools/llvm-objcopy/InstallNameToolOpts.td
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-id.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit 2bdcd8b14f470b06fa6cf48972902e4b8030b088 by smeenai
[llvm-install-name-tool] Add -change option

Implement `-change` option for install-name-tool. The behavior exactly
matches that of cctools. Depends on D82410.

Reviewed By: jhenderson, smeenai

Differential Revision: https://reviews.llvm.org/D82613
The file was modifiedllvm/tools/llvm-objcopy/InstallNameToolOpts.td
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-change.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit d54e4dded7b08444ce16058dad3d6748e501092d by francesco.petrogalli
[sve][acle] Enable feature macros for SVE ACLE extensions.

Summary:
The following feature macros have been added:

__ARM_FEATURE_SVE_BF16

__ARM_FEATURE_SVE_MATMUL_INT8

__ARM_FEATURE_SVE_MATMUL_FP32

__ARM_FEATURE_SVE_MATMUL_FP64

The driver has been updated to enable them accordingly to the value of
the target feature passed at command line.

The SVE ACLE tests using the macros have been modified to work with
the target feature instead of passing the macro at command line.

Reviewers: sdesmalen, efriedma, c-rhodes, kmclaughlin, SjoerdMeijer, rengolin

Subscribers: tschuett, kristof.beyls, rkruppe, psnobl, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82623
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mmla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_matmul_fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
The file was modifiedclang/test/Preprocessor/aarch64-target-features.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_matmul_fp32.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
The file was modifiedclang/lib/Basic/Targets/AArch64.h
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmmla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvtnt.c
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
Commit a06a5ed97800b66eaf4d03eedd4d2827f53e423a by n.james93
[clang-tidy] Added option to readability-else-after-return

Added a 'RefactorConditionVariables' option to control how the check handles condition variables

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82824
The file was modifiedclang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-no-cond-var-refactor.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
Commit 66d9c0d4fc7ea19be08c6a3604571254186851a7 by Jonas Devlieghere
[lldb/Test] Skip TestIOHandlerResizeNoEditline with reproducers
The file was modifiedlldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py
Commit cf6ed682f03ec0110a7e42441e089c4d9405e431 by herhut
[mlir] Fix case in MLIRGPUtoROCDLTransforms

Summary:
This changes the casing of MLIRGPUtoROCDLTransforms to be consistent
with other transform libraries.

Differential Revision: https://reviews.llvm.org/D82843
The file was modifiedmlir/lib/Conversion/GPUToROCDL/CMakeLists.txt
Commit 7099d8e4f7d06928a3f9b5424805593fb55c20c1 by herhut
[mlir] Fix case in MLIRGPUtoNVVMTransforms

Summary:
This changes the casing of MLIRGPUtoNVVMTransforms to be consistent
with other transform libraries.

Reviewers: stephenneuendorffer, herhut

Reviewed By: herhut

Subscribers: jholewinski, mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, csigg, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D82842
The file was modifiedmlir/lib/Conversion/GPUToNVVM/CMakeLists.txt
Commit 24a1447b02854f3145bf5337a82c5fd245f61ca5 by Alex Lorenz
[macho] emit LC_BUILD_VERSION load command for supported OSes and platforms

This change lets LLVM use the LC_BUILD_VERSION command when building for macOS 10.14, iOS 12, tvOS 12, and watchOS 5.
Additionally, this change ensures that new platforms like Apple Silicon macOS / Mac Catalyst,
and simulators running on Apple Silicon alway use LC_BUILD_VERSION with the OS version set to the
minimum supported OS version if the deployment target version is older.

Differential Revision: https://reviews.llvm.org/D82836
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/test/MC/MachO/darwin-version-min-load-command.s
The file was modifiedllvm/test/MC/MachO/darwin-sdk-version.ll
The file was modifiedllvm/lib/Support/Triple.cpp
Commit 0f43fce78393417797a3c67040f49d6ed9cfe1c2 by herhut
[mlir] Fix case in MLIRGPUtoGPURuntimeTransforms

Summary:
This changes the casing of MLIRGPUtoGPURuntimeTransforms to be consistent
with other transform libraries.

Differential Revision: https://reviews.llvm.org/D82841
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUCommon/CMakeLists.txt
Commit 1a70077b5a64189d9c04d1a2d7ea6ff0e49744d6 by clementval
[openmp] Move Directive and Clause helper function to tablegen

Summary:
Follow up to D81736. Move getOpenMPDirectiveKind, getOpenMPClauseKind, getOpenMPDirectiveName and
getOpenMPClauseName to the new tablegen code generation. The code is generated in a new file named OMP.cpp.inc

Reviewers: jdoerfert, jdenny, thakis

Reviewed By: jdoerfert, jdenny

Subscribers: mgorny, yaxunl, hiraditya, guansong, sstefan1, llvm-commits, thakis

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82405
The file was modifiedllvm/utils/TableGen/TableGenBackends.h
The file was modifiedllvm/lib/Frontend/OpenMP/OMPConstants.cpp
The file was modifiedllvm/test/TableGen/directive1.td
The file was modifiedllvm/include/llvm/Frontend/Directive/DirectiveBase.td
The file was modifiedllvm/utils/TableGen/TableGen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedllvm/include/llvm/Frontend/OpenMP/CMakeLists.txt
The file was modifiedllvm/test/TableGen/directive2.td
The file was modifiedllvm/utils/TableGen/DirectiveEmitter.cpp
Commit 99f213e07c044fec0d527d177b40e05c014ac49d by Louis Dionne
[libc++] Fix the Lit DSL test in case a substitution is empty
The file was modifiedlibcxx/test/libcxx/selftest/dsl/dsl.sh.py
Commit 9e49d1d9b8702a568baf82e2549e246197ecc334 by david.green
[InstCombine] fma x, y, 0 -> fmul x, y

If the addend of the fma is zero, common sense would suggest that we can
convert fma x, y, 0.0 to fmul x, y. This comes up with some user code
that was expecting the first fma in an unrolled loop to simplify to a
fmul.

Floating point often does not follow naive common sense though. Alive
suggests that this should be guarded by nsz (as fadd -0.0, 0.0 = 0.0).
fma x, y, -0.0 is always valid.

Differential Revision: https://reviews.llvm.org/D82778
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/fma.ll
Commit f886f0724818d0127195c24e503993a6e380af5b by craig.topper
[X86] Some CHECK-NOTs for FMA4/TBM/XOP for znver1/znver2 in predefined-arch-macros.c

These features exist in earlier CPUs, but were deprecated on
znver1/znver2. While working on D82731 I accidentally copied
them from the earlier CPU. And nothing caught my mistake. Having
these additional checks would have helped.
The file was modifiedclang/test/Preprocessor/predefined-arch-macros.c
Commit 3537939cda86f0b5b06233eb99ddc9eb22935008 by craig.topper
[X86] Move frontend CPU feature initialization to a look up table based implementation. NFCI

This replaces the switch statement implementation in the clang's
X86.cpp with a lookup table in X86TargetParser.cpp.

I've used constexpr and copy of the FeatureBitset from
SubtargetFeature.h to store the features in a lookup table.
After the lookup the bitset is translated into strings for use
by the rest of the frontend code.

I had to modify the implementation of the FeatureBitset to avoid
bugs in gcc 5.5 constexpr handling. It seems to not like the
same array entry to be used on the left side and right hand side
of an assignment or &= or |=. I've also used uint32_t instead of
uint64_t and sized based on the X86::CPU_FEATURE_MAX.

I've initialized the features for different CPUs outside of the
table so that we can express inheritance in an adhoc way. This
was one of the big limitations of the switch and we had resorted
to labels and gotos.

Differential Revision: https://reviews.llvm.org/D82731
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedllvm/lib/Support/X86TargetParser.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/Support/X86TargetParser.def
The file was modifiedllvm/include/llvm/Support/X86TargetParser.h
Commit 4ab43980450baf3c49bebbc526c6c96c3ed9f06e by zinenko
[mlir] minor tweaks in standard-to-llvm lowering

Fix a typo in the documentation and simplify the condition to drop
braces. Addresses post-commit review of https://reviews.llvm.org/D82647.
The file was modifiedmlir/docs/ConversionToLLVMDialect.md
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 1ccc49924aeb7bb5fbd2eb956243d16db3a02b08 by flo
[AArch64] Add getCFInstrCost, treat branches as free for throughput.

D79164/2596da31740f changed getCFInstrCost to return 1 per default.
AArch64 did not have its own implementation, hence the throughput cost
of CFI instructions is overestimated. On most cores, most branches should
be predicated and essentially free throughput wise.

This restores a 9% performance regression on a SPEC2006 benchmark on
AArch64 with -O3 LTO & PGO.

This patch effectively restores pre 2596da31740f behavior for AArch64
and undoes the AArch64 test changes of the patch.

Reviewers: samparker, dmgreen, anemet

Reviewed By: samparker

Differential Revision: https://reviews.llvm.org/D82755
The file was modifiedllvm/test/Analysis/CostModel/AArch64/select.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/store.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-broadcast.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/aarch64-predication.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/aggregates.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cmp.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
Commit 15440191b57237eafb18600ac653b9a0023db391 by efriedma
[IR] Delete llvm::Constants using the correct type.

In most cases, this doesn't have much impact: the destructors just call
the base class destructor anyway.  A few subclasses of ConstantExpr
actually store non-trivial data, though. Make sure we clean up
appropriately.

This is sort of ugly, but I don't see a good alternative given the
constraints.

Issue found by asan buildbots running the testcase for D80330.

Differential Revision: https://reviews.llvm.org/D82509
The file was modifiedllvm/lib/Bitcode/Reader/ValueList.cpp
The file was modifiedllvm/include/llvm/IR/Constant.h
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/lib/IR/ConstantsContext.h
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/lib/IR/Value.cpp
Commit 2501e86acda2905e50012f7e9fc1942517c1237d by Jonas Devlieghere
[lldb/Scalar] Fix undefined behavior

Fix UBSan error detected in TestDataFormatterObjCCF.py and
TestDataFormatterObjCNSDate.py:

Scalar.cpp:698:27: runtime error: -4.96303e+08 is outside the range of
representable values of type 'unsigned long long'.
The file was modifiedlldb/source/Utility/Scalar.cpp
Commit 4f1f253ce509ebc20e1f7a2d8bb6885366b155f2 by ditaliano
[TestReturnValue] Skip based on architecutre, not platform.
The file was modifiedlldb/test/API/functionalities/return-value/TestReturnValue.py
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py
Commit 983a4b520ea384ac978cbfc40bb956fbb98cd735 by ditaliano
Skip arm-(fp|gp)-read.test on Darwin.

Our assembler doesn't seem to grok floating point literals.

<rdar://problem/64951608>
The file was modifiedlldb/test/Shell/Register/arm-gp-read.test
The file was modifiedlldb/test/Shell/Register/arm-fp-read.test
Commit 669bb3111ff0b4b300a2218b88ad71f8e58bebb7 by Matthew.Arsenault
Mips: Don't store MachineFunction in MipsFunctionInfo

It will soon be disallowed to depend on MachineFunction state on
construction.
The file was modifiedllvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MipsMachineFunction.h
The file was modifiedllvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/Mips16ISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/lib/Target/Mips/MipsCallLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsFastISel.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsMachineFunction.cpp
Commit d9f0c3663f023ce2935b18dda3c3c7cbd7bf666b by Matthew.Arsenault
PPC: Don't store function in PPCFunctionInfo

Continue migrating targets from depending on the MachineFunction
during the initial construction.
The file was modifiedllvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
Commit 08649f0a9da55f069e5bfcb2bd107d8e24068e76 by Matthew.Arsenault
RISCV: Don't store function in RISCVMachineFunctionInfo

Targets should not depend on the MachineFunction state during the
MachineFunctionInfo construction.
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit f7b2997ad67b2be7137677c70aa38d13cff18191 by Matthew.Arsenault
Sparc: Use Register
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.h
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcMachineFunctionInfo.h
Commit 0ec712afec642fa6a57fe17be0c8d7d096bf7434 by efriedma
[BitcodeReader] Fix DelayedShuffle handling for ConstantExpr shuffles.

The indexing was messed up, so the result was completely broken.

Shuffle constant exprs are rare in practice; without vscale types,
constant folding generally elminates them. So sort of hard to trip over.

Fixes regression from D72467.

(Recommitting after fix for memory leak.)

Differential Revision: https://reviews.llvm.org/D80330
The file was addedllvm/test/Bitcode/vscale-shuffle.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit 32791937d7aceb0a5e1eaabf1bb1a6dbe1639792 by julian.lettner
[Sanitizer] Remove obsolete assert for OS version checking on Darwin

macOS versions do not necessarily start with 10 anymore.  Remove an
obsolete assert.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.h
Commit 1eb211ada17ab90b800b271c74f5d568329fde39 by Louis Dionne
[libc++] Translate the std Lit parameter to the DSL
The file was modifiedlibcxx/utils/libcxx/test/params.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit df1f371e28301a046b734ed1b8be0f07253700e2 by efriedma
[SVE] Reject vector struct indexes for scalable vectors.

It's messy to pattern-match, and completely unnecessary: scalar indexes
work equally well.

See also discussion on D81620 and D82061.

Differential Revision: https://reviews.llvm.org/D82430
The file was modifiedllvm/lib/IR/Type.cpp
The file was addedllvm/test/Assembler/getelementptr_vscale_struct.ll
Commit ecae672ac2ac42bc15bdc794cc56ddccadec9e4f by vince.a.bridgers
[ASTImporter] Fix AST import crash for a friend decl

Summary:
Running CTU testing, we found that VisitFriendDecl in
ASTImporterLookup.cpp was not handling a particular non-dependent case,
so we reached the llvm_unreachable case.

The FriendDecl and QualType not handled were:

(gdb) p D->dump()
FriendDecl 0x7ffff5cf1958
< <<srcfile>>, 'nlohmann::basic_json<std::map, std::vector,
   std::basic_string<char>, bool, long long, unsigned long long, double,
   std::allocator, adl_serializer, std::vector<unsigned char,
   std::allocator<unsigned char>>>':'nlohmann::basic_json<std::map,
   std::vector, std::basic_string<char>, bool, long long, unsigned long
   long, double, std::allocator, adl_serializer, std::vector<unsigned char,
   std::allocator<unsigned char>>>'

(gdb) p Ty->dump()
SubstTemplateTypeParmType 0x7ffff5cf0df0 'class
nlohmann::basic_json<std::map, std::vector, class
   std::basic_string<char>, _Bool, long long, unsigned long long, double,
   std::allocator, adl_serializer, class std::vector<unsigned char, class
   std::allocator<unsigned char> > >' sugar
|-TemplateTypeParmType 0x7ffff643ea40 'BasicJsonType' dependent depth 0
index 0
| `-TemplateTypeParm 0x7ffff643e9e8 'BasicJsonType'
`-RecordType 0x1012ad20 'class nlohmann::basic_json<std::map,
std::vector, class std::basic_string<char>, _Bool, long long, unsigned
long long, double, std::allocator, adl_serializer, class
std::vector<unsigned char, class std::allocator<unsigned char> > >'
  `-ClassTemplateSpecialization 0x1012ab68 'basic_json'

Reviewers: martong, a.sidorin

Reviewed By: martong

Subscribers: kristof.beyls, rnkovacs, teemperor, cfe-commits, dkrupp

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82882
The file was modifiedclang/lib/AST/ASTImporterLookupTable.cpp
Commit 89a0c4066b0e70edd257e30d7189f303e26251a0 by Cyndy Ishida
[clang][diagnostics] Add '-Wundef-prefix' warning option

Summary:
Add an `-Wundef-prefix=<arg1>,<arg2>...` option, which is similar to `-Wundef`, but only give warnings for undefined macros with the given prefixes.

Reviewers: ributzka, steven_wu, cishida, bruno, arphaman, rsmith

Reviewed By: ributzka, arphaman

Subscribers: riccibruno, dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80751

This patch was authored by Zixu Wang <zixu_wang@apple.com>
The file was addedclang/test/Preprocessor/warn-macro-undef.c
The file was modifiedclang/include/clang/Basic/DiagnosticOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticLexKinds.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Lex/PPExpressions.cpp
Commit 73377c45974855a00b13974cd515e875c5605556 by amy.kwan1
[PowerPC][Power10] Add Vector Splat Imm/Permute/Blend/Shift Double Bit Imm Definitions and MC Tests

This patch adds the td definitions and asm/disasm tests for the
following instructions:

XXSPLTIW
XXSPLTIDP
XXSPLTI32DX
XXPERMX
XXBLENDVB
XXBLENDVH
XXBLENDVW
XXBLENDVD
VSLDBI
VSRDBI

Differential Revision: https://reviews.llvm.org/D82896
The file was modifiedllvm/test/MC/PowerPC/ppc64-encoding-ISA31.s
The file was modifiedllvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31.txt
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
Commit 1df1186ab12d87f42f3e8c5bd7703520d5bf1f17 by craig.topper
[X86] Use some preprocessor macros to reduce the very similar repeated code in getVPTESTMOpc. NFCI

This function picks X86 opcode name based on type, masking,
and whether not a load or broadcast has been folded using multiple
switch statements. The contents of the switches mostly just vary in
a few characters in the instruction name. So use some macros to
build the instruction names to reduce the repetiveness.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit c8f1d442d0858f66fd4128fde6f67eb5202fa2b1 by Alex Lorenz
split darwin-version-min-load-command.s into Arm64 subtest to avoid failures

Some buildbot configurations don't build the arm64 backend, so the test-cases
that need arm64 should go into the aarch64 subdirectory.
The file was addedllvm/test/MC/MachO/AArch64/arm-darwin-version-min-load-command.s
The file was modifiedllvm/test/MC/MachO/darwin-version-min-load-command.s
Commit 4c2c6c7cc1663ee123be806fa02ead0f175568bc by kbarton
[PPC][NFC] Replace TM with Subtarget->getTargetMachine() in preparation for GlobalISel.

There are two uses of TM (instance of TargetMachine) when checking options.
These will not work once we enable GlobalISel. This patch replaces those uses of
TM with Subtarget->getTargetMachine().
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td

Summary

  1. [buildbot] add CMAKE_INSTALL_RPATH_USE_LINK_PATH for ML development mode (details)
Commit 8721195e10b4722a0b5bfae6b6c9b5b24af65db9 by mtrofin
[buildbot] add CMAKE_INSTALL_RPATH_USE_LINK_PATH for ML development mode

This ensures the tensorflow library is copied to install dir.
The file was modifiedbuildbot/osuosl/master/config/builders.py