Changes

Summary

  1. [bazel] Add missing dependency after 713f85d5952ab27d474aba2a960a893b7e7e438d (details)
  2. [gn build] port b1356504e63ae (c++17) (details)
  3. [gn build] port b1356504e63ae better (c++17) (details)
  4. [mlir][tblgen] Refact mlir-tblgen main into its own library (details)
  5. [llvm] Remove uses of deprecated `std::iterator` (details)
  6. [gn build] Try to fix build on linux after std=c++17 switch (details)
  7. [gn build] fix 547c551925c8f4dd (details)
  8. [PowerPC] fix stack size allocated for float point argument (details)
  9. [NFC] add test cases for D123366 (details)
  10. [libc++] Implement `operator<=>` for `unique_ptr` (details)
  11. [libc++] Remove `operator!=` from `type_info` in C++20 (details)
  12. [bazel] Port 1c5a50e32815a49a41d79ff529ca8611ee49c5c8 (details)
  13. Update the status of some more C DRs (details)
  14. [mlir, flang] Use has_value instead of hasValue (NFC) (details)
  15. Use value instead of getValue (NFC) (details)
  16. [RDF] Remove explicit template arguments from Print (details)
  17. [bolt] silence unused variables warnings (details)
  18. [RDF] Use default TargetOperandInfo if not given in constructor (details)
  19. clang: fix typo availbility (details)
  20. [bazel] Switch to C++17 (details)
  21. clang/cmake: Drop use of llvm-config for LLVM install discovery (details)
  22. lld/cmake: Drop use of llvm-config for LLVM install discovery (details)
  23. [Clang][OpenMP] Fix the issue that `llvm.lifetime.end` is emitted too early for variables captured in linear clause (details)
  24. [ADT] Fix signature of StringSet::insert (details)
  25. [clang-tidy] Fix g++ -DCMAKE_CXX_STANDARD=17 build (details)
  26. Revert "[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298" (details)
  27. Revert "[SampleProfileInference] Work around odr-use of const non-inline static data member to fix -O0 builds after D120508" (details)
  28. [lld] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  29. [llvm] LLVM_NODISCARD => [[nodiscard]]. NFC (details)
  30. [mlir][tosa] Flip to prefixed form. (details)
  31. [clang][docs] use `Fixes` instead of `This fixes` in ReleaseNotes [NFC] (details)
  32. [MLIR] Add MlirValue to PybindAdapters (details)
  33. [LLDB][NFC] Reliability fixes to TCPSocket code (details)
  34. [llvm] Drop unnecessary const from return types (NFC) (details)
  35. [mlir] Remove redundaunt return statements (NFC) (details)
  36. [llvm] Fix comment typos (NFC) (details)
  37. [Target] Remove unused forward declarations (NFC) (details)
  38. Use llvm::is_contained (NFC) (details)
  39. [x86] Remove unused declaration processWaitCnt (NFC) (details)
  40. [llvm] Use range-based for loops (NFC) (details)
  41. Added warning about outdated feature into Kaleidoscope tutorial text (details)
  42. [demangler] Add getters for Qual/Vector/Pointer types (details)
  43. [mlir] Make use of C++17 language features (details)
  44. [libc++][test] Fix MSVC warnings C6054, C6001, C4242 in format_tests.h (details)
  45. [Polly] Generalize the pattern matching to the case of tensor contractions (details)
  46. [ARM] Regenerate vector_store.ll tests. NFC (details)
  47. [mlir] Flip to prefixed accessors (NFC) (details)
  48. [Polly] Suppress the LLVM-IR output for pattern matching tests, if there is no FileCheck-ing for it. (details)
  49. Revert "[RDF] Remove explicit template arguments from Print" (details)
  50. [clang-tidy] Fix a forwarding-reference-overload crash after the (details)
  51. [polly] Fixed a number of typos. NFC (details)
  52. [mlir] Flip to prefixed accessors (NFC) (details)
  53. [flang] Allow pure function references in expandable scalar (details)
  54. [X86] Add test case to recombine LEA from OR. (details)
  55. [clang][CodeGen] Factor out Swift ABI hooks (NFCI) (details)
  56. [ORC-RT] Drop __orc_rt::string_view now that we have c++17. (details)
  57. [JITLink] Fix some C++17 related fixmes. (details)
  58. [InstCombine] add tests for bitwise logic; NFC (details)
  59. [ConstFolding] fix overzealous assert when converting FP half (details)
  60. [mlir] Fix a warning (details)
  61. [libc++][NFC] Fix `the the` in comment in `__format/buffer.h` (details)
  62. [lldb] Dynamically generate enum names in lldbutil (details)
  63. [lldb] Fix formatting in python-reference.rst (details)
  64. [lldb] Hoist TraceOn check out of loop (NFC) (details)
  65. [ORC-RT] Remove a stray __orc_rt::string_view helper. (details)
  66. [ADT] Deprecate Optional::{hasValue,getValue} (NFC) (details)
  67. [mlir] Use value instead of getValue (details)
  68. Revert "[JITLink] Fix some C++17 related fixmes." (details)
  69. [flang][runtime] Catch & report attempts at recursive I/O (details)
  70. [InstSimplify] add test for over-shift of scalable vector; NFC (details)
  71. [InstSimplify] fold scalable vectors with over-shift splat constant to poison (details)
  72. [lldb] Use single-argument static_assert where applicable (NFC) (details)
  73. [ORC-RT] Fix missing #include <string_view>s. (details)
  74. [flang] Allow assignment to host association in BLOCK in PURE subprogram (details)
  75. [mlir][python] Address deprecation warning for hasValue (details)
  76. [mlir] fix `add_tablegen()` macro to allow installing mlir-pdll (details)
  77. [flang] Handle subnormals while folding SCALE, SET_EXPONENT, & FRACTION (details)
  78. [Support] move llvm::llvm_is_multithread to header, NFC (details)
  79. [RISCV] Support fe_getround and fe_raise_inexact in builtins (details)
  80. [gn build] (manually) port ace6e172bd2c (details)
  81. [M68k] Add MC support for link/unlk (details)
  82. [llvm-ar] Remove unused parameter. NFC (details)
  83. [LoongArch] Support for varargs (details)
  84. [BOLT] Upgrade to C++17 (details)
  85. [Transforms] Fix comment typos (NFC) (details)
  86. [clang-tidy] Use is_contained (NFC) (details)
  87. [llvm] Qualify auto (NFC) (details)
  88. [NFC][clang] Bring `and_present` and `if_present` casting functions to clang namespace (details)
  89. [CodeView] Add function to get size in bytes for TypeIndex/CVType. (details)
  90. [scudo] Try to fix standalone build on armv7 (details)
  91. [mailmap] Add entry for myself (details)
  92. [AArch64][SVE] NFC: Add tests for masked FP arith patterns (D130564) (details)
  93. [AArch64][SVE] Add patterns to select masked FP arith (details)
  94. [DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine (details)
  95. [ADT] Update Optional Deprecation with fix-it (details)
  96. [Orc][JITLink] Slab based memory allocator to reduce RPC calls (details)
  97. [llvm-objdump,ARM] Fix big-endian AArch32 disassembly. (details)
  98. ProcessTest.cpp - replace Optional::hasValue() with Optional::has_value() (details)
  99. [DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding (details)
  100. Remove C++17 #ifdefs around the implicit conversion between StringRef and string_view (details)
  101. [DAG] Emit table lookup from TargetLowering::expandCTTZ() (details)
  102. [lld/mac] Use C++17 nested namespace syntax in most places (details)
  103. Remove superfluous ; outside of a function (details)
  104. Wrap `llvm_unreachable` macro in do-while loop (details)
  105. [mlir] Remove redundant `inline` from D131323 (details)
  106. [lld/mac] Use C++17 structured bindings (details)
  107. [Support] Use std::shared_mutex when we're not on old MacOS (details)
  108. [ASTMatchers] Replace hand-coded copy of std::apply with the real C++17 function. NFCI (details)
  109. [X86] Add 32-bit test coverage to or-lea.ll (details)
  110. [clang-tidy] Fix a regression of readability-container-size-empty after the AST ElaboratedType change. (details)
  111. [libc++] Allow enabling assertions when back-deploying (details)
  112. [libc++] Add missing <stdbool.h> to the modulemap (details)
  113. [CMake] Check CMAKE_CXX_STANDARD and error if it's to old (details)
  114. [EarlyCSE][OpaquePointers]Replace assert with return for mask type check. (details)
  115. [EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC (details)
  116. [libc++][NFC] Fix signature of main in test (details)
  117. [X86] X86ISelDAGToDAG.cpp - use auto for all values derived from cast/dyn_cast (style). NFC. (details)
  118. [libc++][doc] Update `SpaceshipProjects` status to reflect in-flight reviews (details)
  119. [MLIR][Presburger] make sample test with integer lexmin use containsPointNoLocal (details)
  120. [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL (details)
  121. Revert "XFAIL some PGO tests on AIX until the new linker becomes publicly available." (details)
  122. [Docs] Add HLSL ResourceType documentation (details)
  123. [EarlyCSE][ConstantFolding] move test files to dir of pass in RUN line; NFC (details)
  124. [llvm-dwarfutil] Remove unnecessarily dependency. (details)
  125. [DAG] Add initial SelectionDAG::canCreateUndefOrPoison support (details)
  126. [ADT] Add is_splat overload accepting initializer_list (details)
  127. [NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction (details)
  128. Recommit [RDF] Remove explicit template arguments from Print (details)
  129. [StandardInstrumentations] Handle case where block order changes (details)
  130. [X86] Add test coverage for sext/zext/bswap/bitreverse with freeze (details)
  131. [mlir][math] Rename math.abs -> math.absf (details)
  132. [mlir][math] Add `math.absi` op (details)
  133. [lld/mac] Use C++17 structured bindings in two more places (details)
  134. [nfc][openmp] clang-format system.cpp prior to D131401 (details)
  135. Update the C status page from the latest working draft (details)
  136. [lldb] Make Process and subclass constructors protected (details)
  137. [DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support (details)
  138. [lld/win] Use C++17 nested namespace syntax in most places (details)
  139. [lld/win] Use C++17 structured bindings (details)
  140. [LLDB][NFC] Fix suspicious bitwise expression in PrintBTEntry() (details)
  141. Move openmp from -std=c++14 to -std=c++17 (details)
  142. Rename OPENMP_HAVE_STD_CPP14_FLAG to match c++17 (details)
  143. [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  144. [mlir][spirv] Refresh base definitions to latest spec (v1.6) (details)
  145. [ADT] Retire llvm::apply_tuple in favor of C++17 std::apply (details)
  146. [MLIR][Linalg] Remove `TiledLoops` from tiling options (details)
  147. [DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support (details)
  148. [RISCV] Add ReadFStoreData as a SchedRead. (details)
  149. [flang] Add an explicit condition for the BITS=0 case in the MASKL and MASKR intrinsics. (details)
  150. [mlir][sparse][nfc] Use tensor.generate in sparse integration tests (details)
  151. [llvm-tblgen] Fix copy+paste typo in CodeGenSchedModels::collectLoadStoreQueueInfo (details)
  152. [mlir][doc] Cross link the dependent dialect section to the tablegen field definition (details)
  153. [libc++] Implement `operator==` for `filesystem::space_info` (details)
  154. [mlir][math] Fix pythong bindings after 00f7096d31cc7896ffd490e65104d264923f0df5 (details)
  155. [llvm-ranlib] Support more than one input file (details)
  156. [mlir][sparse] Add new concatente operator to sparse tensor (details)
  157. [X86] Add test coverage for ctpop/parity with freeze (details)
  158. [flang] Replace more pgmath with libm. (details)
  159. [lldb] Pass TestExternCSymbols.py on Windows (details)
  160. [SROA] Try harder to find a vector promotion viable type when rewriting (details)
  161. [Symbolizer] Implement pc element in symbolizing filter. (details)
  162. [X86][ARM] Add tests for bitwise logic trees of shifts; NFC (details)
  163. [SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops (details)
  164. [gn build] port 59bb9e37c6 (details)
  165. [lld/mac] Remove unusual "Fallthrough" comments (details)
  166. [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  167. [mlir][spirv] Unify mixed scalar/vector primitive type resources (details)
  168. [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  169. [libc] Website fixes (sidebar and mobile) (details)
  170. [Symbolizer] Fix symbolizer-filter-markup-pc.test on Windows (details)
  171. [lldb] Remove include/lldb/lldb-private.h (details)
  172. [compiler-rt] Use -std=c++17 for standalone build (details)
  173. [LinkerWrapper] Use C++17 structured bindings (details)
  174. [clang][deps] Stop sharing FileManager across module builds in scanner (details)
  175. [lldb] Prevent race condition when fetching /proc/cpuinfo (details)
  176. Add -misc-const-correctness to .clang-tidy (details)
  177. [MC] [Win64EH] Fix the calculation of the end of epilogs (details)
  178. [mlir][sparse] improve sparse attribute documentation (details)
  179. [DAGCombiner] Add some BE store forwarding tests; NFC (details)
  180. [mlir][vector] Fix warp distribution test (details)
  181. [libunwind][AIX] Save/restore errno before/after system calls dlopen/dlsym/dlclose (details)
  182. [ELF] Support --package-metadata (details)
  183. [RISCV] Add {{$}} to some CHECK lines in MC tests. (details)
  184. [flang][test] Don't require .exe suffix. (details)
  185. [llvm] Repair the modules build with C++17 (details)
Commit e0807b0d7ef9178b6b5d32b87b70e793017e5c1e by benny.kra
[bazel] Add missing dependency after 713f85d5952ab27d474aba2a960a893b7e7e438d
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 51a91d6c5d87fb85945f8c99b1e678e05d0723c0 by thakis
[gn build] port b1356504e63ae (c++17)
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit c59c8a515f54e262ececfd1056d402212117f22c by thakis
[gn build] port b1356504e63ae better (c++17)
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit 1c5a50e32815a49a41d79ff529ca8611ee49c5c8 by markus.boeck02
[mlir][tblgen] Refact mlir-tblgen main into its own library

This has previously been done for `mlir-opt` and `mlir-reduce` and roughly the same approach has been done here.

The use case for having a separate library is that it is easier for downstream to make custom TableGen backends/executable that work on top of the utilities that are defined in `mlir/TableGen`.
The customization point here is the same one as for any upstream TableGen backends: One can add a new generator by simply creating a global instance of `mlir::GenRegistration`.

Differential Revision: https://reviews.llvm.org/D131112
The file was addedmlir/lib/Tools/mlir-tblgen/MlirTblgenMain.cpp
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was modifiedmlir/tools/mlir-tblgen/mlir-tblgen.cpp
The file was addedmlir/lib/Tools/mlir-tblgen/CMakeLists.txt
The file was addedmlir/lib/TableGen/GenInfo.cpp
The file was addedmlir/include/mlir/Tools/mlir-tblgen/MlirTblgenMain.h
The file was modifiedmlir/lib/TableGen/CMakeLists.txt
The file was modifiedmlir/lib/Tools/CMakeLists.txt
Commit f7b73b7e8e6799d566abeb9954a0617e648b833e by markus.boeck02
[llvm] Remove uses of deprecated `std::iterator`

std::iterator has been deprecated in C++17 and some standard library implementations such as MS STL or libc++ emit deperecation messages when using the class.
Since LLVM has now switched to C++17 these will emit warnings on these implementations, or worse, errors in build configurations using -Werror.

This patch fixes these issues by replacing them with LLVMs own llvm::iterator_facade_base which offers a superset of functionality of std::iterator.

Differential Revision: https://reviews.llvm.org/D131320
The file was modifiedllvm/unittests/ADT/IteratorTest.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/SampleContextTracker.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
Commit 547c551925c8f4dd979ba5cf16c857091a80254b by thakis
[gn build] Try to fix build on linux after std=c++17 switch

glibc annotates `process_vm_readv` with `__THROW`.
lldb/include/lldb/Host/linux/Uio.h and
lldb/source/Host/linux/LibcGlue.cpp don't.

Having a mismatch causes an error with c++17:

    ../../lldb/source/Host/linux/LibcGlue.cpp:18:9:
        error: 'process_vm_readv' is missing exception specification 'throw()'
    ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov,
            ^
    ../../lldb/include/lldb/Host/linux/Uio.h:18:9:
        note: previous declaration is here
    ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov,
            ^

The diagnostic is a bit misleading, since the previous declaration
in the sysroot (in usr/include/x76_64-linux-gnu/bits/uio-ext.h) is
what has the `__THROW`.

In the cmake build, cmake sets `HAVE_PROCESS_VM_READV` correctly based
on header probing.

In the GN build, just set it to 1 unconditionally on linux. If that
turns out to not be good enough everywhere, we'll have to add a GN arg
for this.

(I'm also setting it to 1 on Android. I'm not sure if that's correct --
but we don't build lldb for Android anyways.)
The file was modifiedllvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn
Commit f4892975014a03fa4f8ec723b9e38bc29073b6e5 by thakis
[gn build] fix 547c551925c8f4dd
The file was modifiedllvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn
Commit ef60e44fe874e28a6cfff57533b63c752a36e7dd by czhengsz
[PowerPC] fix stack size allocated for float point argument

This is for https://github.com/llvm/llvm-project/issues/56469

Allocate 4 bytes for float point arguments on PPC32.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D129558
The file was modifiedllvm/test/CodeGen/PowerPC/fminnum.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td
The file was modifiedllvm/test/CodeGen/PowerPC/pr56469.ll
Commit 13016f1f1be5864dacdc8e15b920465dcec2b49a by czhengsz
[NFC] add test cases for D123366
The file was addedllvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
Commit 735240b38fd7a249474a66f96cb98587658010af by koraq
[libc++] Implement `operator<=>` for `unique_ptr`

Implements part of:

  - P1614R2 The Mothership has Landed

Fixes LWG3426

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D130838
The file was addedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp.pass.cpp
The file was modifiedlibcxx/docs/Status/Cxx20Papers.csv
The file was removedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/eq.pass.cpp
The file was removedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/rel.pass.cpp
The file was modifiedlibcxx/include/__memory/unique_ptr.h
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp_nullptr.pass.cpp
The file was modifiedlibcxx/docs/Status/Cxx2bIssues.csv
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was modifiedlibcxx/include/memory
Commit 619e8f46f3c77cb97464cf64e01872e6246f8875 by koraq
[libc++] Remove `operator!=` from `type_info` in C++20

Implements part of:

* P1614R2 The Mothership has Landed

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D130853
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was modifiedlibcxx/include/typeinfo
Commit d6eea96b8e0401786bf7fa47ff97b52981cc4a24 by benny.kra
[bazel] Port 1c5a50e32815a49a41d79ff529ca8611ee49c5c8
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 486a3c4662cb052329b96537da18893d73138b64 by aaron
Update the status of some more C DRs

Update some of the C99-era DRs starting in the 300s.
The file was addedclang/test/C/drs/dr3xx.c
The file was modifiedclang/www/c_dr_status.html
The file was addedclang/test/C/drs/abc_123.h
Commit 9750648cb44e3b201bce5878ce785228d1c005c7 by kazu
[mlir, flang] Use has_value instead of hasValue (NFC)
The file was modifiedmlir/lib/Dialect/EmitC/IR/EmitC.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/mlir-tblgen/default-type-attr-print-parser.td
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
The file was modifiedmlir/lib/AsmParser/AttributeParser.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVAttributes.cpp
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/TypeParser.cpp
The file was modifiedflang/lib/Optimizer/Dialect/FIRType.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDLTypes.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypeDefs.td
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/lib/Interfaces/ViewLikeInterface.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.cpp
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
The file was modifiedmlir/lib/IR/FunctionImplementation.cpp
The file was modifiedmlir/unittests/IR/AttributeTest.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.h
The file was modifiedmlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
Commit c8e6ebd74e548bd79662166906de53554773265e by kazu
Use value instead of getValue (NFC)
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.cpp
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
The file was modifiedmlir/lib/IR/FunctionImplementation.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp
The file was modifiedbolt/unittests/Core/MCPlusBuilder.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
The file was modifiedmlir/lib/Interfaces/ViewLikeInterface.cpp
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
Commit ede96de751224487aea122af8bfb4e82bc54840b by kparzysz
[RDF] Remove explicit template arguments from Print

CTAD takes care of it.
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
Commit 0c9258612b67153e6760a330eb4cba1233e665b1 by schuett
[bolt] silence unused variables warnings
The file was modifiedbolt/lib/Core/BinaryContext.cpp
The file was modifiedbolt/lib/Core/Exceptions.cpp
Commit 2bc390bdd66c9e0bc888f3bbe3eba473a54ff431 by kparzysz
[RDF] Use default TargetOperandInfo if not given in constructor

All current in-tree users use the default implementation.
The file was modifiedllvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
The file was modifiedllvm/include/llvm/CodeGen/RDFGraph.h
Commit a6cb8419b1757380e3c577477fdc2501484a7245 by me
clang: fix typo availbility

- Fixes [[ https://github.com/llvm/llvm-project/issues/56787 | #56787 ]].

I am fixing the spelling of availability.

I am unsure if this change will have any side effects. If someone can
help on how to check if it has any side effects, I can test those out as
well.

Reviewed By: inclyc

Differential Revision: https://reviews.llvm.org/D131277
The file was modifiedclang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
Commit 2d2ad02f43bda3629b1063945ac235e67dea79d4 by benny.kra
[bazel] Switch to C++17

LLVM switched to C++17 in b1356504e63ae821cccf1e051a0d2526bdfef2b0
The file was modifiedutils/bazel/.bazelrc
Commit d2b158e29eedf4a29bf8d2142f2ed21a52fc80a7 by John.Ericson
clang/cmake: Drop use of llvm-config for LLVM install discovery

This has been deprecated for a while, since D51714 in 2018.

Remove it in favor of using CMake's find_package() function.

Reviewed By: phosek, mgorny

Differential Revision: https://reviews.llvm.org/D128777
The file was modifiedclang/CMakeLists.txt
Commit 91f3f0bf31d6fdcbbd750670840e22f9b2b36625 by John.Ericson
lld/cmake: Drop use of llvm-config for LLVM install discovery

This has been deprecated since D116492 earlier in 2022.

That seems recent, but with the recent cut of LLVM 15 that is still two releases (14 and 15). Meanwhile Clang has deprecated `llvm-config` for a lot longer, and since it is likely that LLD users are also Clang users, this serves as an extra "heads up" that `llvm-config` is on its way out.

Remove it in favor of using CMake's find_package() function.

Reviewed By: MaskRay, mgorny

Differential Revision: https://reviews.llvm.org/D131144
The file was modifiedlld/CMakeLists.txt
Commit e21202dac18ed7f718d26a0e131f96b399b4891c by i
[Clang][OpenMP] Fix the issue that `llvm.lifetime.end` is emitted too early for variables captured in linear clause

Currently if an OpenMP program uses `linear` clause, and is compiled with
optimization, `llvm.lifetime.end` for variables listed in `linear` clause are
emitted too early such that there could still be uses after that. Let's take the
following code as example:
```
// loop.c
int j;
int *u;

void loop(int n) {
  int i;
  for (i = 0; i < n; ++i) {
    ++j;
    u = &j;
  }
}
```
We compile using the command:
```
clang -cc1 -fopenmp-simd -O3 -x c -triple x86_64-apple-darwin10 -emit-llvm loop.c -o loop.ll
```
The following IR (simplified) will be generated:
```
@j = local_unnamed_addr global i32 0, align 4
@u = local_unnamed_addr global ptr null, align 8

define void @loop(i32 noundef %n) local_unnamed_addr {
entry:
  %j = alloca i32, align 4
  %cmp = icmp sgt i32 %n, 0
  br i1 %cmp, label %simd.if.then, label %simd.if.end

simd.if.then:                                     ; preds = %entry
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %j)
  store ptr %j, ptr @u, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j)
  %0 = load i32, ptr %j, align 4
  store i32 %0, ptr @j, align 4
  br label %simd.if.end

simd.if.end:                                      ; preds = %simd.if.then, %entry
  ret void
}
```
The most important part is:
```
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j)
  %0 = load i32, ptr %j, align 4
  store i32 %0, ptr @j, align 4
```
`%j` is still loaded after `@llvm.lifetime.end.p0(i64 4, ptr nonnull %j)`. This
could cause the backend incorrectly optimizes the code and further generates
incorrect code. The root cause is, when we emit a construct that could have
`linear` clause, it usually has the following pattern:
```
EmitOMPLinearClauseInit(S)
{
  OMPPrivateScope LoopScope(*this);
  ...
  EmitOMPLinearClause(S, LoopScope);
  ...
  (void)LoopScope.Privatize();
  ...
}
EmitOMPLinearClauseFinal(S, [](CodeGenFunction &) { return nullptr; });
```
Variables that need to be privatized are added into `LoopScope`, which also
serves as a RAII object. When `LoopScope` is destructed and if optimization is
enabled, a `@llvm.lifetime.end` is also emitted for each privatized variable.
However, the writing back to original variables in `linear` clause happens after
the scope in `EmitOMPLinearClauseFinal`, causing the issue we see above.

A quick "fix" seems to be, moving `EmitOMPLinearClauseFinal` inside the scope.
However, it doesn't work. That's because the local variable map has been updated
by `LoopScope` such that a variable declaration is mapped to the privatized
variable, instead of the actual one. In that way, the following code will be
generated:
```
  %0 = load i32, ptr %j, align 4
  store i32 %0, ptr %j, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j)
```
Well, now the life time is correct, but apparently the writing back is broken.

In this patch, a new function `OMPPrivateScope::restoreMap` is added and called
before calling `EmitOMPLinearClauseFinal`. This can make sure that
`EmitOMPLinearClauseFinal` can find the orignal varaibls to write back.

Fixes #56913.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D131272
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was addedclang/test/OpenMP/bug56913.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
Commit bf5550b6790b5873f75db010db158cdae84deecc by i
[ADT] Fix signature of StringSet::insert

to match StringMap and unordered_set.
The file was modifiedllvm/include/llvm/ADT/StringSet.h
Commit c7ec86b13c461f6a8ce11f8443c1b6242013d26f by i
[clang-tidy] Fix g++ -DCMAKE_CXX_STANDARD=17 build

`constexpr std::initializer_list<llvm::StringRef>` leads to
```
error: modification of '<temporary>' is not a constant expression
```
Related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
Commit bccdf9197b6d647ccf5bbc86b25e29278aebc4e5 by i
Revert "[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298"

This reverts commit 20b2d3260d4a1878ca2a37cee6ee335a21a12d0f.
The workaround is no longer needed for C++17.
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 5deb678289df4a11d5c0786d702ad2730cd7e391 by i
Revert "[SampleProfileInference] Work around odr-use of const non-inline static data member to fix -O0 builds after D120508"

This reverts commit 48c74bb2e2a72830f1068823bfc2f6fd4b53d427.
With C++17 the workaround is no longer needed.
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
Commit ec04e45c0358aa47c4696e474c350b9d56e42923 by i
[lld] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Arch/AArch64.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Arch/Mips.cpp
The file was modifiedlld/ELF/Arch/PPC64.cpp
The file was modifiedlld/ELF/Arch/ARM.cpp
Commit fa66789d06be2937b15e02a286b67c5f5274df31 by i
[llvm] LLVM_NODISCARD => [[nodiscard]]. NFC

With C++17 there is no Clang pedantic warning.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/include/llvm/ADT/ImmutableMap.h
The file was modifiedllvm/include/llvm/Support/Casting.h
The file was modifiedllvm/include/llvm/ADT/SmallSet.h
The file was modifiedllvm/include/llvm/ADT/DenseMap.h
The file was modifiedllvm/include/llvm/ADT/StringRef.h
The file was modifiedllvm/include/llvm/ADT/SetVector.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
The file was modifiedllvm/include/llvm/ADT/APSInt.h
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/include/llvm/ADT/PriorityWorklist.h
The file was modifiedllvm/include/llvm/ADT/APInt.h
The file was modifiedllvm/include/llvm/Support/raw_ostream.h
The file was modifiedllvm/include/llvm/ADT/ImmutableList.h
The file was modifiedllvm/include/llvm/ADT/simple_ilist.h
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h
The file was modifiedllvm/include/llvm/ADT/ScopeExit.h
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
The file was modifiedllvm/include/llvm/ADT/ImmutableSet.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/include/llvm/ADT/SmallPtrSet.h
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/include/llvm/Support/Error.h
The file was modifiedllvm/unittests/ProfileData/CoverageMappingTest.cpp
The file was modifiedllvm/include/llvm/ADT/TypeSwitch.h
The file was modifiedllvm/include/llvm/IR/ConstantRange.h
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/include/llvm/ADT/StringSwitch.h
The file was modifiedllvm/unittests/ProfileData/InstrProfTest.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/include/llvm/ADT/ArrayRef.h
Commit 4401bde317555759a39136f4a232b3311c600655 by jpienaar
[mlir][tosa] Flip to prefixed form.

Flipped to _Both 2 weeks ago, flipping to _Prefixed now.
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td
Commit 1f54006bcacf3967b03f9851edf7f9cd773d53e8 by me
[clang][docs] use `Fixes` instead of `This fixes` in ReleaseNotes [NFC]
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 5e9b6a2243199d19fb7f23f8a3dce5ac813a2151 by john.demme
[MLIR] Add MlirValue to PybindAdapters

Allows out-of-tree users to automatically cast to/from MlirValue.
The file was modifiedmlir/include/mlir/Bindings/Python/PybindAdaptors.h
Commit aa4977f2e1354bb5e1937235dd12199839ab0801 by sgurevich
[LLDB][NFC] Reliability fixes to TCPSocket code

Patch the following issues found by static code inspection:
- Unchecked return values from lib calls
- Passing potentially negative arg into a function that requires non-negative input
- Possible socket double-close

Differential Revision: https://reviews.llvm.org/D131294
The file was modifiedlldb/source/Host/common/TCPSocket.cpp
Commit 3b114087c34bc1428b157eff8ca8599f7d2380f9 by kazu
[llvm] Drop unnecessary const from return types (NFC)

Identified with readability-const-return-type.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
The file was modifiedllvm/include/llvm/Analysis/LoopAccessAnalysis.h
Commit af2d2d775908734f2a71a70a24ad540760f2d88b by kazu
[mlir] Remove redundaunt return statements (NFC)

Identified with readability-redundant-control-flow.
The file was modifiedmlir/lib/Transforms/Utils/CommutativityUtils.cpp
Commit a2d45017182a5b98a6a3c75de49e599d67c92fbb by kazu
[llvm] Fix comment typos (NFC)
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
The file was modifiedllvm/utils/git/github-automation.py
The file was modifiedllvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/tools/llvm-profgen/PerfReader.h
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
The file was modifiedllvm/lib/CodeGen/VLIWMachineScheduler.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
The file was modifiedllvm/lib/IR/BuiltinGCs.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/utils/TableGen/DecoderEmitter.cpp
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeLayout.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/tools/verify-uselistorder/verify-uselistorder.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
Commit d0ec61c9ffb32891ed02e57fd2327aa4d641ecde by kazu
[Target] Remove unused forward declarations (NFC)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
Commit 7542e72188cb05b22523cc58ea4223951399520d by kazu
Use llvm::is_contained (NFC)
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/DuplicateIncludeCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/NoRecursionCheck.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
Commit 54199d805a5431df292d412dbbae9286b3690ad3 by kazu
[x86] Remove unused declaration processWaitCnt (NFC)

The declaration was introduced without a corresponding definition on
Jan 2, 2022 in commit 85e6e748d426f8992016914b07bc67c4da22e278.
The file was modifiedllvm/lib/Target/X86/MCA/X86CustomBehaviour.h
Commit ba0407ba86d0a87f01e1a676f9dc23bae3e9c169 by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndexYAML.h
The file was modifiedllvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
The file was modifiedllvm/lib/Target/X86/X86VZeroUpper.cpp
The file was modifiedllvm/include/llvm/Bitstream/BitstreamReader.h
The file was modifiedllvm/lib/Target/X86/X86CmovConversion.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/include/llvm/Bitstream/BitstreamWriter.h
The file was modifiedllvm/include/llvm/Analysis/LoopInfoImpl.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
Commit fdc950958ed0970159071cc4367a66149971586f by shivam98.tkg
Added warning about outdated feature into Kaleidoscope tutorial text

**Motivation: **  I have been studying LLVM with LLVM Kaleidoscope tutorial. In the 4th part I faced an error which said that I can't redefine a function as shown in the tutorial. After hours of searching, I finally found the reason that produced the error is that the feature of symbols redefinition has been disabled since LLVM-9. There was no information about that in the tutorial's text, so I've decided to add a warning.

**Changes**: The only file I fixed is "`llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst`", I added text warning which says that described feature is outdated and the described functionality will not work properly on LLVM versions older 8 one.

Patch by : DKay7

Differential Revision: https://reviews.llvm.org/D130613
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
Commit f0f1bcadc74fa5cd11a118673340ca3e9a8c0037 by alexey.bader
[demangler] Add getters for Qual/Vector/Pointer types

These are useful for downstream tool aligning the mangling of data types which differ between different languages/targets.

Patch by Steffen Larsen <steffen.larsen@intel.com>

Differential Revision: https://reviews.llvm.org/D130909
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
Commit 26d811b3ecd2fa1ca3d9b41e17fb42b8c7ad03d6 by markus.boeck02
[mlir] Make use of C++17 language features

Now that C++17 is enabled in LLVM, a lot of the TODOs and patterns to emulate C++17 features can be eliminated.
The steps I have taken were essentially:
```
git grep C++17
git grep c++17
git grep "initializer_list<int>"
```
and address given comments and patterns.
Most of the changes boiled down to just using fold expressions rather than initializer_list.

While doing this I also discovered that Clang by default restricts the depth of fold expressions to 256 elements. I specifically hit this with `TestDialect` in `addOperations`. I opted to not replace it with fold expressions because of that but instead adding a comment documenting the issue.
If any other functions may be called with more than 256 elements in the future we might have to revert other parts as well.
I don't think this is a common occurence besides the `TestDialect` however. If need be, this could potentially be fixed via `mlir-tblgen` in the future.

Differential Revision: https://reviews.llvm.org/D131323
The file was modifiedmlir/include/mlir/IR/Dialect.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp
The file was modifiedmlir/include/mlir/IR/Matchers.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
The file was modifiedmlir/lib/IR/BuiltinTypes.cpp
The file was modifiedmlir/include/mlir/Support/InterfaceSupport.h
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/include/mlir/IR/BuiltinTypes.td
The file was modifiedmlir/include/mlir/IR/DialectRegistry.h
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/TosaLayerwiseConstantFoldPass.cpp
The file was modifiedmlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
The file was modifiedmlir/examples/standalone/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
The file was modifiedmlir/include/mlir/ExecutionEngine/ExecutionEngine.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinAttributes.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/include/mlir/IR/StorageUniquerSupport.h
Commit 6bb51bf06214af3690af7034f4edeb265732c481 by fsb4000
[libc++][test] Fix MSVC warnings C6054, C6001, C4242 in format_tests.h

Reviewed By: Mordante

Differential Revision: https://reviews.llvm.org/D131336
The file was modifiedlibcxx/test/std/utilities/format/format.functions/format_tests.h
Commit b02c7e2b630a04701d12efd2376f25eff2767279 by gareevroman
[Polly] Generalize the pattern matching to the case of tensor contractions

The pattern matching optimization of Polly detects and optimizes dense general
matrix-matrix multiplication. The generated code is close to high performance
implementations of matrix-matrix multiplications, which are contained in
manually tuned libraries. The described pattern matching optimization is
a particular case of tensor contraction optimization, which was
introduced in [1].

This patch generalizes the pattern matching to the case of tensor contractions
using the form of data dependencies and memory accesses produced by tensor
contractions [1].

Optimization of tensor contractions will be added in the next patch. Following
the ideas introduced in [2], it will logically represent tensor contraction
operands as matrix multiplication operands and use an approach for
optimization of matrix-matrix multiplications.

[1] - Gareev R., Grosser T., Kruse M. High-Performance Generalized Tensor
Op­erations: A Compiler-Oriented Approach // ACM Transactions on
Architec­ture and Code Optimization (TACO). 2018. Vol. 15, no. 3.
P. 34:1–34:27. DOI: 10.1145/3235029.

[2] - Matthews D. High-Performance Tensor Contraction without BLAS // SIAM
Journal on Scientific Computing. 2018. Vol. 40, no. 1. P. C 1—C 24.
DOI: 110.1137/16m108968x.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D114336
The file was modifiedpolly/include/polly/Support/ISLTools.h
The file was modifiedpolly/lib/Transform/MatmulOptimizer.cpp
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_25.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_15.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_20.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_23.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_17.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_19.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_16.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts.ll
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_21.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm_2.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_18.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_22.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_24.ll
The file was modifiedpolly/lib/Support/ISLTools.cpp
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_4.ll
Commit f8d976171f2a1b7bf9268929f77904973edb0378 by david.green
[ARM] Regenerate vector_store.ll tests. NFC
The file was modifiedllvm/test/CodeGen/ARM/vector-store.ll
Commit d3b3f7653dd4d1013117429c2fb40b6f7273157a by jpienaar
[mlir] Flip to prefixed accessors (NFC)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/InlineScalarOperands.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/NamedOpConversions.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/InitTensorToAllocTensor.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Generalization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Interchange.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
Commit e8c9eb49ead08dfd7e469a6574b2e8c10c2dd5f3 by gareevroman
[Polly] Suppress the LLVM-IR output for pattern matching tests, if there is no FileCheck-ing for it.
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
Commit 32fd0b7fd5ab26a70be1a16846232055e92cb597 by aaron
Revert "[RDF] Remove explicit template arguments from Print"

This reverts commit ede96de751224487aea122af8bfb4e82bc54840b.

This breaks the build on Windows with Visual Studio:
https://lab.llvm.org/buildbot/#/builders/123/builds/12134
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
Commit 82439b201a01707fd18f0d34a4b625132b9c7304 by hokein.wu
[clang-tidy] Fix a forwarding-reference-overload crash after the
ElaboratedType change.

After 15f3cd6bfc670ba6106184a903eb04be059e5977, the nss of
ElaboratedType can be null.
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone/forwarding-reference-overload.cpp
Commit ea540bc21078ffc28435ad5802d2e821036744bd by me
[polly] Fixed a number of typos. NFC

I went over the output of the following mess of a command:

`(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)`

and proceeded to spend a few days looking at it to find probable typos
and fixed a few hundred of them in all of the llvm project (note, the
ones I found are not anywhere near all of them, but it seems like a
good start).

Reviewed By: inclyc

Differential Revision: https://reviews.llvm.org/D131167
The file was modifiedpolly/lib/Transform/ScheduleTreeTransform.cpp
The file was modifiedpolly/test/ScopDetect/non-affine-loop.ll
The file was modifiedpolly/test/ScopInfo/invalid_add_rec_after_invariant_load_remapping.ll
The file was modifiedpolly/test/ScopInfo/invariant_load_canonicalize_array_baseptrs_3.ll
The file was modifiedpolly/www/performance.html
The file was modifiedpolly/www/index.html
The file was modifiedpolly/include/polly/Support/VirtualInstruction.h
The file was modifiedpolly/test/ScopInfo/multidim_fold_constant_dim_zero.ll
The file was modifiedpolly/test/ScopInfo/ranged_parameter.ll
The file was modifiedpolly/www/todo.html
The file was modifiedpolly/test/ScopInfo/redundant_parameter_constraint.ll
The file was modifiedpolly/test/ScopInfo/scalar_to_array.ll
The file was modifiedpolly/lib/Transform/ManualOptimizer.cpp
The file was modifiedpolly/tools/GPURuntime/GPUJIT.h
The file was modifiedpolly/test/CodeGen/non-affine-update.ll
The file was modifiedpolly/test/ForwardOpTree/changed-kind.ll
The file was modifiedpolly/www/documentation/gpgpucodegen.html
The file was modifiedpolly/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll
The file was modifiedpolly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll
The file was modifiedpolly/lib/CodeGen/ManagedMemoryRewrite.cpp
The file was modifiedpolly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll
The file was modifiedpolly/test/ScopInfo/invariant_load_canonicalize_array_baseptrs_4.ll
The file was modifiedpolly/www/projects.html
The file was modifiedpolly/test/ScopInfo/multidim_many_references.ll
The file was modifiedpolly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
The file was modifiedpolly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst
The file was modifiedpolly/test/ScopInfo/extract_constant_factor_introduces_new_parameter.ll
Commit 7602e285f69c4e3af60629100c151067c27b9eca by jpienaar
[mlir] Flip to prefixed accessors (NFC)

Missed these in td files.
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
Commit 3f10091c04e1478e0e5b2deb7dd782ebca0d529c by pklausler
[flang] Allow pure function references in expandable scalar

F18 disallows function references and coarray references from
appearing in scalar expressions that are to be expanded into
arrays to conform with other operands or actual arguments in
an elemental expression.  This is too strong, as pure procedures
can be safely used.

Differential Revision: https://reviews.llvm.org/D131096
The file was modifiedflang/include/flang/Evaluate/call.h
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/lib/Evaluate/call.cpp
The file was modifiedflang/include/flang/Evaluate/tools.h
Commit dbff03b85840592fcfc97d1a10d4fad5f70e6aee by deadalnix
[X86] Add test case to recombine LEA from OR.
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit 87dc7d4b619d9823b4d5d33bbc3ff3a193b9da2f by me
[clang][CodeGen] Factor out Swift ABI hooks (NFCI)

Swift calling conventions stands out in the way that they are lowered in
mostly target-independent manner, with very few customization points.
As such, swift-related methods of ABIInfo do not reference the rest of
ABIInfo and vice versa.
This change follows interface segregation principle; it removes
dependency of SwiftABIInfo on ABIInfo. Targets must now implement
SwiftABIInfo separately if they support Swift calling conventions.

Almost all targets implemented `shouldPassIndirectly` the same way. This
de-facto default implementation has been moved into the base class.

`isSwiftErrorInRegister` used to be virtual, now it is not. It didn't
accept any arguments which could have an effect on the returned value.
This is now a static property of the target ABI.

Reviewed By: rusyaev-roman, inclyc

Differential Revision: https://reviews.llvm.org/D130394
The file was modifiedclang/lib/CodeGen/SwiftCallingConv.cpp
The file was modifiedclang/lib/CodeGen/ABIInfo.h
The file was modifiedclang/lib/CodeGen/TargetInfo.h
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 1dcff823db9f4dd5c300507f679cdb2494287442 by Lang Hames
[ORC-RT] Drop __orc_rt::string_view now that we have c++17.

b1356504e63 enabled the use of c++17 features in LLVM, which means that we can
drop the ORC runtime's placeholder string_view implemention in favor of
std::string_view.
The file was modifiedcompiler-rt/lib/orc/simple_packed_serialization.h
The file was modifiedcompiler-rt/lib/orc/unittests/simple_packed_serialization_test.cpp
The file was modifiedcompiler-rt/lib/orc/unittests/adt_test.cpp
The file was modifiedcompiler-rt/lib/orc/adt.h
The file was modifiedcompiler-rt/lib/orc/elfnix_platform.cpp
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp
The file was modifiedcompiler-rt/lib/orc/run_program_wrapper.cpp
Commit 6ea5bf436a983ea9e16a5fe7534c87beca0a61b7 by Lang Hames
[JITLink] Fix some C++17 related fixmes.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
Commit 2843a1d87d95f09d2960b17f33b9ce57c6f878a3 by spatel
[InstCombine] add tests for bitwise logic; NFC
The file was modifiedllvm/test/Transforms/InstCombine/and-or-not.ll
Commit 8148c28fad4956b6fc785a5cf1d082eda56e1c6a by spatel
[ConstFolding] fix overzealous assert when converting FP half

Fixes #56981
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll
Commit 5b14c7aee82e67c31e7badae2f5323355cf5dd6d by kazu
[mlir] Fix a warning

This patch fixes:

  llvm-project/mlir/include/mlir/IR/OpDefinition.h:1544:19: error: use
  of bitwise '|' with boolean operands
  [-Werror,-Wbitwise-instead-of-logical]
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
Commit fc40804a5a1d30d336576956d2a84600872092a1 by avogelsgesang
[libc++][NFC] Fix `the the` in comment in `__format/buffer.h`

I made this commit primarily to test my commit access to the LLVM repo

Differential Revision: https://reviews.llvm.org/D131365
The file was modifiedlibcxx/include/__format/buffer.h
Commit e49c1568b6160f9a02da3295ac0d5c684fb64201 by davelee.com
[lldb] Dynamically generate enum names in lldbutil

Change the `<enum>_to_str` functions in lldbutil to be dynamic.

Instead of a manually maintained if/elif switch, the functions now perform
lookup in a dynamically generated dict. The names are determined by stripping
the enum's prefix, and then lowercasing the remaining suffix, ex:

    eStateRunning -> "running"

Differential Revision: https://reviews.llvm.org/D131138
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
Commit 87990fd8f4ba0e87ae21c69ae0cff4921c0e2cdf by davelee.com
[lldb] Fix formatting in python-reference.rst
The file was modifiedlldb/docs/use/python-reference.rst
Commit c615e467dbaf5240e4f48f3536d4857ff58c7531 by davelee.com
[lldb] Hoist TraceOn check out of loop (NFC)
The file was modifiedlldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py
Commit aa2a3196e28425c6bcf74bbf913efeda1f7fa1c7 by Lang Hames
[ORC-RT] Remove a stray __orc_rt::string_view helper.

This function was accidentally left in after 1dcff823db9.
The file was modifiedcompiler-rt/lib/orc/adt.h
Commit b5f8d42efe3e246d582d4a1a328fac915e4ce8dc by kazu
[ADT] Deprecate Optional::{hasValue,getValue} (NFC)

Differential Revision: https://reviews.llvm.org/D131349
The file was modifiedllvm/include/llvm/ADT/Optional.h
Commit f616a63db25579d51bc11763535aaf371b075827 by kazu
[mlir] Use value instead of getValue
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
Commit 41c41fcbc036d75e6b6ea0756857099befbb3313 by Lang Hames
Revert "[JITLink] Fix some C++17 related fixmes."

This reverts commit 6ea5bf436a983ea9e16a5fe7534c87beca0a61b7.

6ea5bf436a983ea9e16a5fe7534c87beca0a61b7 made use of new c++17 rules regarding
order of evaluation (specifically: in function calls the expression naming the
function should be sequenced before the evalution of any operands) to simplify
some continuation-passing calls. Unfortunately this appears to break at least
one MSVC bot: https://lab.llvm.org/buildbot/#/builders/123/builds/12149 .

Includes an update to the comments to note that the workaround is now based on
MSVC limitations, not on LLVM adopting c++17.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
Commit 921316af6e6b34d57d5e8f26f86f2bce8d034c7f by pklausler
[flang][runtime] Catch & report attempts at recursive I/O

When an I/O statement contains a function call that attempts
to perform I/O on the same unit, detect the recursive I/O
and terminate with a useful message rather than deadlocking in
the threading library.

Differential Revision: https://reviews.llvm.org/D131097
The file was modifiedflang/runtime/unit.h
The file was modifiedflang/runtime/unit.cpp
The file was modifiedflang/runtime/io-api.cpp
Commit 34a785fee747f45607ec2882f1accebf2cff9006 by spatel
[InstSimplify] add test for over-shift of scalable vector; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/shift.ll
Commit 74b5e797d5c9364bfc733f07ed9d27a33853f57b by spatel
[InstSimplify] fold scalable vectors with over-shift splat constant to poison

Fixes #56968
The file was modifiedllvm/test/Transforms/InstSimplify/shift.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit d446d91aa39da6b616aacb3e036d4ff0d8905337 by Jonas Devlieghere
[lldb] Use single-argument static_assert where applicable (NFC)

Since C++17 the message string for static_assert is optional. Replaces
static asserts with an empty string literal with the single-argument
variant.
The file was modifiedlldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DIERef.h
The file was modifiedlldb/include/lldb/Utility/Scalar.h
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/include/lldb/Utility/Log.h
The file was modifiedlldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
Commit 608131b1f94d895e848405215f29c30822f93603 by Lang Hames
[ORC-RT] Fix missing #include <string_view>s.

1dcff823db9 updated the ORC runtime to use std::string_view, rather than its
own placeholder class (__orc_rt::string_view), but failed to add these
includes.
The file was modifiedcompiler-rt/lib/orc/elfnix_platform.cpp
The file was modifiedcompiler-rt/lib/orc/simple_packed_serialization.h
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp
Commit e6373de53d35ebc0e9b0d62e664b7718f589b28e by pklausler
[flang] Allow assignment to host association in BLOCK in PURE subprogram

We need to distinguish BLOCK host association from subprogram host
association when checking assignments in PURE subprograms.
The specific case that is not allowed is an assignment to a variable
from the scope around the PURE subprogram.

Differential Revision: https://reviews.llvm.org/D131098
The file was modifiedflang/lib/Semantics/assignment.cpp
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Semantics/tools.cpp
Commit 10de5512971014cb98d41feefcf4206ca442c743 by jpienaar
[mlir][python] Address deprecation warning for hasValue
The file was modifiedmlir/lib/Bindings/Python/IRModule.h
Commit d1bb3016ddc8331a96048eda37ab13bf412c7749 by ashay
[mlir] fix `add_tablegen()` macro to allow installing mlir-pdll

Prior to this patch, the `add_tablegen()` macro in
llvm/cmake/modules/TableGen.cmake added the install rule only if
`project` matched `LLVM` or `MLIR`.  This patch adds an optional
`DESTINATION` argument, which, if non-empty, decides whether (and where)
to install the tablegen tool, thus eliminating the need for
project-specific overrides.  This patch also updates all other
invocations of the `add_tablegen()` macro.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D131282
The file was modifiedllvm/cmake/modules/TableGen.cmake
The file was modifiedmlir/tools/mlir-pdll/CMakeLists.txt
The file was modifiedclang/utils/TableGen/CMakeLists.txt
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
Commit 1d1f5a5251f7570615f0669a56af0ac5b8b302bc by pklausler
[flang] Handle subnormals while folding SCALE, SET_EXPONENT, & FRACTION

The implementations of folding for the intrinsic functions SCALE and SET_EXPONENT
do not cope correctly with numbers in the subnormal range.  Fix SCALE,
then modify SET_EXPONENT to be a special case of SCALE.

Differential Revision: https://reviews.llvm.org/D131099
The file was modifiedflang/test/Evaluate/folding07.f90
The file was modifiedflang/lib/Evaluate/real.cpp
The file was modifiedflang/include/flang/Evaluate/real.h
Commit 98339ac7af30b95f42f50e27bb6f6b7e2857ddc9 by jun
[Support] move llvm::llvm_is_multithread to header, NFC

This allow optimization without LTO. Also remove some useless else-ifs.
Signed-off-by: Jun Zhang <jun@junz.org>

Differential Revision: https://reviews.llvm.org/D131313
The file was modifiedllvm/include/llvm/Support/Mutex.h
The file was modifiedllvm/include/llvm/Support/Threading.h
The file was modifiedllvm/lib/Support/Threading.cpp
Commit ace6e172bd2c86a3b035b90c7e4adedb6ab7a291 by luxufan
[RISCV] Support fe_getround and fe_raise_inexact in builtins

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D128240
The file was addedcompiler-rt/lib/builtins/riscv/fp_mode.c
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
Commit cf7c8bd74ecc6b60f42b78b1829aaf87b5e077a9 by thakis
[gn build] (manually) port ace6e172bd2c
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Commit 64d326c33c6d3f008f04d850b4b9e62c6d4d99b0 by sheng
[M68k] Add MC support for link/unlk

Reviewers: myhsu

Differential Revision: https://reviews.llvm.org/D125444
The file was modifiedllvm/lib/Target/M68k/M68kInstrData.td
The file was modifiedllvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
The file was modifiedllvm/lib/Target/M68k/M68kFrameLowering.cpp
The file was addedllvm/test/CodeGen/M68k/link-unlnk.ll
The file was addedllvm/test/MC/M68k/Data/Classes/MxLink.s
The file was modifiedllvm/test/MC/Disassembler/M68k/data.txt
Commit 350f17ab52ec9df60095f7b7bccd49c429885ef7 by i
[llvm-ar] Remove unused parameter. NFC
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit 0c2b738f8f1d252d31f1075f040af664802b9bac by luweining
[LoongArch] Support for varargs

This patch ensures the `$fp` always points to the bottom of the vararg
spill region.
Includes support for expand `ISD::DYNAMIC_STACKALLOC`.

Differential Revision: https://reviews.llvm.org/D130250
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.h
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
The file was addedllvm/test/CodeGen/LoongArch/vararg.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchFrameLowering.h
The file was modifiedllvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
Commit d3651aa697c6a099768ffdde3f3c26a42f113268 by kazu
[BOLT] Upgrade to C++17

Without this patch, I am getting errors like:

  llvm-project/llvm/include/llvm/ADT/StringRef.h:233:7: error: use of
  the 'nodiscard' attribute is a C++17 extension
  [-Werror,-Wc++17-extensions]

Differential Revision: https://reviews.llvm.org/D131348
The file was modifiedbolt/CMakeLists.txt
Commit 0e37ef0186acf071994ea80dde788c397822ed72 by kazu
[Transforms] Fix comment typos (NFC)
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemProfiler.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopPeel.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was modifiedllvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
Commit 1dd8a318544bdf4d06b337340d678df06e4f2f0a by kazu
[clang-tidy] Use is_contained (NFC)
The file was modifiedclang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp
Commit e20d210eef92f3952de0e89ef2f01a146480a13b by kazu
[llvm] Qualify auto (NFC)

Identified with readability-qualified-auto.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was modifiedllvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
The file was modifiedllvm/tools/llvm-cxxdump/llvm-cxxdump.cpp
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/lib/Transforms/Utils/FunctionComparator.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleContextTracker.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/Analysis/MemoryProfileInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/ConstantMerge.cpp
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/lib/Transforms/Utils/FixIrreducible.cpp
The file was modifiedllvm/tools/llvm-tli-checker/llvm-tli-checker.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Transforms/IPO/PruneEH.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBlockRanges.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Evaluator.h
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/lib/Transforms/Scalar/ConstantHoisting.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp
The file was modifiedllvm/lib/MC/SubtargetFeature.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
The file was modifiedllvm/tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp
The file was modifiedllvm/lib/Transforms/Utils/CloneFunction.cpp
Commit 7042417ef11ce34300908c53ee9659bf8f2ab9ec by n.james93
[NFC][clang] Bring `and_present` and `if_present` casting functions to clang namespace

This should enable simpler migration when the `and_nonnull` and `or_null` functions are deprecated.
The file was modifiedclang/include/clang/Basic/LLVM.h
Commit a3f7a2c183455f390f017effc99bcd1b37328521 by carlos.alberto.enciso
[CodeView] Add function to get size in bytes for TypeIndex/CVType.

Given a TypeIndex or CVType return its size in bytes. Basically it
is the inverse to 'CodeViewDebug::lowerTypeBasic', that returns a
TypeIndex based in a size.

Reviewed By: rnk, djtodoro

Differential Revision: https://reviews.llvm.org/D129846
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp
Commit 8342ea6eac85bd20c56be0ab71b4ebbccd134c67 by diana.picus
[scudo] Try to fix standalone build on armv7

When linking scudo standalone on armv7, it can't find symbols related to
unwinding (e.g. __aeabi_unwind_cpp_pr0). This is because it is passing
--unwindlib=none. This patch hacks around the issue by adding
COMPILER_RT_UNWINDER_LINK_LIBS to the link line.

I don't know anything about scudo, so I'm not sure what the original
intention was.

See also https://github.com/llvm/llvm-project/issues/56900

Differential Revision: https://reviews.llvm.org/D131250
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
Commit e3ef7295ed5d7468dbe810499b4055b68a76cf34 by luweining
[mailmap] Add entry for myself

Differential Revision: https://reviews.llvm.org/D131353
The file was modified.mailmap
Commit 17ac26a78eaa1cbc8543c97f18d37c2e0c8bfad3 by cullen.rhodes
[AArch64][SVE] NFC: Add tests for masked FP arith patterns (D130564)
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp-combine.ll
Commit a6dec9f5b2840b77dcf3c1731a68428893501ade by cullen.rhodes
[AArch64][SVE] Add patterns to select masked FP arith

Add patterns to select predicated instructions when lowering:

  fadd(a, select(mask, b, splat(0)))
  fsub(a, select(mask, b, splat(0)))

'fadd' is unsafe unless no-signed zeros fast-math flag is set, since

  -0.0 + 0.0 = 0.0

changes the sign. Alive2: https://alive2.llvm.org/ce/z/wbhJh_

Also adds FMA patterns for:

  fadd(a, select(mask, mul(b, c), splat(0))) -> fmla(a, mask, b, c)
  fsub(a, select(mask, mul(b, c), splat(0))) -> fmla(a, mask, b, c)

These patterns require the 'contract' fast-math flag to be set, and the
fadd 'nsz' as above.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D130564
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp-combine.ll
Commit 061e0189a3dab6b1831a80d489ff1b15ad93aafb by david.green
[DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine

D129150 added a combine from shuffles to And that creates a BUILD_VECTOR
of constant elements. We need to ensure that the elements are of a legal
type, to prevent asserts during lowering.

Fixes #56970.

Differential Revision: https://reviews.llvm.org/D131350
The file was modifiedllvm/test/CodeGen/ARM/vector-store.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 5512f398a039e3ed7df502a0c263a8f366a84a4c by n.james93
[ADT] Update Optional Deprecation with fix-it

When Optional accessors were deprecated, in D131349,  the standard c++14 style attribute was used.
Clang has a slightly better deprecated attribute that enables simpler migration by embedding fix-its.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D131381
The file was modifiedllvm/include/llvm/ADT/Optional.h
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit 1eee6de873974f55538df976bf7802f019eac70a by anubhabghosh.me
[Orc][JITLink] Slab based memory allocator to reduce RPC calls

Calling reserve() used to require an RPC call. This commit allows large
ranges of executor address space to be reserved. Subsequent calls to
reserve() will return subranges of already reserved address space while
there is still space available.

Differential Revision: https://reviews.llvm.org/D130392
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp
Commit 72017e9b16b737c5bd7c1dd33abff36f368fa724 by simon.tatham
[llvm-objdump,ARM] Fix big-endian AArch32 disassembly.

The ABI for big-endian AArch32, as specified by AAELF32, is above-
averagely complicated. Relocatable object files are expected to store
instruction encodings in byte order matching the ELF file's endianness
(so, big-endian for a BE ELF file). But executable images can
//either// do that //or// store instructions little-endian regardless
of data and ELF endianness (to support BE32 and BE8 platforms
respectively). They signal the latter by setting the EF_ARM_BE8 flag
in the ELF header.

(In the case of the Thumb instruction set, this all means that each
16-bit halfword of a Thumb instruction is stored in one or other
endianness. The two halfwords of a 32-bit Thumb instruction must
appear in the same order no matter what, because the first halfword is
the one that must avoid overlapping the encoding of any 16-bit Thumb
instruction.)

llvm-objdump was unconditionally expecting Arm instructions to be
stored little-endian. So it would correctly disassemble a BE8 image,
but if you gave it a BE32 image or a BE object file, it would retrieve
every instruction in byte-swapped form and disassemble it to
nonsense. (Even an object file output by LLVM itself, because
ARMMCCodeEmitter outputs instructions big-endian in big-endian mode,
which is correct for writing an object file.)

This patch allows llvm-objdump to correctly disassemble all three of
those classes of Arm ELF file. It does it by introducing a new
SubtargetFeature for big-endian instructions, setting it from the ELF
image type and flags during llvm-objdump setup, and teaching both
ARMDisassembler and llvm-objdump itself to pay attention to it when
retrieving instruction data from a section being disassembled.

Differential Revision: https://reviews.llvm.org/D130902
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was addedllvm/test/tools/llvm-objdump/ELF/ARM/be-disasm.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Commit fb10bb0d2c50d1ec2f3cf827d09f18bc54a8097a by llvm-dev
ProcessTest.cpp - replace Optional::hasValue() with Optional::has_value()

Fixes windows-only build warnings
The file was modifiedllvm/unittests/Support/ProcessTest.cpp
Commit e5e93b6130bde96d7e14851e218c5bf055f8a834 by llvm-dev
[DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding

FoldConstantArithmetic can fold constant vectors hidden behind bitcasts (e.g. vXi64 -> v2Xi32 on 32-bit platforms), but currently bails if either vector contains undef elements. These undefs can often occur due to SimplifyDemandedBits/VectorElts calls recognising that the upper bits are often unnecessary (e.g. funnel-shift/rotate implicit-modulo and AND masks).

This patch adds a basic 'FoldValueWithUndef' handler that will attempt to constant fold if one or both of the ops are undef - so far this just handles the AND and MUL cases where we always fold to zero.

The RISCV codegen increase is interesting - it looks like the BUILD_VECTOR lowering was loading a constant pool entry but now (with all elements defined constant) it can materialize the constant instead?

Differential Revision: https://reviews.llvm.org/D130839
The file was modifiedllvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/X86/fshl-splat-undef.ll
The file was modifiedllvm/test/CodeGen/Thumb2/srem-seteq-illegal-types.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit b4e9977fc18405d4a11cbaf1975bcadbf75920b8 by benny.kra
Remove C++17 #ifdefs around the implicit conversion between StringRef and string_view

This is no longer needed as LLVM is built with C++17 now. Also drop the
explicit conversion to std::string as the implicit conversion to
std::string_view gets picked first anyways.
The file was modifiedllvm/include/llvm/ADT/StringRef.h
Commit ab4fc87a9d96d759df3c287fd63892165e60e526 by david.green
[DAG] Emit table lookup from TargetLowering::expandCTTZ()

This patch emits table lookup in expandCTTZ.

Context -
https://reviews.llvm.org/D113291 transforms set of IR instructions to
cttz intrinsic but there are some targets which does not support CTTZ or
CTLZ. Hence, I generate a table lookup in TargetLowering::expandCTTZ().

Differential Revision: https://reviews.llvm.org/D128911
The file was modifiedllvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
The file was addedllvm/test/CodeGen/SPARC/cttz.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb.ll
The file was modifiedllvm/test/CodeGen/ARM/cttz.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv32zbb.ll
Commit bf20d43f8263b1df43c26a2ac9fec7220bcb735e by thakis
[lld/mac] Use C++17 nested namespace syntax in most places

Some header files used

    namespace lld {
    namespace macho {
    // ...
    } // namespace macho
    std::string toString(const Type &t);
    } // namespace lld

In those files, I didn't use a nested namespace since it's not a big win there.

No behavior change.

Differential Revision: https://reviews.llvm.org/D131354
The file was modifiedlld/MachO/ConcatOutputSection.h
The file was modifiedlld/MachO/Writer.h
The file was modifiedlld/MachO/OutputSegment.h
The file was modifiedlld/MachO/ICF.h
The file was modifiedlld/MachO/MarkLive.h
The file was modifiedlld/MachO/SectionPriorities.h
The file was modifiedlld/MachO/SymbolTable.h
The file was modifiedlld/MachO/Arch/ARM64Common.h
The file was modifiedlld/MachO/EhFrame.h
The file was modifiedlld/MachO/LTO.h
The file was modifiedlld/MachO/MachOStructs.h
The file was modifiedlld/MachO/ExportTrie.h
The file was modifiedlld/MachO/ObjC.h
The file was modifiedlld/MachO/UnwindInfoSection.h
The file was modifiedlld/MachO/Driver.h
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/MachO/Dwarf.h
The file was modifiedlld/MachO/Relocations.h
The file was modifiedlld/MachO/MapFile.h
The file was modifiedlld/MachO/MarkLive.cpp
The file was modifiedlld/MachO/OutputSection.h
The file was modifiedlld/MachO/Target.h
Commit b334709467bf5783c27309ecebda6e75578fc14c by llvm-dev
Remove superfluous ; outside of a function
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 7a66fe1075cfc7568554aeea9c40997dfb581979 by Stefan Gränitz
Wrap `llvm_unreachable` macro in do-while loop

Macros that expand into multiple terms can cause interesting preprocessor hickups depending
on the context they are used in. https://github.com/llvm/llvm-project/issues/56867 reported
a miscompilation of `llvm_unreachable(msg)` inside a `LLVM_DEBUG({ ... })` block. We were
able to fix it by wrapping the expansion in a `do {} while(false)`.

Differential Revision: https://reviews.llvm.org/D131337
The file was modifiedllvm/include/llvm/Support/ErrorHandling.h
Commit 8805cf2660d2add2dfc57869c63a6f3231cdf16b by markus.boeck02
[mlir] Remove redundant `inline` from D131323
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinTypes.td
Commit b99da9d255e9182fcf477b32b2cea221f2b54c85 by thakis
[lld/mac] Use C++17 structured bindings

No behavior change.

Differential Revision: https://reviews.llvm.org/D131355
The file was modifiedlld/MachO/MapFile.cpp
The file was modifiedlld/MachO/SymbolTable.cpp
Commit 090bdaad34867a4aafa750cbe5bdb0d24864a121 by benny.kra
[Support] Use std::shared_mutex when we're not on old MacOS

In C++17 mode this is always available.
The file was modifiedllvm/include/llvm/Support/RWMutex.h
Commit 99a5a029e66643364c87d3945fb6990e943915dc by benny.kra
[ASTMatchers] Replace hand-coded copy of std::apply with the real C++17 function. NFCI
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
Commit bce3da9b8996541dbfc42c27387ff0f34cbb5353 by llvm-dev
[X86] Add 32-bit test coverage to or-lea.ll

Noticed while triaging D131358
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit 7dc410cbff28270fcfcf7f2dd80f57ead7ab7d18 by hokein.wu
[clang-tidy] Fix a regression of readability-container-size-empty after the AST ElaboratedType change.

With 15f3cd6bfc670ba6106184a903eb04be059e5977, we no longer emit a
diagnostic on a real std::vector case where the size method returns a
sugar `size_type`. This patch fixes it.

```
std::vector<int> v;
if (v.size() == 0) // => no check diagnostics
  ;
```

Differential Revision: https://reviews.llvm.org/D131390
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
Commit e36f9e13bca41223bd6af7e49bf020e58a676e9d by Louis Dionne
[libc++] Allow enabling assertions when back-deploying

When back-deploying to older platforms, we can still provide assertions,
but we might not be able to provide a great implementation for the verbose
handler. Instead, we can just call ::abort().

Differential Revision: https://reviews.llvm.org/D131199
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml
The file was modifiedlibcxx/docs/UsingLibcxx.rst
The file was modifiedlibcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp
The file was modifiedlibcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp
The file was modifiedlibcxx/include/__availability
The file was removedlibcxx/test/libcxx/assertions/default_verbose_abort.availability.verify.cpp
The file was modifiedlibcxx/include/__verbose_abort
The file was modifiedlibcxx/utils/ci/run-buildbot
The file was modifiedlibcxx/test/libcxx/assertions/single_expression.sh.cpp
Commit 0a5c344a84a452452185f3a6bd7d7679a42abb42 by Louis Dionne
[libc++] Add missing <stdbool.h> to the modulemap

It used to be defined by the compiler, but libc++ now provides it.

Differential Revision: https://reviews.llvm.org/D131201
The file was modifiedlibcxx/include/module.modulemap.in
Commit d4abdd2e3dda8f94219879501d22361e0549592b by tobias
[CMake] Check CMAKE_CXX_STANDARD and error if it's to old

Also nuke the old value out of the cache if it's there, otherwise
it could lead to problems when the project increases the standard
and the developer just runs the "make/ninja" program.

Reviewed By: royjacobson

Differential Revision: https://reviews.llvm.org/D131367
The file was modifiedllvm/CMakeLists.txt
Commit 36cc533471cb87ff6e9f44d9a3cd87f21369a87e by dantrushin
[EarlyCSE][OpaquePointers]Replace assert with return for mask type check.

When EarlyCSE tries to common vector masked loads/stores, it first checks that
they have same base operand and then assumes that this is enough for mask types
to be equal. This is true for typed pointers but false for opaque ones -
two loads of different vector sizes from same base pointer '%b' are the same,
`ptr %b`. (For typed pointers, `%b` was cast to vector pointer type so bases
were different).
Change assert to return from lambda `isSubmask` so this transformation properly
works with opaque pointers.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D131251
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/opaque-ptr.ll
Commit b53d44fe47413c87f619baf9e057f2a2e49d3998 by spatel
[EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC

Baseline coverage for D127964.
The file was addedllvm/test/Transforms/EarlyCSE/atan.ll
Commit 27442728cd2e28bfaf0f2d89ad6378b4377e9c66 by Louis Dionne
[libc++][NFC] Fix signature of main in test
The file was modifiedlibcxx/test/support/test.support/test_proxy.pass.cpp
Commit 9ea54ac9cea6c43f3b37dd00f360e6a2ec5f9fb6 by llvm-dev
[X86] X86ISelDAGToDAG.cpp - use auto for all values derived from cast/dyn_cast (style). NFC.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 3354644aad90c805aaf6ec04e05fb9d8c8e6e443 by avogelsgesang
[libc++][doc] Update `SpaceshipProjects` status to reflect in-flight reviews
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
Commit dc07d2c91dfd7f14991d07ef1df5f1f0b19b306d by arjunpitchanathan
[MLIR][Presburger] make sample test with integer lexmin use containsPointNoLocal

IntegerPolyhedron::findIntegerLexmin currently does not return values of
the local ids, so when a test for sampling includes a set with locals, the
result of findIntegerLexmin should be checked using containsPointNoLocal,
not containsPoint.
The file was modifiedmlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
The file was modifiedmlir/include/mlir/Analysis/Presburger/IntegerRelation.h
Commit 576375a2d670a7b1bd84b53b0187605a5f4ea0c8 by tobias
[LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL

These are new debug types that ships with the latest
Windows SDK and would warn and finally fail lld-link.

The symbols seems to be related to Microsoft's XFG
which is their version of CFG. We can't handle any of
this yet, so for now we can just ignore these types
so that lld doesn't fail with a new version of Windows
SDK.

Fixes: #56285

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D129378
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeView.h
The file was modifiedllvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp
The file was modifiedlld/test/COFF/pdb-unknown-subsection.s
The file was addedlld/test/COFF/pdb-xfg-section.s
The file was modifiedlld/COFF/PDB.cpp
Commit af8205d0eb47b416b6865488056797f4162321e4 by wyehia
Revert "XFAIL some PGO tests on AIX until the new linker becomes publicly available."

AIX 7.2 TL5 SP4 and AIX 7.3 TL0 SP2 have been released as of now.
The linker in these OS versions recognizes and properly supports
__start_SECNAME and __stop_SECNAME symbols which are needed for PGO.

This reverts commit 93bb2f16e85d2d4c8d3ddadebd99fc0fe26d974b.
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-switch.test
The file was modifiedcompiler-rt/test/profile/Posix/gcov-fork.c
The file was modifiedcompiler-rt/test/profile/runtime_infinite.c
The file was modifiedcompiler-rt/test/profile/gcov-basic.c
The file was modifiedcompiler-rt/test/profile/infinite_loop.c
The file was modifiedcompiler-rt/test/profile/instrprof-coverage.c
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
The file was modifiedcompiler-rt/test/profile/gcov-dump-and-remove.c
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
The file was modifiedcompiler-rt/test/profile/gcov-complex-line.c
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-multithread_fork.test
The file was modifiedcompiler-rt/test/profile/instrprof-merge-entry-cover.c
The file was modifiedcompiler-rt/test/profile/Posix/gcov-destructor.c
The file was modifiedcompiler-rt/test/profile/instrprof-get-filename.c
The file was modifiedcompiler-rt/test/profile/Posix/gcov-execlp.c
The file was modifiedcompiler-rt/test/profile/gcov-__gcov_flush-terminate.c
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-exceptions.test
The file was modifiedcompiler-rt/test/profile/instrprof-path.c
The file was modifiedcompiler-rt/test/profile/instrprof-set-dir-mode.c
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-two-objects.test
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-one-line-function.test
The file was modifiedcompiler-rt/test/profile/instrprof-icall-promo.test
Commit fc470013d13f2b996731c865b921df5a87a40e3f by chris.bieneman
[Docs] Add HLSL ResourceType documentation

Along with the new documentation this also re-organizes the HLSL docs
to a subdirectory. The hope is to continue to expand this documentation
as the HLSL implementation advances.

Differential Revision: https://reviews.llvm.org/D130794
The file was removedclang/docs/HLSLSupport.rst
The file was addedclang/docs/HLSL/HLSLSupport.rst
The file was addedclang/docs/HLSL/ResourceTypes.rst
The file was modifiedclang/docs/index.rst
The file was addedclang/docs/HLSL/HLSLDocs.rst
Commit 59f3b3d7963b933451dcd7516dc3c7135d3c1258 by spatel
[EarlyCSE][ConstantFolding] move test files to dir of pass in RUN line; NFC
The file was removedllvm/test/Transforms/InstSimplify/ConstProp/math-2.ll
The file was addedllvm/test/Transforms/EarlyCSE/math-2.ll
The file was removedllvm/test/Transforms/InstSimplify/ConstProp/math-1.ll
The file was addedllvm/test/Transforms/EarlyCSE/math-1.ll
Commit 59bb9e37c66bfbec6b2f0f7a07516adb6859acc3 by a.v.lapshin
[llvm-dwarfutil] Remove unnecessarily dependency.

llvm-dwarutil.cpp redundantly calls to InitializeAllAsmParsers.
That call might be removed as well as dependency on ${LLVM_TARGETS_TO_BUILD}

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D131157
The file was modifiedllvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp
The file was modifiedllvm/tools/llvm-dwarfutil/CMakeLists.txt
Commit 9641a201a565346bfddfc02b13b2b583c056e61d by llvm-dev
[DAG] Add initial SelectionDAG::canCreateUndefOrPoison support

This patch adds basic support for a DAG variant of the canCreateUndefOrPoison call and updates DAGCombiner::visitFREEZE to use it, further Opcodes (including target specific Opcodes) can be handled when we have test coverage.

So far, I've left visitFREEZE to just use this for unary nodes (which currently means the existing BITCAST/FREEZE cases) - later patches will add other unary opcodes (with test coverage) and we can also refactor visitFREEZE to support a general number of operands like we do in InstCombinerImpl::pushFreezeToPreventPoisonFromPropagating.

I'm not aware of any vector test freeze coverage so the DemandedElts (and the Depth) args are not being used yet - but they are in place. Similarly we will be able to handle poison generating SDNodeFlags as and when it becomes an issue.

Part of the work for D106675 / PR50468

Differential Revision: https://reviews.llvm.org/D130646
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit ba9dc5f577389db2cc706c0c66615f430a55d153 by kubak
[ADT] Add is_splat overload accepting initializer_list

Allow for `is_splat` to be used inline, similar to `is_contained`, e.g.,
```
if (is_splat({type1, type2, type3, type4}))
  ...
```

which is much more concise and less typo-prone than an equivalent chain of equality comparisons.

My immediate motivation is to clean up some code in the SPIR-V dialect that currently needs to either construct a temporary container or use `makeArrayRef` before calling `is_splat`.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D131289
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
Commit 5784199dd1c12be098d3ac8ca7b91dc719539bfd by Dylan.Fleming
[NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction

This patch serves two main purposes:
Firstly, to split some of the logic into a seperate method
to try and improve readability

On top of this, it aims to make creating the reductions more generic.
That way, subsequent patches adding reductions shouldn't need
to add a significant amount of extra logic checks, such as checking
for specific operators.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D131161
The file was modifiedflang/lib/Lower/OpenMP.cpp
The file was modifiedflang/include/flang/Lower/OpenMP.h
Commit 0f5385b70eddfbcb26fed973a4d6e4cc01260930 by kparzysz
Recommit [RDF] Remove explicit template arguments from Print

The build breakages should be addressed by d4abdd2e3d:
  [CMake] Check CMAKE_CXX_STANDARD and error if it's to old

Thanks to Tobias and Roy for addressing these issues.
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
Commit 81c4e58e2adae7f9711253c07bc0c96dbc6d1b0b by aeubanks
[StandardInstrumentations] Handle case where block order changes

Previously we'd go off the end of the BI iterator because we expected
that the relative positions of common blocks before and after were
consistent. That's not always true though, for example with
jump-threading.

Reviewed By: jamieschmeiser

Differential Revision: https://reviews.llvm.org/D130596
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
The file was addedllvm/test/Other/ChangePrinters/print-changed-diff-block-ordering-changed.ll
Commit 2d20fb00b3c7e455c7ba668ff55efc6515bce383 by llvm-dev
[X86] Add test coverage for sext/zext/bswap/bitreverse with freeze

All of these are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
The file was addedllvm/test/CodeGen/X86/freeze-unary.ll
Commit 00f7096d31cc7896ffd490e65104d264923f0df5 by jeff
[mlir][math] Rename math.abs -> math.absf

To make room for introducing `math.absi`.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131325
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
The file was modifiedflang/test/Lower/array-expression.f90
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
The file was modifiedmlir/test/Dialect/Math/canonicalize.mlir
The file was modifiedflang/test/Intrinsics/math-codegen.fir
The file was modifiedmlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
The file was modifiedmlir/test/python/dialects/linalg/opdsl/emit_misc.py
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
The file was modifiedmlir/test/Target/Cpp/invalid.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/lib/Dialect/Math/IR/MathOps.cpp
The file was modifiedmlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
The file was modifiedmlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathBase.td
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/test/Dialect/Math/polynomial-approximation.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathOps.td
The file was modifiedmlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
The file was modifiedflang/test/Lower/Intrinsics/abs.f90
The file was modifiedflang/test/Lower/math-lowering.f90
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/docs/Bindings/Python.md
Commit 7d9fc95b85c4ee421aa0c245f9ba5ed851db4154 by jeff
[mlir][math] Add `math.absi` op

Adds an integer absolute value op to the math dialect.

When converting to LLVM, this op is lowered to the LLVM `abs` intrinsic.
When converting to SPIRV, this op is lowered to `spv.GL.SAbs`.

Depends on D131325

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131327
The file was modifiedmlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathOps.td
The file was modifiedmlir/lib/Dialect/Math/IR/MathOps.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
The file was modifiedmlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
Commit 2f3256a02ec330efd492e2d5a1cf8162cd78983a by thakis
[lld/mac] Use C++17 structured bindings in two more places

No behavior change.
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/MachO/SymbolTable.cpp
Commit 104f11630ae878232a3368605290be185d14d9bc by jonathanchesterfield
[nfc][openmp] clang-format system.cpp prior to D131401
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
Commit e64025045457b7f52201fbd48b24739f64074b59 by aaron
Update the C status page from the latest working draft

WG14 N3047 is the last C working draft before the document goes out
for committee ballot, so this should be the last of the C2x compiler
features to be added.
The file was modifiedclang/www/c_status.html
Commit 9b031d5e3a7b455308257a71116a603e76c8c679 by mgorny
[lldb] Make Process and subclass constructors protected

Make constructors of the Process and its subclasses class protected,
to prevent accidentally constructing Process on stack when it could be
afterwards accessed via a shared_ptr (since it uses
std::enable_shared_from_this<>).

The only place where a stack allocation was used were unittests,
and fixing them via declaring an explicit public constructor
in the respective mock classes is trivial.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D131275
The file was modifiedlldb/unittests/Process/ProcessEventDataTest.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.h
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/unittests/Target/ExecutionContextTest.cpp
The file was modifiedlldb/unittests/Thread/ThreadTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was modifiedlldb/include/lldb/Target/PostMortemProcess.h
The file was modifiedlldb/include/lldb/Target/Process.h
Commit e4b2c52420011b32a61a9ea0872f233726231bf1 by llvm-dev
[DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support

Both are guaranteed not to create undef/poison
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 7c26641d9dcea70a75ca48d2e3a5bf6ca7a925bb by thakis
[lld/win] Use C++17 nested namespace syntax in most places

Like D131354, but for COFF.

No behavior change.

Differential Revision: https://reviews.llvm.org/D131405
The file was modifiedlld/COFF/CallGraphSort.h
The file was modifiedlld/COFF/Chunks.h
The file was modifiedlld/COFF/LTO.h
The file was modifiedlld/COFF/MarkLive.cpp
The file was modifiedlld/COFF/DLL.h
The file was modifiedlld/COFF/MarkLive.h
The file was modifiedlld/COFF/LLDMapFile.h
The file was modifiedlld/COFF/COFFLinkerContext.cpp
The file was modifiedlld/COFF/DLL.cpp
The file was modifiedlld/COFF/DebugTypes.cpp
The file was modifiedlld/COFF/Writer.h
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/Chunks.cpp
The file was modifiedlld/COFF/MapFile.h
The file was modifiedlld/COFF/TypeMerger.h
The file was modifiedlld/COFF/Driver.h
The file was modifiedlld/COFF/DebugTypes.h
The file was modifiedlld/COFF/ICF.h
The file was modifiedlld/COFF/Config.h
The file was modifiedlld/COFF/PDB.h
The file was modifiedlld/COFF/COFFLinkerContext.h
The file was modifiedlld/COFF/ICF.cpp
The file was modifiedlld/COFF/MinGW.h
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/SymbolTable.h
Commit aa1abd7684b6187fa17d2d761bb1a4c747967ea5 by thakis
[lld/win] Use C++17 structured bindings

No behavior change.

Differential Revision: https://reviews.llvm.org/D131403
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/DriverUtils.cpp
The file was modifiedlld/COFF/Writer.cpp
Commit 06ff46d2d77feba285e672e2da42039c88dc965a by sgurevich
[LLDB][NFC] Fix suspicious bitwise expression in PrintBTEntry()

Current application of bitwise-OR to a binary mask always results in True, which seems
inconsistent with the intent of the statement, a likely typo.

Differential Revision: https://reviews.llvm.org/D131312
The file was modifiedlldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp
Commit af28b27d31a5c13c31769c8551ffdcdc469fd5f4 by ron.lieberman
Move openmp from -std=c++14 to -std=c++17
The file was modifiedopenmp/cmake/HandleOpenMPOptions.cmake
The file was modifiedopenmp/tools/archer/tests/lit.cfg
The file was modifiedopenmp/runtime/test/lit.cfg
The file was modifiedopenmp/cmake/config-ix.cmake
Commit 521a5c11acb45fe4672ed63e3f6aa1f22b0e9fbe by jonathanchesterfield
Rename OPENMP_HAVE_STD_CPP14_FLAG to match c++17
The file was modifiedopenmp/cmake/HandleOpenMPOptions.cmake
The file was modifiedopenmp/cmake/config-ix.cmake
The file was modifiedopenmp/CMakeLists.txt
Commit 3f18f7c0072b642f5fe88d2fb7bb8ccf69a6c6f5 by i
[clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D131346
The file was modifiedclang/lib/Analysis/ReachableCode.cpp
The file was modifiedclang/lib/AST/Comment.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Parse/ParseInit.cpp
The file was modifiedclang/lib/Interpreter/IncrementalParser.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/CodeGen/CGObjCRuntime.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/CodeGen/CGCoroutine.cpp
The file was modifiedclang/lib/CodeGen/MacroPPCallbacks.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/ScanfFormatString.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/lib/Driver/ToolChains/Myriad.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/CodeCompleteConsumer.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/AST/PrintfFormatString.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Analysis/CalledOnceCheck.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
The file was modifiedclang/lib/AST/ASTDumper.cpp
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedclang/lib/Edit/RewriteObjCFoundationAPI.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/lib/Lex/Preprocessor.cpp
The file was modifiedclang/lib/Sema/SemaExprMember.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/Lex/Lexer.cpp
The file was modifiedclang/lib/Frontend/SerializedDiagnosticReader.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
The file was modifiedclang/lib/Lex/InitHeaderSearch.cpp
The file was modifiedclang/lib/Rewrite/HTMLRewrite.cpp
The file was modifiedclang/lib/Basic/BuiltinTargetFeatures.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
The file was modifiedclang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
The file was modifiedclang/lib/AST/NestedNameSpecifier.cpp
The file was modifiedclang/lib/Sema/JumpDiagnostics.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Basic/Targets/SystemZ.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
The file was modifiedclang/lib/AST/FormatString.cpp
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/lib/Index/USRGeneration.cpp
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Lex/TokenConcatenation.cpp
The file was modifiedclang/lib/AST/ASTDiagnostic.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/VarBypassDetector.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
The file was modifiedclang/lib/ARCMigrate/TransformActions.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
The file was modifiedclang/lib/Lex/ModuleMap.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/ExtractAPI/DeclarationFragments.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/RegionStore.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SValBuilder.cpp
Commit 4bd25d0b81d1687d7f4be4c170e748277856f33c by antiagainst
[mlir][spirv] Refresh base definitions to latest spec (v1.6)

This commit updates all SPIR-V enum definitions to match the latest
specification (v1.6 revision 2). Along the way, fixed some issues
in `gen_spirv_dialect.py` and added a new script for refreshing
all op definitions for such cases.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131293
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGroupOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVCooperativeMatrixOps.td
The file was modifiedmlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td
The file was modifiedmlir/utils/spirv/gen_spirv_dialect.py
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td
The file was modifiedmlir/test/Dialect/SPIRV/IR/availability.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td
The file was addedmlir/utils/spirv/refresh_inst.sh
Commit 2960299986980d6070bca6c3e9d8e925e2d8e260 by benny.kra
[ADT] Retire llvm::apply_tuple in favor of C++17 std::apply
The file was modifiedmlir/include/mlir/TableGen/Format.h
The file was modifiedmlir/include/mlir/IR/DialectRegistry.h
The file was modifiedllvm/include/llvm/Support/FormatVariadic.h
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/unittests/Support/FormatVariadicTest.cpp
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
Commit fb33b406df909c90891bf2c50da3d38f82d7d2cd by l.chelini
[MLIR][Linalg] Remove `TiledLoops` from tiling options

TiledLoopOp has been removed in: https://github.com/llvm/llvm-project/commit/1a829d2d06958abf09bb6aff81120959206887f6

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131383
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Commit 6f2bee667ad9244be65193892961d5d1eed24551 by llvm-dev
[DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support

Both are guaranteed not to create undef/poison
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
Commit e2bfbed2bb647dc95d3f7e66d07dad0db1cb36b9 by craig.topper
[RISCV] Add ReadFStoreData as a SchedRead.

The floating point stores use a different register class, it
probably makes sense to have a different SchedRead.

Reviewed By: monkchiang

Differential Revision: https://reviews.llvm.org/D131379
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoF.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedSiFive7.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedRocket.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedule.td
Commit c1f65df19c0f7324db8a7ec235308aee55fe22ef by tarun
[flang] Add an explicit condition for the BITS=0 case in the MASKL and MASKR intrinsics.

This fixes issue #56706.

Differential Revision: https://reviews.llvm.org/D130590
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
The file was modifiedflang/test/Lower/Intrinsics/maskr.f90
The file was modifiedflang/test/Lower/Intrinsics/maskl.f90
Commit 333f98b4b68872fd7436d987f2e3dfb4f3e9efba by vmrajas
[mlir][sparse][nfc] Use tensor.generate in sparse integration tests

Currently, dense tensors are initialized in Sparse Integration tests using
"buffer.tensor_alloc and scf.for" . This makes code harder to read and maintain.
This diff uses tensor.generate instead to initialize dense tensors.

Testing: Ran integration tests after building with -DLLVM_USE_SANITIZER=Address flag.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D131404
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
Commit 1f30ebc898b744688615550dca80ce1f05b57aec by llvm-dev
[llvm-tblgen] Fix copy+paste typo in CodeGenSchedModels::collectLoadStoreQueueInfo

Confirmed with @andreadb - repeated PM.LoadQueue->getLoc() should have been PM.StoreQueue->getLoc()

Found by coverity
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.cpp
Commit 95b3ff08f5de487e928ddd8b26c15984adb59b11 by joker.eph
[mlir][doc] Cross link the dependent dialect section to the tablegen field definition
The file was modifiedmlir/docs/PassManagement.md
Commit 706b3951b38961ffa6581d446fee6664038caced by avogelsgesang
[libc++] Implement `operator==` for `filesystem::space_info`

Implements part of P1614R2 "The Mothership has Landed"

Differential Revision: https://reviews.llvm.org/D130861
The file was modifiedlibcxx/include/__filesystem/space_info.h
The file was modifiedlibcxx/include/filesystem
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was addedlibcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/space_info.pass.cpp
Commit 2cbfa93f429343af3e8acb7ca69270b306e58139 by benny.kra
[mlir][math] Fix pythong bindings after 00f7096d31cc7896ffd490e65104d264923f0df5
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
Commit aa173573198e024b065c5f6523ce26bb865781b7 by i
[llvm-ranlib] Support more than one input file

BSD and GNU ranlib support more than one input file. Implement this.

While here, update OVERVIEW (Ranlib => ranlib) since "ranlib" is more common.
Remove "speed access" since the index has nothing to do with performance: it is
mandatory for GNU ld and gold but ignored for ld.lld (D119074).

Close https://github.com/llvm/llvm-project/issues/54565

Differential Revision: https://reviews.llvm.org/D131375
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was addedllvm/test/tools/llvm-ranlib/error-opening-permission.test
The file was modifiedllvm/test/tools/llvm-ranlib/D-flag.test
The file was modifiedllvm/docs/CommandGuide/llvm-ranlib.rst
Commit de907138ec96de063660b91a8adc7f28aa1bea98 by peiming
[mlir][sparse] Add new concatente operator to sparse tensor

See https://www.tensorflow.org/xla/operation_semantics#concatenate for the operator semantics

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D131111
The file was modifiedmlir/test/Dialect/SparseTensor/invalid.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/roundtrip.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
Commit 1b349bdaaa540e97d90318c3706527f6ca084987 by llvm-dev
[X86] Add test coverage for ctpop/parity with freeze

These are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
Commit be8bacfd93ec6a51692aafb3478ce975fb9812d2 by szakharin
[flang] Replace more pgmath with libm.

With this change all supported pgmath functions for non-complex
data types are replaced with either libm calls or MLIR operations,
except for MOD and some flavors of POW, which are going to be addressed
by other commits.

At the current stage a few math intrinsics are lowered into libm calls
always. When appropriate MLIR operation are available, the table can be
updated to generate them.
The file was addedflang/test/Lower/Intrinsics/bessel_j1.f90
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
The file was addedflang/test/Lower/Intrinsics/acos.f90
The file was addedflang/test/Lower/Intrinsics/acosh.f90
The file was addedflang/test/Lower/Intrinsics/erfc.f90
The file was addedflang/test/Lower/Intrinsics/bessel_j0.f90
The file was addedflang/test/Lower/Intrinsics/gamma.f90
The file was addedflang/test/Lower/Intrinsics/asin.f90
The file was addedflang/test/Lower/Intrinsics/bessel_jn.f90
The file was addedflang/test/Lower/Intrinsics/log_gamma.f90
The file was addedflang/test/Lower/Intrinsics/bessel_y1.f90
The file was addedflang/test/Lower/Intrinsics/bessel_y0.f90
The file was addedflang/test/Lower/Intrinsics/bessel_yn.f90
The file was addedflang/test/Lower/Intrinsics/asinh.f90
The file was addedflang/test/Lower/Intrinsics/atanh.f90
The file was modifiedflang/test/Lower/dummy-procedure.f90
Commit 5fff4b75ca0d72759f7ded4c96fc5493d917a3a9 by apl
[lldb] Pass TestExternCSymbols.py on Windows

This test previously was expected to fail on windows. As of my previous
patch (1d2a62afaf7561e331e2f3daf3937d14225b21bf) this test now passes on
windows consistently. This patch adjusts the expectations of the test
accordingly.
The file was modifiedlldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py
Commit 257251247a267c3fa30fdeef17ffa4987d8a52e5 by Vang.Thao
[SROA] Try harder to find a vector promotion viable type when rewriting

We are seeing significant performance loss when an alloca fails to get promoted
to register. I have observed that this is due to the common type found when
attempting to rewrite partition users being unviable for promotion. While if we
would have continue looking for a type, we would have found a subtype in the
original allocated type that would have enabled promotion. Thus first check if
the initial common type found is promotion viable and if not then continue
looking instead of stopping with the initial common type found.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D128073
The file was addedllvm/test/Transforms/SROA/sroa-common-type-fail-promotion.ll
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit bf48b128b02813e53e0c8f6585db837d14c9358f by dthorn
[Symbolizer] Implement pc element in symbolizing filter.

Implements the pc element for the symbolizing filter, including it's
"ra" and "pc" modes. Return addresses ("ra") are adjusted by
decrementing one. By default, {{{pc}}} elements are assumed to point to
precise code ("pc") locations. Backtrace elements will adopt the
opposite convention.

Along the way, some minor refactors of value printing and colorization.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D131115
The file was modifiedllvm/docs/SymbolizerMarkupFormat.rst
The file was addedllvm/test/DebugInfo/symbolize-filter-markup-pc.test
The file was modifiedllvm/test/DebugInfo/symbolize-filter-markup-data.test
The file was modifiedllvm/docs/CommandGuide/llvm-symbolizer.rst
The file was modifiedllvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
The file was modifiedllvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
Commit 6c52f82d77a1b8d9d9f8b585c73f94e58191b5a9 by filipp.zhinkin
[X86][ARM] Add tests for bitwise logic trees of shifts; NFC

Baseline tests for D131189.
The file was modifiedllvm/test/CodeGen/X86/shift-combine.ll
The file was modifiedllvm/test/CodeGen/ARM/shift-combine.ll
Commit f756f06cc471b91d81d7f7f15d9df76ed24de730 by hanruobing
[SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops

With profile data, non-trivial LoopUnswitch will only apply on non-cold loops, as unswitching cold loops may not gain much benefit but significantly increase the code size.

Reviewed By: aeubanks, asbirlea

Differential Revision: https://reviews.llvm.org/D129599
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll
The file was modifiedllvm/test/Transforms/LoopPredication/preserve-bpi.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
Commit e4161e88f3164f5922fff3ff565e18149a39aa14 by thakis
[gn build] port 59bb9e37c6
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
Commit 09db7f533174cdda4655d0114cd88bd22d336e31 by thakis
[lld/mac] Remove unusual "Fallthrough" comments

Normally we'd use LLVM_FALLTHROUGH, or now, [[fallthrough]].
But for case labels followed directly by other case labels, we
use neither.

No behavior change.
The file was modifiedlld/MachO/InputFiles.cpp
Commit de9d80c1c579e39cc658a508f1d4ba1cd792e4d5 by i
[llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600AsmPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2SizeReduction.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was modifiedllvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
The file was modifiedllvm/tools/llvm-remark-size-diff/RemarkSizeDiff.cpp
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/Support/CommandLine.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CondBrTuning.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitTracker.cpp
The file was modifiedllvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
The file was modifiedllvm/lib/Target/X86/X86DynAllocaExpander.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb1FrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstructionSelector.cpp
The file was modifiedllvm/lib/Support/FormattedStream.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Object/ELFObjectFile.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Option/OptTable.cpp
The file was modifiedllvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
The file was modifiedllvm/lib/Target/Mips/MipsExpandPseudo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/lib/Target/M68k/M68kISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/utils/TableGen/IntrinsicEmitter.cpp
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/tools/llvm-ml/Disassembler.cpp
The file was modifiedllvm/lib/Support/raw_ostream.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/tools/llvm-mc/Disassembler.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Support/FoldingSet.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/lib/Target/ARC/ARCRegisterInfo.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopRotationUtils.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/include/llvm/Target/CodeGenCWrappers.h
The file was modifiedllvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/ARC/ARCOptAddrMode.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/tools/obj2yaml/macho2yaml.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/X86/X86IndirectBranchTracking.cpp
The file was modifiedllvm/lib/TextAPI/TextStubCommon.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/ProfileData/InstrProf.cpp
The file was modifiedllvm/lib/TableGen/TGLexer.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/PtrState.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
The file was modifiedllvm/lib/BinaryFormat/Magic.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSplitDouble.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionAttrs.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegacyLegalizerInfo.cpp
The file was modifiedllvm/lib/IR/InlineAsm.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/Support/YAMLParser.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/examples/BrainF/BrainF.cpp
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/InfoStream.cpp
The file was modifiedllvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/include/llvm/CodeGen/CodeGenPassBuilder.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/tools/llvm-config/llvm-config.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/CodeGen/ExpandVectorPredication.cpp
The file was modifiedllvm/lib/Target/AVR/AVRRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/Support/GlobPattern.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstPropagation.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
The file was modifiedllvm/lib/Support/GraphWriter.cpp
Commit d9728a9baa49e6ddfa6c91af9fd7bf6a760f9a62 by antiagainst
[mlir][spirv] Unify mixed scalar/vector primitive type resources

This further relaxes the requirement to allow aliased resources
to have different primitive types and some are scalars while the
other are vectors.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D131207
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/unify-aliased-resource.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp
Commit 59d2495fe2c1254f84ad4d2bd61a41e79ff0d44d by i
[lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
The file was modifiedlldb/source/Target/StackFrame.cpp
The file was modifiedlldb/source/Interpreter/OptionValueFileSpecList.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Target/StackFrameList.cpp
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
The file was modifiedlldb/source/Core/Communication.cpp
The file was modifiedlldb/source/Interpreter/OptionValueArray.cpp
The file was modifiedlldb/source/Core/Address.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Core/AddressRange.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
The file was modifiedlldb/source/Expression/REPL.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Interpreter/OptionValuePathMappings.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
Commit 7889c41938d2e9d30030aec85fbe703c1fe91238 by jeffbailey
[libc] Website fixes (sidebar and mobile)

Add "using" and "status" sections to the sidebar to make getting these
easier.

Fixed mobile formatting not overflow left and right.

Tested:
Chrome on Desktop, using mobile restrictions in devtools.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D131369
The file was modifiedlibc/docs/index.rst
The file was modifiedlibc/docs/_static/custom.css
Commit 0d6cf1e8b5fa8590f816d5330cb7c2dcc449ec24 by dthorn
[Symbolizer] Fix symbolizer-filter-markup-pc.test on Windows
The file was modifiedllvm/test/DebugInfo/symbolize-filter-markup-pc.test
Commit cdeb50c3215593bffe9e5a46bdc9a9e34fd93dcc by i
[lldb] Remove include/lldb/lldb-private.h

The header from 62e0681afb478a4005efb6ba3598c24dc24866ee does something with
LLVM_FALLTHROUGH. Now that llvm-project has switched to C++17 and
LLVM_FALLTHROUGH uses have been migrated to [[fallthrough]], the header is
unneeded.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D131422
The file was modifiedlldb/include/lldb/module.modulemap
The file was modifiedclang/docs/tools/clang-formatted-files.txt
The file was modifiedlldb/include/lldb/lldb-private.h
The file was removedlldb/include/lldb/lldb-private-defines.h
Commit a12c076f60a726ebe4605ea7d2784f531adfec76 by i
[compiler-rt] Use -std=c++17 for standalone build

Follow-up to D130689.

Reviewed By: thieta

Differential Revision: https://reviews.llvm.org/D131382
The file was modifiedcompiler-rt/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit b71b22e48ddcf98ada78dc1e98c2fbdb562e0bd2 by jhuber6
[LinkerWrapper] Use C++17 structured bindings

Summary:
This patch updates the linker wrapper to use C++17 structured bindings
now that they are availible.
The file was modifiedclang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Commit 33af4b22f8ea5dc8340002833802be95ae9f83a1 by blangmuir
[clang][deps] Stop sharing FileManager across module builds in scanner

Sharing the FileManager across implicit module builds currently leaks
paths looked up in an importer into the built module itself. This can
cause non-deterministic results across scans. It is especially bad for
modules since the path can be saved into the pcm file itself, leading to
stateful behaviour if the cache is shared.

This should not impact the number of real filesystem accesses in the
scanner, since it is already caching in the
DependencyScanningWorkerFilesystem.

Note: this change does not affect whether or not the FileManager is
shared across TUs in the scanner, which is a separate issue.

Differential Revision: https://reviews.llvm.org/D131412
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was addedclang/test/ClangScanDeps/modules-file-path-isolation.c
Commit ddd576ab87a16eb7fb06531da8040ac2ece0c9a3 by walter erquinigo
[lldb] Prevent race condition when fetching /proc/cpuinfo

@clayborg found a potential race condition when setting a static
variable. The fix seems simply to use call_once.

All relevant tests pass.

Differential Revision: https://reviews.llvm.org/D131081
The file was modifiedlldb/source/Plugins/Process/Linux/Procfs.cpp
Commit f181dff0846c2236f72e3f13a819bb0c968ccfb8 by aeubanks
Add -misc-const-correctness to .clang-tidy

I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those.

Reviewed By: kadircet, aaron.ballman

Differential Revision: https://reviews.llvm.org/D131414
The file was modified.clang-tidy
Commit 0c52ab39688e8e107487b8cee00f509fe092f40a by martin
[MC] [Win64EH] Fix the calculation of the end of epilogs

Exclude the terminating end opcode from the epilog - it doesn't
correspond to an actual instruction that is included in the epilog
itself (within the .seh_startepilogue/.seh_endepilogue range).

In most (all?) cases, an epilog is followed by a matching terminating
instruction though (a ret or a branch to a tail call), but it's not
strictly within the .seh_startepilogue/.seh_endepilogue range.

This fixes a number of failed asserts in cases where the codegen
has incorrectly reoredered SEH opcodes so they don't match up
exactly with their instructions.

However this still just avoids failing the assertion; the root cause
of generating unexpected epilogs is still present (and fixing that is
a less obvious issue).

Differential Revision: https://reviews.llvm.org/D131393
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was addedllvm/test/MC/AArch64/seh-multi-epilog.s
Commit 6b3bc7cd3c6f56a63f97e71dc236b2281d98d9d1 by ajcbik
[mlir][sparse] improve sparse attribute documentation

Moved some parts from comments (not user facing) to the actual description
(user facing). Rephrased a bit as well.

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D131418
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
Commit d6bd3d373e89e2025821a83071a41310f74d658d by froese
[DAGCombiner] Add some BE store forwarding tests; NFC

Add tests before D130115. NFC.
The file was addedllvm/test/CodeGen/PowerPC/store-forward-be32.ll
The file was addedllvm/test/CodeGen/PowerPC/store-forward-be64.ll
Commit 8d7c1c55a43fc0eec3410fab0d4cbe6626522a56 by thomasraoux
[mlir][vector] Fix warp distribution test

The test was using a missing prefix. Add the prefix and fix the naming.

Found by @csigg

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D131428
The file was modifiedmlir/test/Dialect/Vector/vector-warp-distribute.mlir
Commit cc8edbea7a5f26906ae3d1f7ba0dc5da8fc5afb5 by xingxue
[libunwind][AIX] Save/restore errno before/after system calls dlopen/dlsym/dlclose

Summary:
libunwind on AIX calls dlopen()/dlsym()/dlclose() to dynamically load libc++abi and get the personality for state table EH when it is running against the legacy xlcang++ compiler genereated applications. dlopen() sets errno to 0 when it is successful, which clobbers the value in errno from the user code. This seems to be an AIX bug that it should not set errno to 0 according to POSIX. We will open a bug report to AIX but in the mean time there won't be time line when AIX will have a fix and even AIX does fix it, it won't help earlier AIX releases in the field. This patch saves and restores errno before and after these calls so that user code can work as expected.

Reviewed by: compnerd, libunwind

Differential Revision: https://reviews.llvm.org/D131292
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit dbd04b853b680b0a383e5f58edf3643364f67bdf by abrachet
[ELF] Support --package-metadata

This was recently introduced in GNU linkers and it makes sense for
ld.lld to have the same support. This implementation omits checking if
the input string is valid json to reduce size bloat.

Differential Revision: https://reviews.llvm.org/D131439
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was addedlld/test/ELF/package-metadata.s
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/ELF/SyntheticSections.h
Commit eec05bfeafe9389e190932e0efbfbed11198311e by craig.topper
[RISCV] Add {{$}} to some CHECK lines in MC tests.

This adds {{$}} to most of the CHECK lines for errors about what
extension an instruction requires. This ensures we check all the
extensions when there is a list.

Differential Revision: https://reviews.llvm.org/D131436
The file was modifiedllvm/test/MC/RISCV/rvv/others.s
The file was modifiedllvm/test/MC/RISCV/rv32zhinxmin-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbkc-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64c-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32zfinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zicbom-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fmv.s
The file was modifiedllvm/test/MC/RISCV/rv64zhinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/xor.s
The file was modifiedllvm/test/MC/RISCV/rv32zbr-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/or.s
The file was modifiedllvm/test/MC/RISCV/rvv/freduction.s
The file was modifiedllvm/test/MC/RISCV/rvv/fadd.s
The file was modifiedllvm/test/MC/RISCV/rv32zdinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zhinx-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/sub.s
The file was modifiedllvm/test/MC/RISCV/rvv/load.s
The file was modifiedllvm/test/MC/RISCV/rv32c-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/clip.s
The file was modifiedllvm/test/MC/RISCV/rvv/shift.s
The file was modifiedllvm/test/MC/RISCV/priv-rv64-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/mv.s
The file was modifiedllvm/test/MC/RISCV/rvv/fsub.s
The file was modifiedllvm/test/MC/RISCV/rvv/zvlsseg.s
The file was modifiedllvm/test/MC/RISCV/rv32zmmul-invaild.s
The file was modifiedllvm/test/MC/RISCV/rvv/fminmax.s
The file was modifiedllvm/test/MC/RISCV/rv32c-only-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbbp-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/invalid-eew.s
The file was modifiedllvm/test/MC/RISCV/rvv/vsetvl.s
The file was modifiedllvm/test/MC/RISCV/rv32fc-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32zicbop-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/macc.s
The file was modifiedllvm/test/MC/RISCV/rv32dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64a-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32f-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zhinxmin-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/div.s
The file was modifiedllvm/test/MC/RISCV/rvv/add.s
The file was modifiedllvm/test/MC/RISCV/rvv/fdiv.s
The file was modifiedllvm/test/MC/RISCV/rv32c-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbkx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zicboz-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32m-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zmmul-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zfhmin-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/reduction.s
The file was modifiedllvm/test/MC/RISCV/rv32zbe-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zhinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zdinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fmul.s
The file was modifiedllvm/test/MC/RISCV/rvv/mul.s
The file was modifiedllvm/test/MC/RISCV/rv64zfinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32i-aliases-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbf-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32i-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64i-aliases-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zfinx-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fcompare.s
The file was modifiedllvm/test/MC/RISCV/rvv/minmax.s
The file was modifiedllvm/test/MC/RISCV/rvv/and.s
The file was modifiedllvm/test/MC/RISCV/rv32zbt-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/convert.s
The file was modifiedllvm/test/MC/RISCV/rvv/mask.s
The file was modifiedllvm/test/MC/RISCV/rvv/sign-injection.s
The file was modifiedllvm/test/MC/RISCV/rvv/store.s
The file was modifiedllvm/test/MC/RISCV/rv32zbp-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zba-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zfh-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fothers.s
The file was modifiedllvm/test/MC/RISCV/rv32zbb-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fmacc.s
The file was modifiedllvm/test/MC/RISCV/rvv/ext.s
The file was modifiedllvm/test/MC/RISCV/rvv/compare.s
The file was modifiedllvm/test/MC/RISCV/rv64f-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64d-valid.s
Commit 8c0979c8f7723306862b33583c6bdb1f4566a969 by llvm-project
[flang][test] Don't require .exe suffix.

The suffix is only added then the path the (lld-)link.exe is fully
resolved. Otherwise it may stay "link" or "lld-link".

On non-Windows platforms, lld-link also exists as a symbolic link to
lld, such that the full the path to lld-link might also be resolved
without .exe suffix in this case.

Note that CLANG_DEFAULT_LINKER could be set to other linkers such as
mold, in which case the test may still fail. This also applies to the
non-Windows tests that require "ld" in the linker name.

Fixes issue #56955
The file was modifiedflang/test/Driver/linker-flags.f90
Commit db008af501534d4590542253ae3acf783986f5f7 by Jonas Devlieghere
[llvm] Repair the modules build with C++17

I'm honestly not sure if this is a legitimate issue or not, but after
switching from C++14 to C++17, the modules build started confusing
arrays and initializer lists. Work around the issue by being explicit.
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/include/llvm/Support/FormatProviders.h