SuccessChanges

Summary

  1. [PowerPC] Delete remnant isOSDarwin references (details)
  2. [PowerPC] Delete remnant Darwin ISelLowering code (details)
  3. [PowerPC] Delete dead Lower* (details)
  4. [VE][NFC] Update comments to match the generated instructions (details)
  5. [X86] Update tests for znver3 (details)
  6. [mlir][ODS] Fix missed rename of TypeParameter 'description' to 'summary' (details)
  7. [LV] Merge tests into a single file (NFC) (details)
  8. [LLD] [MinGW] Pass the --demangle and --no-demangle options to the COFF linker (details)
  9. [libcxx] Handle backslash as path separator on windows (details)
  10. [mlir] Mark methods from mlir::OpState that just forward to mlir::Operation as deprecated. (details)
  11. Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis."" (details)
  12. [gn build] Port d2ddc694ff9 (details)
  13. [clang][cli] Allow users to specify a conditional to prevent parsing options with MarshallingInfo (details)
  14. [clang][cli] Implement ContainsN Google Test matcher (details)
  15. Revert "[clang][cli] Allow users to specify a conditional to prevent parsing options with MarshallingInfo" (details)
  16. Revert "[llvm] Use BasicBlock::phis() (NFC)" (details)
  17. [RISCV] Add vector mask arithmetic ISel patterns (details)
  18. Reapply "[clang][cli] Allow users to specify a conditional to prevent parsing options with MarshallingInfo" (details)
  19. [clang][ASTImporter] Fix a possible assertion failure `NeedsInjectedClassNameType(Decl)'. (details)
  20. [lldb][ARM/AArch64] Update disasm flags to latest v8.7a ISA (details)
  21. [clang][cli] Port a CommaJoined option to the marshalling infrastructure (details)
  22. [flang][driver] Add support for `-c` and `-emit-obj` (details)
  23. [clang][cli] Port getAllArgumentValues to the marshalling infrastructure (details)
  24. [libc++] [CI] Install Tip-of-Trunk clang. (details)
  25. [clang][cli] Report the actual argument parsing result (details)
  26. [DAG] Simplify OR(X,SHL(Y,BW/2)) eq/ne 0/-1 'all/any-of' style patterns (details)
  27. [libcxx] Mark a test as unsupported for C++03 (details)
  28. [libc++] Use c++20 instead of c++2a consistently. (details)
  29. [mlir] Refactor translation of OpenMP dialect ops to LLVM IR (details)
  30. [clangd] Add server capability advertising hot-reloading of CDBs. (details)
  31. [SLP]Need shrink the load vector after reordering. (details)
  32. [CompilationDatabase] Pass Twine by const reference instead of by value. NFCI. (details)
  33. [DWARF] DWARFDebugLoc::dumpRawEntry - remove dead stores. NFCI. (details)
  34. [llvm-objdump] Pass Twine by const reference instead of by value. NFCI. (details)
  35. [mlir] Add fastmath flags support to some LLVM dialect ops (details)
  36. [clang][cli] NFC: Ensure non-null DiagnosticsEngine in ParseDiagnosticArgs (details)
  37. [clang][cli] NFC: Move parseSimpleArgs (details)
  38. [mlir] remove a use of deprecated OpState::setAttr (details)
  39. [clang][cli] NFC: Make parsing macro reusable (details)
  40. [AArch64][CostModel]Fix gather scatter cost model (details)
  41. [flang][driver] Rename driver tests (nfc) (details)
  42. [Analysis] MemoryDepChecker::couldPreventStoreLoadForward - remove dead store. NFCI. (details)
  43. [AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<> for dereferenced pointer. NFCI. (details)
  44. [flang][openacc] Enforce delcare directive restriction (details)
  45. [TableGen] Add field kind to the RecordVal class. (details)
  46. [SplitEdge] Add new parameter to SplitEdge to name the newly created basic block (details)
  47. [llvm-reduce] ReduceGlobalVarInitializers delta pass: fix handling of globals w/ comdat/non-external linkage (details)
  48. [SimplifyCFG] FoldValueComparisonIntoPredecessors(): drop reachable errneous assert (details)
  49. [DDG] Fix duplicate edge removal during pi-block formation (details)
  50. AMDGPU/GlobalISel: Start cleaning up calling convention lowering (details)
  51. [DDG] Data Dependence Graph - DOT printer tests (details)
  52. [SVE] Add unpacked scalable floating point ZIP/UZP/TRN patterns (details)
  53. [NFC] Removed unused prefixes in CodeGen/AMDGPU (details)
  54. [IR] Use LLVM_ENABLE_ABI_BREAKING_CHECKS to guard ABI changes. (details)
  55. Adds argument attributes for using LLVM's sret and byval attributes to (details)
  56. [NFC] make clang/test/CodeGen/arm_neon_intrinsics.c resistent to function attribute id changes (details)
  57. [mlir] NFC: fix trivial typos (details)
  58. [AST][NFC] Silence GCC warning about multiline comments (details)
  59. Add element-type to the Vector TypeLoc types. (details)
  60. [Coverage] Refactor three tests from commit rG9f2967bcfe2f (details)
  61. [mlir] revert 82f5ee3c3e601daad5 (details)
  62. Fix GCC5 build, require explicit this->... in this call inside a lambda (NFC) (details)
  63. [NFC] Removed unused prefixes from CodeGen/AMDGPU (details)
  64. Silence warning: comparison of integers of different signs: 'const unsigned int' and 'const long' [-Wsign-compare] (details)
  65. [PGO][PGSO] Let unroll hints take precedence over PGSO. (details)
  66. CodeGen: Refactor regallocator command line and target selection (details)
  67. [WebAssembly] Fixed byval args missing DWARF DW_AT_LOCATION (details)
  68. [mlir] replace LLVMIntegerType with built-in integer type (details)
  69. [mlir] don't match the text produced only in debug mode in Python tests (details)
  70. [SLP] remove opcode identifier for reduction; NFC (details)
  71. Simplify vectorcall argument classification of HVAs, NFC (details)
  72. [NFC][AMDGPU] Reduce include files dependency. (details)
  73. [OpenMP] Add example in Libomptarget Information docs (details)
  74. Fix gcc5 build failure (NFC) (details)
  75. [Clang][Driver] Fix read-after-free when using /clang: (details)
  76. [OpenMP][Docs] Add remarks intro section (details)
  77. [OpenMP][Fix] Make the arch selector for x86_64 work (details)
  78. [OpenMP][FIX] Ensure the isa trait is evaluated last (details)
  79. [clang] Change builtin object size when subobject is invalid (details)
  80. [OpenMP][Docs] Mark finished features as done (details)
  81. [llvm-pdbutil] Don't crash when printing unknown CodeView type records (details)
  82. [mlir] Adds argument attributes for using LLVM's sret and byval attributes (details)
  83. [OpenMP][FIX] Avoid string literal comparison, use `StringRef::equal` (details)
Commit 01a2508aa58673e61089cb084301f588a391b323 by i
[PowerPC] Delete remnant isOSDarwin references
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Commit bfa6ca07a8cda0ab889b7fee0b914907ce594e11 by i
[PowerPC] Delete remnant Darwin ISelLowering code
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
Commit 022cc6e34349ec83bca260fc74d10797b643496c by i
[PowerPC] Delete dead Lower*
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
Commit 3bfc9bb8ef223dd28c885fcb1a5fa553c8be3645 by marukawa
[VE][NFC] Update comments to match the generated instructions
The file was modifiedllvm/lib/Target/VE/VEAsmPrinter.cpp
Commit dbfc1ac4d86c1c08dc5ccd90a0389254e13c6d01 by Ganesh.Gopalasubramanian
[X86] Update tests for znver3

Differential Revision: https://reviews.llvm.org/D92812
The file was modifiedclang/test/Frontend/x86-target-cpu.c
The file was modifiedllvm/test/MC/X86/x86_long_nop.s
The file was modifiedclang/test/Driver/x86-march.c
Commit 238dbeb1e7bab488b964492f51b8ebbe850b6631 by riddleriver
[mlir][ODS] Fix missed rename of TypeParameter 'description' to 'summary'

This fixes document generation for type parameters.
The file was modifiedmlir/lib/TableGen/TypeDef.cpp
Commit 7ddbe0cb905ec62d37b284a2e8daf54887a35f94 by gil.rapaport
[LV] Merge tests into a single file (NFC)

In response to https://reviews.llvm.org/D94088#inline-879268
The file was removedllvm/test/Transforms/LoopVectorize/dont-fold-tail-for-assumed-divisible-TC.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/dont-fold-tail-for-divisible-TC.ll
Commit 248e3450fb8a1ab7146c0cbe8f0ea7204782f542 by martin
[LLD] [MinGW] Pass the --demangle and --no-demangle options to the COFF linker

Differential Revision: https://reviews.llvm.org/D93950
The file was modifiedlld/test/MinGW/driver.test
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/MinGW/Options.td
Commit f4485240a2182050d6417947a407fe4c551e2011 by martin
[libcxx] Handle backslash as path separator on windows

Differential Revision: https://reviews.llvm.org/D91138
The file was modifiedlibcxx/src/filesystem/operations.cpp
The file was modifiedlibcxx/include/filesystem
Commit c3529a5b0806843e75f0b6d9a83bb36de70b5ae6 by csigg
[mlir] Mark methods from mlir::OpState that just forward to mlir::Operation as deprecated.

The functions will be removed by January 20th.

All call sites within MLIR have been converted in previous changes.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D94191
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/lib/IR/Operation.cpp
Commit d2ddc694ff94743d9735aaf07edcaf6db8aaca04 by Artem Dergachev
Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.""

This reverts commit 5663bf201f5c444d6fb56fb1bd471bc53c17d837.

The cyclic dependency problem is addressed now.
This is the ~fifth attempt to land this change.
The file was addedclang/include/clang/Analysis/PathDiagnosticConsumers.h
The file was modifiedclang/include/clang/CrossTU/CrossTranslationUnit.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
The file was addedclang/lib/Analysis/PlistPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was addedclang/lib/Analysis/PlistHTMLPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/CrossTU/CrossTranslationUnit.cpp
The file was removedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was removedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was addedclang/lib/Analysis/TextPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was removedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was addedclang/lib/Analysis/HTMLPathDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/Analyses.def
The file was addedclang/lib/Analysis/SarifPathDiagnosticConsumer.cpp
The file was addedclang/include/clang/Analysis/CrossTUAnalysisHelper.h
The file was addedclang/include/clang/Analysis/PathDiagnosticConsumers.def
The file was modifiedclang/include/clang/module.modulemap
The file was removedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
Commit 5471b1fa4013f463ad40abd61fa7f04500aaf7fd by llvmgnsyncbot
[gn build] Port d2ddc694ff9
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit 77db83ae997767400ffcbe0101f8ee867ebaa111 by Jan Svoboda
[clang][cli] Allow users to specify a conditional to prevent parsing options with MarshallingInfo

Depends on D84189 & D93540.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D84674
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit c6ea4d5b2c0054f3e2fa06b911ed3933fe59bc5b by Jan Svoboda
[clang][cli] Implement ContainsN Google Test matcher

This allows us to verify that we don't emit options multiple times.

In most cases, that would be benign, but for options with `MarshallingInfoVectorString`, emitting wrong number of arguments might change the semantics.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D93636
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
Commit d0fa7a05be92617a0262ec8b622f158971a54c54 by Jan Svoboda
Revert "[clang][cli] Allow users to specify a conditional to prevent parsing options with MarshallingInfo"

This reverts commit 77db83ae
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit 76f6b125cef1f5d949cd8f4049b14f572ecd9ee6 by oliver.stannard
Revert "[llvm] Use BasicBlock::phis() (NFC)"

Reverting because this causes crashes on the 2-stage buildbots, for
example http://lab.llvm.org:8011/#/builders/7/builds/1140.

This reverts commit 9b228f107d43341ef73af92865f73a9a076c5a76.
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/lib/IR/BasicBlock.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit c9154e8fa377d1621e20482dda8a8bb2439a39c4 by fraser
[RISCV] Add vector mask arithmetic ISel patterns

The patterns that want to use 'vnot' use a custom PatFrag. This is
because 'vnot' uses immAllOnesV which implicitly uses BUILD_VECTOR
rather than SPLAT_VECTOR.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D94078
The file was addedllvm/test/CodeGen/RISCV/rvv/vsplats-i1.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vmarith-sdnode.ll
Commit 67a4c672b02359fa6f723249f633ffc76aff2174 by Jan Svoboda
Reapply "[clang][cli] Allow users to specify a conditional to prevent parsing options with MarshallingInfo"

This reverts commit d0fa7a05 and fixes failing OptionMarshallingTest by adding the SHOULD_PARSE macro argument
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/unittests/Option/OptionMarshallingTest.cpp
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit 0877b963ef2d3c384b47f7a6161c9d9ab106a7f2 by 1.int32
[clang][ASTImporter] Fix a possible assertion failure `NeedsInjectedClassNameType(Decl)'.

The assertion can happen if ASTImporter imports a CXXRecordDecl in a template
and then imports another redeclaration of this declaration, while the first import is in progress.
The process of first import did not set the "described template" yet
and the second import finds the first declaration at setting the injected types.
Setting the injected type requires in the assertion that the described template is set.
The exact assertion was:
clang/lib/AST/ASTContext.cpp:4411:
clang::QualType clang::ASTContext::getInjectedClassNameType(clang::CXXRecordDecl*, clang::QualType) const:
Assertion `NeedsInjectedClassNameType(Decl)' failed.

Reviewed By: shafik

Differential Revision: https://reviews.llvm.org/D94067
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit 801c7866e6d4fba81c97d27ca56c9e05ba7b157a by david.spickett
[lldb][ARM/AArch64] Update disasm flags to latest v8.7a ISA

Add optional memory tagging extension on AArch64.

Use isAArch64() instead of listing the AArch64 triples,
which fixes us not recognising aarch64_be.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D94084
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
Commit a828fb463ed9f6085849bb3a4f225b3c84e7cf29 by Jan Svoboda
[clang][cli] Port a CommaJoined option to the marshalling infrastructure

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93698
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
Commit e5cdb6c56edf656d03f57c5c285cfa8c6b7b6f57 by andrzej.warzynski
[flang][driver] Add support for `-c` and `-emit-obj`

This patch adds a frontend action for emitting object files. While Flang
does not support code-generation, this action remains a placeholder.
This patch simply provides glue-code to connect the compiler driver
with the appropriate frontend action.

The new action is triggered with the `-c` compiler driver flag, i.e.
`flang-new -c`. This is then translated to `flang-new -fc1 -emit-obj`,
so `-emit-obj` has to be marked as supported as well.

As code-generation is not available yet, `flang-new -c` results in a
driver error:
```
error: code-generation is not available yet
```
Hopefully this will help communicating the level of available
functionality within Flang.

The definition of `emit-obj` is updated so that it can be shared between
Clang and Flang. As the original definition was enclosed within a
Clang-specific TableGen `let` statement, it is extracted into a new `let`
statement. That felt like the cleanest option.

I also commented out `-triple` in Flang::ConstructJob and updated some
comments there. This is similar to https://reviews.llvm.org/D93027. I
wanted to make sure that it's clear that we can't support `-triple`
until we have code-generation. However, once code-generation is
available we _will need_ `-triple`.

As this patch adds `-emit-obj`, the emit-obj.f90 becomes irrelevant and
is deleted. Instead, phases.f90 is added to demonstrate that users can
control compilation phases (indeed, `-c` is a phase control flag).

Reviewed By: SouraVX, clementval

Differential Revision: https://reviews.llvm.org/D93301
The file was modifiedflang/test/Flang-Driver/driver-help.f90
The file was modifiedclang/lib/Driver/ToolChains/Flang.cpp
The file was modifiedflang/lib/Frontend/FrontendActions.cpp
The file was modifiedflang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was addedflang/test/Flang-Driver/code-gen.f90
The file was modifiedflang/include/flang/Frontend/FrontendOptions.h
The file was removedflang/test/Flang-Driver/emit-obj.f90
The file was modifiedflang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedflang/test/Flang-Driver/driver-help-hidden.f90
The file was modifiedflang/include/flang/Frontend/FrontendActions.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedflang/test/Flang-Driver/phases.f90
Commit b6ba59830796b4efad69a3d3c1fae56c20029f30 by Jan Svoboda
[clang][cli] Port getAllArgumentValues to the marshalling infrastructure

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93679
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit b6fb0209b6d4e93126f613eca335db84886bf939 by marek.kurdej
[libc++] [CI] Install Tip-of-Trunk clang.

* Check created symlinks.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D93520
The file was modifiedlibcxx/utils/ci/Dockerfile
Commit 33f90f38e11c7c23d6e2a23ca526f8b0d8f53771 by Jan Svoboda
[clang][cli] Report the actual argument parsing result

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D93700
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
Commit 350ab7aa1c6735c0a136c118f7b43773fd74bf2d by llvm-dev
[DAG] Simplify OR(X,SHL(Y,BW/2)) eq/ne 0/-1 'all/any-of' style patterns

Attempt to simplify all/any-of style patterns that concatenate 2 smaller integers together into an and(x,y)/or(x,y) + icmp 0/-1 instead.

This is mainly to help some bool predicate reduction patterns where we end up concatenating bool vectors that have been bitcasted to integers.

Differential Revision: https://reviews.llvm.org/D93599
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/cmp-concat.ll
Commit 7da3e3a8983a079cbed874b924dd34dd6b6a4001 by mikhail.maltsev
[libcxx] Mark a test as unsupported for C++03

The nullptr_t_integral_cast.pass.cpp test is currently xfailed for
C++03, but actually, it only fails with the first version of libc++
ABI.

This patch changes XFAIL to UNSUPPORTED to avoid unexpected passes
with ABI v2 or later.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D93941
The file was modifiedlibcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp
Commit 044b892c79b31a77bc0e6f52a0ec97c58b5b89b7 by marek.kurdej
[libc++] Use c++20 instead of c++2a consistently.

* The only exception is that the flag -std=c++2a is still used not to break compatibility with older compilers (clang <= 9, gcc <= 9).
* Bump _LIBCPP_STD_VER for C++20 to 20 and use 21 for the future standard (C++2b).

That's a preparation step to add c++2b support to libc++.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D93383
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
The file was modifiedlibcxx/include/string_view
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
The file was removedlibcxx/cmake/caches/Generic-cxx2a.cmake
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
The file was modifiedlibcxx/docs/FeatureTestMacroTable.rst
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
The file was addedlibcxx/cmake/caches/Generic-cxx20.cmake
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
The file was modifiedlibcxx/include/new
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
The file was modifiedlibcxx/docs/DesignDocs/FeatureTestMacros.rst
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
The file was modifiedlibcxx/utils/ci/run-buildbot
The file was modifiedlibcxx/test/support/test_macros.h
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
The file was modifiedlibcxx/docs/UsingLibcxx.rst
Commit 10164a2e50b4d7064bd02e7403aae6dd319cdd64 by zinenko
[mlir] Refactor translation of OpenMP dialect ops to LLVM IR

The original implementation of the OpenMP dialect to LLVM IR translation has
been relying on a stack of insertion points for delayed insertion of branch
instructions that correspond to terminator ops. This is an intrusive into
ModuleTranslation and makes the translation non-local. A recent addition of the
WsLoop translation exercised another approach where the parent op is
responsible for converting terminators of all blocks in its regions. Use this
approach for other OpenMP dialect operations with regions, remove the stack and
deduplicate the code for converting such regions.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D94086
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
Commit 213329d7c64f9710f23a78596255509b147b37c6 by sam.mccall
[clangd] Add server capability advertising hot-reloading of CDBs.

Currently some clients watch for CDB changes and restart clangd, now that we
can reload compile_commands.json ourselves this is counterproductive.
The capability allows this behavior to be phased out.

This is going to be a mild regression, as we do not actually watch for files on
disk and so new diagnostics need to wait until a rebuild is requested e.g. due
to file change (and the internal caches have expired).
However this is still a better tradeoff (and if it's important, we can request
the client to watch files for us in the future).

Differential Revision: https://reviews.llvm.org/D94222
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
Commit 4284afdf9432f7d756f56b0ab21d69191adefa8d by a.bataev
[SLP]Need shrink the load vector after reordering.

After merging the shuffles, we cannot rely on the previous shuffle
anymore and need to shrink the final shuffle, if it is required.

Reported in D92668

Differential Revision: https://reviews.llvm.org/D93967
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 236129fb4460a4030eee685abc2f02b32458e775 by llvm-dev
[CompilationDatabase] Pass Twine by const reference instead of by value. NFCI.
The file was modifiedclang/lib/Tooling/CompilationDatabase.cpp
The file was modifiedclang/include/clang/Tooling/CompilationDatabase.h
Commit 028091195d763190d9b57ae316c8601fe223c02c by llvm-dev
[DWARF] DWARFDebugLoc::dumpRawEntry - remove dead stores. NFCI.

Don't bother zeroing local (unused) variables just before returning.

Fixes clang static analyzer warning.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit a9a8caf2ce2ff08a20cc145d23270e6c91709baa by llvm-dev
[llvm-objdump] Pass Twine by const reference instead of by value. NFCI.
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
Commit c1d58c2b0023cd41f0da128f5190fa887d8f6c69 by zinenko
[mlir] Add fastmath flags support to some LLVM dialect ops

Add fastmath enum, attributes to some llvm dialect ops, `FastmathFlagsInterface` op interface, and `translateModuleToLLVMIR` support.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D92485
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/LLVMIR/LLVMOpsInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/test/Target/llvmir.mlir
Commit e72cdc5ba1e65ecd8632663b6604eb9be8d1a162 by Jan Svoboda
[clang][cli] NFC: Ensure non-null DiagnosticsEngine in ParseDiagnosticArgs

Before this patch, ParseDiagnosticArgs can be called with a nullptr DiagnosticsEngine *. This happens early on in the compilation process, where no proper DiagnosticEngine exists, because the diagnostic options (passed through command line) are not known yet.

This patch ensures nullptr is replaced by an ignoring DiagnosticEngine in ParseDiagnosticArgs, which allows to switch from pointer to a reference in some utility functions.

Besides simplifying the code, this patch enables a future patch (D84673) that ports diagnostic options to the new marshalling infrastructure.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93701
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 75d63630ebb197c338801d6b100ae2e06800c4ce by Jan Svoboda
[clang][cli] NFC: Move parseSimpleArgs

This patch moves `parseSimpleArgs` closer to `ParseDiagnosticArgs` so that sharing the parsing macro between them can be done more locally in a future patch.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D94172
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit a7cbc32a916a64e9f61106956ed3866a6086ae6b by zinenko
[mlir] remove a use of deprecated OpState::setAttr
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit fcd1e35e4cc6887c3fb880126e60676458e60680 by Jan Svoboda
[clang][cli] NFC: Make parsing macro reusable

This is necessary for a future patch, where we start using this macro in another function.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93702
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 01c190e907ca4752f7ba2a1390a8c91a48b322d1 by caroline.concatto
[AArch64][CostModel]Fix gather scatter cost model

This patch fixes a bug introduced in the patch:
https://reviews.llvm.org/D93030

This patch pulls the test for scalable vector to be the first instruction
to be checked. This avoids the Gather and Scatter cost model for AArch64 to
compute the number of vector elements for something that is not a vector and
therefore crashing.
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-scatter.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-gather.ll
Commit a2957f80f87f36ac8cfca06dec1c2defbe709876 by andrzej.warzynski
[flang][driver] Rename driver tests (nfc)

As per [1]:
```
File names should use dashes, not underscores.
```

This patch updates the names of Flang driver tests accordingly.

[1] https://github.com/llvm/llvm-project/blob/main/flang/docs/C%2B%2Bstyle.md
The file was addedflang/test/Driver/version-test.f90
The file was addedflang/test/Flang-Driver/macro-def-undef.f90
The file was removedflang/test/Flang-Driver/macro_multiline.f90
The file was addedflang/test/Flang-Driver/macro-multiline.f90
The file was addedflang/test/Driver/no-files.f90
The file was removedflang/test/Flang-Driver/macro_def_undef.f90
The file was removedflang/test/Driver/no_files.f90
The file was removedflang/test/Driver/version_test.f90
Commit fa6d8977999096b2a3ae1357aa38ddf73abaf414 by llvm-dev
[Analysis] MemoryDepChecker::couldPreventStoreLoadForward - remove dead store. NFCI.

As we're breaking from the loop when clamping MaxVF, clang static analyzer was warning that the VF iterator was being updated and never used.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit 037b058e41979fa5e6ffd209033dfe72abb97b53 by llvm-dev
[AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

Don't directly dereference a dyn_cast<> - use cast<> so we assert for the correct type.

Also, simplify the for loop to a range loop.

Fixes clang static analyzer warning.
The file was modifiedllvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
Commit b73736a4048172c48b6b5c23d1321f230d442306 by clementval
[flang][openacc] Enforce delcare directive restriction

Add semantic check for most of the restrictions for the declare directive.

Reviewed By: kiranktp

Differential Revision: https://reviews.llvm.org/D92741
The file was addedflang/test/Semantics/acc-declare-validity.f90
The file was modifiedflang/lib/Semantics/resolve-directives.cpp
The file was modifiedflang/lib/Semantics/check-acc-structure.cpp
The file was modifiedflang/test/Semantics/acc-clause-validity.f90
Commit aa7968a87b65f97c1245348f6c2a75fc9e420bb5 by Paul C. Anagnostopoulos
[TableGen] Add field kind to the RecordVal class.

Differential Revision: https://reviews.llvm.org/D93969
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/include/llvm/TableGen/Record.h
The file was modifiedllvm/utils/TableGen/CodeEmitterGen.cpp
The file was modifiedllvm/lib/TableGen/JSONBackend.cpp
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
Commit 048f184ee488cdc8dadc0b8f9d1def9e6b469a73 by sidharth.baveja
[SplitEdge] Add new parameter to SplitEdge to name the newly created basic block

Summary:
Currently SplitEdge does not support passing in parameter which allows you to
name the newly created BasicBlock.

This patch updates the function such that the name of the block can be passed
in, if users of this utility decide to do so.

Reviewed By: Whitney, bmahjour, asbirlea, jamieschmeiser

Differential Revision: https://reviews.llvm.org/D94176
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 8dee0b4bd6376f5518accf45e9ecc4a44a4c8481 by lebedev.ri
[llvm-reduce] ReduceGlobalVarInitializers delta pass: fix handling of globals w/ comdat/non-external linkage

Much like with ReduceFunctionBodies delta pass,
we need to remove comdat and set linkage to external,
else verifier will complain, and our deltas are invalid.
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp
Commit 6be1fd6b20f3418543a50ce9b04ab4a49585a7eb by lebedev.ri
[SimplifyCFG] FoldValueComparisonIntoPredecessors(): drop reachable errneous assert

I have added it in d15d81c because it *seemed* correct, was holding
for all the tests so far, and was validating the fix added in the same
commit, but as David Major is pointing out (with a reproducer),
the assertion isn't really correct after all. So remove it.

Note that the d15d81c still fine.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was addedllvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-no-new-successors.ll
Commit ebfe4de2c04b09d3ae935325e6c02c68f2965b00 by bmahjour
[DDG] Fix duplicate edge removal during pi-block formation

When creating pi-blocks we try to avoid creating duplicate edges
between outside nodes and the pi-block when an edge is of the
same kind and direction as another one that has already been
created. We do this by keeping track of the edges in an
enumerated array called EdgeAlreadyCreated. The problem is that
this array is declared local to the loop that iterates over the
nodes in the pi-block, so the information gets lost every time a
new inside-node is iterated over. The fix is to move the
declaration to the outer loop.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D94094
The file was modifiedllvm/unittests/Analysis/DDGTest.cpp
The file was modifiedllvm/lib/Analysis/DependenceGraphBuilder.cpp
Commit 6b7d5a928f5e0d5321b641909f84cb238e8194b8 by Matthew.Arsenault
AMDGPU/GlobalISel: Start cleaning up calling convention lowering

There are various hacks working around limitations in
handleAssignments, and the logical split between different parts isn't
correct. Start separating the type legalization to satisfy going
through the DAG infrastructure from the code required to split into
register types. The type splitting should be moved to generic code.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-non-fixed.ll
Commit 573d5782482841e16588e81be687ea6bcf3624fa by bmahjour
[DDG] Data Dependence Graph - DOT printer tests

Adds some tests to check the formatting of the dot
file produced when using -dot-ddg.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D93949
The file was addedllvm/test/Analysis/DDG/print-dot-ddg.ll
Commit f4013359b3da2c78e94a64245de8638460f96c1a by mcinally
[SVE] Add unpacked scalable floating point ZIP/UZP/TRN patterns

Differential Revision: https://reviews.llvm.org/D94193
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit e881a25f1e110b259030745b3592418ea0c8efe8 by mtrofin
[NFC] Removed unused prefixes in CodeGen/AMDGPU

This covers tests starting with s.

Differential Revision: https://reviews.llvm.org/D94184
The file was modifiedllvm/test/CodeGen/AMDGPU/select.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl_add_ptr_csub.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sint_to_fp.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/scalar_to_vector.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shift-i64-opts.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/setcc64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/s_code_end.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/saddo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/setcc-fneg-constant.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-local.96.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdwa-vop2-64bit.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract-legacy.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-weird-sizes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sext-in-reg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sign_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdiv.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/sibling-call.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl_add_ptr_global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/scratch-simple.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-local.128.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/schedule-regpressure-limit2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sendmsg-m0-hazard.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-trap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/saddsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ssubsat.ll
Commit db33f85c7124443e140d0118289fc141bab0c68d by varun_gandhi
[IR] Use LLVM_ENABLE_ABI_BREAKING_CHECKS to guard ABI changes.

Incorrect usage of NDEBUG to guard ABI changes can prevent clients
from enabling assertions for their C++ code while having assertions in
LLVM turned off. So we use LLVM_ENABLE_ABI_BREAKING_CHECKS instead, as
described in llvm/docs/ProgrammersManual.rst. Most types already use this
macro, however, there were a couple of stragglers in ValueHandle.h, which
are fixed by this revision.

Reviewed By: dblaikie, dexonsmith

Differential Revision: https://reviews.llvm.org/D93433
The file was modifiedllvm/include/llvm/IR/ValueHandle.h
Commit 82f5ee3c3e601daad546c320a98d9e7860d6347d by eschweitz
Adds argument attributes for using LLVM's sret and byval attributes to
the conversion of LLVM IR dialect. These attributes are used in FIR to
support the lowering of Fortran using target-specific calling
conventions.

Add roundtrip tests. Add changes per review comments/concerns.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D94052
The file was modifiedmlir/test/Target/llvmir-invalid.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit 59fce6b0661647062918a47bdb1874950d3938d5 by lucas.prates
[NFC] make clang/test/CodeGen/arm_neon_intrinsics.c resistent to function attribute id changes

When introducing support for @llvm.experimental.noalias.scope.decl, this tests started failing because it checks
(for no good reason) for a function attribute id of '#8' which now becomes '#9'

Reviewed By: pratlucas

Differential Revision: https://reviews.llvm.org/D94233
The file was modifiedclang/test/CodeGen/arm_neon_intrinsics.c
Commit f88fab500689852d06dd6e30ea1a8425ed7fd0e4 by ishizaki
[mlir] NFC: fix trivial typos

fix typo under include and lib directories

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D94220
The file was modifiedmlir/include/mlir/Support/IndentedOstream.h
The file was modifiedmlir/lib/Rewrite/ByteCode.h
The file was modifiedmlir/lib/Transforms/Utils/FoldUtils.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Target/SPIRV/Serialization.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/TypeDetail.h
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/TosaMakeBroadcastable.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
The file was modifiedmlir/lib/Transforms/Utils/RegionUtils.cpp
The file was modifiedmlir/include/mlir/IR/ImplicitLocOpBuilder.h
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVMPass.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/ModuleCombiner.cpp
The file was modifiedmlir/lib/Transforms/BufferUtils.cpp
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/Predicate.h
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/TypeTranslation.h
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp
The file was modifiedmlir/include/mlir-c/Support.h
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/lib/CAPI/Transforms/Passes.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/Transforms/Passes.td
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/include/mlir/Dialect/ArmSVE/ArmSVE.td
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/include/mlir/Dialect/Tosa/Utils/QuantUtils.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was modifiedmlir/include/mlir/Pass/PassRegistry.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
Commit acbb3652931a735a861b756075b1cc86fd041761 by thomasp
[AST][NFC] Silence GCC warning about multiline comments

Remove continuation line in code snippet to prevent GCC warning about
multiline comments (-Wcomment) when building a project using libclang
with GCC.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D92409
The file was modifiedclang/include/clang/AST/DeclOpenMP.h
Commit 43043adcfbc60945646b791d7162e5a1307a5318 by erich.keane
Add element-type to the Vector TypeLoc types.

As shown by bug 48540, GCC vector types would cause a crash when the
declaration hada ParenType. This was because the walking of the
declaration would try to expand the 'inner' type, but there was no
ability to get it from the vector type.  This patch adds that element
type access to the vector type loc objects.

Differential Revision: https://reviews.llvm.org/D93483
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaCXX/vector.cpp
Commit ebcc8dcb68aa37f34a87641b0c8b73086712a3cf by a-phipps
[Coverage] Refactor three tests from commit rG9f2967bcfe2f

Refactor three tests to not depend on other test files as input but to instead
refer to "Inputs" subdirectory.
The file was addedllvm/test/tools/llvm-cov/Inputs/branch-c-general.c
The file was removedllvm/test/tools/llvm-cov/branch-c-general.c
The file was modifiedllvm/test/tools/llvm-cov/branch-export-json.test
The file was modifiedllvm/test/tools/llvm-cov/branch-noShowBranch.test
The file was modifiedllvm/test/tools/llvm-cov/branch-export-lcov.test
The file was addedllvm/test/tools/llvm-cov/branch-c-general.test
Commit bd78f4e93212f2b9bea233905faa2a85bf7bdba7 by eschweitz
[mlir] revert 82f5ee3c3e601daad5
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir
The file was modifiedmlir/test/Target/llvmir-invalid.mlir
Commit 41e31eac14c239970a220f81de5fdd3b231b5184 by joker.eph
Fix GCC5 build, require explicit this->... in this call inside a lambda (NFC)

Error was:

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:2247:36: error: cannot call member function 'mlir::LLVM::FastmathFlags mlir::LLVM::FMFAttr::getFlags() const' without object
     return bitEnumContains(getFlags(), flag);
                                    ^
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Commit ee57d30f4487548d844cc3ffa5895bd3c6b38585 by mtrofin
[NFC] Removed unused prefixes from CodeGen/AMDGPU

Last bulk batch.

Differential Revision: https://reviews.llvm.org/D94236
The file was modifiedllvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unstructured-cfg-def-use-issue.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uaddsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unsupported-calls.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-spill.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uint_to_fp.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_madak_f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/usubsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/trunc-store-i1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/zero_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/xnor.ll
Commit d0154456e61c5ab79e25fc9b8bb684ebdca3a7c2 by alexandre.ganea
Silence warning: comparison of integers of different signs: 'const unsigned int' and 'const long' [-Wsign-compare]

(off_t being a signed type)
The file was modifiedclang/unittests/Basic/FileEntryTest.cpp
Commit cf5415c727dda0ea4b27ee16347d170f118b037b by yamauchi
[PGO][PGSO] Let unroll hints take precedence over PGSO.

Differential Revision: https://reviews.llvm.org/D94199
The file was modifiedllvm/test/Transforms/LoopUnroll/unroll-opt-attribute.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit c9122ddef5213fbdd2d82c473a74e1742010f62f by Matthew.Arsenault
CodeGen: Refactor regallocator command line and target selection

Make the sequence of passes to select and rewrite instructions to
physical registers be a target callback. This is to prepare to allow
targets to split register allocation into multiple phases.
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
Commit 5c38ae36c58f5b6bb4a32e9ec2187fde86cf94b8 by aardappel
[WebAssembly] Fixed byval args missing DWARF DW_AT_LOCATION

A struct in C passed by value did not get debug information. Such values are currently
lowered to a Wasm local even in -O0 (not to an alloca like on other archs), which becomes
a Target Index operand (TI_LOCAL). The DWARF writing code was not emitting locations
in for TI's specifically if the location is a single range (not a list).

In addition, the ExplicitLocals pass which removes the ARGUMENT pseudo instructions did
not update the associated DBG_VALUEs, and couldn't even find these values since the code
assumed such instructions are adjacent, which is not the case here.

Also fixed asm printing of TIs needed by a test.

Differential Revision: https://reviews.llvm.org/D94140
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp
The file was modifiedlld/test/wasm/debuginfo.test
The file was modifiedllvm/test/CodeGen/WebAssembly/dbgvalue.ll
The file was addedllvm/test/MC/WebAssembly/debug-byval-struct.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 2230bf99c712a1e9cb3a9f423998aa8727b389fc by zinenko
[mlir] replace LLVMIntegerType with built-in integer type

The LLVM dialect type system has been closed until now, i.e. did not support
types from other dialects inside containers. While this has had obvious
benefits of deriving from a common base class, it has led to some simple types
being almost identical with the built-in types, namely integer and floating
point types. This in turn has led to a lot of larger-scale complexity: simple
types must still be converted, numerous operations that correspond to LLVM IR
intrinsics are replicated to produce versions operating on either LLVM dialect
or built-in types leading to quasi-duplicate dialects, lowering to the LLVM
dialect is essentially required to be one-shot because of type conversion, etc.
In this light, it is reasonable to trade off some local complexity in the
internal implementation of LLVM dialect types for removing larger-scale system
complexity. Previous commits to the LLVM dialect type system have adapted the
API to support types from other dialects.

Replace LLVMIntegerType with the built-in IntegerType plus additional checks
that such types are signless (these are isolated in a utility function that
replaced `isa<LLVMType>` and in the parser). Temporarily keep the possibility
to parse `!llvm.i32` as a synonym for `i32`, but add a deprecation notice.

Reviewed By: mehdi_amini, silvas, antiagainst

Differential Revision: https://reviews.llvm.org/D94178
The file was modifiedmlir/test/Dialect/LLVMIR/nvvm.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/lib/ExecutionEngine/JitRunner.cpp
The file was modifiedmlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/calling-convention.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/cast-ops-to-llvm.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/lib/Target/LLVMIR/TypeTranslation.cpp
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/arithmetic-ops-to-llvm.mlir
The file was modifiedmlir/test/Target/avx512.mlir
The file was modifiedmlir/lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.h
The file was modifiedmlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-fp.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/shift-ops-to-llvm.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-funcs.mlir
The file was modifiedmlir/test/Dialect/SPIRV/IR/types.mlir
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/constant-op-to-llvm.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/legalize-for-export.mlir
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/test/Conversion/GPUCommon/memory-attrbution.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/comparison-ops-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/func-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/dialect-cast.mlir
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
The file was modifiedmlir/test/Target/nvvmir.mlir
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/test/lib/Transforms/TestConvertCallOp.cpp
The file was modifiedmlir/test/Target/rocdl.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/Transforms/test-convert-call-op.mlir
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/TypeDetail.h
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-argattrs.mlir
The file was modifiedmlir/docs/Dialects/LLVM.md
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/types.mlir
The file was modifiedmlir/test/mlir-cpu-runner/simple.mlir
The file was modifiedmlir/docs/ConversionToLLVMDialect.md
The file was modifiedmlir/test/Dialect/LLVMIR/rocdl.mlir
The file was modifiedmlir/test/Target/openmp-llvm.mlir
The file was modifiedmlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
The file was modifiedmlir/test/Target/llvmir-types.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/lower-host-to-llvm-calls.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/memory-ops-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/integration_test/Dialect/LLVMIR/CPU/X86/test-inline-asm.mlir
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Conversion/GPUToVulkan/invoke-vulkan.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/global.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
The file was modifiedmlir/test/Target/import.ll
The file was modifiedmlir/test/Target/arm-sve.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/terminator.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/control-flow-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/types-invalid.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/glsl-ops-to-llvm.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/logical-ops-to-llvm.mlir
The file was modifiedmlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-int.mlir
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/bitwise-ops-to-llvm.mlir
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was modifiedmlir/docs/LLVMDialectMemRefConvention.md
Commit 906efeec0a471be522588bd7cbb7f61459b2b437 by zinenko
[mlir] don't match the text produced only in debug mode in Python tests

Some Python bindings tests were using FileCheck to match parts of the
error description produced only in the debug compilation mode. Remove
these parts (but keep the main message) to ensure tests also pass when
running them in the release compilation mode.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D94221
The file was modifiedmlir/test/Bindings/Python/ir_attributes.py
The file was modifiedmlir/test/Bindings/Python/ir_operation.py
Commit 4c7148d75cd7e75f169251cdab3e013819344cfd by spatel
[SLP] remove opcode identifier for reduction; NFC

Another step towards allowing intrinsics in reduction matching.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit ad55d5c3f32f6598f8ac30b68f4961d82cdb1fed by rnk
Simplify vectorcall argument classification of HVAs, NFC

This reduces the number of `WinX86_64ABIInfo::classify` call sites from
3 to 1. The call sites were similar, but passed different values for
FreeSSERegs. Use variables instead of `if`s to manage that argument.
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 6a87e9b08bf093ba3ccba8650b89f4d337c497f4 by dfukalov
[NFC][AMDGPU] Reduce include files dependency.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D93813
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIPostRABundler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMacroFusion.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRemoveShortExecBranches.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIModeRegister.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600InstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNNSAReassign.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
The file was modifiedllvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600Defines.h
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUExportClustering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUExportClustering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegPressure.h
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNMinRegStrategy.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600MachineScheduler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPTNote.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDKernelCodeT.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNILPSched.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ClauseMergePass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNIterativeScheduler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFixVGPRCopies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineScheduler.h
The file was modifiedllvm/lib/Support/AMDGPUMetadata.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIAddIMGInit.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
The file was modifiedllvm/lib/Target/AMDGPU/R600RegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600EmitClauseMarkers.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNIterativeScheduler.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600Packetizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegPressure.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600AsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
The file was modifiedllvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMacroFusion.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.h
The file was modifiedllvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp
Commit abb174bbc100437556fd386d920a9939723e0647 by jhuber6
[OpenMP] Add example in Libomptarget Information docs

Add an example to the OpenMP Documentation on the LIBOMPTARGET_INFO environment variable

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D94246
The file was modifiedopenmp/docs/design/Runtimes.rst
Commit 467e916d3032bc068995aa1b6b16655eb573e750 by joker.eph
Fix gcc5 build failure (NFC)

The loop index was shadowing the container name.
It seems that we can just not use a for-range loop here since there is
an induction variable anyway.

Differential Revision: https://reviews.llvm.org/D94254
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
Commit 3854b81b0fd23adc9bab91bf68918d102dc31f51 by alexandre.ganea
[Clang][Driver] Fix read-after-free when using /clang:

Fixes PR42501.

Differential Revision: https://reviews.llvm.org/D93772
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 9ae171bcd38cdefa64c9dd5d763d16007eebcd0d by johannes
[OpenMP][Docs] Add remarks intro section

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D93735
The file was modifiedopenmp/docs/remarks/OptimizationRemarks.rst
Commit d970a285b8567b93aea39e7e4d10965fe8b7340c by johannes
[OpenMP][Fix] Make the arch selector for x86_64 work

The triple uses a bar "x86-64" instead of an underscore. Since we
have troubles accepting x86-64 as an identifier, we stick with
x86_64 in the frontend and translate it explicitly.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D93786
The file was addedclang/test/OpenMP/declare_variant_ast_x86_64.c
The file was modifiedllvm/lib/Frontend/OpenMP/OMPContext.cpp
Commit 36c4dc9b42fe2e6af4ab488b7c4013d5082b67f6 by johannes
[OpenMP][FIX] Ensure the isa trait is evaluated last

Since isa can cause diagnostics we want it to be evaluated last to avoid
the "unknown isa" warning if the rest of the selector wouldn't match
anyway. That allows us to guard isa with arch properly.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D93785
The file was modifiedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/declare_variant_messages.c
The file was modifiedclang/test/OpenMP/nvptx_declare_variant_name_mangling.cpp
The file was modifiedclang/test/OpenMP/begin_declare_variant_messages.c
Commit 275f30df8ad6de75e1f29e4b33eaeb67686caf0d by George Burgess IV
[clang] Change builtin object size when subobject is invalid

Motivating example:

```
  struct { int v[10]; } t[10];

  __builtin_object_size(
      &t[0].v[11], // access past end of subobject
      1            // request remaining bytes of closest surrounding
                   // subobject
  );
```

In GCC, this returns 0. https://godbolt.org/z/7TeGs7

In current clang, however, this returns 356, the number of bytes
remaining in the whole variable, as if the `type` was 0 instead of 1.
https://godbolt.org/z/6Kffox

This patch checks for the specific case where we're requesting a
subobject's size (type 1) but the subobject is invalid.

Differential Revision: https://reviews.llvm.org/D92892
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/CodeGen/object-size.c
Commit 6e7101530dae78efd7b5cdffc1338790ed3e5705 by johannes
[OpenMP][Docs] Mark finished features as done

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D94185
The file was modifiedclang/docs/OpenMPSupport.rst
Commit ce7f30b2a874386a0ce089c98327acb65e87b04d by alexandre.ganea
[llvm-pdbutil] Don't crash when printing unknown CodeView type records

Differential Revision: https://reviews.llvm.org/D93720
The file was modifiedllvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
The file was addedllvm/test/tools/llvm-pdbutil/Inputs/unknown-record.obj
The file was modifiedllvm/tools/llvm-pdbutil/FormatUtil.h
The file was addedllvm/test/tools/llvm-pdbutil/unknown-records.test
The file was modifiedllvm/tools/llvm-pdbutil/FormatUtil.cpp
Commit 70b841ac317765c5c504334f7a22ac085f14ac2d by eschweitz
[mlir] Adds argument attributes for using LLVM's sret and byval attributes
to the conversion of LLVM IR dialect. These attributes are used in FIR to
support the lowering of Fortran using target-specific calling conventions.

Add roundtrip tests.

Add changes per review comments/concerns.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D94052
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir
The file was modifiedmlir/test/Target/llvmir-invalid.mlir
Commit 0b0f2e6ee0c3e52398a0d0c4a5131d4a23d8b1ee by johannes
[OpenMP][FIX] Avoid string literal comparison, use `StringRef::equal`
The file was modifiedllvm/lib/Frontend/OpenMP/OMPContext.cpp