SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [NFC][SVE] Add tests for inserting subvectors into illegal scalable vectors (details)
  2. [X86][AMX] Add description for AMX new interface. (details)
  3. [GlobalISel]: Add a getConstantIntVRegVal utility (details)
  4. [MIPatternMatch]: Add ICstRegMatch (details)
  5. [MIPatternMatch]: Add mi_match for MachineInstr (details)
  6. [MIPatternMatch]: Add matchers for binary instructions (details)
  7. [llvm] Unbreak no-asserts testing after 18839be9c5c8b9f882dd241769784035b082d4e1 (details)
  8. AMDGPU/GlobalISel: Add integer med3 combines (details)
  9. [NFC] Workaround MSVC2019 32-bit compiler crash (details)
  10. [libc++] Fix set-but-not-used warning. NFC. (details)
  11. AMDGPU/GlobalISel: Remove redundant G_FCANONICALIZE (details)
  12. [OpenMP][libomptarget] Separate lit tests for different offloading targets (1/2) (details)
  13. [mlir] Add a pass to tile Linalg ops using `linalg.tiled_loop`. (details)
  14. [clangd] Dont index deeply nested symbols (details)
  15. Reapply  "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed" (details)
  16. tsan: fix deadlock in pthread_atfork callbacks (details)
  17. [AIX] Allow safe for 32bit P9 VSX extract and insert pattern matches (details)
  18. [VPlan] Use recursive traversal iterator in VPSlotTracker. (details)
  19. [C++4OpenCL] Add diagnostics for OpenCL types in templates. (details)
  20. [AArch64] Enable runtime unrolling for in-order sched models (details)
  21. [IndVars] avoid crash in LFTR when assuming an add recurrence (details)
  22. [LV] Hoist code to get vector loop latch (NFC). (details)
  23. AMDGPU/GlobalISel: Add test for buffer_load with negative offset (details)
  24. AMDGPU/GlobalISel: Fix negative offset folding for buffer_load (details)
  25. [MLIR][Shape] Replace single operand broadcasts with appropriate cast (details)
  26. [LV,LAA] Add test cases with pointer phis in loops. (details)
  27. [MLIR][Shape] Remove empty extent tensor operands (details)
  28. [SLP]Improved isGatherShuffledEntry, NFC. (details)
  29. [MLIR] Debug log IR after pattern applications (details)
  30. [X86] Ensure multiclass ATOMIC_RMW_BINOP is tagged as MayLoad and MayStore (details)
  31. [AMDGPU] Minor refactoring in AMDGPUUnifyDivergentExitNodes. NFC. (details)
  32. [analyzer][StdLibraryFunctionsChecker] Track dependent arguments (details)
  33. [OpenMP][libomptarget] Separate lit tests for different offloading targets (2/2) (details)
  34. [X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841) (details)
  35. [HIP] Fix help text for -fgpu-allow-device-init (details)
  36. [clangd] run clang-format on FindTargetTests.cpp's FindExplicitReferencesTest (details)
  37. [libcxx] [test] Add a separate 'windows-dll' feature to check for (details)
  38. [libcxx] [test] Convert a couple of LIBCXX-WINDOWS-FIXME into XFAIL: windows-dll for known bugs (details)
  39. [clangd] Improve handling of Objective-C protocols in types (details)
  40. [LoopVectorize] Simplify scalar cost calculation in getInstructionCost (details)
  41. Revert rG9b7a0a50355d5 - Revert "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)" (details)
  42. [flang] Add format test to GTest suite (details)
  43. Revert "[LoopVectorize] Simplify scalar cost calculation in getInstructionCost" (details)
  44. [doc] added documentation for pre-merge testing (details)
  45. [llvm, clang] Remove stdlib includes from .h files without `std::` (details)
  46. [AIX][Power10] Restrict prefixed instructions from crossing the 64byte boundary (details)
  47. [gn build] Port 241c2da4064c (details)
  48. [CodeGenOptions] make StackProtectorGuardOffset signed (details)
  49. [Driver] Fix tests failing in per-target multiarch layout (details)
  50. [lldb] [gdb-remote] Report QPassSignals and qXfer via extensions API (details)
  51. Also display the underlying error message when displaying a fixit (details)
  52. [NFC][lsan] Another attempt to fix arm bot (details)
  53. [TableGen] Add predicate checks to isel patterns for default HwMode. (details)
  54. [SystemZ][z/OS] Remove register prefixes when printing out the register. (details)
  55. [NFC][IR] PHINode: assert we aren't trying to create token-typed PHI (details)
  56. [NFC][IR] PHINode: ... and assert in another ctor too (details)
  57. [docs] Replace Apple representative to security group. (details)
  58. [ELF][MIPS] Don't emit dynamic relocations for PIE non-preemptible TLS (details)
  59. [ELF][MIPS] Emit dynamic relocations for PIC non-preemptible static TLS (details)
  60. [NFC][Verifier] Fixup token PHINode test cases (details)
  61. [COST][X86]Improve cost model for reverse shuffle v32i16/v64i8 in AVX512F. (details)
  62. [ARM] Additional VIDUP tests. NFC (details)
  63. [ARM] Recognize VIDUP from BUILDVECTORs of additions (details)
  64. [NFC][SimplifyCFG] Autogenerate check lines in many test files (details)
  65. Fix -Wunused-but-set-variable warning in msan_test.cpp (details)
Commit acadf9613319c962e02977dd9eb69ba62ca8f965 by david.sherwood
[NFC][SVE] Add tests for inserting subvectors into illegal scalable vectors

A previous commit fixed some issues with inserting subvectors into
illegal scalable vectors:

0035decae7ab9ab1c988fdcede46598540afd1a0

I've created a patch that simply adds some of those same tests for SVE.

Differential Revision: https://reviews.llvm.org/D100641
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-vector.ll
Commit d6c6db2feaab42c8132d584b547c18e443ba7f96 by yuanke.luo
[X86][AMX] Add description for AMX new interface.

Differential Revision: https://reviews.llvm.org/D101059
The file was modifiedclang/lib/Headers/amxintrin.h
Commit 0713c82b13ad855416be6ee79b646cbe45bda8d6 by petar.avramovic
[GlobalISel]: Add a getConstantIntVRegVal utility

Returns ConstantInt from G_CONSTANT instruction given its def register.

Differential Revision: https://reviews.llvm.org/D99733
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
Commit ebe408ad8003c946ef871b955ab18e64e82697cb by petar.avramovic
[MIPatternMatch]: Add ICstRegMatch

Matches G_CONSTANT and returns its def register.

Differential Revision: https://reviews.llvm.org/D99734
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
Commit 39662abf720fc195b549246f32719d313f05a67f by petar.avramovic
[MIPatternMatch]: Add mi_match for MachineInstr

This utility allows more efficient start of pattern match.
Often MachineInstr(MI) is available and instead of using
mi_match(MI.getOperand(0).getReg(), MRI, ...) followed by
MRI.getVRegDef(Reg) that gives back MI we now use
mi_match(MI, MRI, ...).

Differential Revision: https://reviews.llvm.org/D99735
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
Commit 4c6eb3886c50ac11d23251625bd12e79cd56a1dd by petar.avramovic
[MIPatternMatch]: Add matchers for binary instructions

Add matchers that support commutative and non-commutative binary opcodes.

Differential Revision: https://reviews.llvm.org/D99736
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
Commit 646b007d1128143ecbe1fee28d81b613cbbe031e by dave
[llvm] Unbreak no-asserts testing after 18839be9c5c8b9f882dd241769784035b082d4e1
The file was modifiedllvm/test/Transforms/LoopFusion/pr48060.ll
The file was modifiedllvm/test/Transforms/LoopFusion/diagnostics_analysis.ll
The file was modifiedllvm/test/Transforms/LoopFusion/diagnostics_missed.ll
Commit 4a9bc59867b64a24ff628c5a7ab2ca5e727dd9c1 by petar.avramovic
AMDGPU/GlobalISel: Add integer med3 combines

Add signed and unsigned integer version of med3 combine.
Source pattern is min(max(Val, K0), K1) or max(min(Val, K1), K0)
where K0 and K1 are constants and K0 <= K1. Destination is med3
that corresponds to signedness of min/max in source.

Differential Revision: https://reviews.llvm.org/D90050
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-umed3.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-smed3.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/umed3.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/smed3.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCombine.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
Commit 37bc1dc9877fc480493c85c6d02709b3015bb5e8 by sven.vanhaastregt
[NFC] Workaround MSVC2019 32-bit compiler crash

As reported on D100492, this restructuring should stop the internal
compiler error from happening.

Fixes PR50128.
The file was modifiedclang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Commit 7f98209da6349891b7a74eeadace34d38e7aaadc by marek.kurdej+llvm.org
[libc++] Fix set-but-not-used warning. NFC.
The file was modifiedlibcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp
Commit fb7be0d912cbcba68803456fbde3fd311b3922ed by petar.avramovic
AMDGPU/GlobalISel: Remove redundant G_FCANONICALIZE

Add basic version of isCanonicalized for global-isel. Copied from sdag.
Add post legalizer combine that deletes G_FCANONICALIZE when its input
is already Canonicalized.

Differential Revision: https://reviews.llvm.org/D96605
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-fcanonicalize.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCombine.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
Commit b845217b1dadc3e30c13720be1dfacd17ea3cbae by protze
[OpenMP][libomptarget] Separate lit tests for different offloading targets (1/2)

This patch creates a separate test directory for each offloading target to be
tested. This allows to test multiple architectures in one configuration, while
still see all failing tests separately. The lit test names include the target
triple, so that it will be easier to spot the failing target.

This patch also allows to mark expected failing tests based on the
target-triple, as the currently used triple is added to the lit "features":
```
// XFAIL: nvptx64-nvidia-cuda
```

Differential Revision: https://reviews.llvm.org/D101315
The file was modifiedopenmp/libomptarget/test/lit.site.cfg.in
The file was modifiedopenmp/libomptarget/test/lit.cfg
The file was modifiedopenmp/libomptarget/test/CMakeLists.txt
Commit 4b13b7581db59adbc0ee4bbf269f3eda96fc9bd7 by pifon
[mlir] Add a pass to tile Linalg ops using `linalg.tiled_loop`.

Differential Revision: https://reviews.llvm.org/D101084
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
Commit 4581bf31bb8333dc1372959f7d650ed940eab710 by kadircet
[clangd] Dont index deeply nested symbols

This is fix for some timeouts and OOM problems faced while indexing an
auto-generated file with thousands of nested lambdas.

Differential Revision: https://reviews.llvm.org/D101066
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/unittests/ASTTests.cpp
The file was modifiedclang-tools-extra/clangd/index/IndexAction.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/IndexActionTests.cpp
Commit 59ad4e0f01a8402016a690b3915bdd083285561e by Pushpinder.Singh
Reapply  "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"

This reverts commit 93604305bb72201641f31cc50a6e7b2fe65d3af3.
The file was modifiedclang/tools/CMakeLists.txt
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx908_gfx908
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_fail
The file was addedclang/tools/amdgpu-arch/CMakeLists.txt
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_different
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx906
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was addedclang/test/Driver/amdgpu-openmp-system-arch-fail.c
The file was modifiedclang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
The file was addedclang/test/Driver/amdgpu-openmp-system-arch.c
The file was addedclang/tools/amdgpu-arch/AMDGPUArch.cpp
Commit efd254b63621de9ce750eddf9e8135154099d261 by dvyukov
tsan: fix deadlock in pthread_atfork callbacks

We take report/thread_registry locks around fork.
This means we cannot report any bugs in atfork handlers.
We resolved this by enabling per-thread ignores around fork.
This resolved some of the cases, but not all.
The added test triggers a race report from a signal handler
called from atfork callback, we reset per-thread ignores
around signal handlers, so we tried to report it and deadlocked.
But there are more cases: a signal handler can be called
synchronously if it's sent to itself. Or any other report
types would cause deadlocks as well: mutex misuse,
signal handler spoiling errno, etc.
Disable all reports for the duration of fork with
thr->suppress_reports and don't re-enable them around
signal handlers.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D101154
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was addedcompiler-rt/test/tsan/pthread_atfork_deadlock3.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit f818ec9dd173bfacd0ee8b403146c26e17271a46 by zarko
[AIX] Allow safe for 32bit P9 VSX extract and insert pattern matches

In https://reviews.llvm.org/D92789 PPC64 checks were added that disallowed most
VSX pattern matching.  We enable some safe ones for 32bit in this patch.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D97503
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was modifiedllvm/test/CodeGen/PowerPC/vec-bswap.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-vec_insert_elt.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-insert-extract.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-vec_extract_p9_2.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-p9-insert-extract.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-p9-xxinsertw-xxextractuw.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-vec_extract_p9.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 160e729cf0011da9eacea60cb325a2b506dc7b39 by flo
[VPlan] Use recursive traversal iterator in VPSlotTracker.

This patch simplifies VPSlotTracker by using the recursive traversal
iterator to traverse all blocks in a VPlan in reverse post-order when
numbering VPValues in a plan.

This depends on a fix to RPOT (D100169). It also extends the traversal
unit tests to check RPOT.

Reviewed By: a.elovikov

Differential Revision: https://reviews.llvm.org/D100176
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
Commit 6a92c19f3bbc47827b8844a2b527f6c6fba63afd by anastasia.stulova
[C++4OpenCL] Add diagnostics for OpenCL types in templates.

Refactored diagnostics for OpenCL types to allow their
reuse for templates.

Patch by olestrohm (Ole Strohm)!

Differential Revision: https://reviews.llvm.org/D100860
The file was modifiedclang/test/SemaOpenCL/event_t.cl
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaOpenCL/sampler_t.cl
The file was modifiedclang/test/SemaOpenCL/clk_event_t.cl
The file was addedclang/test/SemaOpenCLCXX/template-opencl-types.clcpp
Commit 2b6e0c90f981bc3f18c261390c4de4113be378fb by nicholas.guy
[AArch64] Enable runtime unrolling for in-order sched models

Differential Revision: https://reviews.llvm.org/D97947
The file was addedllvm/test/Transforms/LoopUnroll/AArch64/runtime-unroll-generic.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/AArch64/runtime-loop.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit e808289fe6432c044567a9b3b6999089eb8d1e2b by spatel
[IndVars] avoid crash in LFTR when assuming an add recurrence

The test is a crasher reduced from:
https://llvm.org/PR49993

linearFunctionTestReplace() assumes that we have an add recurrence,
so check for that as a condition of matching a loop counter.

Differential Revision: https://reviews.llvm.org/D101291
The file was modifiedllvm/test/Transforms/IndVarSimplify/lftr.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit cb96d802d4d735cb0617788b636602410c7a15b1 by flo
[LV] Hoist code to get vector loop latch (NFC).

Address suggestion from D99294.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 6a3e1b3531c08db59e2864b3c46a2e4303505f8e by petar.avramovic
AMDGPU/GlobalISel: Add test for buffer_load with negative offset

Pre-commit test for D91336.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.mir
Commit 8110fcc8fc56cb5d2fc0cbab882ddfdae2536201 by petar.avramovic
AMDGPU/GlobalISel: Fix negative offset folding for buffer_load

Buffer_load does unsigned offset calculations. Don't fold
operands of 32-bit add that are likely to cause unsigned add
overflow (common case is when one of the operands is negative).

Differential Revision: https://reviews.llvm.org/D91336
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 2b9b999d4d35d02170dc12a48d0c4d0a3ad22739 by frgossen
[MLIR][Shape] Replace single operand broadcasts with appropriate cast

Differential Revision: https://reviews.llvm.org/D101350
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir
Commit a950f66de25f945824495c438b5ec9271ac5090a by flo
[LV,LAA] Add test cases with pointer phis in loops.

Pre-commits tests for D101286.
The file was addedllvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
The file was addedllvm/test/Transforms/LoopVectorize/vectorize-pointer-phis.ll
Commit f8d7bd996f1e9a01b9d5cee39c579dd8ac71bae4 by frgossen
[MLIR][Shape] Remove empty extent tensor operands

Empty extent tensor operands were only removed when they were defined as a
constant. Additionally, we can remove them if they are known to be empty by
their type `tensor<0xindex>`.

Differential Revision: https://reviews.llvm.org/D101351
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir
The file was modifiedmlir/include/mlir/IR/BuiltinAttributes.h
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
Commit 24590d8d67d8596130917ac65bed3e9a35272924 by a.bataev
[SLP]Improved isGatherShuffledEntry, NFC.

Reworked isGatherShuffledEntry function, simplified and moved
common code to the lambda (it shall go away when non-power-2 patch will
be landed).
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 6176a8f90961ce39b0a7c97e2f8891cd1ada61a3 by frgossen
[MLIR] Debug log IR after pattern applications

Like `print-ir-after-all` and `-before-all`, this allows to inspect IR for
debug purposes. While the former allow to inspect only between passes, this
change allows to follow the rewrites that happen within passes.

Differential Revision: https://reviews.llvm.org/D100940
The file was modifiedmlir/lib/Rewrite/PatternApplicator.cpp
Commit 029e41ec98009b76c5d2aa9e616a1646c0e2c21b by llvm-dev
[X86] Ensure multiclass ATOMIC_RMW_BINOP is tagged as MayLoad and MayStore

These are RMW ops and should be tagged as both loads and stores.
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit dc2f6bf5661793a541d7412607371d645bf13c62 by jay.foad
[AMDGPU] Minor refactoring in AMDGPUUnifyDivergentExitNodes. NFC.

Make unifyReturnBlockSet a member function so we don't have to pass TTI
around as an argument.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
Commit 4b99f9c7db262aa55d56d3af2f228e624ff7b55f by gabor.marton
[analyzer][StdLibraryFunctionsChecker] Track dependent arguments

When we report an argument constraint violation, we should track those
other arguments that participate in the evaluation of the violation. By
default, we depend only on the argument that is constrained, however,
there are some special cases like the buffer size constraint that might
be encoded in another argument(s).

Differential Revision: https://reviews.llvm.org/D101358
The file was addedclang/test/Analysis/std-c-library-functions-arg-constraints-tracking-notes.c
The file was modifiedclang/test/Analysis/std-c-library-functions-arg-constraints.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
Commit 24f836e8fd6f5c562318775d8154d4c561bae427 by protze
[OpenMP][libomptarget] Separate lit tests for different offloading targets (2/2)

This patch fuses the RUN lines for most libomptarget tests. The previous patch
D101315 created separate test targets for each supported offloading triple.

This patch updates the RUN lines in libomptarget tests to use a generic run
line independent of the offloading target selected for the lit instance.

In cases, where no RUN line was defined for a specific offloading target,
the corresponding target is declared as XFAIL. If it turns out that a test
actually supports the target, the XFAIL line can be removed.

Differential Revision: https://reviews.llvm.org/D101326
The file was modifiedopenmp/libomptarget/test/offloading/lone_target_exit_data.c
The file was modifiedopenmp/libomptarget/test/offloading/requires.c
The file was modifiedopenmp/libomptarget/test/lit.cfg
The file was modifiedopenmp/libomptarget/test/mapping/present/target_update.c
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/shared_update.c
The file was modifiedopenmp/libomptarget/test/api/is_initial_device.c
The file was modifiedopenmp/libomptarget/test/offloading/bug47654.cpp
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp
The file was modifiedopenmp/libomptarget/test/offloading/looptripcnt.c
The file was modifiedopenmp/libomptarget/test/mapping/lambda_mapping.cpp
The file was modifiedopenmp/libomptarget/test/mapping/private_mapping.c
The file was modifiedopenmp/libomptarget/test/api/omp_get_num_devices.c
The file was modifiedopenmp/libomptarget/test/api/omp_get_num_devices_with_empty_target.c
The file was modifiedopenmp/libomptarget/test/mapping/pr38704.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data_at_exit.c
The file was modifiedopenmp/libomptarget/test/env/omp_target_debug.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers.cpp
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_update.cpp
The file was modifiedopenmp/libomptarget/test/offloading/offloading_success.cpp
The file was modifiedopenmp/libomptarget/test/offloading/info.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_array_extension.c
The file was modifiedopenmp/libomptarget/test/mapping/target_update_array_extension.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_api.cpp
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data_array_extension.c
The file was modifiedopenmp/libomptarget/test/offloading/dynamic_module.c
The file was modifiedopenmp/libomptarget/test/offloading/mandatory_but_no_devices.c
The file was modifiedopenmp/libomptarget/test/offloading/bug49021.cpp
The file was modifiedopenmp/libomptarget/test/env/base_ptr_ref_count.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_data.cpp
The file was modifiedopenmp/libomptarget/test/mapping/present/target_exit_data_delete.c
The file was modifiedopenmp/libomptarget/test/offloading/host_as_target.c
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_enter_exit.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_update_array_extension.c
The file was modifiedopenmp/libomptarget/test/offloading/memory_manager.cpp
The file was modifiedopenmp/libomptarget/test/offloading/assert.cpp
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target.cpp
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_modifier.c
The file was modifiedopenmp/libomptarget/test/offloading/dynamic_module_load.c
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/api.c
The file was modifiedopenmp/libomptarget/test/offloading/bug49334.cpp
The file was modifiedopenmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c
The file was modifiedopenmp/libomptarget/test/mapping/delete_inf_refcount.c
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_manual.c
The file was modifiedopenmp/libomptarget/test/offloading/parallel_offloading_map.cpp
The file was modifiedopenmp/libomptarget/test/mapping/target_data_array_extension_at_exit.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_exit_data_release.c
The file was modifiedopenmp/libomptarget/test/mapping/target_implicit_partial_map.c
The file was modifiedopenmp/libomptarget/test/mapping/present/zero_length_array_section.c
The file was modifiedopenmp/libomptarget/test/mapping/data_member_ref.cpp
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp
The file was modifiedopenmp/libomptarget/test/mapping/alloc_fail.c
The file was modifiedopenmp/libomptarget/test/mapping/data_absent_at_exit.c
The file was modifiedopenmp/libomptarget/test/mapping/ptr_and_obj_motion.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_enter_data.c
The file was modifiedopenmp/libomptarget/test/offloading/offloading_success.c
The file was modifiedopenmp/libomptarget/test/mapping/present/unified_shared_memory.c
The file was modifiedopenmp/libomptarget/test/offloading/non_contiguous_update.cpp
The file was modifiedopenmp/libomptarget/test/offloading/d2d_memcpy.c
The file was modifiedopenmp/libomptarget/test/offloading/target_depend_nowait.cpp
Commit 9b7a0a50355d5dc8ab3e9598103ef81b00077ff4 by llvm-dev
[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)

XADD has the same EFLAGS behaviour as ADD

Reapplies rG2149aa73f640 (after it was reverted at rG535df472b042) - AFAICT rG029e41ec9800 should ensure we correctly tag the LXADD* ops as load/stores - I haven't been able to repro the sanitizer buildbot fails locally so this is a speculative commit.
The file was modifiedllvm/test/CodeGen/X86/atomic-eflags-reuse.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll
Commit 76a412e7a330964fe9914cbaaa0772feef771a28 by Yaxun.Liu
[HIP] Fix help text for -fgpu-allow-device-init

Add 'experimental' to help text.
The file was modifiedclang/include/clang/Driver/Options.td
Commit 53e1cb88f28052fa849f28ff164d61e06a3dcfd2 by davg
[clangd] run clang-format on FindTargetTests.cpp's FindExplicitReferencesTest

Addressing comments in https://reviews.llvm.org/D98984

Differential Revision: https://reviews.llvm.org/D101328
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 53b3c1c5e77bbb2560c8bbb20c4b7c4c61166ffb by martin
[libcxx] [test] Add a separate 'windows-dll' feature to check for

This allows distinguishing failures in tests that only fail when libcxx
is linked as a DLL, allowing narrowing down XFAILs (avoiding XPASS errors
if not built as a DLL).

If both enable_shared and enable_static are set, the tests link and use
the shared version of the lib.

Differential Revision: https://reviews.llvm.org/D100221
The file was modifiedlibcxx/utils/libcxx/test/features.py
Commit 4ebb01cbcb3a9566fa0684eac5bdb232d9dc91fe by martin
[libcxx] [test] Convert a couple of LIBCXX-WINDOWS-FIXME into XFAIL: windows-dll for known bugs

These are caused due to inconsistencies regarding always inline in
combination with dllimport. A bug report reference is added next to
each XFAIL line.

Differential Revision: https://reviews.llvm.org/D100789
The file was modifiedlibcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp
Commit c20e4fbfa6d154616c2dd41e828a02facd000d71 by davg
[clangd] Improve handling of Objective-C protocols in types

Improve support for Objective-C protocols for types/type locs

Differential Revision: https://reviews.llvm.org/D98984
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 4afeda9157cffd2daa83f8075d73f1e11ea34c81 by david.sherwood
[LoopVectorize] Simplify scalar cost calculation in getInstructionCost

This patch simplifies the calculation of certain costs in
getInstructionCost when isScalarAfterVectorization() returns a true value.
There are a few places where we multiply a cost by a number N, i.e.

  unsigned N = isScalarAfterVectorization(I, VF) ? VF.getKnownMinValue() : 1;
  return N * TTI.getArithmeticInstrCost(...

After some investigation it seems that there are only these cases that occur
in practice:

1. VF is a scalar, in which case N = 1.
2. VF is a vector. We can only get here if: a) the instruction is a
GEP/bitcast/PHI with scalar uses, or b) this is an update to an induction
variable that remains scalar.

I have changed the code so that N is assumed to always be 1. For GEPs
the cost is always 0, since this is calculated later on as part of the
load/store cost. PHI nodes are costed separately and were never previously
multiplied by VF. For all other cases I have added an assert that none of
the users needs scalarising, which didn't fire in any unit tests.

Only one test required fixing and I believe the original cost for the scalar
add instruction to have been wrong, since only one copy remains after
vectorisation.

I have also added a new test for the case when a pointer PHI feeds directly
into a store that will be scalarised as we were previously never testing it.

Differential Revision: https://reviews.llvm.org/D99718
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll
Commit decab8e9730598831d0de542186709dd126b1f3d by llvm-dev
Revert rG9b7a0a50355d5 - Revert "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)"

Still causing some sanitizer buildbot failures.
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-eflags-reuse.ll
Commit 4abba775a39af7f5be5d4573011930b639d69b63 by asher.mancinelli
[flang] Add format test to GTest suite

Reviewed by: awarzynski
Differential Revision: https://reviews.llvm.org/D100765
The file was modifiedflang/unittests/Runtime/CMakeLists.txt
The file was removedflang/unittests/Runtime/format.cpp
The file was addedflang/unittests/RuntimeGTest/Format.cpp
The file was modifiedflang/unittests/RuntimeGTest/CMakeLists.txt
Commit 6968520c3b04afa7cf38ed8db24c4f15970580d5 by david.sherwood
Revert "[LoopVectorize] Simplify scalar cost calculation in getInstructionCost"

This reverts commit 4afeda9157cffd2daa83f8075d73f1e11ea34c81.
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 4dc6763289a0496f59af28141fff6133ba322a04 by kuhnel
[doc] added documentation for pre-merge testing

fixes https://github.com/google/llvm-premerge-checks/issues/275

Differential Revision: https://reviews.llvm.org/D100936
The file was modifiedllvm/docs/Phabricator.rst
The file was addedllvm/docs/Phabricator_premerge_unit_tests.png
The file was addedllvm/docs/Phabricator_premerge_results.png
Commit 21da04f701735ecd42f1d43b3f58b708ad382905 by thakis
[llvm, clang] Remove stdlib includes from .h files without `std::`

Found files not containing `std::` with:

    INCL="algorithm|array|list|map|memory|queue|set|string|utility|vector|unordered_map|unordered_set"
    git ls-files llvm/include/llvm | grep '\.h$' | xargs grep -L std:: | \
        xargs grep -El "#include <($INCL)>$" > to_process.txt
    git ls-files clang/include/clang | grep '\.h$' | xargs grep -L std:: | \
        xargs grep -El "#include <($INCL)>$" >> to_process.txt

Then removed these headers from those files with

    INCL_ESCAPED="$(echo $INCL|sed 's/|/\\|/g')"
    cat to_process.txt | xargs sed -i "/^#include <\($INCL_ESCAPED\)>$/d"
    cat to_process.txt | xargs sed -i '/^$/N;/^\n$/D'

No behavior change.

Differential Revision: https://reviews.llvm.org/D101378
The file was modifiedclang/include/clang/Driver/Options.h
The file was modifiedclang/include/clang/Tooling/Refactoring/RefactoringActionRule.h
The file was modifiedllvm/include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
The file was modifiedllvm/include/llvm/CodeGen/TileShapeInfo.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileEntry.h
The file was modifiedclang/include/clang/Index/CommentToXML.h
The file was modifiedclang/include/clang/AST/DeclContextInternals.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/StringTable.h
The file was modifiedclang/include/clang/Tooling/Transformer/Parsing.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBuilder.h
The file was modifiedllvm/include/llvm/Target/CGPassBuilderOption.h
Commit 241c2da4064c850d58896e0a870b0c3485dfd82d by wei.huang
[AIX][Power10] Restrict prefixed instructions from crossing the 64byte boundary

This patch adds the support to restrict prefixed instruction from
crossing the 64 byte boundary:
- Add the infrastructure to register a custom XCOFF streamer
- Add a custom XCOFF streamer for PowerPC to allow us to
  intercept instructions as they are being emitted and align all 8 byte
  instructions to a 64 byte boundary if required by adding a 4 byte nop.

Reviewed By: stefanp

Differential Revision: https://reviews.llvm.org/D101107
The file was addedllvm/test/CodeGen/PowerPC/aix-prefixed-instruction-boundary.mir
The file was modifiedllvm/include/llvm/Support/TargetRegistry.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
The file was addedllvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was addedllvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.h
Commit 4cf942adab0c0b35d933839b7a8cda37e6d646e8 by llvmgnsyncbot
[gn build] Port 241c2da4064c
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn
Commit ea8416bf4df4e2823d85d50d8ddd69dd8ed54720 by ndesaulniers
[CodeGenOptions] make StackProtectorGuardOffset signed

GCC supports negative values for -mstack-protector-guard-offset=, this
should be a signed value. Pre-req to D100919.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101325
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/test/CodeGen/X86/stack-protector-3.ll
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
Commit 887bdff8bae74ae0cedadbbe35f39141da3642c9 by phosek
[Driver] Fix tests failing in per-target multiarch layout

These failures were revealed by b4537c3f51bc6c011ddd9c10b80043ac4ce16a01.

Differential Revision: https://reviews.llvm.org/D101348
The file was modifiedclang/test/Driver/compiler-rt-unwind.c
The file was modifiedclang/test/Driver/sanitizer-ld.c
The file was modifiedclang/test/Driver/cross-linux.c
The file was modifiedclang/test/Driver/env.c
Commit ca7824c2a8dbf3e37734e10e77003acd34d0868a by mgorny
[lldb] [gdb-remote] Report QPassSignals and qXfer via extensions API

Remove hardcoded platform list for QPassSignals, qXfer:auxv:read
and qXfer:libraries-svr4:read and instead query the process plugin
via the GetSupportedExtensions() API.

Differential Revision: https://reviews.llvm.org/D101241
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
The file was modifiedlldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py
The file was modifiedlldb/include/lldb/Host/common/NativeProcessProtocol.h
Commit 25bf137b1ea33ff9c76834f44b10f4e1ae677d5e by Adrian Prantl
Also display the underlying error message when displaying a fixit

When the user running LLDB with default settings sees the fixit
notification it means that the auto-applied fixit didn't work. This
patch shows the underlying error message instead of just the fixit to
make it easier to understand what the error in the expression was.

Differential Revision: https://reviews.llvm.org/D101333
The file was modifiedlldb/source/Expression/UserExpression.cpp
The file was modifiedlldb/test/API/commands/expression/fixits/TestFixIts.py
Commit 0e6f934cc3a70ecc40179869457c826ea4dcb4e2 by Vitaly Buka
[NFC][lsan] Another attempt to fix arm bot
The file was modifiedcompiler-rt/test/lsan/TestCases/use_globals_unused.cpp
Commit e05fdab1250c0956ef9fc87fe764c9f0c144304d by craig.topper
[TableGen] Add predicate checks to isel patterns for default HwMode.

As discussed in D100691 and based on D100889.

I removed the ModeChecks cache which provides little value. Reduced
from three loops to two. Used ArrayRef to pass the Predicate to
AppendPattern to avoid needing to construct a vector for single
mode. Used SmallVector to avoid heap allocation constructing
DefaultCheck for the in tree targets the use it.

Reviewed By: kparzysz

Differential Revision: https://reviews.llvm.org/D101240
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit 21db4cc2ea1518900b4a4c8235c4e1131fa0e613 by anirudh_prasad
[SystemZ][z/OS] Remove register prefixes when printing out the register.

- This patch is the first part in enforcing prefix-less registers for the HLASM dialect in z/OS
- This patch removes the "%[r|f|v]" prefix while printing registers
- To achieve this, the `AssemblerDialect` field of MAI was used
- There is also a bit of refactoring done to ensure code repetition is reduced.
- Currently the LLVM assembler for SystemZ/z/OS accepts both prefixed registers and prefix-less registers. A subsequent follow-up patch will restrict the SystemZAsmParser to only accept prefix-less registers.

Crediting @kianm as an author as well.

Reviewed By: uweigand, abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D101308
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.h
Commit 1ebbf84ba45b1af8b6469f79a6c6798d185bc1d2 by lebedev.ri
[NFC][IR] PHINode: assert we aren't trying to create token-typed PHI

Verifier will complain, but by then it may be too late,
because we might have never reached it because
we already crashed with some bogus bug.
It is best to catch this the moment it happens.
The file was modifiedllvm/include/llvm/IR/Instructions.h
Commit 15f631cc78f8f2458b6da97eb20236023d452192 by lebedev.ri
[NFC][IR] PHINode: ... and assert in another ctor too
The file was modifiedllvm/include/llvm/IR/Instructions.h
Commit 6a2e29851738d33d2296a9684016ebaf7247ae54 by Ahmed Bougacha
[docs] Replace Apple representative to security group.

Differential Revision: https://reviews.llvm.org/D100864
The file was modifiedllvm/docs/Security.rst
Commit 1d505016efa29ce1e9b11baf8ab2d7950e9bdcc7 by jrtc27
[ELF][MIPS] Don't emit dynamic relocations for PIE non-preemptible TLS

Whilst not wrong (unless using static PIE where the relocations are
likely not implemented by the runtime), this is inefficient, as the TLS
module indices and offsets are independent of the executable's load
address.

Reviewed By: MaskRay, atanasyan

Differential Revision: https://reviews.llvm.org/D101382
The file was modifiedlld/test/ELF/mips-tls-64.s
The file was modifiedlld/test/ELF/mips-tls.s
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit 7fefd032cb260f96191089c9d817c61276d8bf66 by jrtc27
[ELF][MIPS] Emit dynamic relocations for PIC non-preemptible static TLS

This is the same problem as 127176e59eb9, but for static TLS rather than
dynamic TLS. Although we know the symbol will be the one in our own TLS
segment, and thus the offset of it within that, we don't know where in
the static TLS block our data will be allocated and thus we must emit a
dynamic relocation for this case.

Reviewed By: MaskRay, atanasyan

Differential Revision: https://reviews.llvm.org/D101381
The file was modifiedlld/test/ELF/mips-tls-64.s
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/mips-tls.s
Commit be935f28888cbfe705699fa3beb8b849aa0f9f90 by lebedev.ri
[NFC][Verifier] Fixup token PHINode test cases

It would still pass in non-assert build,
but with asserts it would now crash.

I haven't checked, but hopefully `not`'s `--crash` argument
should be enough to support both paths.
The file was modifiedllvm/test/Verifier/token1.ll
Commit f19e8f424f1f76b1868f68631bfbd0d3b1648bda by a.bataev
[COST][X86]Improve cost model for reverse shuffle v32i16/v64i8 in AVX512F.

Improved cost model for reverse shuffle on AVX512F for types
v32i16/v64i8.

Differential Revision: https://reviews.llvm.org/D100974
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-reverse.ll
Commit 268f1963af335b65c9c3f99621eccfe106454e8e by david.green
[ARM] Additional VIDUP tests. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vidup.ll
Commit 8de7d8b2c289acfb866248b798bea9a755b198d7 by david.green
[ARM] Recognize VIDUP from BUILDVECTORs of additions

This adds a pattern to recognize VIDUP from BUILD_VECTOR of incrementing
adds. This can come up from either geps or adds, and came up recently in
D100550. We are just looking for a BUILD_VECTOR where each lane is an
add of the first lane with N*i, where i is the lane and N is one of 1,
2, 4, or 8, supported by the VIDUP instruction.

Differential Revision: https://reviews.llvm.org/D101263
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/test/CodeGen/Thumb2/mve-tailpred-loopinvariant.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vidup.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit e4c61d5f837beed74585bbdff85877c1a1682b80 by lebedev.ri
[NFC][SimplifyCFG] Autogenerate check lines in many test files

These are potentially being affected by an upcoming patch.
The file was modifiedllvm/test/Transforms/SimplifyCFG/noreturn-call.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/volatile-phioper.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/invoke.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/invoke_unwind.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/div-rem-pairs.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/multiple-phis.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/basictest.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/sink-common-code.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-on-const-select.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-to-select-multiple-edge-per-block-phi.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/implied-cond.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/PowerPC/cttz-ctlz-spec.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/merge-cond-stores-cost.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/inline-asm-sink.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/merge-default.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/HoistCode.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/guards.ll
Commit 561f4b9087457e9ea3cf4aeb57dcd507e2fa6258 by eugenis
Fix -Wunused-but-set-variable warning in msan_test.cpp
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp