Changes

Summary

  1. [CodeGen] Remove an outdated comment in MachinePointerInfo (details)
  2. [mlir][SparseTensor] Enable VLA ops in index value generation (details)
  3. [RISCV] Support VP_SETCC mask operations (details)
  4. [lldb] Reduce duplication in DWARFASTParserClang::CopyUniqueClassMethodTypes (details)
  5. Revert "[clang-format] SortIncludes should support "@import" lines in Objective-C" (details)
  6. [clang-format] add a regression test for include sorting (details)
  7. [AST] Improve traversal of concepts and concept requirements (details)
  8. [ARM] add Armv9 build attribute (details)
  9. [Analyzer] Remove undefined function (details)
  10. [flang] Fix UBOUND() constant folding for parentheses expr (details)
  11. [flang] Support FINDLOC/MAXLOC/MINLOC with scalar mask (details)
  12. [RS4GC] Add tests showing cases in which we could find a better base (NFC) (details)
  13. [X86] Add test case for Issue #55157 (details)
  14. [flang][driver] Fix spelling (nfc) (details)
  15. Revert "[llvm-pdbutil] Add options to only dump symbol record at specified offset and its parents or children with spcified depth." (details)
  16. [X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index (details)
  17. Revert rG8680dd5117b0c36f807fecc4360122ae1dd73b6d "[X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index" (details)
  18. [X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index (details)
  19. [clang-tidy] support --load in clang-tidy-diff.py/run-clang-tidy.py (details)
  20. [NVPTX] Integrate ptxas to LIT tests (details)
  21. [X86] Add test case for Issue #55158 (details)
  22. [mlir][spirv] Convert memref.alloca to spv.Variable (details)
  23. [mlir][spirv] Remove layout decoration on unneeded storage classes (details)
  24. Use `-text` git attribute instead of `text eol=...` (details)
  25. [clangd] Record latency for ASTSignal derivation (details)
  26. [gn build] (manually) port 0f1b5f115a7f (details)
  27. [Sema][SVE2] Move/simplify Sema testing for SVE2 ACLE builtins (details)
  28. [InstCombine] Add tests for or of icmp trunc/and (NFC) (details)
  29. re-roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable""."" (details)
  30. [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [2/2] (details)
  31. [Flang] Initial lowering of the Fortran Do loop (details)
  32. [InstCombine] Fold or of icmp ne trunc/and (details)
  33. Revert "[Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [2/2]" (details)
  34. llvm-reduce: Don't check tool name in error message check (details)
  35. [lldb/DWARF] Fix a typo in 57f99d0dc3 (details)
  36. try to fix check-llvm on windows after e39e9d33 (details)
  37. [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [2/2] (details)
  38. [AArch64] Add a fp128 shuffle test. NFC (details)
  39. [ArgPromotion] Rename variables according to the code style. NFC (details)
  40. [lldb] Add FixAnyAddress to ABI plugins (details)
  41. [InstCombine][X86] Show failure to simplify demanded vector elts for x86 per-element vector shifts (details)
  42. [VecCombine] Add tests for removing shuffles from reductions. NFC (details)
  43. [PS5] Disable exceptions by default (details)
  44. [test][NewPM] Use -passes=loop-vectorize instead of -loop-vectorize (details)
  45. [PS5] Set default cpu to znver2, with no tuning (details)
  46. [demangler] Fix demangling a template argument which happens to be a null pointer (details)
  47. [PS5] Rename a test to reflect its new purpose (details)
  48. [mlir][emitc] Disallow !emitc.opaque pointers (details)
  49. [X86] getBT - attempt to peek through aext(and(trunc(x),c)) mask/modulo (details)
  50. [NFC][libc++][format] Enable unit tests. (details)
  51. Revert "[COST]Improve cost model for shuffles in SLP." (details)
  52. [HIP] Add HIP runtime library arguments for linker (details)
  53. [lldb] Remove patch reject file (.rej) (details)
  54. [mlir][emitc] Replace !emitc.opaque pointers (details)
  55. [VPlan] Remove uneeded needsVectorIV check. (details)
  56. [VPlan] Fix comment formatting from 43842b887e. (details)
  57. [RISCV] Fix alias printing for vmnot.m (details)
  58. [Driver] Add f16 support to -mrecip parsing. (details)
  59. [HLSL] Adjust access specifier behavior (details)
  60. [llvm] Ignore .rej files in .gitignore (details)
Commit 515f890033ccaad3890333513731e4c5b6db2482 by jay.foad
[CodeGen] Remove an outdated comment in MachinePointerInfo

This comment has been untrue since D39758 changed
MachinePointerInfo to store AddrSpace separately from V.
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
Commit 6301574206b39f72edb957f3b069f3892c117d4b by javier.setoain
[mlir][SparseTensor] Enable VLA ops in index value generation

Current index value generation uses fixed-length vector ops, this patch
adds an alterantive codegen path compatible with scalable vectors by
using `LLVM::StepVectorOp`.

Differential Revision: https://reviews.llvm.org/D124454
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
Commit dc0ae8ce18227cf4a6774db3ebf086c5d711f78d by Lian.Wang
[RISCV] Support VP_SETCC mask operations

Support VP_SETCC mask operations, turn it to logical operation.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D124438
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-int-vp-mask.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/setcc-int-vp-mask.ll
Commit 57f99d0dc387aab4e4af2cd92f97598e8a5df41f by pavel
[lldb] Reduce duplication in DWARFASTParserClang::CopyUniqueClassMethodTypes

Use lambdas to replace identical bits of code.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit e8cc7490d23477233d21c72923a4f8ea43bfbbc0 by krasimir
Revert "[clang-format] SortIncludes should support "@import" lines in Objective-C"

This reverts commit d46fa023caa2db5a9f1e21dd038bcb626261d958.
Regressed include order in some cases with trailing comments, see the
comments on https://reviews.llvm.org/D121370. Will add a regression test
in a follow-up commit.
The file was modifiedclang/include/clang/Tooling/Inclusions/HeaderIncludes.h
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/lib/Tooling/Inclusions/HeaderIncludes.cpp
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp
Commit be656df18721dc55a1de2eea64a3f73b6afa29a2 by krasimir
[clang-format] add a regression test for include sorting

This adds a regression test from the comments
on https://reviews.llvm.org/D121370.

Reviewed By: MyDeveloperDay, curdeius

Differential Revision: https://reviews.llvm.org/D124513
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp
Commit 2b833d4086aba3c0fca480549309af54bfdd8e2e by ibiryukov
[AST] Improve traversal of concepts and concept requirements

- Do not traverse concept decl inside `AutoType`. We only traverse
  declaration and definitions, not references to a declaration.
- Do not visit implicit AST node the relevant traversal mode.
- Add traversal extension points for concept requirements.
- Renamed `TraverseConceptReference` to mark as helper to share
  the code. Having an extension point there seems confusing given that
  there are many concept refences in the AST that do not call the
  helper. Those are `AutoType`, `AutoTypeLoc` and constraint requirements.

Only clangd code requires an update.

There are no use-cases for concept requirement traversals yet, but
I added them in the earlier version of the patch and decided to keep
them for completeness.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D124532
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Index/IndexBody.cpp
The file was modifiedclang/unittests/Tooling/RecursiveASTVisitorTests/Concept.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit 051deb2d9d3422f6a9ca8e12f33bb6ab6d180bb4 by ties.stuij
[ARM] add Armv9 build attribute

The build attribute number can be found in the Arm ABI addenda32 document:
https://github.com/ARM-software/abi-aa/blob/main/addenda32/addenda32.rst#335target-related-attributes

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D124090
The file was modifiedllvm/include/llvm/Support/ARMBuildAttributes.h
The file was modifiedllvm/lib/Support/ARMAttributeParser.cpp
The file was modifiedllvm/unittests/Support/ARMAttributeParser.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedllvm/lib/Object/ELFObjectFile.cpp
The file was modifiedllvm/include/llvm/Support/ARMTargetParser.def
Commit bf0bcb5e539b1177cb2023691a13635e8cab5d2f by marco.antognini
[Analyzer] Remove undefined function

This getLValue function was declared in 98db1f990fc2 ([Analyzer] [NFC]
Parameter Regions, 2020-05-11) but was never implemented.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D124461
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
Commit 92e22c97e9ef0da76b52bf56a0ac5d4a312b1ea7 by fruitclover
[flang] Fix UBOUND() constant folding for parentheses expr

Similarly to LBOUND((x)) in https://reviews.llvm.org/D123838 - fix UBOUND((x))
folding for constant arrays to return shape instead of recurse scan.

Depends on D123520

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D123944
The file was modifiedflang/lib/Evaluate/fold-integer.cpp
The file was modifiedflang/test/Evaluate/folding08.f90
Commit 35cc2ec4ed4a7a0862e62ad009d561f61e2d12c3 by fruitclover
[flang] Support FINDLOC/MAXLOC/MINLOC with scalar mask

Previously MASK= elements were accessed in assumption that mask is an array of
input argument rank (and in combination with explicit DIM= argument we had
out-of-bounds access), but for MAXLOC/MINLOC/FINDLOC mask should be be
conformable and could be scalar.

Add new regression tests with scalar mask for verification.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D124408
The file was modifiedflang/lib/Evaluate/fold-integer.cpp
The file was modifiedflang/test/Evaluate/fold-findloc.f90
Commit e9b4f2256a32673a532271b24fea224b430b5730 by d.makogon
[RS4GC] Add tests showing cases in which we could find a better base (NFC)
The file was addedllvm/test/Transforms/RewriteStatepointsForGC/single-base.ll
Commit e7435e61e94834efb41e817448a73fb5e10bfb79 by llvm-dev
[X86] Add test case for Issue #55157
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining.ll
Commit dcb2ddd6c925e6e4058ca41d2fb0833957fabeb3 by andrzej.warzynski
[flang][driver] Fix spelling (nfc)

Merely making sure that we use consistent spelling.
The file was modifiedflang/include/flang/Frontend/CompilerInvocation.h
Commit cfb4e782520ce59602a34732386ebbdf58136cfb by forster
Revert "[llvm-pdbutil] Add options to only dump symbol record at specified offset and its parents or children with spcified depth."

This reverts commit a3b7cb015fd5fd2aa98afda8ae22759576ce2888.

symbol-offset.test fails under MSAN:

[  1] ; RUN: llvm-pdbutil yaml2pdb %p/Inputs/symbol-offset.yaml --pdb=%t.pdb [FAIL]
llvm-pdbutil yaml2pdb <REDACTED>/llvm/test/tools/llvm-pdbutil/Inputs/symbol-offset.yaml --pdb=<REDACTED>/tmp/symbol-offset.test/symbol-offset.test.tmp.pdb
==9283==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55f975e5eb91 in __libcpp_tls_set <REDACTED>/include/c++/v1/__threading_support:428:12
    #1 0x55f975e5eb91 in set_pointer <REDACTED>/include/c++/v1/thread:196:5
    #2 0x55f975e5eb91 in void* std::__msan::__thread_proxy<std::__msan::tuple<std::__msan::unique_ptr<std::__msan::__thread_struct, std::__msan::default_delete<std::__msan::__thread_struct> >, llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'()::operator()() const::'lambda'()> >(void*) <REDACTED>/include/c++/v1/thread:285:27
    #3 0x7f74a1e55b54 in start_thread (<REDACTED>/libpthread.so.0+0xbb54) (BuildId: 64752de50ebd1a108f4b3f8d0d7e1a13)
    #4 0x7f74a1dc9f7e in clone (<REDACTED>/libc.so.6+0x13cf7e) (BuildId: 7cfed7708e5ab7fcb286b373de21ee76)
The file was modifiedllvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
The file was removedllvm/test/tools/llvm-pdbutil/symbol-offset.test
The file was modifiedllvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/InputFile.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h
The file was modifiedllvm/include/llvm/Support/BinaryStreamArray.h
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/InputFile.h
The file was removedllvm/test/tools/llvm-pdbutil/Inputs/symbol-offset.yaml
The file was modifiedllvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
Commit 8680dd5117b0c36f807fecc4360122ae1dd73b6d by llvm-dev
[X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index

The other src element might be zero, guaranteeing zero.

Fixes #55157
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining.ll
Commit ae8143547a340771d21e0a2be937dde6ef284412 by llvm-dev
Revert rG8680dd5117b0c36f807fecc4360122ae1dd73b6d "[X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index"

I screwed up the merge somehow.
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining.ll
Commit ed8dffef4c37d831a0bcc713ab56f38d8d9612df by llvm-dev
[X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index

The other src element might be zero, guaranteeing zero.

Fixes #55157
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining.ll
Commit b1f1688e90b22dedc829f5abc9a912f18c034fbc by whisperity
[clang-tidy] support --load in clang-tidy-diff.py/run-clang-tidy.py

Support for loading shared objects as plugins into clang-tidy was added
in http://reviews.llvm.org/D111100. Unfortunately, the utility scripts
`clang-tidy-diff.py` and `run-clang-tidy.py` did not receive
corresponding arguments to forward such plugins to clang-tidy.
This diff adds a `-load=plugin` option to both scripts.

Differential Revision: http://reviews.llvm.org/D12306

Reviewed By: aaron.ballman
The file was modifiedclang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
The file was modifiedclang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Commit 0f1b5f115a7f6fd90989996ae514810773157b76 by andrew.savonichev
[NVPTX] Integrate ptxas to LIT tests

ptxas is a proprietary compiler from Nvidia that can compile PTX to
machine code (SASS). It has a lot of diagnostics to catch errors
in PTX, which can be used to verify PTX output from llc.

Set -DPXTAS_EXECUTABLE=/path/to/ptxas CMake option to enable it.
If this option is not set, then ptxas is substituted to true which
effectively disables all ptxas RUN lines.

LLVM_PTXAS_EXECUTABLE environment variable takes precedence over
the CMake option, and allows to override ptxas executable that is used for LIT
without complete re-configuration.

Differential Revision: https://reviews.llvm.org/D121727
The file was modifiedllvm/test/CodeGen/NVPTX/ctpop.ll
The file was modifiedllvm/test/CodeGen/NVPTX/arg-lowering.ll
The file was modifiedllvm/test/CodeGen/NVPTX/idioms.ll
The file was modifiedllvm/test/CodeGen/NVPTX/inline-asm.ll
The file was modifiedllvm/test/CodeGen/NVPTX/inlineasm-output-template.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-addr-class.ll
The file was modifiedllvm/test/CodeGen/NVPTX/wmma.py
The file was modifiedllvm/test/CodeGen/NVPTX/add-128bit.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-stores.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug41651.ll
The file was modifiedllvm/test/CodeGen/NVPTX/weak-global.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug26185-2.ll
The file was modifiedllvm/test/CodeGen/NVPTX/f16-ex2.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fma-assoc.ll
The file was modifiedllvm/test/CodeGen/NVPTX/param-load-store.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fp-contract.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ld-st-addrrspace.py
The file was modifiedllvm/test/CodeGen/NVPTX/annotations.ll
The file was modifiedllvm/test/CodeGen/NVPTX/redux-sync.ll
The file was modifiedllvm/test/CodeGen/NVPTX/addrspacecast.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i128-param.ll
The file was modifiedllvm/test/CodeGen/NVPTX/tid-range.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ldu-i8.ll
The file was modifiedllvm/test/CodeGen/NVPTX/lower-kernel-ptr-arg.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug22246.ll
The file was modifiedllvm/test/CodeGen/NVPTX/load-store.ll
The file was modifiedllvm/test/CodeGen/NVPTX/nvvm-annotations-D120129.ll
The file was modifiedllvm/test/CodeGen/NVPTX/global-visibility.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-compare.ll
The file was modifiedllvm/test/CodeGen/NVPTX/sched1.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-loads.ll
The file was modifiedllvm/test/CodeGen/NVPTX/texsurf-queries.ll
The file was modifiedllvm/test/CodeGen/NVPTX/intrinsic-old.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug17709.ll
The file was modifiedllvm/test/CodeGen/NVPTX/calling-conv.ll
The file was modifiedllvm/test/CodeGen/NVPTX/mbarrier.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ld-addrspace.ll
The file was modifiedllvm/test/CodeGen/NVPTX/reg-types.ll
The file was modifiedllvm/test/CodeGen/NVPTX/atomics-sm60.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i1-global.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i1-int-to-fp.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-file-loc.ll
The file was modifiedllvm/test/CodeGen/NVPTX/st-generic.ll
The file was modifiedllvm/test/CodeGen/NVPTX/constant-vectors.ll
The file was modifiedllvm/test/CodeGen/NVPTX/pow2_mask_cmp.ll
The file was modifiedllvm/test/CodeGen/NVPTX/isspacep.ll
The file was modifiedllvm/test/CodeGen/NVPTX/f16x2-instructions.ll
The file was modifiedllvm/test/CodeGen/NVPTX/MachineSink-call.ll
The file was modifiedllvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
The file was modifiedllvm/test/CodeGen/NVPTX/intrinsics.ll
The file was modifiedllvm/test/CodeGen/NVPTX/rotate_64.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vectorize-misaligned.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll
The file was modifiedllvm/test/CodeGen/NVPTX/load-with-non-coherent-cache.ll
The file was modifiedllvm/test/CodeGen/NVPTX/libcall-fulfilled.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bypass-div.ll
The file was modifiedllvm/test/CodeGen/NVPTX/global-ordering.ll
The file was modifiedllvm/test/CodeGen/NVPTX/combine-min-max.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bfe.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i8-param.ll
The file was modifiedllvm/test/CodeGen/NVPTX/TailDuplication-convergent.ll
The file was modifiedllvm/test/CodeGen/NVPTX/calls-with-phi.ll
The file was modifiedllvm/test/CodeGen/NVPTX/cttz.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-global.ll
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedllvm/test/CodeGen/NVPTX/surf-read.ll
The file was modifiedllvm/test/CodeGen/NVPTX/module-inline-asm.ll
The file was modifiedllvm/test/CodeGen/NVPTX/b52037.ll
The file was modifiedllvm/test/CodeGen/NVPTX/pr16278.ll
The file was modifiedllvm/test/CodeGen/NVPTX/f16-instructions.ll
The file was modifiedllvm/test/CodeGen/NVPTX/global-variable-big.ll
The file was modifiedllvm/test/CodeGen/NVPTX/math-intrins-sm86-ptx72.ll
The file was modifiedllvm/test/CodeGen/NVPTX/param-vectorize-kernel.ll
The file was modifiedllvm/test/CodeGen/NVPTX/MachineSink-convergent.ll
The file was modifiedllvm/test/CodeGen/NVPTX/convert-sm80.ll
The file was modifiedllvm/test/CodeGen/NVPTX/atomics-with-scope.ll
The file was modifiedllvm/test/lit.cfg.py
The file was modifiedllvm/test/CodeGen/NVPTX/ldparam-v4.ll
The file was modifiedllvm/test/CodeGen/NVPTX/refl1.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ldu-ldg.ll
The file was modifiedllvm/test/CodeGen/NVPTX/div-ri.ll
The file was modifiedllvm/test/CodeGen/NVPTX/param-align.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-args.ll
The file was modifiedllvm/test/CodeGen/NVPTX/sched2.ll
The file was modifiedllvm/test/CodeGen/NVPTX/no-extra-parens.ll
The file was modifiedllvm/test/CodeGen/NVPTX/simple-call.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/dbg-value-const-byref.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/crash-missing-DISubprogram.ll
The file was modifiedllvm/test/CodeGen/NVPTX/store-retval.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-empty.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fminimum-fmaximum.ll
The file was modifiedllvm/test/CodeGen/NVPTX/surf-read-cuda.ll
The file was modifiedllvm/test/CodeGen/NVPTX/surf-tex.py
The file was modifiedllvm/test/CodeGen/NVPTX/shift-parts.ll
The file was modifiedllvm/test/CodeGen/NVPTX/callchain.ll
The file was modifiedllvm/test/CodeGen/NVPTX/pr17529.ll
The file was modifiedllvm/test/CodeGen/NVPTX/arithmetic-int.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i128-retval.ll
The file was modifiedllvm/test/CodeGen/NVPTX/access-non-generic.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fma.ll
The file was modifiedllvm/test/CodeGen/NVPTX/addrspacecast-gvar.ll
The file was modifiedllvm/test/CodeGen/NVPTX/local-stack-frame.ll
The file was modifiedllvm/test/CodeGen/NVPTX/convert-fp.ll
The file was modifiedllvm/test/CodeGen/NVPTX/tex-read-cuda.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ctlz.ll
The file was modifiedllvm/test/CodeGen/NVPTX/surf-write.ll
The file was modifiedllvm/test/CodeGen/NVPTX/sext-params.ll
The file was modifiedllvm/test/CodeGen/NVPTX/st-addrspace.ll
The file was modifiedllvm/test/CodeGen/NVPTX/surf-write-cuda.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug26185.ll
The file was modifiedllvm/test/CodeGen/NVPTX/extloadv.ll
The file was modifiedllvm/test/CodeGen/NVPTX/nounroll.ll
The file was modifiedllvm/test/CodeGen/NVPTX/reg-copy.ll
The file was modifiedllvm/test/CodeGen/NVPTX/generic-to-nvvm.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ldg-invariant.ll
The file was modifiedllvm/test/CodeGen/NVPTX/global-addrspace.ll
The file was modifiedllvm/test/CodeGen/NVPTX/envreg.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fns.ll
The file was modifiedllvm/test/CodeGen/NVPTX/globals_lowering.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fp16.ll
The file was modifiedllvm/test/CodeGen/NVPTX/symbol-naming.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fma-disable.ll
The file was modifiedllvm/test/CodeGen/NVPTX/imad.ll
The file was modifiedllvm/test/CodeGen/NVPTX/machine-sink.ll
The file was modifiedllvm/test/CodeGen/NVPTX/globals_init.ll
The file was modifiedllvm/test/CodeGen/NVPTX/nvcl-param-align.ll
The file was modifiedllvm/test/CodeGen/NVPTX/read-global-variable-constant.ll
The file was modifiedllvm/test/CodeGen/NVPTX/lower-args.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ld-generic.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-name-table.ll
The file was modifiedllvm/test/CodeGen/NVPTX/lower-byval-args.ll
The file was modifiedllvm/test/CodeGen/NVPTX/disable-opt.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i128-global.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-info.ll
The file was modifiedllvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll
The file was modifiedllvm/test/CodeGen/NVPTX/aggr-param.ll
The file was modifiedllvm/test/CodeGen/NVPTX/named-barriers.ll
The file was modifiedllvm/test/CodeGen/NVPTX/convert-int-sm20.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll
The file was modifiedllvm/test/CodeGen/NVPTX/load-sext-i1.ll
The file was modifiedllvm/test/CodeGen/NVPTX/nofunc.ll
The file was modifiedllvm/test/CodeGen/NVPTX/pr13291-i1-store.ll
The file was modifiedllvm/test/CodeGen/NVPTX/barrier.ll
The file was modifiedllvm/test/CodeGen/NVPTX/divrem-combine.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-select.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i1-param.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vec8.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/cu-range-hole.ll
The file was modifiedllvm/test/CodeGen/NVPTX/rotate.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug21465.ll
The file was modifiedllvm/test/CodeGen/NVPTX/async-copy.ll
The file was modifiedllvm/test/CodeGen/NVPTX/lower-alloca.ll
The file was modifiedllvm/test/CodeGen/NVPTX/compare-int.ll
The file was modifiedllvm/test/CodeGen/NVPTX/tex-read.ll
The file was modifiedllvm/test/CodeGen/NVPTX/mulwide.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vector-call.ll
The file was modifiedllvm/test/CodeGen/NVPTX/sext-in-reg.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vote.ll
The file was modifiedllvm/test/CodeGen/NVPTX/math-intrins-sm80-ptx70.ll
The file was modifiedllvm/test/CodeGen/NVPTX/i128-struct.ll
The file was modifiedllvm/test/CodeGen/NVPTX/shfl-sync.ll
The file was modifiedllvm/test/CodeGen/NVPTX/zeroext-32bit.ll
The file was modifiedllvm/test/CodeGen/NVPTX/misaligned-vector-ldst.ll
The file was modifiedllvm/test/CodeGen/NVPTX/bug22322.ll
The file was modifiedllvm/test/CodeGen/NVPTX/minmax-negative.ll
The file was modifiedllvm/test/CodeGen/NVPTX/shfl-sync-p.ll
The file was modifiedllvm/test/CodeGen/NVPTX/atomics.ll
The file was modifiedllvm/test/CodeGen/NVPTX/shfl-p.ll
The file was modifiedllvm/test/CodeGen/NVPTX/branch-fold.ll
The file was modifiedllvm/test/CodeGen/NVPTX/function-align.ll
The file was modifiedllvm/test/CodeGen/NVPTX/math-intrins.ll
The file was modifiedllvm/test/CodeGen/NVPTX/arithmetic-fp-sm20.ll
The file was modifiedllvm/test/CodeGen/NVPTX/sqrt-approx.ll
The file was modifiedllvm/test/CodeGen/NVPTX/vec-param-load.ll
The file was modifiedllvm/test/CodeGen/NVPTX/match.ll
The file was modifiedllvm/test/CodeGen/NVPTX/aggregate-return.ll
The file was modifiedllvm/test/CodeGen/NVPTX/tuple-literal.ll
The file was modifiedllvm/test/CodeGen/NVPTX/half.ll
The file was modifiedllvm/test/CodeGen/NVPTX/weak-linkage.ll
The file was modifiedllvm/test/CodeGen/NVPTX/math-intrins-sm53-ptx42.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fast-math.ll
The file was modifiedllvm/test/CodeGen/NVPTX/managed.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/packed_bitfields.ll
The file was modifiedllvm/test/CodeGen/NVPTX/ldu-reg-plus-offset.ll
The file was modifiedllvm/test/CodeGen/NVPTX/call-with-alloca-buffer.ll
The file was modifiedllvm/test/CodeGen/NVPTX/shfl.ll
The file was modifiedllvm/test/CodeGen/NVPTX/param-vectorize-device.ll
The file was modifiedllvm/test/CodeGen/NVPTX/fp-literals.ll
Commit 72959f77146e6a8c82d228e61968f08c307afc7c by llvm-dev
[X86] Add test case for Issue #55158
The file was addedllvm/test/CodeGen/X86/pr55158.ll
Commit 8854b736065c228270000df552bdd9dc7b152453 by antiagainst
[mlir][spirv] Convert memref.alloca to spv.Variable

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D124542
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/alloc.mlir
The file was addedmlir/test/Conversion/MemRefToSPIRV/alloca.mlir
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
Commit bbffece3835d57ec09a1b62071ee8f4b17dd3c27 by antiagainst
[mlir][spirv] Remove layout decoration on unneeded storage classes

Per SPIR-V validation rules, explict layout decorations are only
needed for StorageBuffer, PhysicalStorageBuffer, Uniform, and
PushConstant storage classes. (And even that is for Shader
capabilities). So we don't need such decorations on the rest.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D124543
The file was modifiedmlir/test/Conversion/GPUToSPIRV/module-structure-opencl.mlir
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/alloc.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
The file was modifiedmlir/test/Conversion/TensorToSPIRV/tensor-ops-to-spirv.mlir
The file was modifiedmlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir
The file was modifiedmlir/test/Conversion/FuncToSPIRV/types-to-spirv.mlir
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/alloca.mlir
Commit 4aba5fa774821279c2e2e26dd6ed6e1c6a151044 by forster
Use `-text` git attribute instead of `text eol=...`

These automatic conversions lead to issues in various workflows, and all
we want here are files that retain their line endings under all
circumstances. `-text` captures that perfectly well and leads to fewer
issues.

It is preferable to `binary`, because with `-text` we still get textual
diffs.

Differential Revision: https://reviews.llvm.org/D124606
The file was modifiedclang-tools-extra/test/.gitattributes
The file was modifiedclang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
The file was modifiedclang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp
Commit 5e4a77f0c4e7e8122e8ee3a15fff0971f5db2244 by kadircet
[clangd] Record latency for ASTSignal derivation
The file was modifiedclang-tools-extra/clangd/ASTSignals.cpp
Commit de7e5394320bd1c3a212d1242cb163fd006e2150 by thakis
[gn build] (manually) port 0f1b5f115a7f
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
Commit f7068c82a2560d97bf9826db1e917f931e887017 by rosie.sumpter
[Sema][SVE2] Move/simplify Sema testing for SVE2 ACLE builtins

Currently for SVE2 ACLE builtins, single tests are used to verify both
clang code generation (when the feature is available) and semantic
error/warning messages (when the feature is unavailable). This WIP
patch moves the semantic testing for the values of immediate arguments
into dedicated Sema tests.
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlalb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrshrunt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rshrnt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshlu.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_xar.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrshrunb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrdmlah.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlslt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shrnt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mls.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlslb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rshr.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_cmla.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qcadd.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shllt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshrnt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_sli.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mullt.c
The file was addedclang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_rotation.cpp
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrdmulh.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrshrnb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrdmlsh.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shrnb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mul.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rshrnb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrdcmlah.c
The file was addedclang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlalt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shllb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmlslb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmlslt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_sra.c
The file was addedclang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_lane.cpp
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshrnb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmulh.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmullb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mla.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_sri.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshrunb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmullt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_cadd.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshrunt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rsra.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmlalb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_cdot.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qrshrnt.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mullb.c
The file was removedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmlalt.c
Commit 2ae15c98ed8d3d5efab9c8890e98c7b1ce005825 by npopov
[InstCombine] Add tests for or of icmp trunc/and (NFC)
The file was modifiedllvm/test/Transforms/InstCombine/merge-icmp.ll
Commit f2b31f06b79a6cfb7eb3146dfc1d514da52142e9 by gribozavr
re-roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable"".""

This reverts commit b0bc93da926a943cdc2d8b04f8dcbe23a774520c.

Changes: `s/_WIN32/_WIN64/g` in clang/test/SemaCXX/attr-trivial-abi.cpp.

The calling convention is specific to 64-bit windows. It's even in the name: `CCK_MicrosoftWin64`.

After this, the test passes with both `-triple i686-pc-win32` and `-triple x86_64-pc-win32`. Phew!

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D123059
The file was modifiedclang/test/SemaCXX/type-traits.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/test/SemaCXX/attr-trivial-abi.cpp
The file was modifiedclang/test/SemaObjCXX/objc-weak-type-traits.mm
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/test/SemaObjCXX/arc-type-traits.mm
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Basic/TokenKinds.def
Commit 3f2b76ec90b5f108272a3072a1345ba55d8ec75b by chrisj
[Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [2/2]

Reland commit 74273d575f9938d751a1c67862cffe553fe2de8b following a fix
for a memory leak. The DVIRecoveryRecord vectors now use unique_ptr.

Differential Revision: https://reviews.llvm.org/D120169
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
Commit b5b3e50f65ee99257041723e7645d44c1aeb1117 by kiran.chandramohan
[Flang] Initial lowering of the Fortran Do loop

This patch adds code to lower simple Fortran Do loops with loop control.
Lowering is performed by the the `genFIR` function when called with a
`Fortran::parser::DoConstruct`. `genFIR` function calls `genFIRIncrementLoopBegin`
then calls functions to lower the body of the loop and finally calls
the function `genFIRIncrementLoopEnd`. `genFIRIncrementLoopBegin` is
responsible for creating the FIR `do_loop` as well as storing the value of
the loop index to the loop variable. `genFIRIncrementLoopEnd` returns
the incremented value of the loop index and also stores the index value
outside the loop. This is important since the loop variable can be used
outside the loop. Information about a loop is collected in a structure
`IncrementLoopInfo`.

Note 1: Future patches will bring in lowering for unstructured,
infinite, while loops
Note 2: This patch is part of upstreaming code from the fir-dev branch of
https://github.com/flang-compiler/f18-llvm-project.

Reviewed By: awarzynski

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

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Val Donaldson <vdonaldson@nvidia.com>
Co-authored-by: Peter Klausler <pklausler@nvidia.com>
Co-authored-by: Valentin Clement <clementval@gmail.com>
The file was addedflang/test/Lower/do_loop.f90
The file was modifiedflang/lib/Lower/Bridge.cpp
Commit 90dba831ae50f2c3dc5de1029b1821790411ca9a by npopov
[InstCombine] Fold or of icmp ne trunc/and

This adds the de Morgan conjugated variant for the existing
"and eq" style fold.

Proof: https://alive2.llvm.org/ce/z/tkNAcG
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/merge-icmp.ll
Commit cd5f9efc4da6c1190aedc810db6a5444b4143313 by chrisj
Revert "[Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [2/2]"

This reverts commit 3f2b76ec90b5f108272a3072a1345ba55d8ec75b.
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit cf68b31f14a9de549a2f6052cc68ca1cc8198302 by arsenm2
llvm-reduce: Don't check tool name in error message check

Windows is being difficult and I don't know how to check the program name here
The file was modifiedllvm/test/tools/llvm-reduce/mir/infer-triple-unknown-target.mir
Commit 0cbad6635475952fb432ac2af8b1fce202aaeb6e by pavel
[lldb/DWARF] Fix a typo in 57f99d0dc3

The lambda should take a reference argument.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit ddfffbeb319aa0cd0eb11c81e2cf989d38ab8a5f by thakis
try to fix check-llvm on windows after e39e9d33
The file was modifiedllvm/test/tools/llvm-reduce/mir/input-file-does-not-exist.mir
Commit c792884589b8c5596173a0ca1e749f03f4ac1171 by chrisj
[Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [2/2]

Reland 3f2b76ec90b5f108272a3072a1345ba55d8ec75b with the test corrected
to require x86-registered-target.

Differential Revision: https://reviews.llvm.org/D120169
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
Commit 05b0a498329c4b5db367120e5c9358bb74346131 by david.green
[AArch64] Add a fp128 shuffle test. NFC

These legalize to scalar types, so it's useful to have a test case that
covers them.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-other.ll
Commit 744a8378387e484982d61cf27a4d9598153da8a3 by npopov
[ArgPromotion] Rename variables according to the code style. NFC

Some loop counters ('i', 'e') and variables ('type') were named not
in accordance with the code style and clang-tidy issues warnings
about the using of such variables. This patch renames the variables
and fixes some typos in the comments within the source file.

Differential Revision: https://reviews.llvm.org/D123662
The file was modifiedllvm/include/llvm/Transforms/IPO/ArgumentPromotion.h
The file was modifiedllvm/lib/Transforms/IPO/ArgumentPromotion.cpp
Commit b809c4cdb70a100c85524555a14332f22ede1b7a by david.spickett
[lldb] Add FixAnyAddress to ABI plugins

FixAnyAddress is to be used when we don't know or don't care
whether we're fixing a code or data address.

By using FixAnyAddress over the others, you document that no
specific choice was made.

On all existing platforms apart from Arm Thumb, you could use
either FixCodeAddress or FixDataAddress and be fine. Up until
now I've chosen to use FixDataAddress but if I had
chosen to use FixCodeAddress that would have broken Arm Thumb.

Hence FixAnyAddress, to give you the "safest" option when you're
in generic code.

Uses of FixDataAddress in memory region code have been changed
to FixAnyAddress. The functionality is unchanged.

Reviewed By: omjavaid, JDevlieghere

Differential Revision: https://reviews.llvm.org/D124000
The file was modifiedlldb/include/lldb/Target/ABI.h
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
Commit ee157b207b7a44df90b672eb143dec378cc551d3 by llvm-dev
[InstCombine][X86] Show failure to simplify demanded vector elts for x86 per-element vector shifts
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-avx2.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-avx2-inseltpoison.ll
Commit f9f2276399048bb8a1cd87b38a63b75bf99ccf08 by david.green
[VecCombine] Add tests for removing shuffles from reductions. NFC
The file was addedllvm/test/Transforms/VectorCombine/AArch64/vecreduce-shuffle.ll
Commit 8854d1244c905b20dd62db3a7430043477e1ad3b by paul.robinson
[PS5] Disable exceptions by default
The file was modifiedclang/test/Driver/clang-exception-flags.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 2e14900db9a8c2e03f9933ed2222825454905214 by bjorn.a.pettersson
[test][NewPM] Use -passes=loop-vectorize instead of -loop-vectorize

Update a bunch of loop-vectorize regression tests to use the new PM
syntax (opt -passes=loop-vectorize) instead of the deprecated legacy
PM syntax (opt -loop-vectorize).
The file was modifiedllvm/test/Transforms/LoopVectorize/if-conversion-edgemasks.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr45679-fold-tail-by-masking.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-drop-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/assume.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr36311.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-order.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr34681.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-ptr.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr38697.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/unsafe-dep-remark.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/if-conv-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/induction-step.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ptr-induction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr45259.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/control-flow.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/induction_plus.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/funcall.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/vectorize-pointer-phis.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/skeleton-lcssa-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/demanded-bits-of-pointer-instruction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/partial-lcssa.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr36983.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/select-cmp.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/debugloc.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check-needed-but-empty.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/unsafe-vf-hint-remark.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/remarks-multi-exit-loops.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/explicit_outer_uniform_diverg_branch.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/fneg.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/fcmp-vectorize.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr33706.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr46525-expander-insertpoint.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-odd-interleave-counts.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/remove_metadata.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/explicit_outer_detection.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check-pointer-element-type.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr43166-fold-tail-by-masking.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr35773.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr31098.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/fix-reduction-dbg.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reverse_induction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/disable_nonforced_enable.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr45525.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr48832.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr51614-fold-tail-by-masking.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/exact.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr35743.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/use-scalar-epilogue-if-tp-fails.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/dont-fold-tail-for-const-TC.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/tripcount.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/explicit_outer_nonuniform_inner.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check-small-clamped-bounds.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/int_sideeffect.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/select-reduction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/2016-07-27-loop-vec.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/diag-missing-instr-debug-loc.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/nuw.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/unroll.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr28541.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr50686.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/dead_instructions.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/induction-multiple-uses-in-same-instruction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ee-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/unsized-pointee-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr38800.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/disable_nonforced.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr39417-optsize-scevchecks.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/unroll_nonlatch.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/dont-fold-tail-for-divisible-TC.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/zero-sized-pointee-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pointer-induction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-small-size.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/unroll-novec-memcheck-metadata.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr30806.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/opaque-ptr.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr47343-expander-lcssa-after-cfg-update.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/align.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr32859.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr44488-predication.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/safegep.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/undef-inst-bug.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/nsw-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/scev-exitlim-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/vect-phiscev-sext-trunc.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/followup.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/float-minmax-instruction-flag.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr30654-phiscev-sext-trunc.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/phi-hang.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/alias-set-with-uncomputable-bounds.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/uniform-blend.ll
Commit 451c5578b834fe3aca4e495aaf6a2f32639e86a6 by paul.robinson
[PS5] Set default cpu to znver2, with no tuning
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedclang/test/Driver/ps4-cpu-defaults.cpp
Commit 5420834aadbd271b3773f53fbbd58e9437952616 by gbreynoo
[demangler] Fix demangling a template argument which happens to be a null pointer

As seen in https://github.com/llvm/llvm-project/issues/51854
llvm-cxxfilt was having trouble demangling the case "_Z1fIDnLDn0EEvv".
We handled the "LDNE" case and "LPi0E" but not "LDn0E". This change adds
that handling.

Differential Revision: https://reviews.llvm.org/D124010
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
Commit 501cc4ae304f29e392a2b7e21c316e3abf954daa by paul.robinson
[PS5] Rename a test to reflect its new purpose
The file was addedclang/test/Driver/ps4-ps5-cpu-defaults.cpp
The file was removedclang/test/Driver/ps4-cpu-defaults.cpp
Commit 39dd29736ffa8e027400a2655861ca36929004a6 by marius.brehler
[mlir][emitc] Disallow !emitc.opaque pointers

Fordbids to express pointer via the `!emitc.opaque` type. Point the user
to use the `!emitc.ptr` type instead.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D124002
The file was modifiedmlir/lib/Dialect/EmitC/IR/EmitC.cpp
The file was modifiedmlir/test/Dialect/EmitC/invalid_types.mlir
The file was modifiedmlir/test/Dialect/EmitC/types.mlir
Commit de7cee24b6fe97cc11225b20853ea97532a1c2e9 by llvm-dev
[X86] getBT - attempt to peek through aext(and(trunc(x),c)) mask/modulo

Ideally we'd fold this with generic DAGCombiner, but that only works for !isTruncateFree cases - we might be able to adapt IsDesirableToPromoteOp to find truncated src ops in the future, but for now just use this peephole.

Noticed in Issue #55138
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/setcc.ll
Commit d03bc249d81c5b8ae239adb89274ad1d5135dc8d by koraq
[NFC][libc++][format] Enable unit tests.

The GCC failures were partly fixed in D124103.

The format functions tests are fixed on GCC but they require a huge
amount of RAM (>10 GB). This fails with parallel testing in the CI. It
can be solved by splitting the test, but GCC-12 will be released shortly
and might fix the memory usage in these tests. Therefore these tests
remain disabled.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D124335
The file was modifiedlibcxx/test/libcxx/utilities/format/format.arguments/format.args/get.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.unsigned_integral.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.arguments/format.arg.store/make_wformat_args.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.functions/format_tests.h
The file was modifiedlibcxx/test/std/utilities/format/format.arguments/format.arg.store/class.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.arguments/format.arg/operator_bool.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
Commit 9861ca0c23a60aa18874bb4378f359d4659a6ee6 by a.bataev
Revert "[COST]Improve cost model for shuffles in SLP."

This reverts commit 29a470e3804ca216d4e76c88a38086eb61c200f9 to fix
a crash reported in https://reviews.llvm.org/D100486#3479989.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-single-src.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/reduction.ll
Commit 062317f72ebfc19b0f3733b4181bb09344707653 by Yaxun.Liu
[HIP] Add HIP runtime library arguments for linker

Add -L -l options for linker.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D124545
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was addedclang/test/Driver/hip-runtime-libs-linux.hip
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Linux.h
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSVC.h
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.h
The file was addedclang/test/Driver/hip-runtime-libs-msvc.hip
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit f6b7fd20a52ef83d0462db190eb40800afda2506 by Jonas Devlieghere
[lldb] Remove patch reject file (.rej)
The file was removedlldb/source/Symbol/LocateSymbolFileMacOSX.cpp.rej
Commit 50d648b40ecdb0bedc0676ed96aad59ebf257d7e by marius.brehler
[mlir][emitc] Replace !emitc.opaque pointers

Replaces using !emitc.opaque pointers which using !emitc.ptr types.
The file was modifiedmlir/test/Target/Cpp/common-cpp.mlir
Commit 43842b887e0a7b918bb2d6c9f672025b2c621f8a by flo
[VPlan] Remove uneeded needsVectorIV check.

Remove one of the last remaining uses of ::needsVectorIV, preparing for
its removal. Now that usesScalars is available and based on the
information explicit in VPlan, there is no need to use the pre-computed
needsVectorIV.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D123720
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Commit 2883de05145fc5b4afb99b91f69ebb835af36af5 by flo
[VPlan] Fix comment formatting from 43842b887e.
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Commit 8631a5e712a42ae9da240a851c9f598ffaa809b1 by craig.topper
[RISCV] Fix alias printing for vmnot.m

By clearing the HasDummyMask flag from mask register binary operations
and mask load/store.

HasDummyMask was causing an extra operand to get appended when
converting from MachineInstr to MCInst. This extra operand doesn't
appear in the assembly string so was mostly ignored, but it prevented
the alias instruction printing from working correctly.

Reviewed By: arcbbb

Differential Revision: https://reviews.llvm.org/D124424
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-fp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsgeu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsge-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/setcc-fp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/setcc-fp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-logic.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsge-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vreductions-mask.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsgeu-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-mask.ll
Commit bd30d4be2354f149fa6cb6d65fd95e6796951529 by craig.topper
[Driver] Add f16 support to -mrecip parsing.

This is a followup to D120158 which added an 'h' suffix to the
backend handling.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D124551
The file was modifiedclang/test/Driver/mrecip.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/CodeGen/attr-mrecip.c
Commit 0d6b574b8717a44cda565baa756875f762fa60b9 by chris.bieneman
[HLSL] Adjust access specifier behavior

HLSL doesn't support access specifiers. This change has two components:

1) Make default access for classes public
2) Diagnose the use of access specifiers as a clang HLSL extension

As long as the default behavior for access specifiers matches HLSL,
allowing them to be used doesn't cause sourece incompatability with
valid code. As such enabling them as a clang extension seems like a
reasonable approach.

Fixes #55124

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124487
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was addedclang/test/ParserHLSL/access_specifiers.hlsl
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
Commit 0fe9a5f71a6432cdca69d023df9d8d464cc092b4 by Jonas Devlieghere
[llvm] Ignore .rej files in .gitignore

Ignore reject files (.rej) files generated by patch. I can't imagine a
reason they should ever be checked in. I considered ignoring patch files
as well but decided to err on the side of caution because we might not
want them to be easily deleted by something like git clean.

Differential revision: https://reviews.llvm.org/D124619
The file was modified.gitignore