Changes

Summary

  1. [mlir,win] Enable python bindings on the Windows mlir bot (details)
Commit 024b5581d445cf30694e2b5a808edb8e380b2ab1 by stilis
[mlir,win] Enable python bindings on the Windows mlir bot

This enables the build of the python bindings on the Windows mlir bot. This change depends on https://reviews.llvm.org/D125122

Differential Revision: https://reviews.llvm.org/D125134
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [clangd] Eliminate direct usage of isAvailable() matcher. NFC (details)
  2. [DAG] visitREM - merge buildOptimizedSREM into if(). NFCI. (details)
  3. [MC][X86] Add vcmpps disassembler tests for Issue #41491 (details)
  4. [ELF] Change (NOLOAD) type mismatch to use SHT_NOBITS instead of SHT_PROGBITS (details)
  5. [libc++][NFC] Slight refactoring of some std::vector tests (details)
  6. [libc++][NFC] Move swap_noexcept test to .compile.pass.cpp (details)
  7. [Frontend] Fix broken createInvocation test due to bad merge (details)
  8. Fix LLDB test broken by 499d0b96cb52c828e7fc4d58825b5e8b3f9931c5 (details)
  9. [InstCombine] Add icmp of select with implied condition tests (NFC) (details)
  10. [InstCombine] Fold icmp of select with implied condition (details)
  11. [libc++][NFC] Add release note for constexpr std::string (details)
  12. Revert "[clangd] Speed up an unfortunate timer-based test." (details)
  13. [OpenMP] Add basic support for properly handling static libraries (details)
  14. [flang] Fix internal error with DATA-statement style initializers (details)
  15. Automatically generate CodeGen/X86/sse-align-*.ll test cases. NFC (details)
  16. Automatically generates several X86/sse tests cases. NFC (details)
  17. [SelectionDAG] Clear promoted bits before UREM on shift amount in PromoteIntRes_FunnelShift. (details)
  18. [clang-tidy][NFC] Add createChecks method that also checks for LangaugeOptions (details)
  19. [SelectionDAG] Improve asserts in SelectionDAG::getSelect. (details)
  20. [SimplifyLibcalls] Tests for libcall folding of subobjects [NFC] (details)
  21. [libc++][NFC] Fix formatting that was incorrectly changed by D124695 (details)
  22. [InstCombine] Add tests for combining AArch64 neon min/max intrinsics. (details)
  23. [AArch64] Add extra reverse costs. (details)
  24. [riscv] Add strict asserts for VSETVLI insertion algorithm to help catch bugs (details)
  25. [mlir][sparse] integration test for zero preserving math op (details)
  26. [DAGCombine] Make combineShuffleOfBitcast LittleEndian specific (details)
  27. [AArch64] Fix sub with carry (details)
  28. [clangd] Speed up a slow sleeping testcase. (details)
  29. [libc] Update windows entrypoint list (details)
  30. [HLSL] add -fcgl option flag. (details)
  31. [clang-tidy] New check for safe usage of `std::optional` and like types. (details)
  32. [libc][NFC] add index mode to printf parser (details)
  33. [clang-tidy][NFC] Fix doc typo for bugprone-unchecked-optional-access (details)
  34. Apply clang-tidy fixes for llvm-prefer-isa-or-dyn-cast-in-conditionals in OpenMPDialect.cpp (NFC) (details)
  35. Apply clang-tidy fixes for llvm-else-after-return in Merger.cpp (NFC) (details)
  36. Enable the use of ThreadPoolTaskGroup in MLIR threading helper to enable nested parallelism (details)
  37. [runtimes] Always configure libc++abi before libc++ (details)
  38. Added the brief discription about the new CSA checker. (details)
  39. update the doc for the static analyzer checker (details)
  40. Update ReleaseNotes.rst (details)
  41. [gn build] (semi-manually) port 7e63a0d479dd (details)
  42. Revert "[DAGCombine] Make combineShuffleOfBitcast LittleEndian specific" (details)
  43. [riscv] Add some minimal tracing output to InsertVSETVLI (details)
  44. [riscv] Add early return to InsertVSETLI fixed point step [nfc] (details)
  45. [riscv] Use early return to reduce nesting for InsertVSETVLI [nfc] (details)
  46. Apply clang-tidy fixes for llvm-include-order in Merger.cpp (NFC) (details)
  47. Apply clang-tidy fixes for readability-identifier-naming in SparseTensorUtils.cpp (NFC) (details)
  48. Apply clang-tidy fixes for bugprone-copy-constructor-init in TestPassManager.cpp (NFC) (details)
  49. Fix build with shared libs: add missing CMake dep to MLIR sparse pipeline (details)
  50. [Driver] Pass --fix-cortex-a53-843419 automatically on Fuchsia (details)
  51. Revert "Automatically generates several X86/sse tests cases. NFC" (details)
  52. [InstCombine] add tests for shuffle with fneg operand(s); NFC (details)
  53. [InstCombine] canonicalize fneg after shuffle (details)
  54. [mlir] Remove special case parsing/printing of `func` operations (details)
  55. [OpenMP] Allow compiling multiple target architectures with OpenMP (details)
  56. [OpenMP] Try to Infer target triples using the offloading architecture (details)
  57. [ORC-RT][ORC] Handle dynamic unwind registration for libunwind (details)
  58. [CMake][libcxx] Use target_include_directories for libc++ headers (details)
  59. Fix check-clang-tools target after 7cc8377f2c572a919ecb (details)
  60. [libc++][ranges] Implement `views::take`. (details)
  61. [gn build] Port 9924d8d66ae1 (details)
  62. [AArch64] Add llvm/test/CodeGen/AArch64/i256-math.ll (details)
  63. [libc++][ranges] Implement `views::single`. (details)
  64. [compiler-rt] Fix issue with compiler-rt tests mixing <atomic> and <stdatomic.h> (details)
  65. Revert "[SimpleLoopUnswitch] Collect either logical ANDs/ORs but not both." (details)
  66. [clang-format][NFC] Make all TokenAnnotator member functions const (details)
  67. [HWASan] Allow to linkify symbolizer output. (details)
  68. [HWASan] Clean up hwasan_symbolize. (details)
  69. [Scalar][NFC] Minor cleanups in CallSiteSplitting.cpp (details)
  70. [CMake] Include llvm-debuginfod-find in Fuchsia toolchain (details)
  71. [runtime] Build compiler-rt with --unwindlib=none (details)
  72. Revert "[runtime] Build compiler-rt with --unwindlib=none" (details)
  73. [runtime] Build compiler-rt with --unwindlib=none (details)
  74. Upstream support for POINTER assignment in FORALL. (details)
  75. Revert "[runtime] Build compiler-rt with --unwindlib=none" (details)
  76. [test][ORC-RT] Disable elfnix_platform tests on non-x86_64 platforms (details)
  77. [libcxx] random_device, use arc4random() on Solaris (details)
  78. [libcxx] Remove static inline and make use of _LIBCPP_HIDE_FROM_ABI in __support headers (details)
  79. Revert "[CMake][libcxx] Use target_include_directories for libc++ headers" (details)
  80. [InstCombine] add casts from splat-a-bit pattern if necessary (details)
  81. [InstCombine] precommit some tests for reassociate add (details)
  82. Fix MLIR integration test after a8308020 (`func.` prefix is required bythe parser now) (details)
  83. [InstCombine] sub(add(X,Y),umin(Y,Z)) --> add(X,usub.sat(Y,Z)) (details)
  84. [SLP] Add tests for awkward laod orders from SLP. NFC (details)
  85. [X86] Add description comments to SandyBridge for COPY/WriteZero/WriteVecMaskedGatherWriteback cases. NFC. (details)
  86. [FuzzMutate] Move LLVM module (de)serialization from FuzzerCLI -> IRMutator. NFC (details)
  87. [FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR. (details)
  88. [ISD::IndexType] Helper functions for common queries. (details)
  89. Fix underlining in docs to fix the sphinx build (details)
  90. Revert "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." (details)
  91. Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." (details)
  92. [InstCombine] Remove side effect of replaced constrained intrinsics (details)
  93. [X86] Remove unused 'hint' argument from prefetch tests (details)
  94. [InstCombine] fix miscompile when casting int->FP->int (details)
  95. Automatically generate aix32-cc-abi-vaarg.ll . NFC (details)
  96. [X86] rdrand-builtins.c - add 32-bit target coverage and enable -Wall/-Werror (details)
  97. [SLP] Cluster ordering for loads (details)
  98. [X86] Add 32-bit target test coverage to clean header tests (details)
  99. const char* for LLVMTargetMachineEmitToFile's argument (details)
  100. [Bitstream] Only consider flushing to file on block boundaries (details)
  101. [Headers][X86] amxintrin.h - fixed unknown parameter Wdocumentation warning. NFC (details)
  102. [ARM] Update ror.ll test to canonicalized IR (details)
  103. [DAGCombine] Add node in the worklist in topological order in CombineTo (details)
  104. [LegalizeTypes] Don't assume fshl/fshr shift amount type matches the other operands. (details)
  105. [LegalizeTypes] Make use of SelectionDAG::getShiftAmountConstant. NFC (details)
  106. [AMDGPU] lowerEXTRACT_VECTOR_ELT - fold from a SCALAR_TO_VECTOR source (details)
  107. [AArch64] Add missing NVCAST patterns. (details)
  108. [RISCV] Regenerate rv32zbp-zbkb.ll (details)
  109. [IROutliner] Accomodate blocks containing PHINodes with one entry outside the region and others inside the region. (details)
  110. Regenerate avx512-regcall-NoMask.ll . NFC (details)
  111. Generate sse-intel-ocl.ll automatically. NFC (details)
  112. [Frontend] Move, don't copy the predefines buffer into PP. NFC. (details)
  113. Make BinaryStreamWriter::padToAlignment write blocks vs bytes. (details)
  114. [test][msa] Add more sse,avx intrinsics tests (details)
  115. [test][msan] Relax order of param shadow (details)
  116. [X86] Fix some signedness errors in x86 headers (details)
  117. [VectorCombine] Attempt to fold select shuffles from reductions (details)
  118. [Headers][X86] Replace \operation with \code{.operation} (details)
  119. [Headers][X86] Enable basic Wdocumentation testing on X86 headers (details)
  120. [InstCombine] Add test coverage for PR43261 / Issue #42606 (details)
  121. [SLP][X86] Add test coverage for PR47491 / Issue #46835 (details)
  122. [SLP][X86] Add test coverage for PR49934 / Issue #49278 (details)
  123. [SLP][X86] Add test coverage for PR41892 / Issue #41237 (details)
  124. [SLP][X86] Add test coverage for PR42652 / Issue #41997 (details)
  125. [X86][AMX] Simplify AMX test case. (details)
  126. [X86] combine-add.ll - add test case for PR52039 / Issue #51381 (details)
  127. [DAG] Only perform the fold (A-B)+(C-D) --> (A+C)-(B+D) when both inner subs have one use (details)
  128. [X86] Set some more plausible latencies for horizontal add/subs on znver1 (details)
  129. [docs] Add Office Hours for Tobias Grosser (details)
  130. [X86] Add test coverage for PR26515 / Issue #26889 (details)
  131. [libc] Add LINK_LIBRARIES option to add_fp_unittest and add_libc_unittest. (details)
  132. [libc][Obvious] Fix cmake usage of list PREPEND (unavailable pre-3.15). (details)
  133. [SLP][X86] Add test coverage for PR50392 / Issue #49736 (details)
  134. [BOLT][DWARF] Fix assert for split dwarf. (details)
  135. [lld] Fix typo for processAux; NFC (details)
  136. [flang] Enforce a program not including more than one main program (details)
  137. [mlir][NvGpu] Fix nvgpu.mma.sync lowering to NVVM for f32, tf32 types (details)
  138. [CSSPGO][Preinliner] Use linear threshold to drive inline decision. (details)
  139. [flang] retain binding label of entry subprograms (details)
  140. [AMDGPU] Regenerate checks in a mir test (details)
  141. [AVR] Add PrintMethod for operand memspi (details)
  142. [DAG] Prevent infinite loop combining bitcast shuffle (details)
  143. [clang-format] Fix WhitespaceSensitiveMacros not being honoured when macro closing parenthesis is followed by a newline. (details)
  144. [ConstraintElimination] Add initial ssub.with.overflow tests. (details)
  145. Revert "[lldb] parallelize calling of Module::PreloadSymbols()" (details)
  146. [AArch64] Generate AND in place of CSEL for predicated CTTZ (details)
  147. [AArch64] Ampere1 does not support MTE (details)
  148. [clang-format] Correctly handle SpaceBeforeParens for builtins. (details)
  149. [libcxx] [test] Fix the nasty_macros test on Windows on ARM/ARM64 (details)
  150. [lldb/DWARF] Fix linking direction in CopyUniqueClassMethodTypes (details)
  151. [mlir][math] Promote (b)f16 to f32 when lowering to libm calls (details)
  152. [SVE] Optimize new cases for lowerConvertToSVBool (details)
  153. Filter non-external static members from SBType::GetFieldAtIndex. (details)
  154. [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. (details)
  155. [Clang] Add integer mul reduction builtin (details)
  156. [demangler] Buffer peeking needs buffer (details)
  157. [NFC][LoopVectorize] Add SVE test for tail-folding combined with interleaving (details)
  158. [clangd] Disable predefined macros in tests. NFC (details)
  159. [clangd] Skip extra round-trip in parsing args in debug builds. NFC (details)
  160. [SimpleLoopUnswitch] Add test case for crash with db7a87ed4fa7. (details)
  161. Recommit "[SimpleLoopUnswitch] Collect either logical ANDs/ORs but not both." (details)
  162. [clangd] Rewrite TweakTesting helpers to avoid reparsing the same code. NFC (details)
  163. [AArch64][SVE] Improve codegen when extracting first lane of active lane mask (details)
  164. [ScalarEvolution] Add tests for umin_seq with non-zero operand (NFC) (details)
  165. [X86] Replace avx512f integer mul reduction builtins with generic builtin (details)
  166. [ScalarEvolution] Fold %x umin_seq %y if %x cannot be zero (details)
  167. [DAG] Use isAnyConstantBuildVector. NFC (details)
  168. [demangler] No need to space adjacent template closings (details)
  169. [riscv] Fix state tracking bug on vsetvli (phi of vsetvli) peephole (details)
  170. [flang] Fix windows bot after D125140 (details)
  171. "Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implementation"""" (details)
  172. [clangd] Skip (most) predefined macros when scanning for preamble patching. (details)
  173. Thread safety analysis: Handle compound assignment and ->* overloads (details)
  174. [riscv, InsertVSETVLI] Rename InstrInfo to Require to more clearly indicate purpose [nfc] (details)
  175. [analyzer] Inline operator delete when MayInlineCXXAllocator is set. (details)
  176. [Frontend] when attaching a preamble, don't generate the long predefines buffer. (details)
  177. [clang] Recognize scope of thread local variables in CFGBuilder (details)
  178. Enum conversion warning when one signed and other unsigned. (details)
  179. [SCEV] Add more tests for umin_seq with known predicate (NFC) (details)
  180. [SCEV] Fold umin_seq using known predicate (details)
  181. [SLP]Fix a crash when preparing a mask for external scalars. (details)
  182. [X86] insertps-combine.ll - show address math in checks (details)
  183. [ELF] Support -plugin-opt=stats-file= (details)
  184. [LLVM][sancov] Inclusive language: Add -ignorelist option (details)
  185. [lldb/test] Fix TestCppIncompleteTypeMembers.py (details)
  186. [mlir] Add translation from tensor.reshape to memref.reshape (details)
  187. [mlir][linalg] Fix padding size calculation for Conv2d ops. (details)
  188. [RISCV] Remove two unmasked RVV patterns (details)
  189. [riscv] Add a few more vsetvli insertion tests (details)
  190. Revert ""Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implementation""""" (details)
  191. [clang-fuzzer] Add a tiny tool to generate a fuzzing dictionary for clang (details)
  192. [mlir] Refactoring dialect and test code to use parseCommaSeparatedList (details)
  193. [Docs] Added my office hours. (details)
  194. [SLP]Try partial store vectorization if supported by target. (details)
  195. [opt] Error on `opt -O# --foo-pass` (details)
  196. [SystemZ] Fix argument type of tdc instruction. (details)
  197. [CodeGen] Clarify the semantics of ADDCARRY/SUBCARRY (details)
  198. [lldb/test] Append CXXFLAGS_EXTRAS last in Makefile.rules (details)
  199. [lldb/test] Remove superfluous -std=c++11 from tests (details)
Commit 4b76ba887c04458367c37eb3458cbd113475c27f by sam.mccall
[clangd] Eliminate direct usage of isAvailable() matcher. NFC

This prepares to replace the implementation of EXPECT_[UN]AVAILABLE with
something more efficient.
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/SwapIfBranchesTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/DumpRecordLayoutTests.cpp
Commit c0bebc12f06c3d96ab5c18cbc0d61b22cdc90d89 by llvm-dev
[DAG] visitREM - merge buildOptimizedSREM into if(). NFCI.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit c0840799e3f7638ffcb535485973655a5ab18632 by llvm-dev
[MC][X86] Add vcmpps disassembler tests for Issue #41491

We were missing coverage for vcmpps imm, vreg, vreg, mreg {mreg} patterns
The file was modifiedllvm/test/MC/Disassembler/X86/avx-512.txt
Commit b3d5bb3b308f9a41022cdd30542991840b826a6b by i
[ELF] Change (NOLOAD) type mismatch to use SHT_NOBITS instead of SHT_PROGBITS

Placing a non-SHT_NOBITS input section in an output section specified with
(NOLOAD) is fishy but used by some projects. D118840 changed the output type to
SHT_PROGBITS, but using the specified type seems to make more sense and improve
GNU ld compatibility: `(NOLOAD)` seems to change the output section type
regardless of input.

I think we should keep the current type mismatch warning as it does indicate an
error-prone usage.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D125074
The file was modifiedlld/test/ELF/linkerscript/noload.s
The file was modifiedlld/ELF/OutputSections.cpp
The file was modifiedlld/test/ELF/linkerscript/custom-section-type.s
Commit 3442ff17a560afdac6cf3bea2ab5b559589c3c15 by Louis Dionne
[libc++][NFC] Slight refactoring of some std::vector tests
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.cons/assign_iter_iter.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp
Commit 687ccba198301bd5998ea0307de23e9a662506aa by Louis Dionne
[libc++][NFC] Move swap_noexcept test to .compile.pass.cpp
The file was addedlibcxx/test/std/containers/sequences/vector/vector.special/swap_noexcept.compile.pass.cpp
The file was removedlibcxx/test/std/containers/sequences/vector/vector.special/swap_noexcept.pass.cpp
Commit f44552ab387b9087fb815251064782f8fb60e643 by sam.mccall
[Frontend] Fix broken createInvocation test due to bad merge
The file was modifiedclang/unittests/Frontend/UtilsTest.cpp
Commit 6ed81abec2531984e8068de80637bc9f5a041655 by sam.mccall
Fix LLDB test broken by 499d0b96cb52c828e7fc4d58825b5e8b3f9931c5
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
Commit a94589d52f0cc7b64284c4372ab55ec93e4fb1a5 by npopov
[InstCombine] Add icmp of select with implied condition tests (NFC)
The file was modifiedllvm/test/Transforms/InstCombine/icmp-select.ll
Commit 82190f917ac4813e22a334b805e84dba8ed4f47d by npopov
[InstCombine] Fold icmp of select with implied condition

When threading the icmp over the select, check whether the
condition can be folded when taking into account the select
condition.
The file was modifiedllvm/test/Transforms/InstCombine/minmax-fold.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/InstCombine/icmp-select.ll
Commit ec3d22cd3a5fc6dfc8182611737fae9f18d527bf by Louis Dionne
[libc++][NFC] Add release note for constexpr std::string
The file was modifiedlibcxx/docs/ReleaseNotes.rst
Commit edaeab664cbd1dcbd7329efa553931efcfda5e50 by sam.mccall
Revert "[clangd] Speed up an unfortunate timer-based test."

This reverts commit 076dd0a763fd803897b0f806e0e350a27d2c087c.

http://45.33.8.238/macm1/34776/step_9.txt
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Commit e12905b4d5f95952600515901b82da0a8eefcd73 by jhuber6
[OpenMP] Add basic support for properly handling static libraries

Currently we handle static libraries like any other object in the
linker wrapper. However, this does not preserve the sematnics that
dictate static libraries should be lazily loaded as the symbols are
needed. This allows us to ignore linking in architectures that are not
used by the main application being compiled. This patch adds the basic
support for detecting if a file came from a static library, and only
including it in the link job if it's used by other object files.

This patch only adds the basic support, to be more correct we should
check the symbols and only inclue the library if the link job contains
symbols that are needed. Ideally we could just put this on the linker
itself, but nvlink doesn't seem to support `.a` files.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D125092
The file was modifiedclang/test/Driver/linker-wrapper.c
The file was modifiedclang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Commit 2c27d5b36a55c75a33a2a97198d0f0cd1d3d42bf by d.dudkin
[flang] Fix internal error with DATA-statement style initializers

The code below causes flang to crash with an exception.
After fixing the crash flang with an internal error "no symbol found for 'bar'"
This change fixes all the issues.

  program name
    implicit none
    integer, parameter :: bar = 1
    integer foo(bar) /bar*2/
  end program name

Reviewed By: kiranchandramohan, klausler

Differential Revision: https://reviews.llvm.org/D124914
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was addedflang/test/Semantics/resolve111.f90
The file was modifiedflang/lib/Semantics/data-to-inits.cpp
Commit d955010d8dfb371650450c4dc44d8543d2e206f5 by deadalnix
Automatically generate CodeGen/X86/sse-align-*.ll test cases. NFC
The file was modifiedllvm/test/CodeGen/X86/sse-align-9.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-2.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-7.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-0.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-3.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-10.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-1.ll
The file was modifiedllvm/test/CodeGen/X86/sse-align-4.ll
Commit 324d696c154aad42b2580d2f225a677c04fe0ab4 by deadalnix
Automatically generates several X86/sse tests cases. NFC
The file was modifiedllvm/test/CodeGen/X86/sse-unaligned-mem-feature.ll
The file was modifiedllvm/test/CodeGen/X86/sse_reload_fold.ll
The file was modifiedllvm/test/CodeGen/X86/sse-regcall.ll
The file was modifiedllvm/test/CodeGen/X86/sse-commute.ll
Commit 76f90a9d71ee0e6d7ad1f9d67a66d97112328f82 by craig.topper
[SelectionDAG] Clear promoted bits before UREM on shift amount in PromoteIntRes_FunnelShift.

Otherwise we have garbage in the upper bits that can affect the
results of the UREM.

Fixes PR55296.

Differential Revision: https://reviews.llvm.org/D125076
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/funnel-shift.ll
The file was modifiedllvm/test/CodeGen/X86/funnel-shift.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fshr.ll
The file was modifiedllvm/test/CodeGen/ARM/funnel-shift.ll
The file was modifiedllvm/test/CodeGen/AArch64/funnel-shift.ll
The file was modifiedllvm/test/CodeGen/Mips/funnel-shift.ll
Commit dd87aceb514d1c2b9c3e48854100df8b036d718a by n.james93
[clang-tidy][NFC] Add createChecks method that also checks for LangaugeOptions

This method won't add a check if it isn't supported in the Contexts current LanguageOptions.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124320
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidy.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyModule.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyModule.cpp
Commit 2ca78d2bdfaf14e0cfd20dfa5ee53c6d12643e07 by craig.topper
[SelectionDAG] Improve asserts in SelectionDAG::getSelect.

The VT passed in must match the type of LHS and RHS.
Previously we only checked that the vectorness matched.
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
Commit cc2ce81bd859ec5c3b698cf2039e273264bb6abe by msebor
[SimplifyLibcalls] Tests for libcall folding of subobjects [NFC]

Add tests exercising the future enancement of folding library function
calls with arguments involving subobjects such as elements of arrays
or struct members.
The file was addedllvm/test/Transforms/InstCombine/memcmp-4.ll
The file was addedllvm/test/Transforms/InstCombine/memchr-5.ll
The file was addedllvm/test/Transforms/InstCombine/strcmp-3.ll
The file was addedllvm/test/Transforms/InstCombine/strlen-7.ll
The file was addedllvm/test/Transforms/InstCombine/strcmp-4.ll
The file was addedllvm/test/Transforms/InstCombine/strncmp-4.ll
The file was addedllvm/test/Transforms/InstCombine/memrchr-5.ll
The file was addedllvm/test/Transforms/InstCombine/strlen-8.ll
The file was addedllvm/test/Transforms/InstCombine/memcmp-3.ll
The file was addedllvm/test/Transforms/InstCombine/strlen-5.ll
The file was addedllvm/test/Transforms/InstCombine/str-int-3.ll
The file was addedllvm/test/Transforms/InstCombine/sprintf-2.ll
The file was addedllvm/test/Transforms/InstCombine/strlen-6.ll
Commit 9fffca04448d34b62dff1207170bed0c5fd15e09 by Louis Dionne
[libc++][NFC] Fix formatting that was incorrectly changed by D124695
The file was modifiedlibcxx/include/__functional/bind_back.h
The file was modifiedlibcxx/include/__functional/perfect_forward.h
The file was modifiedlibcxx/include/__ranges/iota_view.h
Commit 1d042312f8daae28cbdb257328960c545e851a15 by flo
[InstCombine] Add tests for combining AArch64 neon min/max intrinsics.
The file was addedllvm/test/Transforms/InstCombine/AArch64/neon-min-max-intrinsics.ll
Commit dccc69a38d8d080f975d005d2ab12983e95d4eec by david.green
[AArch64] Add extra reverse costs.

This adds some extra costs for reverse shuffles under AArch64, filling
in the i16/f16/i8 gaps in the cost model.

Differential Revision: https://reviews.llvm.org/D124786
The file was modifiedllvm/test/Analysis/CostModel/AArch64/getIntrinsicInstrCost-vector-reverse.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-reverse.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit f486119ce94573793c1569f1542c09fae74a0d1d by preames
[riscv] Add strict asserts for VSETVLI insertion algorithm to help catch bugs

This assertion should hold for any reasonable data flow algorithm, but is known not to in several cases today. I'd like to go ahead and land this off-by-default, so that we can collaborate on fixes and have a common definition of success.

Differential: https://reviews.llvm.org/D125035
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit 5b122a7310e8899ae058ba86d28793b7ae903226 by ajcbik
[mlir][sparse] integration test for zero preserving math op

Also fixes omission in lowering math ops that require lib support

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D125104
The file was addedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tanh.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
Commit 891c3cf99e100e8871aff9a0747c887a5d0a8b0f by david.green
[DAGCombine] Make combineShuffleOfBitcast LittleEndian specific

Something is going wrong with the BigEndian PowerPC bot. It is hard to
tell what is wrong from here, but attempt to fix it by disabling the
combineShuffleOfBitcast combine for bigendian.
The file was modifiedllvm/test/CodeGen/PowerPC/load-and-splat.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-vsx-splatimm.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit fffb6e6afdbaba563189c1f715058ed401fbc88d by kazu
[AArch64] Fix sub with carry

13403a70e45b2d22878ba59fc211f8dba3a8deba introduced a bug where we
generate the outgoing carry inverted, which in turn breaks the
lowering of @llvm.usub.sat.i128, returning the normal difference on
saturation and zero otherwise.

Note that AArch64 has peculiar semantics where the subtraction
instructions generate borrow inverted.  The problem is that we mix the
two forms of semantics -- the normal carry and inverted carry -- in
the area of extended precision subtractions.  Specifically, we have
three problems:

- lowerADDSUBCARRY takes the non-inverted incoming carry from a
  subtraction and feeds it to SBCS without inverting it first.

- lowerADDSUBCARRY makes available the outgoing carry from SBCS
  without inverting it.

- foldOverflowCheck folds:

  (SBC{S} l r (CMP (CSET LO carry) 1)) => (SBC{S} l r carry)

  When the incoming carry flag is set, CSET LO results in zero.  CMP
  in turn generates a borrow, *clearing* the carry flag.  Instead, we
  should fold:

  (SBC{S} l r (CMP 0 (CSET LO carry))) => (SBC{S} l r carry)

  When the incoming carry flag is set, CSET LO results in zero.  CMP
  does not generate a borrow, *setting* the carry flag.

IIUC, we should use the normal (that is, non-inverted) semantics for
carry everywhere.

This patch fixes the three problems above.

This patch does not add any new testcases because we have a plenty of
them covering the instruction in question.  In particular,
@u128_saturating_sub is identical to the testcase in the motivating
issue.

Fixes: #55253

Differential Revision: https://reviews.llvm.org/D124976
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/i128-math.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit c468635b7dfcec302f7688f5dcde91913524e355 by sam.mccall
[clangd] Speed up a slow sleeping testcase.

This testcase runs slowly due to 3.2s of sleeps = 2 + 1 + 0.2s.
After this patch it has 0.55s only.

Reduced by:
- observed that the last test was bogus: we were sleeping until the queue was
   idle, effectively just a second copy of the first test. This avoids 1s sleep.
- when waiting for debounce, sleep only until test passes, not for enough
   time to be safe (in practice was 2x debounce time, now 1x debounce time)
- scaling delays down by a factor of 2 (note: factor of 10 caused bot failures)

Differential Revision: https://reviews.llvm.org/D125103
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/support/Threading.cpp
The file was modifiedclang-tools-extra/clangd/support/Threading.h
Commit 270ca878d9ad62cf36d12e3b0433d325090fb924 by michaelrj
[libc] Update windows entrypoint list

The entrypoint list for windows hasn't been updated in a while, this
adds all of the entrypoints that are working for windows now.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D125058
The file was modifiedlibc/config/windows/entrypoints.txt
Commit 3fa5eb4cfc065b686c03f912e4414fd00a54d04e by python3kgae
[HLSL] add -fcgl option flag.

fcgl option will make compilation stop after clang codeGen and output the llvm ir.
It is added to check clang codeGen output for HLSL.

It will be translated into -S -emit-llvm and -disable-llvm-passes.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124983
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/dxc_fcgl.hlsl
The file was modifiedclang/lib/Driver/ToolChains/HLSL.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 7e63a0d479dd3ccce20de5cddb0f138b537c08bb by yitzhakm
[clang-tidy] New check for safe usage of `std::optional` and like types.

This check verifies the safety of access to `std::optional` and related
types (including `absl::optional`). It is based on a corresponding Clang
Dataflow Analysis, which does most of the work. This check merely runs it and
converts its findings into diagnostics.

Differential Revision: https://reviews.llvm.org/D121120
The file was addedclang-tools-extra/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-unchecked-optional-access.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/Inputs/absl/types/optional.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was addedclang-tools-extra/clang-tidy/bugprone/UncheckedOptionalAccessCheck.h
The file was modifiedclang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h
Commit 945fa672c60d265fa0dc13f5a5445768945feb0a by michaelrj
[libc][NFC] add index mode to printf parser

This patch is a followup to the previous patch which implemented the
main printf parsing logic as well as sequential mode. This patch adds
index mode.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D123424
The file was modifiedlibc/src/stdio/printf_core/CMakeLists.txt
The file was modifiedlibc/src/stdio/printf_core/parser.cpp
The file was modifiedlibc/src/stdio/printf_core/parser.h
The file was modifiedlibc/test/src/stdio/printf_core/parser_test.cpp
Commit ec34de1bfe5501fd3017ff867bc2481dc052788d by yitzhakm
[clang-tidy][NFC] Fix doc typo for bugprone-unchecked-optional-access
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
Commit 061f253e13b53904fb907a3da030a7e96b300761 by joker.eph
Apply clang-tidy fixes for llvm-prefer-isa-or-dyn-cast-in-conditionals in OpenMPDialect.cpp (NFC)
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
Commit c5ea8d509cf87d6731f658acb1937d845a005f37 by joker.eph
Apply clang-tidy fixes for llvm-else-after-return in Merger.cpp (NFC)
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
Commit 072e0aabbc457b8802dcf7b483e3acebfbde1c33 by joker.eph
Enable the use of ThreadPoolTaskGroup in MLIR threading helper to enable nested parallelism

The LLVM ThreadPool recently got the addition of the concept of
ThreadPoolTaskGroup: this is a way to "partition" the threadpool
into a group of tasks and enable nested parallelism through this
grouping at every level of nesting.
We make use of this feature in MLIR threading abstraction to fix a long
lasting TODO and enable nested parallelism.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D124902
The file was modifiedmlir/include/mlir/IR/Threading.h
Commit 7b04bf9d6f27a9c5f4de2287fcd73edea9213bcb by Louis Dionne
[runtimes] Always configure libc++abi before libc++

That makes it possible to reuse libc++abi targets from the libc++
configuration, which is necessary to allow major CMake simplifications.
As a fly-by fix, we also unify how compiler-rt ordering is handled so
it matches how libc++ and libc++abi are handled (compiler-rt always
ends up first).

Differential Revision: https://reviews.llvm.org/D120719
The file was modifiedruntimes/CMakeLists.txt
Commit 24e9d90e65243fd8674bfc264c1c7d27c3cce67c by github
Added the brief discription about the new CSA checker.
The file was modifiedclang/docs/ReleaseNotes.rst
Commit b39017340806ee68b305d5c8330cbc3e1d398a4d by github
update the doc for the static analyzer checker
The file was modifiedclang/docs/ReleaseNotes.rst
Commit bbd031943a3d1bd72fed362ee3e8456dbb901747 by github
Update ReleaseNotes.rst
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 68609d4641a8289cc0063059b4f2b3bb099f776b by thakis
[gn build] (semi-manually) port 7e63a0d479dd
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit 5930691ee1b6d6d5fb58160ac991747869f38e9f by david.green
Revert "[DAGCombine] Make combineShuffleOfBitcast LittleEndian specific"

This reverts commit 891c3cf99e100e8871aff9a0747c887a5d0a8b0f as it turns
out that the error was not caused by this commit, the error caming
from D124526 instead.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/load-and-splat.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-vsx-splatimm.ll
Commit dee9b01d83df8a20db7b983d0f3cc6dce65e022f by preames
[riscv] Add some minimal tracing output to InsertVSETVLI

Only available with -debug.  Main purpose is simplifying an upcoming change, and providing tools for debugging problems.
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit 99a41005fe780570b06e88facf464e1e3c0e5a6d by preames
[riscv] Add early return to InsertVSETLI fixed point step [nfc]

If the income state hasn't changed, and the step function is fixed by assumption, then the output state can't have changed.

In the current algorithm, this is a very minor win and mostly allows adding tracing output without being horrible verbose.
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit c7c3f5854460a85ca7305c8ee15acc08a1d6df30 by preames
[riscv] Use early return to reduce nesting for InsertVSETVLI [nfc]
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit 90c2af57afb826579525c6c473f3c918e2c8000c by joker.eph
Apply clang-tidy fixes for llvm-include-order in Merger.cpp (NFC)
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
Commit 298d2fa1c5f103fc28e533345ecb9e2e2f5c0ad7 by joker.eph
Apply clang-tidy fixes for readability-identifier-naming in SparseTensorUtils.cpp (NFC)
The file was modifiedmlir/lib/ExecutionEngine/SparseTensorUtils.cpp
Commit b37d158f71c2b579cd8c8bf355437455563d008d by joker.eph
Apply clang-tidy fixes for bugprone-copy-constructor-init in TestPassManager.cpp (NFC)
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
Commit 6a9c1029f84532a7ffcaf8a5c43c4ad24862fba1 by joker.eph
Fix build with shared libs: add missing CMake dep to MLIR sparse pipeline
The file was modifiedmlir/lib/Dialect/SparseTensor/Pipelines/CMakeLists.txt
Commit 7f0e741db97c64b4a566d65b878c2e0fe4dabb38 by phosek
[Driver] Pass --fix-cortex-a53-843419 automatically on Fuchsia

When targeting cortex-a53, set this linker flag rather than relying
on the toolchain users to do it in their build.

Differential Revision: https://reviews.llvm.org/D114023
The file was modifiedclang/test/Driver/fuchsia.c
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
Commit 042bd21cf9f42189c37fbaf57c234c3dd82acf1b by thakis
Revert "Automatically generates several X86/sse tests cases. NFC"

This reverts commit 324d696c154aad42b2580d2f225a677c04fe0ab4.
Broke check-llvm on Windows, see e.g.
https://lab.llvm.org/buildbot/#/builders/216/builds/4005 and
comment on https://reviews.llvm.org/rG324d696c154aad42b2580d2f225a677c04fe0ab4
The file was modifiedllvm/test/CodeGen/X86/sse-unaligned-mem-feature.ll
The file was modifiedllvm/test/CodeGen/X86/sse-regcall.ll
The file was modifiedllvm/test/CodeGen/X86/sse_reload_fold.ll
The file was modifiedllvm/test/CodeGen/X86/sse-commute.ll
Commit ef9d39de2f083226a734feb743c5c280ce9d369d by spatel
[InstCombine] add tests for shuffle with fneg operand(s); NFC

issue #45631
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
Commit b331a7ebc1e02f9939d1a4a1509e7eb6cdda3d38 by spatel
[InstCombine] canonicalize fneg after shuffle

For the unary shuffle pattern, this is opposite to what we try
to do with binops, but it seems better to keep it consistent
with the motivating binary shuffle pattern. On that, it is
clearly better on the usual no-extra uses case.

There is a chance that this will pull an fneg away from some
other binop and cause a regression in codegen, but that should
be invertible in the backend. The transform is birectional:
https://alive2.llvm.org/ce/z/kKaKCU
https://alive2.llvm.org/ce/z/3Desfw

Fixes #45631
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll
Commit a8308020ac2fce5ad7d616b2dbdbe7ccae0585a4 by riddleriver
[mlir] Remove special case parsing/printing of `func` operations

This was leftover from when the standard dialect was destroyed, and
when FuncOp moved to the func dialect. Now that these transitions
have settled a bit we can drop these.

Most updates were handled using a simple regex: replace `^( *)func` with `$1func.func`

Differential Revision: https://reviews.llvm.org/D124146
The file was modifiedflang/test/Fir/cse.fir
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedflang/test/Fir/Todo/len_param_index.fir
The file was modifiedflang/test/Fir/Todo/cordinate_of_2.fir
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedflang/test/Fir/convert-to-llvm-openmp-and-fir.fir
The file was modifiedflang/test/Fir/array-value-copy-3.fir
The file was modifiedflang/test/Fir/rebox-susbtring.fir
The file was modifiedflang/test/Fir/abstract-results.fir
The file was modifiedflang/test/Fir/invalid.fir
The file was modifiedflang/test/Fir/addrof.fir
The file was modifiedflang/test/Fir/Todo/allocmem.fir
The file was modifiedflang/test/Fir/target-rewrite-char-proc.fir
The file was modifiedflang/test/Fir/Todo/unboxproc.fir
The file was modifiedflang/test/Fir/Todo/end.fir
The file was modifiedmlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedflang/test/Fir/array-value-copy-2.fir
The file was modifiedflang/test/Fir/convert-to-llvm-invalid.fir
The file was modifiedmlir/test/IR/attribute-roundtrip.mlir
The file was modifiedflang/test/Fir/Todo/boxproc_host.fir
The file was modifiedmlir/test/Analysis/test-data-flow.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_binary.mlir
The file was modifiedflang/test/Fir/array-modify.fir
The file was modifiedmlir/test/Dialect/Arithmetic/canonicalize.mlir
The file was modifiedflang/test/Fir/Todo/cordinate_of_4.fir
The file was modifiedflang/test/Fir/char-conversion.fir
The file was modifiedflang/test/Fir/widechar.fir
The file was modifiedmlir/test/python/ir/operation.py
The file was modifiedflang/test/Fir/fir-ops.fir
The file was modifiedflang/test/Fir/Todo/dispatch.fir
The file was modifiedflang/test/Fir/convert-to-llvm.fir
The file was modifiedflang/test/Fir/loop01.fir
The file was modifiedflang/test/Fir/target-rewrite-complex.fir
The file was modifiedmlir/test/Dialect/Linalg/bubble-up-extract-slice-op.mlir
The file was modifiedflang/test/Fir/external-mangling.fir
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedflang/test/Fir/array-copies-pointers.fir
The file was modifiedflang/test/Fir/types-to-llvm.fir
The file was modifiedflang/test/Fir/convert-fold.fir
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedflang/test/Fir/Todo/cordinate_of_3.fir
The file was modifiedmlir/test/Transforms/scf-if-utils.mlir
The file was modifiedflang/test/Fir/boxaddr-folding.fir
The file was modifiedflang/test/Fir/invalid-types.fir
The file was modifiedflang/test/Fir/rebox.fir
The file was modifiedflang/test/Fir/convert-to-llvm-target.fir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tanh.mlir
The file was modifiedflang/test/Fir/external-mangling-emboxproc.fir
The file was modifiedflang/test/Fir/Todo/select_case_with_character.fir
The file was modifiedflang/test/Fir/Todo/cordinate_of_6.fir
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir
The file was modifiedmlir/test/Dialect/OpenMP/invalid.mlir
The file was modifiedflang/test/Fir/fir-types.fir
The file was modifiedmlir/test/Dialect/SparseTensor/conversion_sparse2dense.mlir
The file was modifiedflang/test/Fir/arrayset.fir
The file was modifiedflang/test/Fir/target-rewrite-triple.fir
The file was modifiedmlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-analysis.mlir
The file was modifiedflang/test/Fir/memref-data-flow.fir
The file was modifiedmlir/test/IR/print-value-users.mlir
The file was modifiedflang/test/Fir/boxchar.fir
The file was modifiedmlir/test/Transforms/test-legalize-erased-op-with-uses.mlir
The file was modifiedflang/test/Fir/recursive-type.fir
The file was modifiedflang/test/Fir/Todo/gentypedesc.fir
The file was modifiedflang/test/Fir/annotate-constant.fir
The file was modifiedflang/test/Fir/loop02.fir
The file was modifiedflang/test/Fir/array-value-copy.fir
The file was modifiedflang/test/Fir/affine-promotion.fir
The file was modifiedflang/test/Fir/alloc.fir
The file was modifiedflang/test/Fir/memory-allocation-opt.fir
The file was modifiedmlir/test/Dialect/Linalg/transform-ops.mlir
The file was modifiedflang/test/Fir/affine-demotion.fir
The file was modifiedflang/test/Fir/embox.fir
The file was modifiedmlir/test/IR/attribute.mlir
The file was modifiedmlir/test/IR/dynamic.mlir
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
The file was modifiedflang/test/Fir/Todo/cordinate_of_1.fir
The file was modifiedmlir/test/IR/test-take-body.mlir
The file was modifiedflang/test/Fir/inline.fir
The file was modifiedflang/test/Fir/select.fir
The file was modifiedmlir/test/Transforms/test-rewrite-dynamic-op.mlir
The file was modifiedflang/test/Fir/basic-program.fir
The file was modifiedflang/test/Fir/Todo/cordinate_of_5.fir
The file was modifiedflang/test/Fir/target-rewrite-boxchar.fir
The file was modifiedflang/test/Fir/peephole.fir
The file was modifiedflang/test/Fir/ignore-missing-type-descriptor.fir
The file was modifiedflang/test/Fir/cg-ops.fir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_unary.mlir
The file was modifiedflang/test/Fir/optional.fir
The file was modifiedmlir/include/mlir/Dialect/Func/IR/FuncOps.td
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
The file was modifiedmlir/test/Analysis/test-liveness.mlir
Commit 8477a0d769a0b877f14e3ec3fde576b6a3b173ce by jhuber6
[OpenMP] Allow compiling multiple target architectures with OpenMP

This patch adds support for OpenMP to use the `--offload-arch` and
`--no-offload-arch` options. Traditionally, OpenMP has only supported
compiling for a single architecture via the `-Xopenmp-target` option.
Now we can pass in a bound architecture and use that if given, otherwise
we default to the value of the `-march` option as before.

Note that this only applies the basic support, the OpenMP target runtime
does not yet know how to choose between multiple architectures.
Additionally other parts of the offloading toolchain (e.g. LTO) require
the `-march` option, these should be worked out later.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D124721
The file was modifiedclang/test/Driver/amdgpu-openmp-toolchain-new.c
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/Driver/openmp-offload-gpu-new.c
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
Commit 509b631f84e97e717a675a6ef60ae4728bb11551 by jhuber6
[OpenMP] Try to Infer target triples using the offloading architecture

Currently we require the `-fopenmp-targets=` option to specify the
triple to use for the offloading toolchains, and the `-Xopenmp-target=`
option to specify architectures to a specific toolchain. The changes
made in D124721 allowed us to use `--offload-arch=` to specify multiple
target architectures. However, this can become combersome with many
different architectures. This patch introduces functinality that
attempts to deduce the target triple and architectures from the
offloading action. Currently we will deduce known GPU architectures when
only `-fopenmp` is specified.

This required a bit of a hack to cache the deduced architectures,
without this we would've just thrown an error when we tried to look up
the architecture again when generating the job. Normally we require the
user to manually specify the toolchain arguments, but here they would
confict unless we overrode them.

Depends on: D124721

Reviewed By: saiislam

Differential Revision: https://reviews.llvm.org/D125050
The file was modifiedclang/include/clang/Driver/Driver.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was addedclang/test/Driver/openmp-offload-infer.c
Commit 981523b2e4675d4be496a333583b2f728c057d02 by housel
[ORC-RT][ORC] Handle dynamic unwind registration for libunwind

This changes the ELFNix platform Orc runtime to use, when available,
the __unw_add_dynamic_eh_frame_section interface provided by libunwind
for registering .eh_frame sections loaded by JITLink. When libunwind
is not being used for unwinding, the ELFNix platform detects this and
defaults to the __register_frame interface provided by libgcc_s.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D114961
The file was addedcompiler-rt/test/orc/TestCases/Linux/ehframe-libunwind.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
The file was addedcompiler-rt/test/orc/TestCases/Linux/ehframe-default.cpp
The file was modifiedcompiler-rt/test/orc/lit.site.cfg.py.in
The file was modifiedllvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
The file was modifiedcompiler-rt/lib/orc/elfnix_platform.cpp
The file was addedcompiler-rt/test/orc/TestCases/FreeBSD/ehframe-libunwind.cpp
The file was modifiedcompiler-rt/test/orc/lit.cfg.py
The file was addedcompiler-rt/test/orc/TestCases/FreeBSD/ehframe-default.cpp
Commit 203455c85ad03325ce2d77f067f6ac953f2a32ce by phosek
[CMake][libcxx] Use target_include_directories for libc++ headers

This is the idiomatic way to handle include directories in CMake.

Differential Revision: https://reviews.llvm.org/D122614
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedruntimes/CMakeLists.txt
Commit 1eb97481ef8b7c8923b29d80b8b018015dd3e27c by sam.mccall
Fix check-clang-tools target after 7cc8377f2c572a919ecb

This change was intended to add the tests check-clang and check-clang-pseudo,
but afterwards it was *only* running those tests.
(This was because unlike add_lit_testsuite, add_lit_testsuite*s* does not
get included in umbrella suites).
The file was modifiedclang-tools-extra/test/CMakeLists.txt
Commit 9924d8d66ae103bee09387de3bef226d745807a8 by varconst
[libc++][ranges] Implement `views::take`.

The view itself has been implemented previously -- this patch only adds
the ability to pipe it.

Also implements [P1739](https://wg21.link/p1739) (partially) and [LWG3407](https://wg21.link/lwg3407).

Differential Revision: https://reviews.llvm.org/D123600
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp
The file was addedlibcxx/include/__fwd/string_view.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/adaptor.pass.cpp
The file was modifiedlibcxx/include/string_view
The file was modifiedlibcxx/include/__ranges/take_view.h
The file was addedlibcxx/include/__fwd/span.h
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/include/span
The file was modifiedlibcxx/test/libcxx/lint/lint_modulemap.sh.py
The file was modifiedlibcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
Commit 679ee517c662d508720c8173b9ee33129f7fa36e by llvmgnsyncbot
[gn build] Port 9924d8d66ae1
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 26ba347fbb0cf8abcb861aa558711f51455a0ec3 by kazu
[AArch64] Add llvm/test/CodeGen/AArch64/i256-math.ll

This patch adds a test case for i256 additions and subtractions.  I'm
leaving out multiplications for now, which would result in very long
sequences.

Differential Revision: https://reviews.llvm.org/D125125
The file was addedllvm/test/CodeGen/AArch64/i256-math.ll
Commit 0102527352ff50a6d66402ab0fd8d857dcac3c5a by varconst
[libc++][ranges] Implement `views::single`.

This only adds the customization point object (which isn't pipeable),
the view itself has already been implemented previously.

Differential Revision: https://reviews.llvm.org/D124978
The file was modifiedlibcxx/include/__ranges/lazy_split_view.h
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.lazy.split/ctor.range.pass.cpp
The file was addedlibcxx/test/std/ranges/range.factories/range.single.view/cpo.pass.cpp
The file was modifiedlibcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
The file was modifiedlibcxx/include/__ranges/single_view.h
Commit a097c4ce95335f5c38d20f4e260f80c5e002be01 by Louis Dionne
[compiler-rt] Fix issue with compiler-rt tests mixing <atomic> and <stdatomic.h>

Since D97044, libc++ implements <stdatomic.h>, which is not compatible
with the <atomic> header in C++03 mode. To fix the tests, avoid using
<stdatomic.h> at all, since it is not strictly required.

rdar://92867529

Differential Revision: https://reviews.llvm.org/D125118
The file was modifiedcompiler-rt/test/tsan/libdispatch/groups-destructor.cpp
The file was modifiedcompiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm
Commit 7211d5ce07830ebfa2cfc30818cd7155375f7e47 by flo
Revert "[SimpleLoopUnswitch] Collect either logical ANDs/ORs but not both."

This reverts commit db7a87ed4fa79a7c366438ae62d8a1088a11f29c.

This seems to cause a PPC buildbot failure:
https://lab.llvm.org/buildbot#builders/93/builds/8787
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-freeze-individual-conditions.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-logical-and-or.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-invariant-select-bug.ll
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
Commit af4cf1c6b8ed0d8102fc5e69acdc2fcbbcdaa9a7 by owenca
[clang-format][NFC] Make all TokenAnnotator member functions const

Differential Revision: https://reviews.llvm.org/D125064
The file was modifiedclang/lib/Format/TokenAnnotator.h
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit d8564dcbcf72d01198637aa7cc5a8791a2c20c2f by fmayer
[HWASan] Allow to linkify symbolizer output.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D124950
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
The file was addedcompiler-rt/test/hwasan/TestCases/hwasan_symbolize.cpp
Commit 68cd47e0caffcf0adcf3e519652e63b51fa45996 by fmayer
[HWASan] Clean up hwasan_symbolize.

The globals are better expressed as members of the Symbolizer, and all
functions operating on it should be methods instead.

Also using the standard idiom of wrapping the main code in
`if __name__ == '__main__'`.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D125032
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
Commit f827ee671f5440a7514d071abbfec0556119a34f by ashaposhnikov
[Scalar][NFC] Minor cleanups in CallSiteSplitting.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
Commit 57636c25904e05c6b94370c82e52a89f5baf80f1 by phosek
[CMake] Include llvm-debuginfod-find in Fuchsia toolchain

Differential Revision: https://reviews.llvm.org/D125082
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit fecad835fb4c6e65eb487fc626355686959605f6 by phosek
[runtime] Build compiler-rt with --unwindlib=none

This applies the change made to libunwind+libcxxabi+libcxx in D113253
to compiler-rt as well.

Differential Revision: https://reviews.llvm.org/D115674
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedcompiler-rt/CMakeLists.txt
Commit d7732695ebcc79d71259872d169be23dc3e6646f by phosek
Revert "[runtime] Build compiler-rt with --unwindlib=none"

This reverts commit fecad835fb4c6e65eb487fc626355686959605f6.
The file was modifiedcompiler-rt/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit 102bc634cb4129d9984a8da8515af945e8a5568b by phosek
[runtime] Build compiler-rt with --unwindlib=none

This applies the change made to libunwind+libcxxabi+libcxx in D113253
to compiler-rt as well.

Differential Revision: https://reviews.llvm.org/D115674
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedcompiler-rt/CMakeLists.txt
Commit 1bffc75383a2285e69deda90cd10860769485234 by eschweitz
Upstream support for POINTER assignment in FORALL.

Reviewed By: vdonaldson, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D125140
The file was modifiedflang/include/flang/Optimizer/Builder/BoxValue.h
The file was modifiedflang/lib/Lower/ConvertExpr.cpp
The file was modifiedflang/lib/Optimizer/Builder/MutableBox.cpp
The file was modifiedflang/lib/Optimizer/Dialect/FIRType.cpp
The file was modifiedflang/include/flang/Lower/ConvertExpr.h
The file was modifiedflang/lib/Optimizer/Builder/BoxValue.cpp
The file was modifiedflang/lib/Lower/Bridge.cpp
The file was modifiedflang/unittests/Optimizer/Builder/FIRBuilderTest.cpp
The file was modifiedflang/include/flang/Runtime/io-api.h
The file was modifiedflang/include/flang/Lower/ComponentPath.h
The file was modifiedflang/include/flang/Lower/Support/Utils.h
The file was modifiedflang/include/flang/Optimizer/Dialect/FIRType.h
The file was modifiedflang/lib/Lower/IO.cpp
The file was modifiedflang/test/Lower/forall/forall-2.f90
The file was modifiedflang/include/flang/Lower/AbstractConverter.h
The file was modifiedflang/lib/Lower/ComponentPath.cpp
The file was addedflang/test/Lower/forall/array-pointer.f90
The file was modifiedflang/include/flang/Lower/Allocatable.h
The file was modifiedflang/include/flang/Optimizer/Builder/Factory.h
The file was modifiedflang/include/flang/Optimizer/Builder/FIRBuilder.h
The file was modifiedflang/lib/Lower/Allocatable.cpp
The file was modifiedflang/lib/Optimizer/Builder/FIRBuilder.cpp
Commit bf3cba71e17464af57b77e3783244ff116026c4e by phosek
Revert "[runtime] Build compiler-rt with --unwindlib=none"

This reverts commit 102bc634cb4129d9984a8da8515af945e8a5568b because
some tests are failing on sanitizer bots.
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedcompiler-rt/CMakeLists.txt
Commit 1dda6ad80c1256c280a2c0b9d0104422eb2fcdac by housel
[test][ORC-RT] Disable elfnix_platform tests on non-x86_64 platforms

ORC ELFNixPlatform currently only supports x86_64.
The file was addedcompiler-rt/test/orc/TestCases/FreeBSD/x86-64/ehframe-default.cpp
The file was addedcompiler-rt/test/orc/TestCases/FreeBSD/x86-64/ehframe-libunwind.cpp
The file was removedcompiler-rt/test/orc/TestCases/Linux/ehframe-libunwind.cpp
The file was removedcompiler-rt/test/orc/TestCases/FreeBSD/ehframe-default.cpp
The file was removedcompiler-rt/test/orc/TestCases/FreeBSD/ehframe-libunwind.cpp
The file was addedcompiler-rt/test/orc/TestCases/Linux/x86-64/ehframe-default.cpp
The file was removedcompiler-rt/test/orc/TestCases/Linux/ehframe-default.cpp
The file was addedcompiler-rt/test/orc/TestCases/Linux/x86-64/ehframe-libunwind.cpp
Commit ed85de6db44e830b1019815d74aee1b595748b5d by brad
[libcxx] random_device, use arc4random() on Solaris

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D125068
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/docs/ReleaseNotes.rst
Commit 67b0b02ec9f2bbc57bf8f0550828d97f460ac11f by brad
[libcxx] Remove static inline and make use of _LIBCPP_HIDE_FROM_ABI in __support headers

After feedback from D122861, do the same thing with some of the other headers. Try to move the
headers so they have a similar style and way of doing things.

Reviewed By: ldionne, daltenty

Differential Revision: https://reviews.llvm.org/D124227
The file was modifiedlibcxx/include/__support/musl/xlocale.h
The file was modifiedlibcxx/include/__support/ibm/gettod_zos.h
The file was modifiedlibcxx/include/__support/ibm/xlocale.h
The file was modifiedlibcxx/include/__support/solaris/xlocale.h
Commit 83e07916ffc55dd85989726f991331c8ad1439d0 by phosek
Revert "[CMake][libcxx] Use target_include_directories for libc++ headers"

This reverts commit 203455c85ad03325ce2d77f067f6ac953f2a32ce since
it breaks the OpenMP builders for AMDGPU.
The file was modifiedruntimes/CMakeLists.txt
The file was modifiedlibcxx/include/CMakeLists.txt
Commit 8eaa1ef0d88c36dbf90e191c8852ea46bf4841c9 by Chenbing.Zheng
[InstCombine] add casts from splat-a-bit pattern if necessary

Splatting a bit of constant-index across a value:
sext (ashr (trunc iN X to iM), M-1) to iN --> ashr (shl X, N-M), N-1
If the dest type is different, use a cast (adjust use check).

https://alive2.llvm.org/ce/z/acAan3

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D124590
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sext.ll
Commit 1fd7929ae544addbecaec695124e42d4ec7e96b9 by Chenbing.Zheng
[InstCombine] precommit some tests for reassociate add
The file was modifiedllvm/test/Transforms/InstCombine/add.ll
Commit 25cd6fba983a606145912e25b0f3d37d1197970c by joker.eph
Fix MLIR integration test after a8308020 (`func.` prefix is required bythe parser now)
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
Commit 394c683d4063119086f91bbfbbd514a4ace31683 by Chenbing.Zheng
[InstCombine] sub(add(X,Y),umin(Y,Z)) --> add(X,usub.sat(Y,Z))

Alive2: https://alive2.llvm.org/ce/z/2UNVbp

Reviewed By: RKSimon, spatel

Differential Revision: https://reviews.llvm.org/D124503
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub-minmax.ll
Commit 2db46db54d8ae6d3cfc30030768b53637d88e137 by david.green
[SLP] Add tests for awkward laod orders from SLP. NFC
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
Commit eeb44579f13d2bf7d7c6769746b11d6425ff0990 by llvm-dev
[X86] Add description comments to SandyBridge for COPY/WriteZero/WriteVecMaskedGatherWriteback cases. NFC.

Match other models.

Use X86WriteRes for WriteVecMaskedGatherWriteback like other models as well.
The file was modifiedllvm/lib/Target/X86/X86SchedSandyBridge.td
Commit 0a83ff83af3d8db5512d61e043c246d854502e9e by sam.mccall
[FuzzMutate] Move LLVM module (de)serialization from FuzzerCLI -> IRMutator. NFC

These are not directly related to the CLI, and are mostly (always?) used when
mutating the modules as part of fuzzing.

Motivation: split FuzzerCLI into its own library that does not depend on IR.
Subprojects that don't use IR should be be fuzzed without the dependency.

Differential Revision: https://reviews.llvm.org/D125080
The file was modifiedllvm/include/llvm/FuzzMutate/FuzzerCLI.h
The file was modifiedllvm/lib/FuzzMutate/IRMutator.cpp
The file was modifiedllvm/include/llvm/FuzzMutate/IRMutator.h
The file was modifiedllvm/lib/FuzzMutate/FuzzerCLI.cpp
Commit 1c5e85b3da649c89db87abecc53b42f6eaa574c2 by sam.mccall
[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR.

All llvm-project fuzzers use this library to parse command-line arguments.
Many of them don't deal with LLVM IR or modules in any way. Bundling those
functions in one library forces build dependencies that don't need to be there.

Among other things, this means check-clang-pseudo no longer depends on most of
LLVM.

Differential Revision: https://reviews.llvm.org/D125081
The file was modifiedllvm/tools/llvm-opt-fuzzer/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-isel-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-special-case-list-fuzzer/CMakeLists.txt
The file was modifiedmlir/tools/mlir-parser-fuzzer/CMakeLists.txt
The file was modifiedclang/tools/clang-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-itanium-demangle-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-rust-demangle-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-dlang-demangle-fuzzer/CMakeLists.txt
The file was modifiedclang-tools-extra/pseudo/fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-yaml-numeric-parser-fuzzer/CMakeLists.txt
The file was modifiedllvm/lib/FuzzMutate/CMakeLists.txt
The file was modifiedllvm/tools/llvm-microsoft-demangle-fuzzer/CMakeLists.txt
Commit 702c4ade225be58118d34760d9f67e02a826e426 by paul.walker
[ISD::IndexType] Helper functions for common queries.

Add helper functions to query the signed and scaled properties
of ISD::IndexType along with functions to change them.

Remove setIndexType from MaskedGatherSDNode because it only has
one usage and typically should only be changed alongside its
index operand.

Minimise the direct use of the enum values to lay the groundwork
for more refactoring.

Differential Revision: https://reviews.llvm.org/D123347
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 8614674b55669025e349324f31eb11505becede1 by aaron
Fix underlining in docs to fix the sphinx build
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
Commit a1bb952e833b34fdf03bd571e7f8c948191be018 by aaron
Revert "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR."

This reverts commit 1c5e85b3da649c89db87abecc53b42f6eaa574c2.

It broke a lot of bots with a link error:
https://lab.llvm.org/buildbot/#/builders/171/builds/14222
https://lab.llvm.org/buildbot/#/builders/188/builds/13748
https://lab.llvm.org/buildbot/#/builders/109/builds/38127
The file was modifiedllvm/tools/llvm-yaml-numeric-parser-fuzzer/CMakeLists.txt
The file was modifiedllvm/lib/FuzzMutate/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-opt-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-isel-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-itanium-demangle-fuzzer/CMakeLists.txt
The file was modifiedclang-tools-extra/pseudo/fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-rust-demangle-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-dlang-demangle-fuzzer/CMakeLists.txt
The file was modifiedmlir/tools/mlir-parser-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-special-case-list-fuzzer/CMakeLists.txt
The file was modifiedclang/tools/clang-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-microsoft-demangle-fuzzer/CMakeLists.txt
Commit e571e1a6c356ef045a69220cb8a96e6e26a72209 by sam.mccall
Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR."

This reverts commit a1bb952e833b34fdf03bd571e7f8c948191be018.

I'd somehow missed updating llvm-yaml-parser-fuzzer, now fixed.
The file was modifiedllvm/tools/llvm-isel-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-opt-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-special-case-list-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-yaml-parser-fuzzer/CMakeLists.txt
The file was modifiedclang-tools-extra/pseudo/fuzzer/CMakeLists.txt
The file was modifiedllvm/lib/FuzzMutate/CMakeLists.txt
The file was modifiedllvm/tools/llvm-itanium-demangle-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-dlang-demangle-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-yaml-numeric-parser-fuzzer/CMakeLists.txt
The file was modifiedclang/tools/clang-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-microsoft-demangle-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-rust-demangle-fuzzer/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/fuzzer/CMakeLists.txt
The file was modifiedmlir/tools/mlir-parser-fuzzer/CMakeLists.txt
Commit eb28da89a6594a017e067a2a4043c2f2bb2c425e by sepavloff
[InstCombine] Remove side effect of replaced constrained intrinsics

If a constrained intrinsic call was replaced by some value, it was not
removed in some cases. The dangling instruction resulted in useless
instructions executed in runtime. It happened because constrained
intrinsics usually have side effect, it is used to model the interaction
with floating-point environment. In some cases side effect is actually
absent or can be ignored.

This change adds specific treatment of constrained intrinsics so that
their side effect can be removed if it actually absents.

Differential Revision: https://reviews.llvm.org/D118426
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was addedllvm/test/Transforms/InstCombine/constrained.ll
Commit 6e345426de370479c322962f7aa1dd1cde817adf by llvm-dev
[X86] Remove unused 'hint' argument from prefetch tests

hint is a compile time constant and can't be passed in as a variable - we already hardcode
The file was modifiedclang/test/CodeGen/X86/avx512pf-builtins.c
Commit 8650f05c97624b76fed3230bf0ea26a6106bcc3d by spatel
[InstCombine] fix miscompile when casting int->FP->int

As shown in https://github.com/llvm/llvm-project/issues/55150 -
the existing fold may be wrong when converting to a signed value.
This is a quick fix to avoid the miscompile.

I added tests/comments for all of the signed/unsigned combinations
at either side of the boundary width, and tried to confirm with Alive2:
https://alive2.llvm.org/ce/z/3p9DSu

There are already some TODO items in the test file that suggest
possible refinements, so the regression with ui->FP->si is probably ok.
It seems unlikely that we'd see these kind of edge cases with
non-byte-width integer types in real code. The potential miscompile
went undetected for several years.

This and 747c6a0c734e fixes #55150.

Differential Revision: https://reviews.llvm.org/D124692
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sitofp.ll
Commit f4183441d45d48edd84a46bafa4deb6c45abc773 by deadalnix
Automatically generate aix32-cc-abi-vaarg.ll . NFC
The file was modifiedllvm/test/CodeGen/PowerPC/aix32-cc-abi-vaarg.ll
Commit 2cd080c884a3dd1fc673f02afd48bfe9ba01ce89 by llvm-dev
[X86] rdrand-builtins.c - add 32-bit target coverage and enable -Wall/-Werror
The file was modifiedclang/test/CodeGen/X86/rdrand-builtins.c
Commit 802e15c576997f76bffb4c08b6f81d6c79c320e0 by david.green
[SLP] Cluster ordering for loads

Given a load without a better order, this patch partially sorts the
elements to form clusters of adjacent elements in memory. These clusters
can potentially be loaded in fewer loads, meaning less overall shuffling
(for example loading v4i8 clusters of a v16i8 as a single f32 loads, as
opposed to multiple independent bytes loads and inserts).

Differential Revision: https://reviews.llvm.org/D122145
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/split-load8_2-unord.ll
Commit 4750be4907bc22c1b7575fa53c3568628d6cbbe4 by llvm-dev
[X86] Add 32-bit target test coverage to clean header tests
The file was modifiedclang/test/Headers/x86-intrinsics-headers-clean.cpp
Commit c2c259224bb30b089206dd69dc44aefddffec2f4 by deadalnix
const char* for LLVMTargetMachineEmitToFile's argument

The `LLVMTargetMachineEmitToFile` takes a `char* Filename` right now, but it doesn't modify it.
This is annoying to use in the case where you want to pass a const string, because you either have to remove the const, or copy it somewhere else and pass that. Either way, it's not very nice.

I added a const and clang formatted it. This shouldn't break any ABI in my opinion.
I'm sorry but I didn't know whom to put as reviewer for this, so I chose someone with a lot of commits from the .cpp file.

Reviewed By: deadalnix

Differential Revision: https://reviews.llvm.org/D124453
The file was modifiedllvm/lib/Target/TargetMachineC.cpp
The file was modifiedllvm/include/llvm-c/TargetMachine.h
Commit d44ffd631cd04dfed3bced8c34e7aadf59e471dc by sam.mccall
[Bitstream] Only consider flushing to file on block boundaries

The goal of flushing to disk is to keep a reasonable bound on peak memory usage.
With a a default threshold of 512MB (and most BitstreamWriters having no backing
file at all), checking after every byte whether to flush seems excessive.

This change makes clangd's unittests run 5% faster (in opt), so it's not
actually free even in the case with no backing file. Likely there are more
important workloads where it makes some difference.

Differential Revision: https://reviews.llvm.org/D125145
The file was modifiedllvm/include/llvm/Bitstream/BitstreamWriter.h
Commit e7806c08dc1b1c80104029b7a28f748f7123593f by llvm-dev
[Headers][X86] amxintrin.h - fixed unknown parameter Wdocumentation warning. NFC

Noticed while triaging Issue #35297
The file was modifiedclang/lib/Headers/amxintrin.h
Commit b432f80e48a005b47cee7bb86bc9ec9cc861b705 by llvm-dev
[ARM] Update ror.ll test to canonicalized IR

As discussed on D124839, we're almost certainly only ever going to see this from IR directly - which now will create funnel shift intrinsics directly

I've also added a couple of rotl(rotr()) tests to check left/right rotation merging.
The file was modifiedllvm/test/CodeGen/ARM/ror.ll
Commit 06fad8bc05dcd0ecaf7d95f133a6344283d4f5ee by deadalnix
[DAGCombine] Add node in the worklist in topological order in CombineTo

This is part of an ongoing effort toward making DAGCombine process the nodes in topological order.

This is able to discover a couple of new optimizations, but also causes a couple of regression. I nevertheless chose to submit this patch for review as to start the discussion with people working on the backend so we can find a good way forward.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D124743
The file was modifiedllvm/test/CodeGen/X86/vector-mulfix-legalize.ll
The file was modifiedllvm/test/CodeGen/AArch64/swifterror.ll
The file was modifiedllvm/test/CodeGen/ARM/and-load-combine.ll
The file was modifiedllvm/test/CodeGen/X86/or-with-overflow.ll
The file was modifiedllvm/test/CodeGen/ARM/swifterror.ll
The file was modifiedllvm/test/CodeGen/X86/xor-with-overflow.ll
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-abi-varargs.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix32-cc-abi-vaarg.ll
The file was modifiedllvm/test/CodeGen/AArch64/pr51476.ll
The file was modifiedllvm/test/CodeGen/X86/and-with-overflow.ll
The file was modifiedllvm/test/CodeGen/X86/pr51175.ll
Commit 00bfaba997e944be7edb52fb3933a19178ec239d by craig.topper
[LegalizeTypes] Don't assume fshl/fshr shift amount type matches the other operands.

Like other shifts, the type isn't required to match. We shouldn't
assume we can call ZExtPromotedInteger.

I tested the PromoteIntOp_FunnelShift locally by removing the promotion
of the shift amount from PromoteIntRes_FunnelShift. But with the final
version of this patch it is never executed on any tests.

Differential Revision: https://reviews.llvm.org/D125106
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Commit b81bf7bb2ff301ba204e542c282e7d4ed2414dae by craig.topper
[LegalizeTypes] Make use of SelectionDAG::getShiftAmountConstant. NFC

Instead of calling getShiftAmountTy and getConstant separately.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 7e3ef7dcd2b8201dce671237857f04a1d527d580 by llvm-dev
[AMDGPU] lowerEXTRACT_VECTOR_ELT - fold from a SCALAR_TO_VECTOR source

As suggested by @foad on D124839

If we're extracting a vector element that originally came from a scalar_to_vector, then avoid the bitcasting of a vector type and perform the shift masking on the (any-extended) scalar source directly, making use of the fact that the upper elements of a scalar_to_vector are all undef.

Differential Revision: https://reviews.llvm.org/D125173
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
Commit 830c18047bf8ce6d4d85345567847d344f97e975 by david.green
[AArch64] Add missing NVCAST patterns.

There were apparently some missing NVCAST patterns. This fills them in
using foreach, as opposed to having the specify them individually.

Fixes #55321
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/arm64-nvcast.ll
Commit a385645b470e2d3a1534aae618ea56b31177639f by llvm-dev
[RISCV] Regenerate rv32zbp-zbkb.ll

Noticed in D124839
The file was modifiedllvm/test/CodeGen/RISCV/rv32zbp-zbkb.ll
Commit e38f014c40e94205925403fa75e48244ee31b6c0 by andrew.litteken
[IROutliner] Accomodate blocks containing PHINodes with one entry outside the region and others inside the region.

When a PHINode has an incoming block from outside the region, it must be handled specially when assigning a global value number to each incoming value. A PHINode has multiple predecessors, and we must handle this case rather than only the single predecessor case.

Reviewer: paquette

Differential Revision: https://reviews.llvm.org/D124777
The file was addedllvm/test/Transforms/IROutliner/no-external-block-entries.ll
The file was addedllvm/test/Transforms/IROutliner/one-external-incoming-block-phi-node.ll
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
Commit bead7a2ed5ba3d91a5d7d6f1eb6925e98c9a5ca6 by deadalnix
Regenerate avx512-regcall-NoMask.ll . NFC
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
Commit 5cd690ad9c6af143502f52b003b3608f693d2938 by deadalnix
Generate sse-intel-ocl.ll automatically. NFC
The file was modifiedllvm/test/CodeGen/X86/sse-intel-ocl.ll
Commit 6bbf51f3ed59ae37f0fec729f25af002111c9e74 by sam.mccall
[Frontend] Move, don't copy the predefines buffer into PP. NFC.

It's not trivially small, >10kb.
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 6dedbcd5e96ff36ea7d38534068a2d3e4746a929 by stellaraccident
Make BinaryStreamWriter::padToAlignment write blocks vs bytes.

While I think this is a performance improvement over the original, this actually fixes a correctness issue: For an appendable underlying stream, padToAlignment would fail if the additional padding would have caused the stream to grow since it was doing its own check on bounds. By deferring to the regular writeArray method this takes the same path as everything else, which does the correct bounds check in WritableBinaryStreamRef::checkOffsetForWrite (i.e. skips the extension check if BSF_Append is set). I had started to fix the existing bounds check in BinaryStreamWriter but deferred to this because it layered better and is more efficient/consistent.

It didn't look like this method was tested at all, so I added a unit test.

Differential Revision: https://reviews.llvm.org/D124746
The file was modifiedllvm/lib/Support/BinaryStreamWriter.cpp
The file was modifiedllvm/unittests/Support/BinaryStreamTest.cpp
Commit 009d56da5c4ea3666c4753ce7564c8c20d7e0255 by Vitaly Buka
[test][msa] Add more sse,avx intrinsics tests
The file was addedllvm/test/Instrumentation/MemorySanitizer/sse41-intrinsics-x86.ll
The file was addedllvm/test/Instrumentation/MemorySanitizer/avx-intrinsics-x86.ll
The file was addedllvm/test/Instrumentation/MemorySanitizer/avx2-intrinsics-x86.ll
The file was addedllvm/test/Instrumentation/MemorySanitizer/sse-intrinsics-x86.ll
The file was addedllvm/test/Instrumentation/MemorySanitizer/sse2-intrinsics-x86.ll
Commit 08ac66124874d70dab63c731da0244f9e29ef168 by Vitaly Buka
[test][msan] Relax order of param shadow

Looks like different bots have them in a different order.
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/sse2-intrinsics-x86.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/sse-intrinsics-x86.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/sse41-intrinsics-x86.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/avx2-intrinsics-x86.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/avx-intrinsics-x86.ll
Commit f2b16488129ef408e89c900f61dc53b1a6699c45 by llvm-dev
[X86] Fix some signedness errors in x86 headers

Another step toward enabling full -Wsystem-headers testing across all x86 headers

Fix a number of cases where the arg / return value signedness doesn't match the C/C++ intrinsic.

So far I've just added explicit casts as necessary, but we might want to address some of the mismatches directly

Differential Revision: https://reviews.llvm.org/D125164
The file was modifiedclang/lib/Headers/immintrin.h
The file was modifiedclang/lib/Headers/rdseedintrin.h
The file was modifiedclang/lib/Headers/rtmintrin.h
The file was modifiedclang/lib/Headers/avx512vlintrin.h
The file was modifiedclang/lib/Headers/avx512vlbwintrin.h
The file was modifiedclang/lib/Headers/bmiintrin.h
The file was modifiedclang/test/Headers/x86-intrinsics-headers-clean.cpp
The file was modifiedclang/lib/Headers/ia32intrin.h
The file was modifiedclang/lib/Headers/cetintrin.h
The file was modifiedclang/lib/Headers/avx512bwintrin.h
The file was modifiedclang/lib/Headers/avx512vlbf16intrin.h
The file was modifiedclang/lib/Headers/avx512fintrin.h
Commit 6f9e1ea0efb93388c9301e672b7a73e8216ffa44 by david.green
[VectorCombine] Attempt to fold select shuffles from reductions

Given a commutative reduction leading from a shuffle, the order of the
lanes on the shuffle are not important for the result. This means we can
reorder the shuffle to something simpler, which we try shuffling the
first vector lanes first. This was D123494.

The new shuffle may not be profitable though, and if it is not we can
try the folding of select shuffles from D123911. This, with some
adjustment as the output lane ordering is now unimportant, can allow the
final shuffle to simplify given the inputs to the patterns from D123911.
Where as each transformation on their own are not profitable, the
combination is.

We can only support a single shuffle when called from reductions, but we
are able to sort the ReconstructMask, potentially allowing it to
simplify to an identity or concat mask.

Differential Revision: https://reviews.llvm.org/D125086
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/select-shuffle.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit 6b3a111a2867ce075e70ff1fa1eac2a9e1a4156a by llvm-dev
[Headers][X86] Replace \operation with \code{.operation}

\operation ... \endoperation are not valid doxygen commands and cause issues when -Wdocumentation is enabled (Issue #35297)

This patch proposes to replace them with \code{.operation} ... \endcode blocks so that the pseudo-code is correctly retained in any documentation and downstream can use the ".operation" type for its own formatting.

Differential Revision: https://reviews.llvm.org/D125170
The file was modifiedclang/lib/Headers/avx512vlvnniintrin.h
The file was modifiedclang/lib/Headers/hresetintrin.h
The file was modifiedclang/lib/Headers/uintrintrin.h
The file was modifiedclang/lib/Headers/keylockerintrin.h
The file was modifiedclang/lib/Headers/avxvnniintrin.h
The file was modifiedclang/lib/Headers/avx512fintrin.h
Commit 72eb630207b812dced21fb820c6d65ecc2978c0a by llvm-dev
[Headers][X86] Enable basic Wdocumentation testing on X86 headers

First part of Issue #35297 - we want to enable Wdocumentation-pedantic as well, but need '\n' support first which Issue #55319 is addressing
The file was modifiedclang/test/Headers/x86-intrinsics-headers-clean.cpp
Commit 993d9462e131c79cbc45e306dfb8e406864ebb4c by llvm-dev
[InstCombine] Add test coverage for PR43261 / Issue #42606
The file was modifiedllvm/test/Transforms/InstCombine/zext-or-icmp.ll
Commit 96d2d2508e4d71062eb3cf72ece556d3ec1371cc by llvm-dev
[SLP][X86] Add test coverage for PR47491 / Issue #46835

D124284 should help us vectorize the sub-128-bit vector cases
The file was addedllvm/test/Transforms/SLPVectorizer/X86/arith-add-load.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/arith-mul-load.ll
Commit 2233a6150015950a620ada32041814c92f429bf3 by llvm-dev
[SLP][X86] Add test coverage for PR49934 / Issue #49278

D124284 should help us vectorize the sub-128-bit vector cases
The file was addedllvm/test/Transforms/SLPVectorizer/X86/arith-and-const-load.ll
Commit 7d945970488e2474f18fd78fbc9598962703692d by llvm-dev
[SLP][X86] Add test coverage for PR41892 / Issue #41237
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/odd_store.ll
Commit 751005a2ca821bc01411307d1a19f43e38b74858 by llvm-dev
[SLP][X86] Add test coverage for PR42652 / Issue #41997
The file was addedllvm/test/Transforms/SLPVectorizer/X86/bool-mask.ll
Commit d5d498f9baae218c56dc3a3582ef0083f795f088 by yuanke.luo
[X86][AMX] Simplify AMX test case.

Extract test for zero tile configure into a small test case.
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-configO0toO0.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-configO2toO0.ll
The file was addedllvm/test/CodeGen/X86/AMX/amx-zero-config.ll
Commit 5a6792a146a388ef0147f03043eccfd898816504 by llvm-dev
[X86] combine-add.ll - add test case for PR52039 / Issue #51381

Also split AVX1/AVX2 test coverage
The file was modifiedllvm/test/CodeGen/X86/combine-add.ll
Commit 800d36cf32367a633bc24f668189365d63894f8c by llvm-dev
[DAG] Only perform the fold (A-B)+(C-D) --> (A+C)-(B+D) when both inner subs have one use

Fixes #51381
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-add.ll
Commit 6824cf1ab7f16ba68270a5f23007c060e42ea6dc by llvm-dev
[X86] Set some more plausible latencies for horizontal add/subs on znver1

These are all microcoded/multi-pipe nightmares on Ryzen, but we shouldn't just be using the WriteMicrocoded class which is for REALLY bad microcoded nightmares - instead use the same approximate latencies as znver2 (Agner and uops.info both suggest similar values) - and make sure we use the FPU defs for both

Fixes #53242
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-avx2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-ssse3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-sse3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-ssse3.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleZnver1.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse3.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleZnver2.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-avx1.s
Commit 4d1fd705f0b0fe7e75e7dddc979778fbe3c8e102 by groverkss
[docs] Add Office Hours for Tobias Grosser
The file was modifiedllvm/docs/GettingInvolved.rst
Commit 7e3aa70668aeb28e0d76c0d2807300eab337e0a7 by llvm-dev
[X86] Add test coverage for PR26515 / Issue #26889
The file was modifiedllvm/test/CodeGen/X86/sse-scalar-fp-arith.ll
Commit 13f358376a597077e93e11653b51648d4976b181 by lntue.h
[libc] Add LINK_LIBRARIES option to add_fp_unittest and add_libc_unittest.

This is needed to prepare for adding FLAGS option.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D125055
The file was modifiedlibc/test/src/math/exhaustive/CMakeLists.txt
The file was modifiedlibc/test/src/stdio/CMakeLists.txt
The file was modifiedlibc/test/src/stdio/printf_core/CMakeLists.txt
The file was modifiedlibc/cmake/modules/LLVMLibCTestRules.cmake
The file was modifiedlibc/test/src/__support/File/CMakeLists.txt
The file was modifiedlibc/test/src/CMakeLists.txt
The file was modifiedlibc/test/src/string/CMakeLists.txt
Commit 6d92f4022dcf8b9a6d1479e612db56341090c9a4 by lntue
[libc][Obvious] Fix cmake usage of list PREPEND (unavailable pre-3.15).
The file was modifiedlibc/cmake/modules/LLVMLibCTestRules.cmake
Commit 9a12138b5fd8c807c3b95144236c07dfc323974f by llvm-dev
[SLP][X86] Add test coverage for PR50392 / Issue #49736
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/hadd.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/hadd-inseltpoison.ll
Commit 3abb68a626160e019c30a4860e569d7bc75e486a by ayermolo
[BOLT][DWARF] Fix assert for split dwarf.

Fixing a small bug where it would assert if CU does not modify .debug_addr section.

Differential Revision: https://reviews.llvm.org/D125181
The file was addedbolt/test/X86/Inputs/dwarf4-split-dwarf-no-address-helper.s
The file was addedbolt/test/X86/dwarf4-split-dwarf-no-address.test
The file was modifiedbolt/lib/Rewrite/DWARFRewriter.cpp
The file was modifiedbolt/lib/Core/DebugData.cpp
The file was addedbolt/test/X86/Inputs/dwarf4-split-dwarf-no-address-main.s
Commit 36d4f42c36ea9c64e2d29f6d5bc3ac0384d7eb92 by liuxiaodong
[lld] Fix typo for processAux; NFC

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D125163
The file was modifiedlld/ELF/Relocations.cpp
Commit c207e36025f7a7889f1f26cf8a1b797656060e78 by qiaopeixin
[flang] Enforce a program not including more than one main program

As Fortran 2018 5.2.2 states, a program shall consist of exactly one
main program. Add this semantic check.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D125186
The file was addedflang/test/Semantics/multi-programs03.f90
The file was modifiedflang/test/Semantics/resolve102.f90
The file was modifiedflang/test/Semantics/resolve14.f90
The file was addedflang/test/Semantics/multi-programs02.f90
The file was modifiedflang/test/Semantics/omp-do04.f90
The file was addedflang/test/Semantics/multi-programs06.f90
The file was modifiedflang/test/Semantics/case01.f90
The file was modifiedflang/test/Semantics/omp-do11.f90
The file was modifiedflang/test/Semantics/modfile41.f90
The file was addedflang/test/Semantics/multi-programs01.f90
The file was addedflang/test/Semantics/multi-programs05.f90
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/test/Semantics/symbol16.f90
The file was addedflang/test/Semantics/multi-programs04.f90
The file was modifiedflang/test/Semantics/resolve49.f90
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/call02.f90
The file was modifiedflang/test/Semantics/resolve61.f90
Commit 9879807393d3f502d3cac468c5f6451db872aa5f by cbate
[mlir][NvGpu] Fix nvgpu.mma.sync lowering to NVVM for f32, tf32 types

Adds missing logic in the lowering from NvGPU to NVVM to support fp32
(in an accumulator operand) and tf32 (in multiplicand operand) types.
Fixes logic in one of the helper functions for converting the result
of a mma.sync operation with multiple 8x256bit output tiles, which is
the case for f32 outputs.

Differential Revision: https://reviews.llvm.org/D124533
The file was modifiedmlir/test/Conversion/NVGPUToNVVM/mma-sync-to-nvvm.mlir
The file was modifiedmlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
Commit a4190037fac06c2b0cc71b8bb90de9e6b570ebb5 by hoy
[CSSPGO][Preinliner] Use linear threshold to drive inline decision.

The per-callsite size threshold used today to drive preinline decision is based on hotness/coldness cutoff. The default setup is for callsites with a sample count above the hotness cutoff (99%), a 1500 size threshold is used. Any callsite below 99.99% coldness cutoff uses a zero threshold. This has a couple issues:

1. While both cutoffs and size thoresholds are configurable, different applications may need different setups, making a universal setup impractical.

2. The callsites between hotness cutoff and coldness cutoff are not considered as inline candidates, which could be a missing opportunity.

3. Hot callsites always use the same threshold. In reality we may want a bigger threshold for hotter callsites.

In this change we are introducing a linear threshold regardless of hot/cold cutoffs. Given a sample space, a threshold is computed for a callsite based on the position of that callsite sample in the whole space. With that we no longer need to define what's hot or cold. Callsites with different hotness will get a different threshold. This should overcome the above three issues.

I have seen good results with a universal default setup for two of our internal services.

For one service, 0.2% to 0.5% perf improvement over a baseline with a previous default setup, on-par code size.
For the second service, 0.5% to 0.8% perf improvement over a baseline with a previous default setup, 0.2% code size increase; on-par performance and code size with a baseline that is with a carefully tuned cutoff to cover enough hot functions.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D125023
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.h
The file was modifiedllvm/tools/llvm-profgen/CSPreInliner.cpp
The file was modifiedllvm/tools/llvm-profgen/CSPreInliner.h
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.cpp
Commit ed0341788af290f4028c0e200f4a8854bfe46e7d by jperier
[flang] retain binding label of entry subprograms

When processing an entry-stmt in name resolution, attrs_ was
reset before SetBindNameOn was called, causing the symbol to lose
the binding label information.

Differential Revision: https://reviews.llvm.org/D125097
The file was modifiedflang/test/Lower/program-units-fir-mangling.f90
The file was modifiedflang/lib/Semantics/resolve-names.cpp
Commit 7f6489d0e3cc4e3c9a4180ff4fc568da7175d9d5 by abinavpp
[AMDGPU] Regenerate checks in a mir test
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmax.ll
Commit d2c4ac979b2acf2f9675fa7ab78f827afeed95bc by ben.shi
[AVR] Add PrintMethod for operand memspi

Reviewed By: Patryk27

Differential Revision: https://reviews.llvm.org/D124913
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.td
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.h
Commit 02f8519502447de6ef69a85fa8de5732dd59d853 by david.green
[DAG] Prevent infinite loop combining bitcast shuffle

This prevents an infinite loop from D123801, where code trying to reduce
the total number of bitcasts, but also handling constants, could create
the opposite transform. Prevent the transform in these case to let the
bitcast of a constant transform naturally.

Fixes #55345
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/ARM/vector-DAGCombine.ll
The file was addedllvm/test/CodeGen/X86/shuffle-combine-crash-4.ll
Commit 50cd52d9357224cce66a9e00c9a0417c658a5655 by marek.kurdej+llvm.org
[clang-format] Fix WhitespaceSensitiveMacros not being honoured when macro closing parenthesis is followed by a newline.

Fixes https://github.com/llvm/llvm-project/issues/54522.

This fixes regression introduced in https://github.com/llvm/llvm-project/commit/5e5efd8a91f2e340e79a73bedbc6ab66ad4a4281.

Before the culprit commit, macros in WhitespaceSensitiveMacros were correctly formatted even if their closing parenthesis weren't followed by semicolon (or, to be precise, when they were followed by a newline).
That commit changed the type of the macro token type from TT_UntouchableMacroFunc to TT_FunctionLikeOrFreestandingMacro.

Correct formatting (with `WhitespaceSensitiveMacros = ['FOO']`):
```
FOO(1+2)
FOO(1+2);
```

Regressed formatting:
```
FOO(1 + 2)
FOO(1+2);
```

Reviewed By: HazardyKnusperkeks, owenpan, ksyx

Differential Revision: https://reviews.llvm.org/D123676
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 61bb2e4ea82fc5499a271d70d4537383d1942208 by flo
[ConstraintElimination] Add initial ssub.with.overflow tests.
The file was addedllvm/test/Transforms/ConstraintElimination/ssub-with-overflow.ll
Commit fa593b079b76f1c30d684cfe42a662fed157e2e5 by pavel
Revert "[lldb] parallelize calling of Module::PreloadSymbols()"

This reverts commit b7d807dbcff0d9df466e0312b4fef57178d207be -- it
breaks TestMultipleDebuggers.py.
The file was modifiedlldb/source/Target/Target.cpp
Commit 7dcd0ea683ed3175bc3ec6aed24901a9d504182e by david.green
[AArch64] Generate AND in place of CSEL for predicated CTTZ

This patch implements a for a target specific optimization that replaces
the cmp and csel from cttz with an and mask.

Differential Revision: https://reviews.llvm.org/D123782
The file was addedllvm/test/CodeGen/AArch64/fold-csel-cttz-and.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 91b24b018062c8650abfbd10f7da80a0c92266a7 by philipp.tomsich
[AArch64] Ampere1 does not support MTE

The initial support for the Ampere1 mistakenly signalled support for
the MTE feature.  However, the core does not include the optional MTE
functionality.

Update the target parser to not include MTE for Ampere1.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D125191
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedllvm/include/llvm/Support/AArch64TargetParser.def
Commit 85ec8a9ac141a1807d907b7514546f531007d87d by marek.kurdej+llvm.org
[clang-format] Correctly handle SpaceBeforeParens for builtins.

That's a partial fix for https://github.com/llvm/llvm-project/issues/55292.

Before, known builtins behaved differently from other identifiers:
```
void f () { return F (__builtin_LINE() + __builtin_FOO ()); }
```
After:
```
void f () { return F (__builtin_LINE () + __builtin_FOO ()); }
```

Reviewed By: owenpan

Differential Revision: https://reviews.llvm.org/D125085
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 61f9ec5e61a9306ccaca24d562cdc1584c19909b by martin
[libcxx] [test] Fix the nasty_macros test on Windows on ARM/ARM64

This isn't a configuration that we unfortunately can add to
the CI practically at the moment, but I do run the tests
sporadically offline in this configuration.

Differential Revision: https://reviews.llvm.org/D124993
The file was modifiedlibcxx/test/libcxx/nasty_macros.compile.pass.cpp
Commit ae7fe65cf65dd4f71e117dee868965c152d27542 by pavel
[lldb/DWARF] Fix linking direction in CopyUniqueClassMethodTypes

IIUC, the purpose of CopyUniqueClassMethodTypes is to link together
class definitions in two compile units so that we only have a single
definition of a class. It does this by adding entries to the die_to_type
and die_to_decl_ctx maps.

However, the direction of the linking seems to be reversed. It is taking
entries from the class that has not yet been parsed, and copying them to
the class which has been parsed already -- i.e., it is a very
complicated no-op.

Changing the linking order allows us to revert the changes in D13224
(while keeping the associated test case passing), and is sufficient to
fix PR54761, which was caused by an undesired interaction with that
patch.

Differential Revision: https://reviews.llvm.org/D124370
The file was addedlldb/test/API/lang/cpp/incomplete-types/members/a.h
The file was addedlldb/test/API/lang/cpp/incomplete-types/members/main.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was addedlldb/test/API/lang/cpp/incomplete-types/members/Makefile
The file was addedlldb/test/API/lang/cpp/incomplete-types/members/TestCppIncompleteTypeMembers.py
The file was addedlldb/test/API/lang/cpp/incomplete-types/members/f.cpp
The file was addedlldb/test/API/lang/cpp/incomplete-types/members/g.cpp
Commit a48adc565864e0ce10becf301de5455308bd7d6c by benny.kra
[mlir][math] Promote (b)f16 to f32 when lowering to libm calls

libm doesn't have overloads for the small types, so promote them to a
bigger type and use the f32 function.

Differential Revision: https://reviews.llvm.org/D125093
The file was modifiedmlir/test/Conversion/MathToLibm/convert-to-libm.mlir
The file was modifiedmlir/lib/Conversion/MathToLibm/MathToLibm.cpp
Commit fef81131d92ef71f43640667b6fc88b241aebe50 by peter.waller
[SVE] Optimize new cases for lowerConvertToSVBool

Converts to SVBool are already considered as a nop, if they
are converting an operand from a ptrue or a cmp, because
they zero the extra predicate lanes by construction.

This patch adds 2 similar cases:
- The wide cmp, which were not directly recognized by the test
for other forms of cmp
- Splats of 1, which will be generated as ptrue, and as such
will also zero the extra predicate lines.

Reviewed By: paulwalker-arm, peterwaller-arm

Differential Revision: https://reviews.llvm.org/D124908
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmpeq.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmphi.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmplo.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmplt.ll
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-reinterpret-no-streaming.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmpgt.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-reinterpret.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmpge.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmple.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmphs.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmpls.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ptest-removal-cmpne.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit fc440f27cd50e48e1f9ebe6e56febe2823e59de4 by pavel
Filter non-external static members from SBType::GetFieldAtIndex.

See [[ https://github.com/llvm/llvm-project/issues/55040 | issue 55040 ]] where static members of classes declared in the anonymous namespace are incorrectly returned as member fields from lldb::SBType::GetFieldAtIndex(). It appears that attrs.member_byte_offset contains a sentinel value for members that don't have a DW_AT_data_member_location.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D124409
The file was addedlldb/test/Shell/SymbolFile/DWARF/x86/debug_static-member-anonymous-namespace.s
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 12cb540529e41d12cf27d2e716a384b6692563a8 by n.james93
[clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice.

There's many instances in clang tidy checks where owning strings are used when we already have a stable string from the options, so using a StringRef makes much more sense.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124341
The file was modifiedclang-tools-extra/clang-tidy/readability/SimplifySubscriptExprCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SuspiciousIncludeCheck.h
The file was modifiedclang-tools-extra/clang-tidy/abseil/StringFindStrContainsCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/NoMallocCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNullptrCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseEmplaceCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/OptionsUtils.h
The file was modifiedclang-tools-extra/clang-tidy/utils/OptionsUtils.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/StringConstructorCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/NoAutomaticMoveCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertUtils.h
The file was modifiedclang-tools-extra/clang-tidy/google/IntegerTypesCheck.h
The file was modifiedclang-tools-extra/clang-tidy/objc/ForbiddenSubclassingCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.h
The file was modifiedclang-tools-extra/clang-tidy/zircon/TemporaryObjectsCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNoexceptCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNoexceptCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/abseil/StringFindStrContainsCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/abseil/StringFindStartswithCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/FasterStringFindCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.h
The file was modifiedclang-tools-extra/clang-tidy/objc/ForbiddenSubclassingCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseOverrideCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.h
The file was modifiedclang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/Matchers.h
The file was modifiedclang-tools-extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/StringConstructorCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseEmplaceCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/SimplifySubscriptExprCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/DefinitionsInHeadersCheck.h
The file was modifiedclang-tools-extra/clang-tidy/abseil/StringFindStartswithCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/zircon/TemporaryObjectsCheck.h
Commit 8a92c45e07dc81c83ca3afda3971d98c512429d4 by llvm-dev
[Clang] Add integer mul reduction builtin

Similar to the existing bitwise reduction builtins, this lowers to a llvm.vector.reduce.mul intrinsic call.

For other reductions, we've tried to share builtins for float/integer vectors, but the fmul reduction intrinsic also take a starting value argument and can either do unordered or serialized, but not reduction-trees as specified for the builtins. However we address fmul support this shouldn't affect the integer case.

Differential Revision: https://reviews.llvm.org/D117829
The file was modifiedclang/test/Sema/builtins-reduction-math.c
The file was modifiedclang/test/CodeGen/builtins-reduction-math.c
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit e48cd7088b736dae5cd572ebb58963c70a4a72b8 by nathan
[demangler] Buffer peeking needs buffer

The output buffer has a 'back' member, which returns NUL when you try
it with an empty buffer.  But there are no use cases that need that
additional functionality.  This makes the 'back' member behave more
like STL containers' back members.  (It still returns a value, not a
reference.)

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D123201
The file was modifiedllvm/include/llvm/Demangle/Utility.h
The file was modifiedlibcxxabi/src/demangle/Utility.h
Commit 45f2e92d971bf133ec37f765584d9616ca08e48e by david.sherwood
[NFC][LoopVectorize] Add SVE test for tail-folding combined with interleaving

Differential Revision: https://reviews.llvm.org/D125001
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
Commit bf9921adb9304b90f21f087c1ea2ef178d9c57dd by sam.mccall
[clangd] Disable predefined macros in tests. NFC

These aren't needed. With them the generated predefines buffer is 13KB.
For every TestTU, we must:
- generate the buffer (3 times: parsing preamble, scanning preamble, main file)
- parse the buffer (again 3 times)
- serialize all the macros it defines in the PCH
- compress the buffer itself to write it into the PCH
- decompress it from the PCH

Avoiding this reduces unit test time by ~25%.

Differential Revision: https://reviews.llvm.org/D125172
The file was modifiedclang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TestTU.cpp
Commit bb53eb1ef4369fa7ae13d693eb219665c2cecd24 by sam.mccall
[clangd] Skip extra round-trip in parsing args in debug builds. NFC

This is a clever cross-cutting sanity test for clang's arg parsing I suppose.
But clangd creates thousands of invocations, ~all with identical trivial
arguments, and problems with these would be caught by clang's tests.
This overhead accounts for 10% of total unittest time!

Differential Revision: https://reviews.llvm.org/D125169
The file was modifiedclang-tools-extra/clangd/Compiler.cpp
Commit 4c569ceeaad6a0d0c2feec1177f382afc716ceca by flo
[SimpleLoopUnswitch] Add test case for crash with db7a87ed4fa7.
The file was removedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-invariant-select-bug.ll
The file was addedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-trivial-select.ll
Commit 41e142fdc797fead0b64f51dd9051c81853efa06 by flo
Recommit "[SimpleLoopUnswitch] Collect either logical ANDs/ORs but not both."

This reverts commit 7211d5ce07830ebfa2cfc30818cd7155375f7e47.

This version fixes a crash that caused buildbot failures with the first
version.
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-logical-and-or.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-trivial-select.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-freeze-individual-conditions.ll
Commit a316a9815a4f4105bb96420e85e93fe5f0033ed0 by sam.mccall
[clangd] Rewrite TweakTesting helpers to avoid reparsing the same code. NFC

Previously the EXPECT_AVAILABLE macros would rebuild the code at each marked
point, by expanding the cases textually.
There were often lots, and it's nice to have lots!

This reduces total unittest time by ~10% on my machine.
I did have to sacrifice a little apply() coverage in AddUsingTests (was calling
expandCases directly, which was otherwise unused), but we have
EXPECT_AVAILABLE tests covering that, I don't think there's real risk here.

Differential Revision: https://reviews.llvm.org/D125109
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/TweakTesting.h
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/AddUsingTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/TweakTesting.cpp
Commit 1a2665902f128155fa1febafea990ebaee9476f2 by rosie.sumpter
[AArch64][SVE] Improve codegen when extracting first lane of active lane mask

When extracting the first lane of a predicate created using the
llvm.get.active.lane.mask intrinsic, it should give the same codegen as
when the predicate is created using the llvm.aarch64.sve.whilelo
intrinsic, since get.active.lane.mask is lowered to whilelo. This patch
ensures the codegen is the same by recognizing
llvm.get.active.lane.mask as a flag-setting operation in this case.

Differential Revision: https://reviews.llvm.org/D125215
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-cmp-folds.ll
Commit 33f02de5df4d66ee704fbe282bcae7eb0c8e9493 by npopov
[ScalarEvolution] Add tests for umin_seq with non-zero operand (NFC)
The file was modifiedllvm/test/Analysis/ScalarEvolution/exit-count-select-safe.ll
Commit ec6024d0811b3116e0a29481b01179d5081a3b92 by llvm-dev
[X86] Replace avx512f integer mul reduction builtins with generic builtin

D117829 added the generic "__builtin_reduce_mul" which we can use to replace the x86 specific integer mul reduction builtins - internally these were mapping to the same intrinsic already so there are no test changes required.

Differential Revision: https://reviews.llvm.org/D125222
The file was modifiedclang/lib/Headers/avx512fintrin.h
The file was modifiedclang/include/clang/Basic/BuiltinsX86.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 18eaff1510525a2226e1fd0c31c6b176f07ae0a7 by npopov
[ScalarEvolution] Fold %x umin_seq %y if %x cannot be zero

Fold %x umin_seq %y to %x umin %y if %x cannot be zero. They only
differ in semantics for %x==0.

More generally %x *_seq %y folds to %x * %y if %x cannot be the
saturation fold (though currently we only have umin_seq).
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/exit-count-select-safe.ll
Commit 2cfb243bcd6aeab77dc80455bc8f2061128bd11b by david.green
[DAG] Use isAnyConstantBuildVector. NFC

As suggested from 02f8519502447de, this uses the
isAnyConstantBuildVector method in lieu of separate
isBuildVectorOfConstantSDNodes calls. It should
otherwise be an NFC.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit bc150a07f1a14a7923a29499b568d799f7214912 by nathan
[demangler] No need to space adjacent template closings

With the demangler parenthesizing 'a >> b' inside template parameters,
because C++11 parsing of >> there, we don't really need to add spaces
between adjacent template arg closing '>' chars.  In 2022, that just
looks odd.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D123134
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedllvm/unittests/Demangle/PartialDemangleTest.cpp
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
The file was modifiedllvm/test/tools/llvm-objdump/MachO/symbolized-disassembly.test
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
Commit 7ed16e7c510a8b8e82fbf7d48a2d6d108f9c3748 by preames
[riscv] Fix state tracking bug on vsetvli (phi of vsetvli) peephole

This fixes the first of several cases where the state computed in phase 1 and 2 of the algorithm differs from the state computed during phase 3. Note that such differences can cause miscompiles by creating disagreements about contents of the VL and VTYPE registers at block boundaries.

In this particular case, we recognize that for the first vsetvli in a block, that if the AVL is a phi of GPR results from previous vsetvlis and the VTYPE field matches, we can avoid emitting a vsetvli as the register contents don't change. Unfortunately, the abstract state does change and that update was lost.

As noted in the test change, this can actually improve results by preserving information until later state transitions in the block. However, this minor codegen improvement is not the motivation for the patch. The motivation is to avoid cases a case where we break a key internal correctness invariant.

Differential Revision: https://reviews.llvm.org/D125133
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
Commit d38915ffebee403dd1786ad4e165100160529939 by jperier
[flang] Fix windows bot after D125140

The ifdef is not required in the header, common::int128_t is always
defined. The function declaration must be available in lowering
regardless of the host int128_t support.

Differential Revision: https://reviews.llvm.org/D125211
The file was modifiedflang/include/flang/Runtime/io-api.h
Commit a425cac31e2e4cee8e14b7b9a99c8ba17c1ebb52 by erich.keane
"Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implementation""""

This includes a fix for the libc++ issue I ran across with friend
declarations not properly being identified as overloads.

This reverts commit 45c07db31cc76802a1a2e41bed1ce9c1b8198181.
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/test/SemaTemplate/concepts.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/SemaTemplate/deferred-concept-inst.cpp
The file was addedclang/test/SemaTemplate/trailing-return-short-circuit.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/include/clang/AST/DeclBase.h
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/ExtractAPI/ExtractAPIConsumer.cpp
Commit f1a9c4b717be9a9a730f837dfd70df69d1daf44f by sam.mccall
[clangd] Skip (most) predefined macros when scanning for preamble patching.

This is unneccesary work.
With this change, we skip generating and lexing ~10k of predefines twice.

A dumb benchmark of building a preamble for an empty file in a loop shows:
- before: 1.90ms/run
- after: 1.36ms/run
So this should be worth 0.5ms for each AST build and code completion.

There can be a functional difference, but it's very minor.
If the preamble contains e.g. `#ifndef __llvm__ ... #endif` then before we would
not take it. After this change we will take the branch (single-file mode takes
all branches with unknown conditions) and so gather different directives.

However I think this is negligible:
- this is already true of non-builtin macros (from included headers).
   We've had no complaints.
- this affects the baseline and modified in the same way, so only makes a
   difference transiently when code guarded by such an #ifdef is being edited

Differential Revision: https://reviews.llvm.org/D125179
The file was modifiedclang-tools-extra/clangd/Preamble.cpp
Commit 44ae49e1a72576ca6aa8835b3f72df9605516403 by aaron.puchert
Thread safety analysis: Handle compound assignment and ->* overloads

Like regular assignment, compound assignment operators can be assumed to
write to their left-hand side operand. So we strengthen the requirements
there. (Previously only the default read access had been required.)

Just like operator->, operator->* can also be assumed to dereference the
left-hand side argument, so we require read access to the pointee. This
will generate new warnings if the left-hand side has a pt_guarded_by
attribute. This overload is rarely used, but it was trivial to add, so
why not. (Supporting the builtin operator requires changes to the TIL.)

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124966
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/SemaCXX/warn-thread-safety-analysis.cpp
Commit 70ad96ca5e9ba6361cca6d35100361ef917990a0 by preames
[riscv, InsertVSETVLI] Rename InstrInfo to Require to more clearly indicate purpose [nfc]
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit 1ec1cdcfb49aed24a634999ab90c4feb48100c3e by tomasz.kamiński
[analyzer] Inline operator delete when MayInlineCXXAllocator is set.

This patch restores the symmetry between how operator new and operator delete
are handled by also inlining the content of operator delete when possible.

Patch by Fred Tingaud.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D124845
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
The file was addedclang/test/Analysis/cxxnewexpr-callback.cpp
The file was modifiedclang/test/Analysis/dtor.cpp
The file was modifiedclang/include/clang/Analysis/ConstructionContext.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
The file was removedclang/test/Analysis/cxxnewexpr-callback-inline.cpp
The file was removedclang/test/Analysis/cxxnewexpr-callback-noinline.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
Commit 0195163dbae962ebb48bcba32b6db85919f07370 by sam.mccall
[Frontend] when attaching a preamble, don't generate the long predefines buffer.

We know we're going to overwrite it anyway.
It'd be a bit of work to coordinate not generating it at all, but setting this
flag avoids generating ~10k of the 13k string.

Differential Revision: https://reviews.llvm.org/D125180
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
Commit d9e6b5df74f54a7cf21a419f737d922040c1ed08 by kparzysz
[clang] Recognize scope of thread local variables in CFGBuilder

Differential Revision: https://reviews.llvm.org/D125177
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/test/Analysis/cfg.cpp
Commit 882915df61e33f3a2b7f58e52f572717e1c11499 by aaron
Enum conversion warning when one signed and other unsigned.

Ensures an -Wenum-conversion warning happens when one of the enums is
signed and the other is unsigned. Also adds a test file to verify these
warnings.

This warning would not happen since the -Wsign-conversion would make a
diagnostic then return, never allowing the -Wenum-conversion checks.

For example:

C
enum PE { P = -1 };
enum NE { N };
enum NE conv(enum PE E) { return E; }
Before this would only create a diagnostic with -Wsign-conversion and
never on -Wenum-conversion. Now it will create a diagnostic for both
-Wsign-conversion and -Wenum-conversion.

I could change it to just warn on -Wenum-conversion as that was what I
initially did. Seeing PR35200 (or GitHub Issue 316268), I let both
diagnostics check so that the sign conversion could generate a warning.
The file was addedclang/test/Sema/enum-enum-conversion.c
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Sema/enum-sign-conversion.c
Commit 7dddf12f448d7ed7e2e35a4de69b53bd140f12c0 by npopov
[SCEV] Add more tests for umin_seq with known predicate (NFC)
The file was modifiedllvm/test/Analysis/ScalarEvolution/exit-count-select-safe.ll
Commit 68e1ba818869d6312a2774ccc320c0de86a8249c by npopov
[SCEV] Fold umin_seq using known predicate

Fold %x umin_seq %y to %x if %x ule %y. This also subsumes the
special handling for constant operands, as if %y is constant this
folds to umin via implied poison reasoning, and if %x is constant
then either %x is not zero and it folds to umin, or it is known
zero, in which case it is ule anything.
The file was modifiedllvm/test/Analysis/ScalarEvolution/exit-count-select-safe.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 9c3a75eabf577f0e0e372be95ec4861600a5acdb by a.bataev
[SLP]Fix a crash when preparing a mask for external scalars.

Need to use actual index instead of the tree entry position, since the
insert index may be different than 0. It mean, that we vectorized part
of the buildvector starting from not initial insertelement instruction
beause of some reason.
The file was addedllvm/test/Transforms/SLPVectorizer/X86/buildvector-shuffle.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 01188f996d2e65c9f1d0849cf834acebb32065ea by llvm-dev
[X86] insertps-combine.ll - show address math in checks
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
Commit 7c20e7ca8642bafa44f5829a14deea5f9b37f0ef by alexrichardson
[ELF] Support -plugin-opt=stats-file=

This flag is added by clang::driver::tools::addLTOOptions() and was causing
errors for me when building the llvm-test-suite repository with LTO and
-DTEST_SUITE_COLLECT_STATS=ON. This replaces the --stats-file= option
added in 1c04b52b2594d403f739ed919ef420b1e47ae343 since the flag is only
used for LTO and should therefore be in the -plugin-opt= namespace.

Additionally, this commit fixes the `REQUIRES: asserts` that was added in
948d05324a150a5a24e93bad07c9090d5b8bd129: the feature was never defined in
the lld test suite so it effectively disabled the test.

Reviewed By: MaskRay, MTC

Differential Revision: https://reviews.llvm.org/D124105
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/test/ELF/lto/stats-file-option.ll
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/test/lit.cfg.py
Commit d35bff8bc41f40d8c0f11c6dc4085440b140a771 by zarko
[LLVM][sancov] Inclusive language: Add -ignorelist option

Adding the `-ignorelist` option that may eventually replace `-blacklist`.
With this patch `sancov` accepts both options.

Reviewed By: quinnp

Differential Revision: https://reviews.llvm.org/D113514
The file was removedllvm/test/tools/sancov/Inputs/src_blacklist.txt
The file was addedllvm/test/tools/sancov/Inputs/src_ignorelist.txt
The file was addedllvm/test/tools/sancov/ignorelist.test
The file was removedllvm/test/tools/sancov/Inputs/fun_blacklist.txt
The file was removedllvm/test/tools/sancov/blacklist.test
The file was modifiedllvm/tools/sancov/sancov.cpp
The file was addedllvm/test/tools/sancov/Inputs/fun_ignorelist.txt
Commit 8abfa5119addc97e881025a819b8d643d53dda14 by pavel
[lldb/test] Fix TestCppIncompleteTypeMembers.py

modify the Makefile.rules line which was interfering with the
target-specific variable values.
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit e287d647c61f5fbd054410d6ed9c37d5271f29ef by springerm
[mlir] Add translation from tensor.reshape to memref.reshape

This patch augments the `tensor-bufferize` pass by adding a conversion
rule to translate ReshapeOp from the `tensor` dialect to the `memref`
dialect, in addition to adding a unit test to validate the translation.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D125031
The file was modifiedmlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
The file was modifiedmlir/test/Dialect/Tensor/bufferize.mlir
Commit ad7c49bef774191304b804e60821c0cdb6a390cb by hanchung
[mlir][linalg] Fix padding size calculation for Conv2d ops.

This patch fixed the padding size calculation for Conv2d ops when the stride > 1. It contains the changes below:

- Use addBound to add constraint for AffineApplyOp in getUpperBoundForIndex. So the result value can be mapped and retrieved later.

- Fixed the bound from AffineMinOp by adding as a closed bound. Originally the bound was added as an open upper bound, which results in the incorrect bounds when we multiply the values. For example:

```
%0 = affine.min affine_map<()[s0] -> (4, -s0 + 11)>()[iv0]
%1 = affine.apply affine_map<()[s0] -> (s0 * 2)>()[%0]

If we add the affine.min as an open bound, addBound will internally transform it into the close bound "%0 <= 3". The following sliceBounds will derive the bound of %1 as "%1 <= 6" and return the open bound "%1 < 7", while the correct bound should be "%1 <= 8".
```

- In addition to addBound, I also changed sliceBounds to support returning closed upper bound, since for the size computation, we usually care about the closed bounds.

- Change the getUpperBoundForIndex to favor constant bounds when required. The sliceBounds will return a tighter but non-constant bounds, which can't be used for padding. The constantRequired option requires getUpperBoundForIndex to get the constant bounds when possible.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D124821
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/test/Dialect/Linalg/pad.mlir
The file was modifiedmlir/include/mlir/Dialect/Affine/Analysis/AffineStructures.h
The file was modifiedmlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Commit 3b9a231d255c0f61361044acf0dc79d79b2f59b6 by fraser
[RISCV] Remove two unmasked RVV patterns

These can be selected to unmasked from masked instructions by the
post-process DAG step.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D125239
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Commit 11728db9e6eadd2831e055e378a4d1d3a83d04df by preames
[riscv] Add a few more vsetvli insertion tests

These are aimed at a possible miscompile spotted in the vmv.s.x/f mutation case, but it appears this is a latent bug.  Or at least, I haven't been able to construct a case with compatible policy flags via intrinsics.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll
Commit 017abbb258618ed7aad4573f8940a67eb868027f by erich.keane
Revert ""Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implementation"""""

This reverts commit a425cac31e2e4cee8e14b7b9a99c8ba17c1ebb52.

There is another libc++ test, that this time causes us to hit an
assertion. Reverting, likely for a while this time.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/test/SemaTemplate/concepts.cpp
The file was removedclang/test/SemaTemplate/deferred-concept-inst.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was removedclang/test/SemaTemplate/trailing-return-short-circuit.cpp
The file was modifiedclang/include/clang/AST/DeclBase.h
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
The file was modifiedclang/lib/ExtractAPI/ExtractAPIConsumer.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
Commit a2f2dfde48ac6e337a5cf1dfd54a766371627b75 by sam.mccall
[clang-fuzzer] Add a tiny tool to generate a fuzzing dictionary for clang

It should be useful clang-fuzzer itself, though my own motivation is
to use this in fuzzing clang-pseudo. (clang-tools-extra/pseudo/fuzzer).

Differential Revision: https://reviews.llvm.org/D125166
The file was modifiedclang/test/CMakeLists.txt
The file was addedclang/test/Misc/fuzzer-dictionary.test
The file was modifiedclang/tools/clang-fuzzer/CMakeLists.txt
The file was addedclang/tools/clang-fuzzer/dictionary/dictionary.c
The file was addedclang/tools/clang-fuzzer/dictionary/CMakeLists.txt
Commit 167bbfcb9d7004ed84c086ecce676f1ff4433cab by jtucholski00
[mlir] Refactoring dialect and test code to use parseCommaSeparatedList

Issue #55173

Reviewed By: lattner, rriddle

Differential Revision: https://reviews.llvm.org/D124791
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
Commit cd99227c7876278fdd5244b741f1f897bd94a49c by anastasia.stulova
[Docs] Added my office hours.
The file was modifiedllvm/docs/GettingInvolved.rst
Commit 9dc4ced204d1e918d4c8d3279e52197e9a5abc94 by a.bataev
[SLP]Try partial store vectorization if supported by target.

We can try to vectorize number of stores less than MinVecRegSize
/ scalar_value_size, if it is allowed by target. Gives an extra
opportunity for the vectorization.

Fixes PR54985.

Differential Revision: https://reviews.llvm.org/D124284
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/fptoui.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/hadd.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/memory-runtime-checks.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/schedule-bundle.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_sim4b1.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/fptosi-inseltpoison.ll
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/sitofp-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/hadd-inseltpoison.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/no_alternate_divrem.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/saxpy.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr49933.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_bullet.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/sitofp.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-mul-load.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reorder_phi.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/insert-after-bundle.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/odd_store.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/simple-loop.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_not_all_parts.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/uitofp.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-add-load.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_bullet3.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/fptosi.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-and-const-load.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_7zip.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll
Commit 431b23d20d5c2889d38c9ce20ac8e66357d5d9c4 by aeubanks
[opt] Error on `opt -O# --foo-pass`

Matches the error message we emit with `-opt -O# --passes=foo`.
Otherwise we crash later on.

Makes #55320 much less confusing.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D125196
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/test/Other/opt-On.ll
Commit b2206d1de3d33c8ae58433cb6c1d50b5db3417ce by kai.nacke
[SystemZ] Fix argument type of tdc instruction.

The DAG node for the Test Data Class is defined using i64 as the second parameter.
However, the code to lower is_fpclass uses `i32` as type. This only works because no
type check is generated in the DAG matcher.
This PR changes the type of the mask constant to `i64`.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D125230
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Commit 3f64f0328941c6ef13ce9d425f2a52061d774b92 by kazu
[CodeGen] Clarify the semantics of ADDCARRY/SUBCARRY

This patch clarifies the semantics of ADDCARRY/SUBCARRY, specifically
stating that both the incoming and outgoing carries are active high.

Differential Revision: https://reviews.llvm.org/D125130
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
Commit ac7747ef281c3be4cfefa5adb5d0395cefc10223 by pavel
[lldb/test] Append CXXFLAGS_EXTRAS last in Makefile.rules

This matches what we do with CFLAGS, and it started to matter
8abfa5119ad, which added some -std=-apending code.
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit a49d5e976e6d49a5a182a394c4a2a04395159b13 by pavel
[lldb/test] Remove superfluous -std=c++11 from tests

We default to that anyway. It does not work on windows, and since
ac7747e, the flag actually takes effect.
The file was modifiedlldb/test/API/lang/c/step_over_no_deadlock/Makefile
The file was modifiedlldb/test/API/commands/expression/no-deadlock/Makefile