Changes

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

Summary

  1. [clang-format] Restrict the special handling for K&R C to C/C++ (details)
  2. Recognize namespaced all_image_infos symbol name from dyld (details)
  3. [docs] Improve description of LLVM_BUILD_TESTS (details)
  4. nullptr initialize variables, spotted on msan bots. (details)
  5. Revert "Revert "[AArch64][SVE][InstCombine] Canonicalize aarch64_sve_dup_x intrinsic to IR splat operation"" (details)
  6. [ORC] Use EPC for EPCGeneric MemoryAccess / JITLinkMemoryManager construction. (details)
  7. [ORC] Merge LLVMSPSSerializers.h into SimplePackedSerialization.h. (details)
  8. [ORC] Fix missing newline in debugging output. (details)
  9. [JITLink] Working memory shouldn't be subject to alignment constraints. (details)
  10. [llvm-cov] Add error for invalid -path-equivalence format (details)
  11. [AArch64][GlobalISel] Select full-fp16 s16 G_FCONSTANT as a constant pool load (details)
  12. Fix python 2-vs-3 issues in add_new_check.py and rename_check.py (details)
  13. [ORC] Add SimpleRemoteEPC: ExecutorProcessControl over SPS + abstract transport. (details)
  14. [ORC] Add missing include. (details)
  15. [gn build] Port bb27e4564355 (details)
  16. Revert 5629afea910 and bb27e456435 while I look into bot failures. (details)
  17. [gn build] Port 2269a941a450 (details)
  18. [X86] Support *_set1_pch(Float16 _Complex h) (details)
  19. [X86][SLM] Swap LoadLat and LoadUOps in the SLMWriteResPair<> helper. NFC. (details)
  20. [X86][SLM] Fix HADD/HSUB uops, latency and throughput (details)
  21. [X86][SLM] Fix PSAD/MPSAD uops, latency and throughput (details)
  22. [BitcodeReader] Delay select until all constants resolved (details)
  23. [LLDB] Skip TestDyldLaunchLinux.py on Arm/Linux (details)
  24. [InstCombine] fold sub of min/max intrinsics with invertible ops (details)
  25. [GlobalOpt] Use make_early_inc_range (NFC) (details)
  26. [ARM] Support neon.vld auto-upgrade with opaque pointers (details)
  27. [InstCombine] update code/test comments; NFC (details)
  28. [llvm-shlib] Fix the i686 MSVC triple check for listing symbols to export in LLVM-C.dll (details)
  29. [LAA] Pass access type to getPtrStride() (details)
  30. [AArch64] Regenerate some test checks. NFC (details)
  31. [libcxxabi] NFC: fix incorrect indentation of braces (details)
  32. [clang] Enable the special enable_if_t diagnostics for libc++'s __enable_if_t as well. (details)
  33. [Vectorize] Fix "unused variable" warnings (details)
  34. Re-apply bb27e456435 and 5629afea910 with fixes. (details)
  35. [gn build] Port bb72f073808a (details)
  36. [ORC] Fix missing '&' in definition of deleted move-assignment. (details)
  37. [ORC] Fix out-of-range comparison errors. (details)
  38. [ORC] Fix missing std::move (details)
  39. [ORC] Add OrcShared dependency on LLVM_PTHREAD_LIB (details)
  40. [ORC] Add OrcTargetProcess dependency on LLVM_PTHREAD_LIB (details)
  41. [ORC] Add bootstrap symbols to ExecutorProcessControl. (details)
  42. [ORC] Temporarily remove the lljit-with-remote-debugging test. (details)
  43. [Clang][AVR] Fix definitions on AVR target (details)
  44. [OpenMP][MLIR] Add a conversion pattern for the master op (details)
  45. [AArch64] Regenerate some test checks. NFC (details)
  46. [WebAssembly] Convert to new "dylink.0" section format (details)
  47. [InstCombine] remove casts from splat-a-bit pattern (details)
  48. [Scalar] Use make_early_inc_range (NFC) (details)
  49. [CGP] Support opaque pointers in address mode fold (details)
  50. [VPlan] Fix crash caused by not updating all users properly. (details)
  51. [NFC][SVE] Precommit tests for adr instruction (details)
  52. [Attributor] Create a call site position for AACalledges (details)
  53. [Attributor] AAFunctionReachability, Handle CallBase Reachability. (details)
  54. [RISCV] Initial support .insn directive for the assembler. (details)
  55. [NFC] Avoid using pointee types in PPCISelLowering (details)
  56. [Attributor][FIX] AACallEdges, fix propagation error. (details)
  57. [PowerPC] [NFC] Add Big-Endian checks for existing MMA tests (details)
  58. [NFC] Directly use OpenMPIRBuilder::Ident instead of IdentPtr->getPointerElementType() (details)
  59. [IndVars] Replace PHIs if loop exits on 1st iteration (details)
  60. [IndVars] Break backedge and replace PHIs if loop exits on 1st iteration (details)
  61. [NFC][CoroSplit] Directly use Function::getFunctionType() (details)
  62. Add semantic token modifier for non-const reference parameter (details)
  63. [OpenMP] [OMPD] OPENMP_INSTALL_LIBDIR is set for the install dir (details)
  64. [lldb] [testsuite] Fix false failures on "\n" regex match (details)
  65. Add sanity check in MLIR ODS to catch case where an arguments/results/regions/successors names overlap (details)
  66. [mlir] Allows to query traits from types and attributes (details)
  67. [JITLink] Add initial native TLS support to ELFNix platform (details)
  68. [lldb][NFC] Cleanup EditlineHistory (details)
  69. [InstCombine] Add PR51784 test cases (details)
  70. [X86][SLM] Fix DIVPD/DIVPS/RCPPS/RSQRTPS/SQRTPD/SQRTPS/DPPD/DPPS uops, latency and throughput (details)
  71. [XCOFF] Fix the program abortion issue in XCOFFObjectFile::getSectionContents. (details)
  72. [RISCV] Rename prefix `FeatureExt*` to `FeatureStdExt*` for all sub-extension (details)
  73. [Test] Add more sophisticated tests for switch UB opt (details)
  74. [lldb] Remove PluginInterface::GetPluginVersion (details)
  75. [mlir] Update bazel build for 802bf02a738e091d5bf22c03e83204a38d2c7950 (details)
  76. Fix scan-build-py executable lookup path (details)
  77. [LAA] Add additional pointer phi tests. (details)
  78. [NFC] Replace unsigned VF with ElementCount in EpilogueLoopVectorizationInfo (details)
  79. [yaml2obj][XCOFF] customize the string table (details)
  80. [AMDGPU] Minor cleanup after D109483. NFC. (details)
  81. [LoopBoundSplit] Check the start value of split cond AddRec (details)
  82. XFAIL test `missing-abstract-variable.ll` for RISC-V (details)
  83. [mlir] Add missing namespace to createInlinerPass (details)
  84. [X86] Adjust Keylocker handle mem size (details)
  85. Revert "[X86] Adjust Keylocker handle mem size" (details)
  86. [X86] Adjust Keylocker handle mem size (details)
  87. [NVPTX] NFC: Remove unused template arg '_' (details)
  88. [Lanai] NFC: Remove unused tblgen template arg 'OpNode' (details)
  89. [Hexagon] NFC: Remove unused tblgen template args (details)
  90. [AArch64][SVE] NFC: Remove unused name from cvt builtins (details)
  91. [Sema] Add test for __builtin_fminf errors. (details)
  92. [llvm][sve] Lowering for VLS masked extending loads (details)
  93. [VectorCombine] Support AND/UREM indices that require freezing. (details)
  94. [AArch64] Regenerate some test checks. NFC (details)
  95. [AArch64] NFC: Remove unused template args (details)
  96. [lldb] Support querying registers via generic names without alt_names (details)
  97. [lldb] Remove redundant register alt_names (details)
  98. [OpenCL] Support cl_ext_float_atomics (details)
  99. [analyzer][NFCI] Allow clients of NoStateChangeFuncVisitor to check entire function calls, rather than each ExplodedNode in it (details)
  100. [mlir][Linalg] Use reify for padded op shape derivation. (details)
  101. [OpenCL] Initialize temporaries in the private address space (details)
  102. [clang] Check unsupported types in expressions (details)
  103. [gn build] Port 0213d7ec0c50 (details)
  104. Revert "[clang] Check unsupported types in expressions" (details)
  105. SwiftAsync: use runtime-provided flag for extended frame if back-deploying (details)
  106. [clang] Make the driver not diagnose errors on nonexistent linker inputs (details)
  107. [JITLink] Factor out forEachRelocation() function from addRelocations() in ELF Aarch64 backend (NFC) (details)
  108. [analyzer] MallocChecker: Add notes from NoOwnershipChangeVisitor only when a function "intents", but doesn't change ownership, enable by default (details)
  109. [InstCombining] Refactor checks for TryToSinkInstruction. NFC (details)
  110. [lldb] Skip TestGuiBasicDebug due to pr51833 (details)
  111. [VPlan] Add test that requires duplicating recipe for sinking. (details)
  112. [mlir][linalg] ComprehensiveBufferize: Do not copy InitTensorOps (details)
  113. [SystemZ][z/OS] Missing wchar functions libc++ (details)
  114. [lldb] [test] Remove parent output checks from follow-child tests (details)
  115. [gn build] (semi-manually) port 4247381e26dd (details)
  116. [openmp] Fix 51647, corrupt bitcode on amdgpu (details)
  117. Revert "[libc] Some clean work with memmove." (details)
  118. [MLIR]  Mark test case XFAIL on SystemZ for now. (details)
  119. [SelectionDAG][NFC] Fix typo in VerifyDAGDiverence() function name (details)
  120. [APInt] Add APIntOps::ScaleBitMask helper (details)
  121. [mlir][emitc] Print signed integers properly (details)
  122. [Utils] Use make_early_inc_range (NFC) (details)
  123. [mlir][Linalg] Insert static buffers as high as possible during ComprehensiveBufferization. (details)
  124. [RegScavenger][NFC] Refer to the already initialized local variable for spill slot index (details)
  125. [gn build] Fix typos in config visibility lists (details)
  126. Revert "[IndVars] Break backedge and replace PHIs if loop exits on 1st iteration" (details)
  127. Revert "[IndVars] Replace PHIs if loop exits on 1st iteration" (details)
  128. Revert "[openmp] Fix 51647, corrupt bitcode on amdgpu" (details)
  129. [openmp] Apply code change from D109500 (details)
  130. [openmp] Apply test change from D109500 (details)
  131. [lldb] Fix warning in MinidumpFileBuilder.cpp (details)
  132. [Sanitizers] intercept getgrouplist on Linux and FreeBSD. (details)
  133. Reorder mmt4d shapes: (details)
  134. [ADT] Extend EnableIfCallable for callables with incomplete returns (details)
  135. [flang][OpenMP] Add parsing support for nontemporal clause. (details)
  136. [hwasan] Respect returns attribute when tracking values. (details)
  137. [value-tracking] see through returned attribute. (details)
  138. [Sanitizers] intercept accept4 on freebsd (details)
  139. [ClangScanDeps][test] Add -fmodules-cache-path=DIR/cache to make diagnostics.c hermetic (details)
  140. [lldb] Actually fix format specifier after D108233 (details)
Commit 3205dd3d59b3cc36f96b7eff6387de8d2f42825f by owenca
[clang-format] Restrict the special handling for K&R C to C/C++

Commits 58494c856a15, f6bc614546e1, and 0fc27ef19670 added special
handlings for K&R C function definitions and caused some
JavaScript/TypeScript regressions which were addressed in D107267,
D108538, and D108620. This patch would have prevented these known
regressions and will fix any unknown ones.

Differential Revision: https://reviews.llvm.org/D109582
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 89ed21a8f864b1c33a95ed127d073842adc2fcd0 by Jason Molenda
Recognize namespaced all_image_infos symbol name from dyld

In macOS 12, the symbol name for the dyld_all_image_infos struct
in dyld has a namespace qualifier.  Search for it without qualification,
then with qualification when doing a by-name search.  (lldb will
only search for it by name when loading a user process Mach-O corefile)

rdar://76270013
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
Commit f7062f6dfbbcc3ac13c215a620bbbe3806fa2c77 by keithbsmiley
[docs] Improve description of LLVM_BUILD_TESTS

This makes it clear that this only has an effect if you use the all
build target.

Differential Revision: https://reviews.llvm.org/D109113
The file was modifiedllvm/docs/CMake.rst
Commit 2d26a72f825c7d8b50da49dda917e85897c8a746 by echristo
nullptr initialize variables, spotted on msan bots.
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
Commit ab111e982fd183ba084605ef4219810f159b4198 by mnadeem
Revert "Revert "[AArch64][SVE][InstCombine] Canonicalize aarch64_sve_dup_x intrinsic to IR splat operation""

This reverts commit eee7d225ded98f42d37c05ec292bbb18560ce06b.
Effectively relanding 98c37247d81dfc967ecc49eee7a15612b6510f67
after fixing the failing tests.

Change-Id: I5d7461aeb820a2d5f1895457d824a8de4d316ee5
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
The file was modifiedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-dup.ll
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
The file was modifiedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmul-idempotency.ll
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
The file was modifiedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mul-idempotency.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
Commit 22641f585372dd228bf668bcf0c0e171f6ff26c3 by Lang Hames
[ORC] Use EPC for EPCGeneric MemoryAccess / JITLinkMemoryManager construction.

This allows these classes to be created during EPC construction, before an
ExecutionSession is available.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/EPCGenericMemoryAccess.cpp
Commit a0a91ed3dda28deada41f570e1bef6bc3338a125 by Lang Hames
[ORC] Merge LLVMSPSSerializers.h into SimplePackedSerialization.h.

Since the ORC runtime and LLVM are no longer sharing SPS code (the ORC runtime
has its own copy) there is no reason to keep these separate.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
The file was removedllvm/include/llvm/ExecutionEngine/Orc/LLVMSPSSerializers.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/SimplePackedSerializationTest.cpp
Commit 3828ab086a7cb0309ec8bd706535239cea2b815f by Lang Hames
[ORC] Fix missing newline in debugging output.
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
Commit 6c56b13331b4fa646ad5a46d36aa81557dfee007 by Lang Hames
[JITLink] Working memory shouldn't be subject to alignment constraints.

Refactors copyBlockContentToWorkingMemory to use offsets rather than direct
pointers to working memory. This simplifies the problem of maintaining
alignments between blocks in working memory, without requiring the working
memory itself to be aligned.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
Commit e972e49b110928c9a682538be9b99bbf6b1e6c04 by keithbsmiley
[llvm-cov] Add error for invalid -path-equivalence format

Differential Revision: https://reviews.llvm.org/D109042
The file was modifiedllvm/tools/llvm-cov/CodeCoverage.cpp
The file was modifiedllvm/test/tools/llvm-cov/path_equivalence.c
Commit 4e408aae2c55a8fd71b5a96eb86db350a7acc443 by Jessica Paquette
[AArch64][GlobalISel] Select full-fp16 s16 G_FCONSTANT as a constant pool load

When we have full-fp16 support, we should (manually select) s16 G_FCONSTANT to
a constant pool load.

Add support for that to `emitLoadFromConstantPool` + the existing constant
selection code.

Also tidy up the constant selection code a little. There were some out-of-date
comments + some dead code.

Differential Revision: https://reviews.llvm.org/D108957
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-fp16-fconstant.mir
Commit c6bf8b8592431a4e39aeb20cc185b8fae0d52e43 by kbobyrev
Fix python 2-vs-3 issues in add_new_check.py and rename_check.py

As of this commit:
  https://github.com/llvm/llvm-project/commit/307b1fdd

If either of those scripts are invoked with python 2, neither works due to:
  "TypeError: write() argument 1 must be unicode, not str"

And if rename_check.py is invoked with python 3:
  "ValueError: binary mode doesn't take an encoding argument"
(referring to `with io.open(filename, 'wb', encoding='utf8') as f:`), and

Another issue in rename_check.py in python 2:
  "TypeError: list object is not an iterator"
(referring to `next(filter( ... os.listdir(old_module_path)))`)

(so, rename_check doesn't work with either 2 or 3, and add_new_check
doesn't work with 2, but does work with 3)

I ran these steps to test both python versions:
(manually - appears to be the "status quo" for these files)

  python3 clang-tools-extra/clang-tidy/add_new_check.py readability ggggg
  python3 clang-tools-extra/clang-tidy/rename_check.py readability-ggggg readability-hhhhh

  git checkout HEAD -- clang-tools-extra/clang-tidy/readability/CMakeLists.txt clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp clang-tools-extra/docs/ReleaseNotes.rst clang-tools-extra/docs/clang-tidy/checks/list.rst
  rm -f clang-tools-extra/clang-tidy/readability/GggggCheck.cpp clang-tools-extra/clang-tidy/readability/GggggCheck.h clang-tools-extra/docs/clang-tidy/checks/readability-ggggg.rst clang-tools-extra/test/clang-tidy/checkers/readability-ggggg.cpp clang-tools-extra/clang-tidy/readability/HhhhhCheck.cpp clang-tools-extra/clang-tidy/readability/HhhhhCheck.h clang-tools-extra/docs/clang-tidy/checks/readability-hhhhh.rst

  python2 clang-tools-extra/clang-tidy/add_new_check.py readability ggggg
  python2 clang-tools-extra/clang-tidy/rename_check.py readability-ggggg readability-hhhhh

  git checkout HEAD -- clang-tools-extra/clang-tidy/readability/CMakeLists.txt clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp clang-tools-extra/docs/ReleaseNotes.rst clang-tools-extra/docs/clang-tidy/checks/list.rst
  rm -f clang-tools-extra/clang-tidy/readability/GggggCheck.cpp clang-tools-extra/clang-tidy/readability/GggggCheck.h clang-tools-extra/docs/clang-tidy/checks/readability-ggggg.rst clang-tools-extra/test/clang-tidy/checkers/readability-ggggg.cpp clang-tools-extra/clang-tidy/readability/HhhhhCheck.cpp clang-tools-extra/clang-tidy/readability/HhhhhCheck.h clang-tools-extra/docs/clang-tidy/checks/readability-hhhhh.rst

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D109127
The file was modifiedclang-tools-extra/clang-tidy/rename_check.py
The file was modifiedclang-tools-extra/clang-tidy/add_new_check.py
Commit bb27e4564355243e479cab40885d6e0f7f640572 by Lang Hames
[ORC] Add SimpleRemoteEPC: ExecutorProcessControl over SPS + abstract transport.

SimpleRemoteEPC is an ExecutorProcessControl implementation (with corresponding
new server class) that uses ORC SimplePackedSerialization (SPS) to serialize and
deserialize EPC-messages to/from byte-buffers. The byte-buffers are sent and
received via a new SimpleRemoteEPCTransport interface that can be implemented to
run SimpleRemoteEPC over whatever underlying transport system (IPC, RPC, network
sockets, etc.) best suits your use case.

The SimpleRemoteEPCServer class provides executor-side support. It uses a
customizable SimpleRemoteEPCServer::Dispatcher object to dispatch wrapper
function calls to prevent the RPC thread from being blocked (a problem in some
earlier remote-JIT server implementations). Almost all functionality (beyond the
bare basics needed to bootstrap) is implemented as wrapper functions to keep the
implementation simple and uniform.

Compared to previous remote JIT utilities (OrcRemoteTarget*,
OrcRPCExecutorProcessControl), more consideration has been given to
disconnection and error handling behavior: Graceful disconnection is now always
initiated by the ORC side of the connection, and failure at either end (or in
the transport) will result in Errors being delivered to both ends to enable
controlled tear-down of the JIT and Executor (in the Executor's case this means
"as controlled as the JIT'd code allows").

The introduction of SimpleRemoteEPC will allow us to remove other remote-JIT
support from ORC (including the legacy OrcRemoteTarget* code used by lli, and
the OrcRPCExecutorProcessControl and OrcRPCEPCServer classes), and then remove
ORC RPC itself.

The llvm-jitlink and llvm-jitlink-executor tools have been updated to use
SimpleRemoteEPC over file descriptors. Future commits will move lli and other
tools and example code to this system, and remove ORC RPC.
The file was addedllvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
The file was addedllvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was addedllvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
The file was addedllvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
The file was removedllvm/lib/ExecutionEngine/Orc/EPCGenericMemoryAccess.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
The file was addedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
Commit 5629afea9109d3b72064cbe70e1ca91ffb9dc0a2 by Lang Hames
[ORC] Add missing include.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
Commit 26f1cab44a1494316e840800f4530825a5b4987a by llvmgnsyncbot
[gn build] Port bb27e4564355
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/TargetProcess/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/Shared/BUILD.gn
Commit 2269a941a450a0d395161cfb792be58870b2875b by Lang Hames
Revert 5629afea910 and bb27e456435 while I look into bot failures.

This reverts commit 5629afea9109d3b72064cbe70e1ca91ffb9dc0a2 ("[ORC] Add missing
include."), and bb27e4564355243e479cab40885d6e0f7f640572 ("[ORC] Add
SimpleRemoteEPC: ExecutorProcessControl over SPS + abstract transport.").

The SimpleRemoteEPC patch currently assumes availability of threads, and needs
to be rewritten with LLVM_ENABLE_THREADS guards.
The file was removedllvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
The file was removedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
The file was addedllvm/lib/ExecutionEngine/Orc/EPCGenericMemoryAccess.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was removedllvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
The file was removedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was removedllvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp
The file was removedllvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
Commit 6aacc69338787bfa1ad814928459e3cb94522298 by llvmgnsyncbot
[gn build] Port 2269a941a450
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/TargetProcess/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/Shared/BUILD.gn
Commit 2aaa6466fe00a1720a1c62c6d35b3d3efaf13160 by pengfei.wang
[X86] Support *_set1_pch(Float16 _Complex h)

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D109487
The file was modifiedclang/test/CodeGen/X86/avx512vlfp16-builtins.c
The file was modifiedclang/test/CodeGen/X86/avx512fp16-builtins.c
The file was modifiedclang/lib/Headers/avx512fp16intrin.h
The file was modifiedclang/lib/Headers/avx512vlfp16intrin.h
Commit 51d04e22689689086e6638ce36861cf26326caf2 by llvm-dev
[X86][SLM] Swap LoadLat and LoadUOps in the SLMWriteResPair<> helper. NFC.

We set the LoadUOps argument a lot more frequently that LoadLat, by swapping them we can simplify a number of declarations.
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
Commit 484944ac3b10530343df8461554b12190bbde9e9 by llvm-dev
[X86][SLM] Fix HADD/HSUB uops, latency and throughput

Noticed while trying to improve generic reduction costs via the D103695 helper script. Confirmed with Intel AoM / Agner / InstLatX64.
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse3.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-ssse3.s
Commit df975e459008504db1248414718c1b936685d16f by llvm-dev
[X86][SLM] Fix PSAD/MPSAD uops, latency and throughput

Noticed while trying to improve generic reduction costs via the D103695 helper script. Confirmed with Intel AoM / Agner / InstLatX64.
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse41.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
Commit 749ddd25e901c5214222be0e8e7be47424e5fdfe by guopeilin1
[BitcodeReader] Delay select until all constants resolved

Like the shuffle, we should treat the select delayed so that
all constants can be resolved.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D109053
The file was addedllvm/test/Bitcode/bitcode-parseconstant-delay-select.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit c55e021de40a87c0472593601780aa4c2fea2fc4 by omair.javaid
[LLDB] Skip TestDyldLaunchLinux.py on Arm/Linux

TestDyldLaunchLinux.py has been recently added and is failing on LLDB
Arm/Linux buildbot. I am marking it skip till I come back and look at
it in more detail.
The file was modifiedlldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py
Commit 28afaed691a0a7ca46bb9f64fac1153e03961fc1 by spatel
[InstCombine] fold sub of min/max intrinsics with invertible ops

This is a translation of the existing code to handle the intrinsics
and another step towards D98152.

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

This pattern is already handled by underlying folds if there are
less uses, so the minimal tests in this case have extra uses.

The larger cmyk tests show the motivation - when combined with
other folds, we invert a larger sequence and eliminate 'not' ops.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub-minmax.ll
The file was modifiedllvm/test/Transforms/InstCombine/minmax-intrinsics.ll
Commit e030d31fda31a8ec597e52d5fcac49a114cc51c1 by kazu
[GlobalOpt] Use make_early_inc_range (NFC)
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
Commit f5806830e064154a42d70b51863d4d4afe706fc5 by nikita.ppv
[ARM] Support neon.vld auto-upgrade with opaque pointers

This code manually constructs the intrinsic name, so we need to
use p0 instead of p0i8 in opaque pointer mode.
The file was modifiedllvm/test/CodeGen/ARM/vld-vst-upgrade.ll
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit 75e8eb2b10b15b027608adb0d3eaaefbd19e5993 by spatel
[InstCombine] update code/test comments; NFC

Follow-up for post-commit suggestion on:
28afaed691a0a7ca46bb9f64fac11

The comments were partly copied from the original
code, but not updated to match the new code.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub-minmax.ll
Commit 314b5a0efda75dcd195f1631333078de67be13c0 by martin
[llvm-shlib] Fix the i686 MSVC triple check for listing symbols to export in LLVM-C.dll

https://reviews.llvm.org/D47381 / eb46c95c3e7aeba4d183ca614fe238067eddf97f
changed the triples set up by GetHostTriple.cmake for i686 MSVC
from i686-pc-win32 to i686-pc-windows-msvc without changing
the corresponding condition in llvm-shlib.

Since then, the 32 bit x86 build of LLVM-C.dll has contained no
exported symbols at all.

Differential Revision: https://reviews.llvm.org/D109493
The file was modifiedllvm/tools/llvm-shlib/CMakeLists.txt
Commit 45c467346a79ec3df083a29d93184ce1f09c4083 by nikita.ppv
[LAA] Pass access type to getPtrStride()

Pass the access type to getPtrStride(), so it is not determined
from the pointer element type. Many cases still fetch the element
type at a higher level though, so this only partially addresses
the issue.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopAccessAnalysis.h
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
Commit 26b653dae493fa845f921b6cc5d76e9267ab617a by david.green
[AArch64] Regenerate some test checks. NFC

This regenerates some of the tests that had very-close-to-updated check
line already, in order to make them more maintainable.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-addrmode.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fcopysign.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-AdvSIMD-Scalar.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-no-helper.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fmadd.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-bitfield-extract.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-addr-type-promotion.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-csel.ll
Commit 6e91666e2864eae2190ba9d2c59c7ff80ed7b836 by arthur.j.odwyer
[libcxxabi] NFC: fix incorrect indentation of braces

Some functions in cxa_exception_storage.cpp have incorrect indentation
of braces; fix them.
Original patch by Zhouyi Zhou <zhouzhouyi@gmail.com>

Also, remove a line of commented-out (and no-longer-possible-to-compile)
code. That thread-safe-static initialization of `init` was replaced
with the call to pthread_once directly above it, back in 2012.

Differential Revision: https://reviews.llvm.org/D109408
The file was modifiedlibcxxabi/src/cxa_exception_storage.cpp
Commit 2b4cad5e471c60edae528979fa5f3edde844ac34 by arthur.j.odwyer
[clang] Enable the special enable_if_t diagnostics for libc++'s __enable_if_t as well.

This comes from lengthy discussion between Quuxplusone and ldionne over on D108216.
Right now, libc++ uses a "SCARY metaprogramming" version of _EnableIf that bypasses
all of Clang's clever diagnostic stuff and thus produces bad diagnostics. My recent
benchmarks ( https://quuxplusone.github.io/blog/2021/09/04/enable-if-benchmark/ )
have determined that the SCARYness is not buying us any speedup; therefore we are
happy to drop it and go back to using the standard std::enable_if for all our
SFINAE needs. However, we don't want to type out typename std::enable_if<X>::type
all over the library; we want to use an alias template. And we can't use
std::enable_if_t because we need a solution that works in C++11, and we do not
provide std::enable_if_t in C++11.

Therefore, D109435 switches us from SCARY `_EnableIf` to a normal `__enable_if_t`
(at least in C++11 mode, and possibly everywhere for consistency).
Simultaneously, this Clang patch enables the good diagnostics for `__enable_if_t`.
We don't need to enable good diagnostics for `_EnableIf` because the name
`_EnableIf` has only ever been used for the SCARY version where the good diagnostics
don't trigger anyway.

(Btw, this existing code is all sorts of broken, theoretically speaking.
I filed https://bugs.llvm.org/show_bug.cgi?id=51696 about it last week.
So if someone wants to use this PR as an excuse to go down the rabbit hole
and fix it for real, that would be cool too.)

Differential Revision: https://reviews.llvm.org/D109411
The file was addedclang/test/SemaTemplate/diagnose-enable-if-t.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit 15e9575fb5988a66aa6e57a55818b54b575dd795 by kazu
[Vectorize] Fix "unused variable" warnings
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit bb72f073808a42e35ddc52cb0810470ffeb3cce3 by Lang Hames
Re-apply bb27e456435 and 5629afea910 with fixes.

This reapplies bb27e4564355243e479cab40885d6e0f7f640572 (SimpleRemoteEPC
support) and 2269a941a450a0d395161cfb792be58870b2875b (#include <mutex>
fix) with further fixes to support building with LLVM_ENABLE_THREADS=Off.
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
The file was addedllvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp
The file was addedllvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
The file was removedllvm/lib/ExecutionEngine/Orc/EPCGenericMemoryAccess.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h
The file was addedllvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
Commit d06691481df430bcc8e6372be13a0b59bec2bd89 by llvmgnsyncbot
[gn build] Port bb72f073808a
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/Shared/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/TargetProcess/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
Commit fcf4e25be56f54594795f270e91c87ee416dcfc5 by Lang Hames
[ORC] Fix missing '&' in definition of deleted move-assignment.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
Commit d11a0c5d91bcf7dd979cb117559095fef4de084d by Lang Hames
[ORC] Fix out-of-range comparison errors.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
Commit d193d23795dc754e72fe7e85d5a11d628bec21f7 by Lang Hames
[ORC] Fix missing std::move
The file was modifiedllvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp
Commit 698a598cf799592e60b955fca580aa6a3b39dc5c by Lang Hames
[ORC] Add OrcShared dependency on LLVM_PTHREAD_LIB
The file was modifiedllvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
Commit e339303776aad6612bfd239c39ae382a62f6b553 by Lang Hames
[ORC] Add OrcTargetProcess dependency on LLVM_PTHREAD_LIB
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
Commit b64fc0af9a97c77cc913e7d906ab26bd232a9076 by Lang Hames
[ORC] Add bootstrap symbols to ExecutorProcessControl.

Bootstrap symbols are symbols whose addresses may be required to bootstrap
the rest of the JIT. The bootstrap symbols map generalizes the existing
JITDispatchInfo class provide an arbitrary map of symbol names to addresses.

The JITDispatchInfo class will be replaced by bootstrap symbols with reserved
names in upcoming commits.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
Commit a539a847c9428e36722dcb43a1c953c9d66b7f0b by Lang Hames
[ORC] Temporarily remove the lljit-with-remote-debugging test.

This is broken now that llvm-jitlink-executor uses SimpleRemoteEPC.

The example will be updated to use SimpleRemoteEPC in a future commit.
The file was removedllvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
Commit 339c7340422425755cec4d28a6ff1d1f6ea4a528 by littlefox
[Clang][AVR] Fix definitions on AVR target

Fix definitions for MCUs xmega16a4u and xmega128a4u to match avr-libc

Differential Revision: https://reviews.llvm.org/D109653
The file was modifiedclang/lib/Basic/Targets/AVR.cpp
Commit 187d9f8cd9d32ca0021619153dcb3ffb0b78b987 by kiran.chandramohan
[OpenMP][MLIR] Add a conversion pattern for the master op

The conversion pattern is particularly useful for conversion of
block arguments in the master op.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D109610
The file was modifiedmlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
Commit d338e535ec5f1de8b1b6cf7ea74514dfe1ecd0ce by david.green
[AArch64] Regenerate some test checks. NFC

This regenerates some of the tests that had very-close-to-updated check
line already, in order to make them more maintainable.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-memset-inline.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-ldp.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64_32-addrs.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-indexed-memory.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm.ll
Commit b78c85a44af300f8e3da582411814385cf70239d by sbc
[WebAssembly] Convert to new "dylink.0" section format

This format is based on sub-sections (like the "linking" and "name"
sections) and is therefore easier to extend going forward.

spec change: https://github.com/WebAssembly/tool-conventions/pull/170
binaryen change: https://github.com/WebAssembly/binaryen/pull/4141
wabt change:  https://github.com/WebAssembly/wabt/pull/1707
emscripten change: https://github.com/emscripten-core/emscripten/pull/15019

Differential Revision: https://reviews.llvm.org/D109595
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/test/wasm/shared-needed.s
The file was modifiedlld/test/wasm/shared64.s
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedlld/test/wasm/shared.s
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedlld/test/wasm/pie.ll
The file was modifiedllvm/include/llvm/Object/Wasm.h
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/dylink_section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
Commit 3a126134d38144928de802bf96d45e72dd1b26d2 by spatel
[InstCombine] remove casts from splat-a-bit pattern

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

This case seems clear since we can reduce instruction count
and avoid an intermediate type change, but we might want to
use mask-and-compare for other sequences.

Currently, we can generate more instructions on some related
patterns by trying to use bit-hacks instead of mask+cmp, so
something is not behaving as expected.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sext.ll
Commit 8e86c0e4f49bcfebd966fd5893d00b093df7f8ba by kazu
[Scalar] Use make_early_inc_range (NFC)
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
Commit 4189e5fe12b6f9b9036d8faffeab15ad6acd7d99 by nikita.ppv
[CGP] Support opaque pointers in address mode fold

Rather than inspecting the pointer element type, use the access
type of the load/store/atomicrmw/cmpxchg.

In the process of doing this, simplify the logic by storing the
address + type in MemoryUses, rather than an Instruction + Operand
pair (which was then used to fetch the address).
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/X86/merge_store.ll
Commit 368af7558e55039e4e93c3eed68ce00da86e5e35 by flo
[VPlan] Fix crash caused by not updating all users properly.

Users of VPValues are managed in a vector, so we need to be more
careful when iterating over users while updating them. For now, just
copy them.

Fixes 51798.
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Commit fb7fbe4314f5e00ee47f87cf0b0fa56edd801236 by mnadeem
[NFC][SVE] Precommit tests for adr instruction

Change-Id: I8148481a5ce3b721113327cc9b684f091cae5a8d
The file was modifiedllvm/test/CodeGen/AArch64/sve-gep.ll
Commit 2cc6f7c8e108fbc5b5acb513b1edc086ba21563a by kuterdinel
[Attributor] Create a call site position for AACalledges

This patch adds a call site position for AACallEdges, this
allows us to ask questions about which functions a specific
`CallBase` might call.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106208
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 66a0b3464ca8502a6a3b59800f9b31fcd7aa6e97 by kuterdinel
[Attributor] AAFunctionReachability, Handle CallBase Reachability.

This patch makes it possible to query callbase reachability
(Can a callbase reach a function Fn transitively).
The patch moves the reachability query handling logic to a member class,
this class will have more users within the AA once we add other function
reachability queries.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106402
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/unittests/Transforms/IPO/AttributorTest.cpp
Commit 283879793dc787225992496587581ec77b6b0610 by craig.topper
[RISCV] Initial support .insn directive for the assembler.

This allows for a custom encoding to be emitted. It can also be
used with inline assembly to allow the custom instruction to be
register allocated like other instructions.

I initially started from SystemZ's implementation, but some of
the formats allow operands to be specified in multiple ways so I
had to add support for matching different operand class lists for
the same format. That implementation is a simplified version of
what is emitted by tablegen for regular instructions.

I've left out the compressed formats. And I haven't supported the
named opcodes like LUI or OP_IMM_32. Those can be added in future
patches.

Documentation can be found here https://sourceware.org/binutils/docs-2.37/as/RISC_002dV_002dFormats.html

Reviewed By: jrtc27, MaskRay

Differential Revision: https://reviews.llvm.org/D108602
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was addedllvm/test/MC/RISCV/insn-invalid.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrFormats.td
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.td
The file was addedllvm/test/MC/RISCV/insn.s
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit f94a118a6eb381454c658f62958678c6a442eefb by aeubanks
[NFC] Avoid using pointee types in PPCISelLowering

A cmpxchg's new value type is the same as the pointer operand's pointee type.
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 9a193bdc81e1db22c1035f2f771f5f8034627608 by kuterdinel
[Attributor][FIX] AACallEdges, fix propagation error.

This patch fixes a error made in 2cc6f7c8e108. That patch
added a call site position but there was a small error with the way
the presence of a unknown call edge was being propagated from call site
to function. This patch fixes that error. This error was effecting some
AMDGPU tests.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 203cd01b54ddd720be17b8e19207ff5af4a22d4c by saghir
[PowerPC] [NFC] Add Big-Endian checks for existing MMA tests

This patch adds Big-Endian checks for the existing MMA test cases.
It also changes the target for these test cases to pwr10.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D109126
The file was modifiedclang/test/Sema/ppc-pair-mma-types.c
The file was modifiedclang/test/SemaCXX/ppc-pair-mma-types.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-pair-mma.c
Commit d48a3f9f757c2c4b6adc7b8f7ca94641d9cf3a46 by aeubanks
[NFC] Directly use OpenMPIRBuilder::Ident instead of IdentPtr->getPointerElementType()
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Commit 5a6dfb27ca7424f15a20f9bb7ec90d858865faa3 by mkazantsev
[IndVars] Replace PHIs if loop exits on 1st iteration

This is a part of D108910.
We replace all loop PHIs with values coming from the loop preheader if
we proved that backedge is never taken.

Patch by Dmitry Makogon!

Differential Revision: https://reviews.llvm.org/D109596
Reviewed By: lebedev.ri
The file was modifiedllvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
Commit d9ca444835e67960df927d5b8cade57776fdd8cb by mkazantsev
[IndVars] Break backedge and replace PHIs if loop exits on 1st iteration

Implement TODO in optimizeLoopExits. Now if we have proved that some loop exit
is taken on 1st iteration, we make all branches in the following exiting blocks
always branch out of the loop and their conditions simplified away.

Patch by Dmitry Makogon!

Differential Revision: https://reviews.llvm.org/D108910
Reviewed By: lebedev.ri
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
Commit 6a92ab07cbb6dda9d494d7909c2daee2d65d40b7 by aeubanks
[NFC][CoroSplit] Directly use Function::getFunctionType()
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit 5a85f9b1d48c4367bf697adc0f62ed5c9378f0f3 by zeratul976
Add semantic token modifier for non-const reference parameter

See https://github.com/clangd/clangd/issues/839

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D108320
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.h
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/test/semantic-tokens.test
Commit 939154125b336bb7807302ae22a9df91e4f2e69b by Vignesh.Balasubrmanian
[OpenMP] [OMPD] OPENMP_INSTALL_LIBDIR is set for the install dir

OPENMP_INSTALL_LIBDIR is set to the installation path of shared and static
libompd.This should avoid the mixing of 32 and 64 bit on same path in
multi-lib set-up.

Reviewed By: @mceier
Differential Revision: https://reviews.llvm.org/D109352
The file was modifiedopenmp/libompd/src/CMakeLists.txt
Commit ff94f6024082ecd6b8a236b0953d3ce2d240cc64 by jan.kratochvil
[lldb] [testsuite] Fix false failures on "\n" regex match

Regex is matching a binary so it needs `re.DOTALL`.
vFile:fstat packet data ATTACHMENT is not hex-encoded but it is only
escaped.

It is difficult to reproduce, it came from buildbot:
  https://lab.llvm.org/staging/#/builders/16/builds/10597

******************** TEST 'lldb-api :: tools/lldb-server/TestGdbRemotePlatformFile.py' FAILED ********************
FAIL: test_platform_file_fstat_llgs (TestGdbRemotePlatformFile.TestGdbRemotePlatformFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 52, in test_method
    return attrvalue(self)
  File "lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py", line 259, in test_platform_file_fstat
    context = self.expect_gdbremote_sequence()
  File "lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 621, in expect_gdbremote_sequence
    return expect_lldb_gdbserver_replay(
  File "lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py", line 198, in expect_lldb_gdbserver_replay
    context = sequence_entry.assert_match(
  File "lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py", line 479, in assert_match
    return self._assert_regex_match(asserter, actual_packet, context)
  File "lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py", line 446, in _assert_regex_match
    asserter.fail(
AssertionError: regex '^\$F([0-9a-fA-F]+);(.*)#[0-9a-fA-F]{2}$' failed to match against content '$F40;^@^@^@ ^@
^C<8d>^@^@<81><80>^@^@^@^A^@^@^CX^@^@^CX^@^@^@^@^@^@^@^@^@^@^@^W^@^@^@^@^@^@^P^@^@^@^@^@^@^@^@
a=XXa=XXa=XX#6b'
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
Commit 7fb2394a4f362aff4282af8486b7352e720c32ab by joker.eph
Add sanity check in MLIR ODS to catch case where an arguments/results/regions/successors names overlap

This is making a tablegen crash with a more friendly error.

Differential Revision: https://reviews.llvm.org/D109474
The file was modifiedmlir/test/mlir-tblgen/op-error.td
The file was modifiedmlir/include/mlir/TableGen/Operator.h
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/lib/TableGen/Operator.cpp
Commit 802bf02a738e091d5bf22c03e83204a38d2c7950 by joker.eph
[mlir] Allows to query traits from types and attributes

Types and attributes now have a `hasTrait` function that allow users to check
if a type defines a trait.
Also, AbstractType and AbstractAttribute has now a `hasTraitFn` field to carry
the implementation of the `hasTrait` function of the concrete type or attribute.
This patch also adds the remaining functions to access type and attribute traits
in TableGen.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D105202
The file was modifiedmlir/include/mlir/IR/AttributeSupport.h
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/test/lib/Dialect/Test/TestAttrDefs.td
The file was modifiedmlir/test/lib/Dialect/Test/TestAttributes.h
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/include/mlir/IR/TypeSupport.h
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.h
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/IR/StorageUniquerSupport.h
The file was modifiedmlir/test/lib/Dialect/Test/TestTypeDefs.td
The file was addedmlir/test/lib/Dialect/Test/TestTraits.h
The file was modifiedmlir/test/IR/traits.mlir
Commit ff6069b89114325b1904e55d3987701567d522d4 by 932494295
[JITLink] Add initial native TLS support to ELFNix platform

This patch use the same way as the https://reviews.llvm.org/rGfe1fa43f16beac1506a2e73a9f7b3c81179744eb to handle the thread local variable.

It allocates 2 * pointerSize space in GOT to represent the thread key and data address. Instead of using the _tls_get_addr function, I customed a function __orc_rt_elfnix_tls_get_addr to get the address of thread local varible. Currently, this is a wip patch, only one TLS relocation R_X86_64_TLSGD is supported and I need to add the corresponding test cases.

To allocate the TLS  descriptor in GOT, I need to get the edge kind information in PerGraphGOTAndPLTStubBuilder, So I add a `Edge::Kind K` argument in some functions in PerGraphGOTAndPLTStubBuilder.h. If it is not suitable, I can think further to solve this problem.

Differential Revision: https://reviews.llvm.org/D109293
The file was addedcompiler-rt/lib/orc/elfnix_tls.x86-64.S
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
The file was modifiedcompiler-rt/lib/orc/CMakeLists.txt
The file was addedcompiler-rt/test/orc/TestCases/Linux/x86-64/trivial-tls.S
The file was addedcompiler-rt/test/orc/TestCases/FreeBSD/x86-64/trivial-tls.S
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
The file was modifiedcompiler-rt/lib/orc/elfnix_platform.cpp
The file was addedllvm/lib/ExecutionEngine/JITLink/PerGraphTLSInfoEntryBuilder.h
Commit 4b2e38d940673e6ec01c4653eacf620e7e53ae6d by Raphael Isemann
[lldb][NFC] Cleanup EditlineHistory
The file was modifiedlldb/source/Host/common/Editline.cpp
Commit 6d970e83fac56cefc18d352a760cddb1c6d29e09 by llvm-dev
[InstCombine] Add PR51784 test cases
The file was modifiedllvm/test/Transforms/InstCombine/ctpop-cttz.ll
Commit 65ad09da0ea7b947ce4bfa96dee00a53230f4cf9 by llvm-dev
[X86][SLM] Fix DIVPD/DIVPS/RCPPS/RSQRTPS/SQRTPD/SQRTPS/DPPD/DPPS uops, latency and throughput

The packed variants of the instructions had been modelled as the same as the scalar variants.

Reported during a run of llvm-exegesis on a cheap SLM box and matches what Agner / InstLatX64 report as well.
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse41.s
Commit ea81898d0fe2633fdef44822a8578924be4acd6c by esme.yi
[XCOFF] Fix the program abortion issue in XCOFFObjectFile::getSectionContents.

Summary: Use std::move(E) to avoid `Program aborted due to an unhandled Error`

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D109567
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit f29336104d8f5cc023d3cc55cbcc1ea401c46c5d by jim
[RISCV] Rename prefix `FeatureExt*` to `FeatureStdExt*` for all sub-extension

Rename prefix `FeatureExt*` to `FeatureStdExt*` for all sub-extension for consistency

Reviewed By: HsiangKai, asb

Differential Revision: https://reviews.llvm.org/D108187
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit 7e337d8ba2ff5015d83f355be1049e3e13fa4d18 by mkazantsev
[Test] Add more sophisticated tests for switch UB opt

Optimizer is being too smart with existing tests, and the transform
gets concealed by following transforms.
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_ub.ll
Commit b03126768a842aa80bd20ae137ba3df52043e641 by pavel
[lldb] Remove PluginInterface::GetPluginVersion

In all these years, we haven't found a use for this function (it has
zero callers). Lets just remove the boilerplate.

Differential Revision: https://reviews.llvm.org/D109600
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h
The file was modifiedlldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/include/lldb/Core/PluginInterface.h
The file was modifiedlldb/unittests/Process/ProcessEventDataTest.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.h
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h
The file was modifiedlldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.h
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Target/ProcessTrace.cpp
The file was modifiedlldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/unittests/Target/RemoteAwarePlatformTest.cpp
The file was modifiedlldb/include/lldb/Symbol/SymbolVendor.h
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.h
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
The file was modifiedlldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.h
The file was modifiedlldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.h
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
The file was modifiedlldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.h
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
The file was modifiedlldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
The file was modifiedlldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
The file was modifiedlldb/include/lldb/Target/ProcessTrace.h
The file was modifiedlldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.h
The file was modifiedlldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/unittests/Thread/ThreadTest.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PDB/ObjectFilePDB.h
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.h
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
The file was modifiedlldb/source/Plugins/Architecture/Mips/ArchitectureMips.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h
The file was modifiedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.h
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.h
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
The file was modifiedlldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h
The file was modifiedlldb/source/Symbol/SymbolVendor.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_i386.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was modifiedlldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h
The file was modifiedlldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.h
The file was modifiedlldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
The file was modifiedlldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
The file was modifiedlldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
The file was modifiedlldb/source/Plugins/Architecture/Arm/ArchitectureArm.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.h
The file was modifiedlldb/unittests/Target/ExecutionContextTest.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.h
Commit 2d75cfdeb740349a25b517d620744d0a9c971e3c by benny.kra
[mlir] Update bazel build for 802bf02a738e091d5bf22c03e83204a38d2c7950
The file was modifiedutils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Commit c84755a046bbdcd0564693e30b2508034b06002b by sguelton
Fix scan-build-py executable lookup path

Once installed, scan-build-py doesn't know anything about its auxiliary
executable and can't find them.
Use relative path wrt. scan-build-py script.

Differential Revision: https://reviews.llvm.org/D109659
The file was modifiedclang/tools/scan-build-py/lib/libscanbuild/analyze.py
Commit 4c84a0f24c105c72452c5fb8659d5206d180142a by flo
[LAA] Add additional pointer phi tests.
The file was modifiedllvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
Commit bbada9ff4571c1ce6d0f6f508644c6cd58a6e8d6 by david.sherwood
[NFC] Replace unsigned VF with ElementCount in EpilogueLoopVectorizationInfo

This patch simply replaces any unsigned VFs with ElementCounts. It's
still NFC because at the moment epilogue vectorisation is disabled
when the main vector loop uses scalable vectors.

Differential Revision: https://reviews.llvm.org/D109364
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 909f3d738079eb5971f584e2a4119de43744c73f by esme.yi
[yaml2obj][XCOFF] customize the string table

Summary: The patch adds support for yaml2obj customizing the string table.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D107421
The file was modifiedllvm/test/tools/obj2yaml/XCOFF/aix.yaml
The file was modifiedllvm/lib/ObjectYAML/XCOFFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/XCOFFEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/XCOFFYAML.h
The file was addedllvm/test/tools/yaml2obj/XCOFF/string-table.yaml
Commit 477b9bc9f76893b857a52403f86cdffb4cc05bfe by jay.foad
[AMDGPU] Minor cleanup after D109483. NFC.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Commit 2a26d47a2d8295f4555f615feb86d599ae2c3af7 by jingu.kang
[LoopBoundSplit] Check the start value of split cond AddRec

After transformation, we assume the split condition of the pre-loop is always
true. In order to guarantee it, we need to check the start value of the split
cond AddRec satisfies the split condition.

Differential Revision: https://reviews.llvm.org/D109354
The file was modifiedllvm/test/Transforms/LoopBoundSplit/bug51766.ll
The file was modifiedllvm/test/Transforms/LoopBoundSplit/loop-bound-split.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
Commit 7271de2d199c936904a79d89f881e02047b45236 by luismarques
XFAIL test `missing-abstract-variable.ll` for RISC-V

This test fails for many architectures. Also XFAIL for RISC-V.
The file was modifiedllvm/test/DebugInfo/Generic/missing-abstract-variable.ll
Commit 57bf85601168ba4bf2798455b4bfea674c9f92d3 by clementval
[mlir] Add missing namespace to createInlinerPass

One of the createInlinerPass does not have the mlir:: namespace

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D109580
The file was modifiedmlir/lib/Transforms/Inliner.cpp
Commit 3731de6b7f2d42d40151f9574636bc4d5ccfa5e3 by xiang1.zhang
[X86] Adjust Keylocker handle mem size

Reviewed By: Topper Craig

Differential Revision: https://reviews.llvm.org/D109354
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/X86/keylocker.c
The file was modifiedllvm/test/CodeGen/X86/keylocker-intrinsics.ll
The file was modifiedclang/lib/Headers/keylockerintrin.h
Commit bdce8d40c6da56f1c95a8d7bfeac12b1ffce79cf by xiang1.zhang
Revert "[X86] Adjust Keylocker handle mem size"

This reverts commit 3731de6b7f2d42d40151f9574636bc4d5ccfa5e3.
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/X86/keylocker-intrinsics.ll
The file was modifiedclang/lib/Headers/keylockerintrin.h
The file was modifiedclang/test/CodeGen/X86/keylocker.c
Commit c81d6ab8758224ab950716d9533df79c5b5fb706 by xiang1.zhang
[X86] Adjust Keylocker handle mem size

Reviewed By: Topper Craig

Differential Revision: https://reviews.llvm.org/D109488
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/X86/keylocker-intrinsics.ll
The file was modifiedclang/lib/Headers/keylockerintrin.h
The file was modifiedclang/test/CodeGen/X86/keylocker.c
Commit 6bd26329bf61571bac8056510d41d61971b8fc9f by cullen.rhodes
[NVPTX] NFC: Remove unused template arg '_'

Identified in D109359.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D109602
The file was modifiedllvm/include/llvm/IR/IntrinsicsNVVM.td
Commit 9e435c96def971e078bc76c0477025da01b438a7 by cullen.rhodes
[Lanai] NFC: Remove unused tblgen template arg 'OpNode'

Identified in D109359.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D109606
The file was modifiedllvm/lib/Target/Lanai/LanaiInstrInfo.td
Commit 97a6d76694e4f156945e3582a7798e0059c8a3ba by cullen.rhodes
[Hexagon] NFC: Remove unused tblgen template args

Identified in D109359.

Reviewed By: kparzysz

Differential Revision: https://reviews.llvm.org/D109604
The file was modifiedllvm/lib/Target/Hexagon/HexagonPseudo.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrFormats.td
Commit 9db7e8e3ce7b4ff434aedf420d94cd92ba20fd9f by cullen.rhodes
[AArch64][SVE] NFC: Remove unused name from cvt builtins

Identified in D109359.

Reviewed By: paulwalker-arm, dmgreen

Differential Revision: https://reviews.llvm.org/D109589
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
Commit d86a947bb91cc67452057b4bc25c0c7734b5139c by flo
[Sema] Add test for __builtin_fminf errors.
The file was addedclang/test/Sema/overloaded-math-builtins.c
Commit 915e9e76bf9ac4ec57db83fe4e1d20a7c230ad3d by david.truby
[llvm][sve] Lowering for VLS masked extending loads

This extends the custom lowering for extending loads on
fixed length vectors in SVE to support masked extending loads.

The existing tests for correct behaviour of masked extending loads
exhibit bad code generation due to the legalistaion of i1 vectors.
They have been left as-is and new tests have been added that do not
exhibit this behaviour.

Differential Revision: https://reviews.llvm.org/D108200
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-loads.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit c24fc37e4773c70a868d8a708b0611c0604c7ab3 by flo
[VectorCombine] Support AND/UREM indices that require freezing.

38b098be6605 limited scalarization to indices that are known non-poison.
For certain patterns that restrict the range of an index, we can insert
a freeze of the original value, to prevent propagation of poison.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D107580
The file was modifiedllvm/test/Transforms/VectorCombine/load-insert-store.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit b737f1acf42807b6c791fc87763967d60bfc7ee3 by david.green
[AArch64] Regenerate some test checks. NFC

This regenerates some of the tests that had very-close-to-updated check
line already, in order to make them more maintainable.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-trunc-store.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-nvcast.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-setcc-int-to-fp-combine.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-subvector-extend.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-register-pairing.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-aba-abd.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-mul-div.ll
Commit 1d771e19fd1a1e0e0a3491cdb2ccf344f7330547 by cullen.rhodes
[AArch64] NFC: Remove unused template args

Identified in D109359.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D109491
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
Commit 8567f4d4b9a79f041406026011fb8151b24b8c99 by mgorny
[lldb] Support querying registers via generic names without alt_names

Update GetRegisterInfoByName() methods to support getting registers
by a generic name independently of alt_name entries in the register
context.  This makes it possible to use generic names when interacting
with gdbserver (that does not supply alt_names).  It also makes it
possible to remove some of the duplicated information from register
context declarations and/or use alt_names for another purpose.

Differential Revision: https://reviews.llvm.org/D108554
The file was modifiedlldb/source/Target/RegisterContext.cpp
The file was modifiedlldb/source/API/SBFrame.cpp
The file was modifiedlldb/source/Core/ValueObjectRegister.cpp
The file was addedlldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py
The file was modifiedlldb/include/lldb/Core/ValueObjectRegister.h
The file was modifiedlldb/source/Host/common/NativeRegisterContext.cpp
Commit e3d878bdd82e10658e7b31dc6adec4a582ba1891 by mgorny
[lldb] Remove redundant register alt_names

Remove redundant register alt_names that correspond to their respective
generic names.  D108554 makes it possible to query registers through
their generic names directly, therefore making repeating them via
alt_name unnecessary.

While at it, also remove alt_names that are equal to register names
on PPC.

This patch does not alter register definitions where the generic names
are listed as primary names, and other names are provided as alt_name
(e.g. ARM).

Differential Revision: https://reviews.llvm.org/D109626
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_s390x.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_ppc64le.h
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_ppc64.h
Commit d353d1c50112a1cb315eccdab18ce7bd1563cd06 by sven.vanhaastregt
[OpenCL] Support cl_ext_float_atomics

See https://github.com/KhronosGroup/OpenCL-Docs/pull/552 for initial
specification.

Patch by Haonan Yang.

Differential Revision: https://reviews.llvm.org/D106343
The file was modifiedclang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
The file was modifiedclang/lib/Headers/opencl-c-base.h
The file was modifiedclang/lib/Headers/opencl-c.h
The file was modifiedclang/test/Headers/opencl-c-header.cl
Commit 0213d7ec0c501414d12020737fdc47e47e4392d9 by kristof.umann
[analyzer][NFCI] Allow clients of NoStateChangeFuncVisitor to check entire function calls, rather than each ExplodedNode in it

Fix a compilation error due to a missing 'template' keyword.

Differential Revision: https://reviews.llvm.org/D108695
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was addedclang/unittests/StaticAnalyzer/NoStateChangeFuncVisitorTest.cpp
The file was modifiedclang/unittests/StaticAnalyzer/CMakeLists.txt
The file was modifiedclang/unittests/StaticAnalyzer/CallEventTest.cpp
The file was modifiedclang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
The file was modifiedclang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
The file was modifiedclang/unittests/StaticAnalyzer/CheckerRegistration.h
Commit b01d223faf8ac4d62baea8a0e1d7b6cab7938118 by nicolas.vasilache
[mlir][Linalg] Use reify for padded op shape derivation.

Previously, we would insert a DimOp and rely on later canonicalizations.
Unfortunately, reifyShape kind of rewrites are not canonicalizations anymore.
This introduces undesirable pass dependencies.

Instead, immediately reify the result shape and avoid the DimOp altogether.
This is akin to a local folding, which avoids introducing more reliance on `-resolve-shaped-type-result-dims` (similar to compositions of `affine.apply` by construction to avoid chains of size > 1).

It does not completely get rid of the reliance on the pass as the process is merely local: calling the pass may still be necessary for global effects. Indeed, one of the tests still requires the pass.

Differential Revision: https://reviews.llvm.org/D109571
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-pad-tensor-op.mlir
Commit 8008009fd25bf51c2c85c612bfefec64e975bbe4 by olemarius.strohm
[OpenCL] Initialize temporaries in the private address space

This patch fixes initializing temporaries, which are currently initialized
without an address space, meaning that no constructor can ever be applicable.
Now they will be constructed in the private addrspace.

Fixes the second issue in PR43296.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D107553
The file was modifiedclang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Sema/Initialization.h
The file was addedclang/test/SemaOpenCLCXX/temporaries.clcpp
Commit ec6c847179fd019acae4d97a18f9e7d3961a6fdf by andrew.savonichev
[clang] Check unsupported types in expressions

The patch adds missing diagnostics for cases like:

  float F3 = ((__float128)F1 * (__float128)F2) / 2.0f;

Sema::checkDeviceDecl (renamed to checkTypeSupport) is changed to work
with a type without the corresponding ValueDecl. It is also refactored
so that host diagnostics for unsupported types can be added here as
well.

Differential Revision: https://reviews.llvm.org/D109315
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaSYCL/int128.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/SemaSYCL/float128.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/OpenMP/nvptx_unsupported_type_messages.cpp
The file was modifiedclang/test/CodeGen/ibm128-unsupported.c
Commit dfc68591a6b071a6583ec8fbf982683e1689f0b9 by llvmgnsyncbot
[gn build] Port 0213d7ec0c50
The file was modifiedllvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Commit 6377426b4a326b52733065609a5d811afd2b8b1b by andrew.savonichev
Revert "[clang] Check unsupported types in expressions"

This reverts commit ec6c847179fd019acae4d97a18f9e7d3961a6fdf.

Fails on check-openmp:

/b/1/openmp-clang-x86_64-linux-debian/llvm.build/projects/openmp/runtime/test/lock/Output/omp_init_lock.c.tmp
--
Exit Code: -11
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CodeGen/ibm128-unsupported.c
The file was modifiedclang/test/OpenMP/nvptx_unsupported_type_messages.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaSYCL/int128.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/SemaSYCL/float128.cpp
Commit 5d070c8259ac64355a5b5d3fd28710a335c2a16f by Tim Northover
SwiftAsync: use runtime-provided flag for extended frame if back-deploying

When back-deploying Swift async code we can't always toggle the flag showing an
extended frame is present because it will confuse unwinders on systems released
before this feature. So in cases where the code might run there, we `or` in a
mask provided by the runtime (as an absolute symbol) telling us whether the
unwinders can cope.

When deploying only for newer OSs, we can still hard-code the bit-set for
greater efficiency.
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was addedllvm/test/CodeGen/AArch64/swift-dynamic-async-frame.ll
The file was modifiedllvm/test/CodeGen/AArch64/swift-async.ll
The file was addedllvm/test/CodeGen/X86/swift-dynamic-async-frame.ll
The file was modifiedllvm/test/CodeGen/X86/swift-async.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
Commit 648feabc65d8ec20e5d39ac88e019d310955a6e6 by thakis
[clang] Make the driver not diagnose errors on nonexistent linker inputs

When nonexistent linker inputs are passed to the driver, the linker
now errors out, instead of the compiler. If the linker does not run,
clang now emits a "warning: linker input unused" instead of an error
for nonexistent files.

The motivation for this change is that I noticed that
`clang-cl /winsysroot sysroot main.cc ole32.lib` emitted a
"ole32.lib not found" error, even though the linker finds it just fine when
I run `clang-cl /winsysroot sysroot main.cc /link ole32.lib`.

The same problem occurs if running `clang-cl main.cc ole32.lib` in a
non-MSVC shell.

The problem is that DiagnoseInputExistence() only looked for libs in %LIB%,
but MSVCToolChain uses much more involved techniques.

For this particular problem, we could make DiagnoseInputExistence() ask
the toolchain to see if it can find a .lib file, but in general the
driver can't know what the linker will do to find files, so it shouldn't
try. For example, if we implement PR24616, lld-link will look in the
registry to determine a good default for %LIB% if it isn't set.

This is less or a problem for the gcc driver, since .a paths there are
either passed via -l flags (which honor -L), or via a qualified path
(that doesn't honor -L) -- but for example ld.lld's --chroot flag
can also trigger this problem. Without this patch,
`clang -fuse-ld=lld -Wl,--chroot,some/dir /file.o` will complain that
`/file.o` doesn't exist, even though
`clang -fuse-ld=lld -Wl,--chroot,some/dir -Wl,/file.o` succeeds just fine.

This implements rnk's suggestion on the old bug PR27234.

Differential Revision: https://reviews.llvm.org/D109624
The file was modifiedclang/test/Driver/unknown-arg.c
The file was modifiedclang/test/Driver/cl-link.c
The file was modifiedflang/test/Driver/missing-input.f90
The file was modifiedclang/test/Driver/cl-inputs.c
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 96918515827be5732d1016d38767da1870107075 by Stefan Gränitz
[JITLink] Factor out forEachRelocation() function from addRelocations() in ELF Aarch64 backend (NFC)

First step in reducing redundancy in `addRelocations()` implementations across ELF JITLink backends. The patch factors out common logic for ELF relocation traversal into the new helper function `forEachRelocation()` in the `ELFLinkGraphBuilder` base class. For now, this is applied to the Aarch64 implementation. Others may follow soon.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D109516
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
Commit 9d359f6c738632c6973e9f5328b10bf39b3df55a by kristof.umann
[analyzer] MallocChecker: Add notes from NoOwnershipChangeVisitor only when a function "intents", but doesn't change ownership, enable by default

D105819 Added NoOwnershipChangeVisitor, but it is only registered when an
off-by-default, hidden checker option was enabled. The reason behind this was
that it grossly overestimated the set of functions that really needed a note:

std::string getTrainName(const Train *T) {
  return T->name;
} // note: Retuning without changing the ownership of or deallocating memory
// Umm... I mean duh? Nor would I expect this function to do anything like that...

void foo() {
  Train *T = new Train("Land Plane");
  print(getTrainName(T)); // note: calling getTrainName / returning from getTrainName
} // warn: Memory leak

This patch adds a heuristic that guesses that any function that has an explicit
operator delete call could have be responsible for deallocating the memory that
ended up leaking. This is waaaay too conservative (see the TODOs in the new
function), but it safer to err on the side of too little than too much, and
would allow us to enable the option by default *now*, and add refinements
one-by-one.

Differential Revision: https://reviews.llvm.org/D108753
The file was modifiedclang/test/Analysis/analyzer-config.c
The file was modifiedclang/test/Analysis/NewDeleteLeaks.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
Commit b4e787d8f4e4b18f977888c1ece31b0852ace010 by anna
[InstCombining] Refactor checks for TryToSinkInstruction. NFC

Moved out the checks for profitability of TryToSinkInstructions
into a lambda function.
This will also allow us to easily add checks for bailing out if the
transform is not profitable.

Tests-Run: instCombine tests.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit c82dbc2924bd37fc497cdfe581a21810aace608d by pavel
[lldb] Skip TestGuiBasicDebug due to pr51833
The file was modifiedlldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py
Commit 4b342268c0af583d0879440849a33f790f04f76f by flo
[VPlan] Add test that requires duplicating recipe for sinking.
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
Commit 7c9b6a3355ee8226a880edcf88302bc0360f33b5 by springerm
[mlir][linalg] ComprehensiveBufferize: Do not copy InitTensorOps

Do not copy InitTensorOps or casts thereof.

Differential Revision: https://reviews.llvm.org/D109656
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit 4247381e26dd6ec476ef9873f5b7db1e01aad2b6 by muiez
[SystemZ][z/OS] Missing wchar functions libc++

The aim is to add the missing z/OS specific implementations for mbsnrtowcs and wcsnrtombs, as part of libc++.

Differential Revision: https://reviews.llvm.org/D98207
The file was modifiedlibcxx/src/CMakeLists.txt
The file was modifiedlibcxx/include/wchar.h
The file was addedlibcxx/src/support/ibm/mbsnrtowcs.cpp
The file was addedlibcxx/src/support/ibm/wcsnrtombs.cpp
Commit dd5808330484ad3b82ba92ae1a249127b0e0bbb4 by mgorny
[lldb] [test] Remove parent output checks from follow-child tests

Remove the parent output checks, as they make the test flaky while
serving no real purpose.  If the parent crashed/hanged, it will never
resume the child and the test would fail anyway.
The file was modifiedlldb/test/Shell/Subprocess/vfork-follow-child.test
The file was modifiedlldb/test/Shell/Subprocess/vfork-follow-child-wp.test
The file was modifiedlldb/test/Shell/Subprocess/fork-follow-child-wp.test
The file was modifiedlldb/test/Shell/Subprocess/fork-follow-child-softbp.test
The file was modifiedlldb/test/Shell/Subprocess/clone-follow-child.test
The file was modifiedlldb/test/Shell/Subprocess/clone-follow-child-wp.test
The file was modifiedlldb/test/Shell/Subprocess/vfork-follow-child-softbp.test
The file was modifiedlldb/test/Shell/Subprocess/fork-follow-child.test
Commit 80b60580dfb6192ac3105e127a82254880b81305 by thakis
[gn build] (semi-manually) port 4247381e26dd
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
Commit d5c049a3f68791490e8c87d9974e9831ede0ada0 by jonathanchesterfield
[openmp] Fix 51647, corrupt bitcode on amdgpu

Patch by @dpalermo

The corrupt bitcode reported in https://bugs.llvm.org/show_bug.cgi?id=51647 seems to be a result of a later pass changing the workfn variable to addrspace(5) (thread private, on the stack). That seems reasonable for an alloca without an address space so it's an open question why that can crash the bitcode reader.

This change puts it in the thread private address space to begin with which means whatever misfired further down the pipeline does not break it. That matches the codegen from clang where stack variables are always annotated (5) and then addrspace cast prior to following use.

This therefore patches around whatever unsuccessfully moved the alloca variable to addrspace(5). That solves the problem of openmp opt producing code that crashes the bitcode reader. It should be possible to create a minimal repro for the underlying bug based on some handwritten IR that uses an alloca in a generic address space.

Reviewed By: ronlieb, jdoerfert, dpalermo-phab

Differential Revision: https://reviews.llvm.org/D109500
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
The file was modifiedllvm/test/Transforms/OpenMP/spmdization.ll
Commit cc84ce91293bdb658f658696ac9ccaa7cdb239b8 by gchatelet
Revert "[libc] Some clean work with memmove."

This reverts commit b659b789c03ac339e28d7b91406b67bb887a426d.
The file was modifiedlibc/test/src/string/memmove_test.cpp
The file was modifiedlibc/src/string/memmove.cpp
The file was modifiedlibc/src/string/CMakeLists.txt
Commit 5f781ddffc0c93629b1a4998bf9f92cea7d6176a by paulsson
[MLIR]  Mark test case XFAIL on SystemZ for now.

mlir-cpu-runner/math_polynomial_approx.mlir

This test case is currently failing on SystemZ, but it does not appear to
necessarily be a target specific problem. See discussion at
https://bugs.llvm.org/show_bug.cgi?id=51204.
The file was modifiedmlir/test/mlir-cpu-runner/math_polynomial_approx.mlir
Commit 0fc3ebb70a2d71d4b13102ed932a23a386104c17 by VenkataRamanaiah.Nalamothu
[SelectionDAG][NFC] Fix typo in VerifyDAGDiverence() function name

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D109674
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Commit 9db20822f795f1057d5ba31bdc2aa82a6d96a6a0 by llvm-dev
[APInt] Add APIntOps::ScaleBitMask helper

APInt is used to describe a bit mask in a variety of value tracking and demanded bits/elts functions.

When traversing through dst/src operands, we have a number of places where these masks need to widened/narrowed to translate through bitcasts, reductions etc. to a different type.

This patch add a APIntOps::ScaleBitMask common helper, adds unit test coverage, and updates a number of cases to use the the helper instead of their own implementation.

This came up on D109065 where we currently have to add yet another implementation of the same code.

Differential Revision: https://reviews.llvm.org/D109683
The file was modifiedllvm/lib/Support/APInt.cpp
The file was modifiedllvm/include/llvm/ADT/APInt.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/unittests/ADT/APIntTest.cpp
Commit ec92f788f34373eafb8b1663245a6ab425405abb by marius.brehler
[mlir][emitc] Print signed integers properly

Previously negative integers were printed as large unsigned values.

Reviewed By: marbre

Differential Revision: https://reviews.llvm.org/D109690
The file was modifiedmlir/lib/Target/Cpp/TranslateToCpp.cpp
The file was modifiedmlir/test/Target/Cpp/const.mlir
Commit abca4c012f2a0938508db5af7ea421f426336663 by kazu
[Utils] Use make_early_inc_range (NFC)
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnroll.cpp
The file was modifiedllvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
Commit 181d18ef53db1e5810bf6b905fbafc91da9b5baa by nicolas.vasilache
[mlir][Linalg] Insert static buffers as high as possible during ComprehensiveBufferization.

This revision allows hoisting static alloc/dealloc pairs as high as possible during ComprehensiveBufferization.
This also aligns such allocated buffers to 128B by default.

This change exhibited some issues wrt insertion points and a missing copy that are also fixed in this revision; tests are updated accordingly.

Differential Revision: https://reviews.llvm.org/D109684
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
Commit 726b5d3416714c29ad24837c838aa376999531dd by VenkataRamanaiah.Nalamothu
[RegScavenger][NFC] Refer to the already initialized local variable for spill slot index

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D109501
The file was modifiedllvm/lib/CodeGen/RegisterScavenging.cpp
Commit 1a56a291c5ab4681fb34386f1501336545daa8d6 by thakis
[gn build] Fix typos in config visibility lists

GN https://gn-review.googlesource.com/c/gn/+/12140 identified these
typos. Fix them.

No effective behavior change.
The file was modifiedllvm/utils/gn/secondary/lld/Common/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lldb/source/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn
Commit 5746c76f3fc93cc1a21caf24e35b638218a6eed7 by listmail
Revert "[IndVars] Break backedge and replace PHIs if loop exits on 1st iteration"

This reverts commit d9ca444835e67960df927d5b8cade57776fdd8cb.  See review for why.
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
Commit 6fec6552f54885ae06bf76b35f9f1173a0561a4c by listmail
Revert "[IndVars] Replace PHIs if loop exits on 1st iteration"

This reverts commit 5a6dfb27ca7424f15a20f9bb7ec90d858865faa3.  See original review for why.
The file was modifiedllvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit bfcf979978df11bb1b664368341b368356bc3430 by jonathanchesterfield
Revert "[openmp] Fix 51647, corrupt bitcode on amdgpu"

This reverts commit d5c049a3f68791490e8c87d9974e9831ede0ada0.
Going to re-commit it in pieces for easier application to 13
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/test/Transforms/OpenMP/spmdization.ll
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
Commit 71052ea1e3c63b7209731fdc1726d10640d97480 by jonathanchesterfield
[openmp] Apply code change from D109500
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 6775ad2025fc74c76fc440efb1de98de2179b6bc by jonathanchesterfield
[openmp] Apply test change from D109500
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
The file was modifiedllvm/test/Transforms/OpenMP/spmdization.ll
Commit c4fa2c8aa493e4c786446739ba3eb0eb4918d579 by apl
[lldb] Fix warning in MinidumpFileBuilder.cpp

Fixes the following warning:

$llvm_project/lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp:744:11: warning:
format specifies type 'long' but the argument has type 'lldb::offset_t' (aka 'unsigned long long') [-Wformat]
          m_data.GetByteSize());
          ^~~~~~~~~~~~~~~~~~~~
The file was modifiedlldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
Commit b8f6c1fd967a583f2565ba2b16f9ab5f0d304dbc by David CARLIER
[Sanitizers] intercept getgrouplist on Linux and FreeBSD.

Reviewed By: vitalyb

Differential Revision: https://reviews.llvm.org/D109641
The file was removedcompiler-rt/test/sanitizer_common/TestCases/NetBSD/getgrouplist.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit 340314c4dcc801d8f493c45cafd79c79c6e8e58e by gcmn
Reorder mmt4d shapes:

* Revert https://reviews.llvm.org/D107307 so that both LHS and RHS have
  the same layout with K0 as the innermost dimension.

* Continuing from https://reviews.llvm.org/D107003, move also 'K'
  to the outer side, so that now the inter-tile dimensions as all outer,
  and the intra-tile dimensions are all inner.

Reviewed By: asaadaldien

Differential Revision: https://reviews.llvm.org/D109692
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
Commit b39f6a79ee88ea0c626a467ade032f052c9ce139 by dsuchkov
[ADT] Extend EnableIfCallable for callables with incomplete returns

std::is_convertible has no defined behavior when its arguments
are incomplete, even if they are equal. In practice, it returns false.
Adding std::is_same allows us to use the constructor using a callable,
even if the return value is incomplete. We also check the case where
we convert a T into a const T.

Reviewed By: DaniilSuchkov

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

Committer: Daniil Suchkov <dsuchkov@azul.com>
The file was modifiedllvm/include/llvm/ADT/FunctionExtras.h
The file was modifiedllvm/unittests/ADT/FunctionExtrasTest.cpp
Commit b9a8f34d476e03a22fb7e75aef265febc7fd21fd by arnamoy.bhattacharyya
[flang][OpenMP] Add parsing support for nontemporal clause.

This patch adds parsing support for the nontemporal clause.  Also adds a couple of test cases.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D106896
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
The file was addedflang/test/Parser/omp-nontemporal-unparse.f90
The file was modifiedflang/lib/Semantics/resolve-directives.cpp
The file was addedflang/test/Semantics/omp-nontemporal.f90
The file was modifiedflang/include/flang/Semantics/symbol.h
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
Commit 5b5d774f5d3840a1e242f0ef5873d735ccf817a4 by fmayer
[hwasan] Respect returns attribute when tracking values.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D109233
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
Commit 0a22510f3e649d5d84cc404690cfb374fab46238 by fmayer
[value-tracking] see through returned attribute.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D109675
The file was modifiedllvm/unittests/Analysis/ValueTrackingTest.cpp
The file was modifiedllvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit dc08cfae091df6fdd625ebb2c5b047b3c96000d8 by David CARLIER
[Sanitizers] intercept accept4 on freebsd
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit 0867c017e55e3a3d457f26bb778a2cd80d86e1f4 by i
[ClangScanDeps][test] Add -fmodules-cache-path=DIR/cache to make diagnostics.c hermetic

Otherwise it may access sys::path::cache_directory/clang/ModuleCache which may not be writable.
The file was modifiedclang/test/ClangScanDeps/Inputs/diagnostics/cdb.json.template
Commit e69d359841b6358f1d17569212ef8cf91244ca11 by i
[lldb] Actually fix format specifier after D108233

And revert c4fa2c8aa493e4c786446739ba3eb0eb4918d579
The file was modifiedlldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp