FailedChanges

Summary

  1. Revert "Remove aarch64-sve-vector-bits-min compile flag from SVE 2 stage bot" (details)
  2. Update config for aosp-O3-polly-before-vectorizer-unprofitable (details)
  3. [sanitizer] Run two builds at the time (details)
  4. [NFC][sanitizer] Remove misleading comment (details)
  5. [sanitizer] Move cpplint to the end of the build (details)
  6. [sanitizers] Don't run cpplint (details)
Commit cd75632349bb753e715bf16255b24f7c437f1b04 by david.spickett
Revert "Remove aarch64-sve-vector-bits-min compile flag from SVE 2 stage bot"

This reverts commit 24c07902d058abcee3bcf908676bacaae1f3d448.

The issue is still present but given that it's not sending out any
new notifications I'm going to leave it as is for now.

It actively building is somewhat useful for those working on
the issue to know what the current status is.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 809c1a1a80bc0e895c0ba9c936052f1e93c33bb5 by efriedma
Update config for aosp-O3-polly-before-vectorizer-unprofitable

The bot has moved to a new host with a newer AOSP codebase. Update the
buildbot config to match.

Change-Id: I474f4503078acdf4109ce755228379ae81a39be7
The file was modifiedzorg/buildbot/builders/AOSPBuilder.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 2eb229fcf1b06b83fc9b4d95e58e9ff26c3753b8 by Vitaly Buka
[sanitizer] Run two builds at the time
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
Commit 2e12550f4a2a23acd7dbf1347b9f1ed131a14e38 by Vitaly Buka
[NFC][sanitizer] Remove misleading comment
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
Commit ffa52434c1467bdbf1bdba739f1153760900aba2 by Vitaly Buka
[sanitizer] Move cpplint to the end of the build
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh (diff)
Commit 855fdb4cdc09e306370533c0715897e6ac7f3027 by Vitaly Buka
[sanitizers] Don't run cpplint

The script was removed.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh (diff)

Summary

  1. [clang][tooling] Link clangDriver to ToolingTests (details)
  2. [NFC] Reflow some debug messages. (details)
  3. [RISCV] Add support for vector saturating add/sub operations (details)
  4. [clang-cl] Expose -fmodules and related flags in the driver (PR43391) (details)
  5. Revert "sanitizer_common: split LibIgnore into fast/slow paths" (details)
  6. [clang][tooling] Link LLVMOption to ToolingTests (details)
  7. [SelectionDAG] Support scalable splats in U(ADD|SUB)SAT combines (details)
  8. [mlir] Fix typo s/applyPermuationMap/applyPermutationMap/ (details)
  9. [GlobalISel] Constant fold G_SITOFP and G_UITOFP in CSEMIRBuilder (details)
  10. [flang] Fix thinko in CPU_TIME test (details)
  11. [flang] Fix minor style issues. NFC (details)
  12. [LV] Disable Scalable VFs when tail folding is enabled b/c of low tripcount. (details)
  13. [lldb][AArch64] Add memory tag writing to lldb-server (details)
  14. [X86] Add PR37025 test coverage (details)
  15. [LangRef][NFC] Fix variable name in llvm.maxnum docs (details)
  16. [PowerPC] add more testcases for ld_splat; nfc (details)
  17. [clang/darwin] Pass libclang_rt.profile last on linker command (details)
  18. Convert the error to warning for enabling OMPD in non-Linux platform (details)
  19. [lldb] Wait in TestGuiBasicDebug for the interface to open before quitting the welcome screen (details)
  20. [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR (details)
  21. [clangd] Use function pointer instead of function_ref to avoid GCC 5 bug (details)
  22. [flang][driver] Make `flang` ignore `-Mfree/-Mfixed` (details)
  23. [clangd] Add platform triple (host & target) to version info (details)
  24. [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR (details)
  25. [DebugInfo][InstrRef] Handle llvm.frameaddress intrinsics gracefully (details)
  26. [clang][Driver] Expose driver mode detection logic (details)
  27. Revert "Revert "[clangd] Canonicalize compile flags before applying edits"" (details)
  28. Revert "Revert "[clangd] Adjust compile flags to contain only the requested file as input"" (details)
  29. [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR (details)
  30. [IVDescriptors] Fix bug in checkOrderedReduction (details)
  31. Handle unused variable when assertions are disabled (details)
  32. [libc++] NFC: Try to trigger Docker image rebuild on CI nodes (details)
  33. [clang-repl] Build and install clang-repl by default. (details)
  34. [DebugInfo][InstrRef] Correctly update DBG_PHIs during instr scheduling (details)
  35. [lldb][AArch64] Add memory tag writing to lldb (details)
  36. [libc++] [c++2b] [P2166] Prohibit string and string_view construction from nullptr. (details)
  37. Revert "[X86][AVX] Add getBROADCAST_LOAD helper function. NFCI." (details)
  38. Revert "Revert "[X86][AVX] Add getBROADCAST_LOAD helper function. NFCI."" (details)
  39. Revert "[X86][AVX] Add getBROADCAST_LOAD helper function. NFCI." (details)
  40. Strip undef implying attributes when moving calls (details)
  41. [SystemZ][z/OS] Initial code to generate assembly files on z/OS (details)
  42. Revert "[clang][pp] adds '#pragma include_instead'" (details)
  43. [OpenCL] NULL redefined as nullptr in C++ mode. (details)
  44. Update isl to isl-0.24-69-g54aac5ac (details)
  45. [WebAssembly] Codegen for extmul SIMD instructions (details)
  46. AMDGPU: Treat IMPLICIT_DEF like a constant lanemask source (details)
  47. [mlir][sparse] fixed bug in verification (details)
  48. Re-engineer MLIR python build support. (details)
  49. AMDGPU: Update tests for lower i1 change (details)
  50. [mlir] Math: add algebraic simplification patterns to math transforms (details)
  51. Update reduction test. Remove standalone test file (details)
  52. [LoopVectorize] Don't interleave scalar ordered reductions for inner loops (details)
  53. Enabling the copy-constant-to-alloca optimization in more instances (details)
  54. [AArch64] Update and expand min-max cost model test. NFC (details)
  55. [clang][fpenv][patch] Change clang option -ffp-model=precise to select ffp-contract=on (details)
  56. [RISCV] Select vector shl by 1 to a vector add. (details)
  57. [libc++] CI: Run -std=c++03 on Clang ToT (details)
  58. [runtimes] Always build libc++, libc++abi and libunwind with -fPIC (details)
  59. [lld/mac] When loading reexports, look for basename in -F / -L first (details)
  60. Add jump-threading optimization for deterministic finite automata (details)
  61. [Matrix] RAUW should only replace an instruction in ShapeMap if supportsShapeInfo (details)
  62. [Matrix] Fix shape for factored transpose (details)
  63. [lld/mac] Fix application-extension.s failure after 8e8701abca3d4 (details)
  64. [gn build] Port 02077da7e7a8 (details)
  65. [dfsan][NFC] Update API interfaces (details)
  66. [ASAN] NFC: Remove redundant variable (details)
  67. [AArch64][GlobalISel] Fix constraining LDXPX intrinsic selection. (details)
  68. Add test update for a11d9a1f480f which disables fallbacks. (details)
  69. Remove unused include that's also a layering violation. NFC. (details)
  70. [SystemZ][z/OS][libcxx]: Disable align_val_t test cases on z/OS (details)
  71. [lld/mac] Fix sub-library.s on Windows after 8e8701abca3d4f0 (details)
  72. [z/OS] Make MinGlobalAlign consistent with SystemZ (details)
  73. [hwasan] Fix stack safety test for old PM. (details)
  74. AMDGPU/GlobalISel: Add a few tests for unaligned truncating stores (details)
  75. AMDGPU/GlobalISel: Fix wrong addrspace in test MMOs (details)
  76. AMDGPU/GlobalISel: Fix selecting G_SEXTLOAD/G_ZEXTLOAD pre-gfx9 (details)
  77. [flang] Disallow BOZ literal constants as output list items (details)
  78. [libclang] Check LLVM_HAVE_LINK_VERSION_SCRIPT (details)
  79. [mlir][bzl] Fix typo (details)
  80. [libc++] Disable incomplete library features. (details)
  81. Fix "break delete --disabled" with no arguments. (details)
  82. When calculating the "currently selected thread" in (details)
  83. Add a test for top-level expressions using "expr --top-level". (details)
  84. [libc] Enable MPFR library for math functions test (details)
  85. [PDL] Remove RewriteEndOp and mark RewriteOp as NoTerminator (details)
  86. [mlir] Add a FailureOr copy constructor from a FailureOr of a convertible type. (details)
  87. [x86] add more tests for cmov and lea; NFC (details)
  88. [x86] update stale code comment; NFC (details)
  89. [PowerPC] Turn deprecated altivec prefetch instrs to nops on AIX (details)
  90. [libc] Fix x86_64 fenv implementation for windows (details)
  91. [dfsan][NFC] Describe how origin trace tracking works (details)
  92. [OpenMP] Creating the `omp_target_num_teams` and `omp_target_thread_limit` attributes to outlined functions (details)
  93. [lldb][NFC] Fix incorrect log and comment (details)
  94. [libc] Fix strtok_r crash when src and *saveptr are both nullptr (details)
  95. [OpenMP] Fix deadlock for detachable task with child tasks (details)
  96. [NFC][MLGO] Debug messages for what inline advisor is selected (details)
  97. [OpenMP][Tests] Fix test compatibility (details)
  98. [MLGO] fix silly LLVM_DEBUG misuse (details)
  99. [AIX] Update fetch_and_add type (details)
  100. [Libomptarget] Revert new variable sharing to use the old method (details)
  101. [gn build] manually port 71909de37495 (details)
  102. [lld][ELF] remove empty SyntheticSections from inputSections (details)
  103. Fix test/Transforms/LoopVectorize/AArch64/strict-fadd-vf1.ll. (details)
  104. [compiler-rt][hwasan][Fuchsia] Do not emit FindDynamicShadowStart for Fuchsia (details)
  105. [libcxx][nfc] Delete `cpp20_input_iterator`'s default constructor. (details)
  106. [libcxx][ranges] Add `counted_iterator`. (details)
  107. [Attributor] Disable simplification AAs if a callback is present (details)
  108. [OpenMP] Improve alignment handling in the new device runtime (details)
  109. [Attributor] Verify `checkForAllUses` return value properly (details)
  110. Revert "[Attributor] Disable simplification AAs if a callback is present" (details)
  111. [gn build] Port 8a48e6dda9f7 (details)
  112. Revert "[ELF] --gc-sections: allow GC on reserved sections in a group" (details)
  113. [Hexagon] Fix resetting dead registers in DBG_VALUE_LISTs (details)
  114. Create synthetic symbol names on demand to improve memory consumption and startup times. (details)
  115. [PDL] Fix the builders for OperationOp and PatternOp (details)
  116. [PDL] Mark PatternOp as SingleBlock (details)
  117. [X86] Fix lowering to illegal type in LowerINSERT_VECTOR_ELT (details)
  118. [libc++] Fix a few warnings in system headers with GCC (details)
  119. Add llvm::equal convenient wrapper for ranges around std::equal (details)
  120. Revert "[X86] Fix lowering to illegal type in LowerINSERT_VECTOR_ELT" (details)
  121. Reapply "[Attributor] Disable simplification AAs if a callback is present"" (details)
  122. [X86] Fix lowering to illegal type in LowerINSERT_VECTOR_ELT (details)
  123. Precommit test files for D105344 (NFC) (details)
  124. [DAGCombiner] Fold SETCC(FREEZE(x),const) to FREEZE(SETCC(x,const)) if SETCC is used by BRCOND (details)
  125. llvm/utils: guarantee revert_checker's revert ordering (details)
  126. [clang] NFC: change uses of `Expr->getValueKind` into `is?Value` (details)
  127. [OpenMP] Folding threadLimit and numThreads when single value in kernels (details)
  128. [OpenMP][Libomptarget] Adding `print_device_info` to RTL and `omptarget` (details)
  129. [lld] Replace LLVM_ATTRIBUTE_NORETURN with [[noreturn]] (details)
  130. [mlir] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] (details)
  131. Fix a thinko in the parsing of substitutions in CommandObjectRegexCommand. (details)
  132. [mlir][openacc] Initial translation for DataOp to LLVM IR (details)
  133. [OpenMP][Tool] Introducing the `llvm-omp-device-info` tool (details)
  134. [OpenMP] Fixing missing variables when CUDA SDK not in system (details)
  135. Bump the trunk major version to 14 (details)
  136. Emit strong definition for TypeID storage in Op/Type/Attributes definition (details)
  137. [AMDGPU] We would need FP if there is call and caller save VGPR spills (details)
  138. Revert "Emit strong definition for TypeID storage in Op/Type/Attributes definition" (details)
  139. Revert "sanitizers: increase .clang-format columns to 100" (details)
  140. [SLP][X86] Fix naming consistency of dot product tests. NFC. (details)
  141. [ORC] Fix missing include. (details)
  142. [LLDB] Skip HW breakpoints test_step_until on Arm/Linux (details)
  143. Revert "[LLDB] Skip HW breakpoints test_step_until on Arm/Linux" (details)
  144. [clang-format] Correctly attach enum braces with ShortEnums disabled (details)
  145. Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR" (details)
  146. [lldb] Add "memory tag write" command (details)
  147. [lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure (details)
  148. [ARM] Extra MVE reduction vectorizer tests. NFC (details)
  149. [mlir][memref] Fix collapsed shape ops memref.cast folding with changed type (details)
  150. [LLDB] Skip HW breakpoints test_step_until on Arm/Linux (details)
  151. [LLDB] Skip TestGuiBasicDebug.py on Arm/AArch64 Linux (details)
  152. [libcxx] Bump __libcpp_version to 14 after branch (details)
  153. [mlir][linalg] Introduce a separate EraseIdentityCopyOp Pattern. (details)
  154. Allow #pragma float_control(push|pop) within a language linkage specification (details)
  155. [mlir][linalg] Specialize LinalgOp canonicalization patterns (NFC). (details)
  156. [LV][ARM] Tighten up MLA reduction costing (details)
  157. [LV] Move recurrence backedge fixup code to VPlan::execute (NFC). (details)
  158. [LTO][Legacy] Add new API to check presence of ctor/dtor functions. (details)
  159. [clang-tidy] Fix crash on "reference-to-array" parameters in 'bugprone-easily-swappable-parameters' (details)
  160. [SLP]Improve graph reordering. (details)
  161. [X86][AVX] Move VPERM2F128 defs above VINSERTF128 defs. NFC. (details)
  162. [lldb] Add "memory tag write" --end-addr option (details)
  163. sanitizers: switch BlockingMutex(LINKER_INITIALIZED) to Mutex (details)
  164. sanitizer_common: prohibit Mutex(LINKER_INITIALIZED) (details)
  165. sanitizer_common: replace RWMutex/BlockingMutex with Mutex (details)
  166. [x86] improve CMOV codegen by pushing add into operands, part 3 (details)
  167. [SLP]Fix build on MacOS, NFC. (details)
  168. [InstSimplify] Simplify llvm.vscale when vscale_range attribute exists (details)
  169. [AsmParser] Remove unused declaration parseOptionalCommaInAlloca (NFC) (details)
  170. [mlir][spirv] Fix a few issues in ModuleCombiner (details)
  171. [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly (details)
  172. [DebugInfo][InstrRef] Don't break up ret-sequences on debug-info instrs (details)
  173. [Utils] Support class template specializations in update_cc_test_checks (details)
  174. [Clang interpreter] Avoid storing pointers at unaligned locations (details)
  175. [libc] Simplify implementation of benchmarks (details)
  176. [DivRemPairs] make sure we have a valid CFG for hoisting division (details)
  177. [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR (details)
  178. tsan: fix warnings in tests (details)
  179. tsan: extend signal_malloc test (details)
  180. tsan: increase max number of threads supported by test-only barrier (details)
  181. tsan: improve lots_of_threads test (details)
  182. Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR" (details)
  183. [libc++][nfc] Improve error diagnostics. (details)
  184. [RISCV] Restrict performANY_EXTENDCombine to prevent an infinite loop. (details)
  185. [RISCV] Fix grammar in a comment. NFC (details)
  186. Revert "[lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure" (details)
  187. [NFC][PowerPC] Fix spe.ll to work with update_llc_test_checks.py again (details)
  188. [mlir] harden result type verification in llvm.call (details)
  189. [mlir] run the verifier before translating a module (details)
  190. [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] (details)
  191. [mlir][sparse] use proper type alias for filename ptr (details)
  192. Simplify allowing pragma float_control in a linkage specification (details)
  193. Revert "Revert of D49126 [PredicateInfo] Use custom mangling to support ssa_copy with unnamed types." (details)
  194. [PredicateInfo] Use Intrinsic::getDeclaration now that it handles unnamed types. (details)
  195. [LoopFlatten] Fix bug where SCEVCouldNotCompute object is used (details)
  196. [trace] Introduce Hierarchical Trace Representation (HTR) and add  command for Intel PT trace visualization (details)
  197. tsan: remove unused pc arguments (details)
  198. tsan: remove mblock types (details)
  199. tsan: add more micro benchmarks (details)
  200. [MCA] Moving the target specific CustomBehaviour impl. from /tools/llvm-mca/ to /lib/Target/. (details)
  201. tsan: print alloc stack for Java objects (details)
  202. tsan: don't use caller/current PC in Java interfaces (details)
  203. tsan: strip __libc_start_main frame (details)
  204. sanitizer_common: avoid compiler-interted memset in deadlock detector (details)
  205. tsan: don't print __tsan_atomic* functions in report stacks (details)
  206. Add some missing CMake dependencies between MLIR dialects (NFC) (details)
  207. Emit strong definition for TypeID storage in Op/Type/Attributes definition (details)
  208. [ARM] Fix llvm-objdump disassembly of armv7m object files. (details)
  209. COFF/ELF: Place llvm.global_ctors elements in llvm.used if comdat is used (details)
  210. [DebugInfo][docs] Fix DISubprogram fields (details)
  211. [libcxx][ranges] Add ranges::take_view. (details)
  212. Optionally eliminate blocking runtime.await calls by converting functions to coroutines. (details)
  213. [ELF][test] Delete unneeded --triple=thumb* from llvm-objdump RUN lines (details)
  214. [ELF][test] Convert --start-address= and --stop-address= values to hexadecimal (details)
  215. [Bazel] Update for dbed061bf1 (details)
  216. [Bazel] Added missing targets to LLVM bazel rules. (details)
  217. Revert "[trace] Introduce Hierarchical Trace Representation (HTR) and add  command for Intel PT trace visualization" (details)
  218. [libc++] Add UNSUPPORTED for clang-14 since the underlying bug hasn't been fixed yet (details)
  219. [clang] Evaluate strlen of strcpy argument for -Wfortify-source. (details)
  220. [trace] Introduce Hierarchical Trace Representation (HTR) and add  command for Intel PT trace visualization (details)
  221. [mlir] Set the namespace of the BuiltinDialect to 'builtin' (details)
  222. Revert "Emit strong definition for TypeID storage in Op/Type/Attributes definition" (details)
  223. [clang] NFC: refactor multiple implementations of getDecltypeForParenthesizedExpr (details)
  224. [clang] fix concepts crash on substitution failure during normalization (details)
  225. [libc] add strncmp to strings (details)
  226. [profile] Add underscore to /alternatename for Win/x86 (details)
  227. [gn build] Add support for Win/x86 compiler-rt (details)
  228. [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR (details)
  229. [NFC][Codegen][X86] Autogenerate check lines in avx.ll test (details)
  230. [AArch64][GlobalISel] Improve legalization for odd-sized G_ICMP/G_CONSTANT (details)
  231. [Bazel] Fix digest for bazel-skylib 1.0.3 (details)
  232. [gn build] Manually port dbed061b (details)
  233. [lld-macho] Downgrade "cannot export hidden symbol" to warning (details)
  234. [Attributor] Change function internalization to not replace uses in internalized callers (details)
  235. [gn build] Port 0f4b41e03853 (details)
  236. [Attributor] Don't test internalization in the CGSCC pass. (details)
  237. [tsan] Fix Darwin build after D106973 (details)
  238. Revert "[tsan] Fix Darwin build after D106973" (details)
  239. [tsan] Fix Darwin build after D106973 (details)
  240. NFC: Adapt operation.py to builtin operation print format changes. (details)
  241. Emit strong definition for TypeID storage in Op/Type/Attributes definition (details)
  242. Break apart the MLIR ExecutionEngine from core python module. (details)
  243. [AArch64][GlobalISel] Improve legalization for odd-type G_LOAD (details)
  244. [llvm-objcopy][MachO] Ignore all LC_SUB_* commands. (details)
  245. [libFuzzer] Fix CFI Directives for fuchsia (details)
  246. [asan][fuchsia] Implement PlatformUnpoisonStacks (details)
  247. [ThinLTO] Disallow importing for functions with indir branch to block address (details)
  248. [libc++] Implement the resolutions of LWG3506 and LWG3522. (details)
  249. [RISCV][test] Add new tests for mul optimization in the zba extension with SH*ADD (details)
  250. [RISCV] Optimize mul in the zba extension with SH*ADD (details)
  251. [MBP] findBestLoopTopHelper should exit if OldTop is not a chain header (details)
  252. [libc++] money_get::do_get() set failbit and eofbit if iterator begin equals end (details)
  253. [libc++] Remove unused variables in generate_private_header_tests.py. NFCI. (details)
  254. [libc++][modularisation] Split <compare> into internal headers. (details)
  255. [gn build] Port 61c35fb0c2c9 (details)
  256. NFC: Add missing import to integration test. (details)
  257. Update file names and extensions for MLIR Python execution engine changes. (details)
  258. [Preprocessor] -E -P: Ensure newline after 8 skipped lines. (details)
  259. libcang: Add missing function to libclang.map (details)
  260. [libc][NFC] Add noreturn and constexpr qualifiers where appropriate (details)
  261. [test] Fix tools/gold/X86/comdat-nodeduplicate.ll on non-X86 hosts (details)
  262. Add `all_of_zip` to STLExtras (details)
  263. Implement recursive support into OperationEquivalence::isEquivalentTo() (details)
  264. [NFC][X86] add missing tests in clang/test/CodeGen/attr-target-mv.c (details)
  265. [libc++] Remove excess whitespace in synopsis comment. NFCI. (details)
  266. tsan: fix java_symbolization test (details)
  267. tsan: remove /**/ at the of multi-line macros (details)
  268. tsan: switch from SSE3 to SSE4.2 (details)
  269. [NFC][InstSimplify] Use more intuitive variable names. (details)
  270. [libcxx][doc] Update the build documentation. (details)
  271. [clang-format] Fix aligning with linebreaks #2 (details)
  272. test-release.sh: Kill python2 (details)
  273. [RISCV] Add test case showing suboptimal BUILD_VECTOR lowering (details)
  274. [RISCV] Optimize floating-point "dominant value" BUILD_VECTORs (details)
  275. [LoopFlatten] Fix missed LoopFlatten opportunity (details)
  276. Fix FindZ3.cmake to support static libraries and Windows (details)
  277. [mlir] Remove the default isDynamicallyLegal hook (details)
  278. [mlir] Put back virtual ~ConversionTarget(), some users started relying on it (details)
  279. [AMDGPU][GlobalISel] Insert an and with exec before s_cbranch_vccnz if necessary (details)
  280. [lldb][AArch64] Annotate synchronous tag faults (details)
  281. NFC: Change quotes from Unicode to ASCII (details)
  282. [AArch64][GlobalISel] More widenToNextPow2 changes, this time for arithmetic/bitwise ops. (details)
  283. [AArch64][AsmParser] NFC: Parser.getTok() -> getTok() (details)
  284. [flang][driver] Forward `-fopenmp`/`-fopenacc` to the host compiler (details)
  285. tsan: rename deadlock detector Mutex to UserMutex (details)
  286. sanitizer_common: remove BlockingMutex and RWMutex (details)
  287. tsan: store ThreadRegistry in Context by value (details)
  288. Follow-up to D105207, only salvage affine SCEVs to avoid a crash (details)
  289. bugprone-forwarding-reference-overload: support non-type template parameters (details)
  290. [Utils] Do not remove comments in llc test script (details)
  291. [AArch64][SVE] Fix incorrect mask type when lowering fixed type SVE gather/scatter (details)
  292. [MCA] Use LSU for the in-order pipeline (details)
  293. [AArch64][x86] add tests for add-with-overflow folds; NFC (details)
  294. [Orc][examples] Adopt ExecutorProcessControl API and re-enable LLJITWithRemoteDebugging (details)
  295. [DAGCombiner] don't try to partially reduce add-with-overflow ops (details)
  296. [lldb] Assert filecache and live memory match on debug under a setting (details)
  297. [libomptarget][amdgpu] Update printed plugin name (details)
  298. Set TargetCPUName for AIX to default to pwr7. (details)
  299. [ELF] Add two new tests showing broken .tbss alignment if first in PT_TLS (details)
  300. [ELF] Align the first section of a PT_TLS even if its type is SHT_NOBITS (details)
  301. [CodeGen] Remove getPseudoProbeAttribute and addPseudoProbeAttribute (NFC) (details)
  302. [DWARF5] Only fallback to manual index if no entry was found (details)
  303. [libc] rewrite aarch64 memcmp implementation (details)
  304. tsan: add another test for atomics (details)
  305. [PowerPC] Fix return type of XL compat CAS (details)
  306. Revert "[LoopFlatten] Fix missed LoopFlatten opportunity" (details)
  307. tsan: add intrusive doubly-linked list (details)
  308. [lld-macho] Support common symbols in bitcode (but differently from ld64) (details)
  309. [lld-macho][nfc] Simplify common-symbol-coalescing test (details)
  310. tsan: restore Initialize call in Java entry points (details)
  311. tsan: s/CHECK/DCHECK/ in tsan_interface_java.cpp (details)
  312. tsan: introduce LazyInitialize (details)
  313. [mlir][linalg] Format bufferization debug print outs (NFC). (details)
  314. Add an escape-hatch for conversion of funcs with blocking awaits to coroutines. (details)
  315. Handle subregs and superregs in callee-saved register mask (details)
  316. [OpenMP][Tools][Tests][NFC] Address flaky archer tests (details)
  317. [clang][patch][FPEnv] Make initialization of C++ globals strictfp aware (details)
  318. [DSE] Transform memset + malloc --> calloc (PR25892) (details)
  319. [clang][patch] Remove erroneous run line committed in D102343 (details)
  320. [lldb] Fix FunctionDecl::Create after D102343 (details)
  321. Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]. NFC (details)
  322. [Support] Remove LLVM_ATTRIBUTE_NORETURN (details)
  323. [gn build] Manually add file (details)
  324. Support macro deprecation #pragma clang deprecated (details)
  325. Fixing broken docs build (details)
  326. Revert "[lldb] Assert filecache and live memory match on debug under a setting" (details)
  327. [AIX] Pass the -b option to linker on AIX (details)
  328. [libc++][NFC] Make private header generation CMake comment more consistent (details)
  329. [SLP][NFC]Add a test for split loads, NFC. (details)
  330. [lld-macho] Change personalities entry type to Ptr to avoid overflowing uint32 (details)
  331. Rorder mmt4d iteration domain (details)
  332. [clang] Fix typos in Options.td and regen ClangCommandLineReference.rst. (details)
  333. [clang] Fix a typo in the manual page: s/contraint/constraint. (details)
  334. Refactor AsyncToAsyncRuntime pass to boost understandability. (details)
  335. [GlobalISel] Add GPtrAdd and use it in some combines. (details)
  336. [MLIR][python] Export CAPI headers. (details)
  337. [InstSimplify] Don't assume parent function when simplifying llvm.vscale. (details)
  338. [OpenMP] libomp: Add new experimental barrier: two-level distributed barrier (details)
  339. Revert "Revert "[clang][pp] adds '#pragma include_instead'"" (details)
  340. Revert "[AIX] Pass the -b option to linker on AIX" (details)
  341. Fixing an infinite loop problem in InstCombine (details)
  342. Fix runtime internal error with certain intrinsics that can take a scalar (details)
  343. [DWARF] Refactor test to remove relocations for DWO (details)
  344. [LLDB][GUI] Add Create Target form (details)
  345. [LLDB][GUI] Add Environment Variable Field (details)
  346. [mlir] Fix CMake option for enabling SPIR-V CPU runner (details)
  347. [mlir] NFC: split Math to SPIR-V conversion into their own files (details)
  348. [mlir] NFC: split MemRef to SPIR-V conversion into their own files (details)
  349. [GlobalISel] Use GMergeLikeOp to simplify a combine. NFC. (details)
  350. [lldb] Remove CPlusPlusLanguage from Mangled (details)
  351. [compiler-rt][hwasan] Check for SANITIZER_POSIX before including sanitizer_posix.h (details)
  352. [ELF] Add -Bsymbolic-non-weak-functions (details)
  353. [mlir][linalg] Fix pad tensor cast folding with changed type (details)
  354. [GWP-ASan] Add version header. (details)
  355. [ARM] Define a couple more ssub indexes. NFC (details)
  356. Fix unit test checks for the scalar cases of all/any intrinsics. I (details)
  357. Simplify testcase to use v instead of p (NFC) (details)
  358. [MLIR][Python] Use DEST_PREFIX when installing. (details)
  359. [mlir][tosa] Fix tosa.reshape failures due to implicit broadcasting (details)
  360. security: highlight phab accounts; recommend phab for nominations (details)
  361. [mlir] Set insertion point of vector constant to the top of the vectorized loop body (details)
  362. GlobalISel/AArch64: don't optimize away redundant branches at -O0 (details)
  363. [InstCombine] add tests for vector cmp-bitcast; NFC (details)
  364. Fix typo (details)
  365. Make testcase more robust against codegen changes (details)
  366. [OpenMP] Adding flags for disabling the following optimizations: Deglobalization SPMDization State machine rewrites Folding (details)
  367. [ARC] Add additional mov immediate instruction formats with a fix for u6 decoding (details)
  368. [compiler-rt] Fix COMPILER_RT_OS_DIR for Android (details)
  369. [GlobalISel] Refactor the unmerge artifact value finder code. (details)
  370. [AVR][clang] Pass '--start-group' and '--end-group' options to avr-ld (details)
  371. [RISCV][test] Add new tests for mul optimization in the zba extension with SH*ADD (details)
  372. Optimize mul in the zba extension with SH*ADD (details)
  373. [MLIR][python] Disable SONAME on extensions. (details)
  374. [ARC] Add norm/normh instructions with disassembly tests (details)
  375. [Bazel] Derive targets from file presence as in CMake build (details)
  376. [Bazel] Unconditionally define STDC LIMIT/CONSTANT/FORMAT (details)
  377. [Bazel] Make td_library usable as data (details)
  378. [source map] fix relative path breakpoints (details)
  379. [AIX] Include symbol alias in extract_symbols.py (details)
  380. tsan: Fix the improper argument type in tsan_ilist_test.cpp (details)
  381. [OpenCL] Add support of __opencl_c_3d_image_writes feature macro (details)
  382. [nfc][trace] use formatv instead of the old Printf (details)
  383. [yaml2obj] Enable support for parsing 64-bit XCOFF. (details)
  384. [PowerPC] Fix issue where hint was providing the incorrect regsiter class. (details)
  385. [OpenCL] Add support of __opencl_c_pipes feature macro. (details)
  386. Revert "[OpenCL] Add support of __opencl_c_pipes feature macro." (details)
  387. Fix scalar unit tests for all, any, maxloc, etc. that caused the ARM build (details)
  388. [OpenCL] opencl-c.h: add CL 3.0 non-generic address space atomics (details)
  389. Take OptimizationLevel class out of Pass Builder (details)
  390. [JITLink][ELF][x86-64] Include relocation name in missing relocation errors. (details)
  391. [AArch64][SME] Introduce feature for streaming mode (details)
  392. [flang] Fix `flang` (the bash wrapper script for the Flang driver) (details)
  393. [OpenCL] Add std flag aliases clc++1.0 and CLC++1.0 (details)
  394. Revert "[LLDB][GUI] Expand selected thread tree item by default" (details)
  395. [ARM] MVE SLP'd reduction tests. NFC (details)
  396. [ARM] Turn vecreduce_add(add(x, y)) into vecreduce(x) + vecreduce(y) (details)
  397. tsan: fix latent race size bug in test (details)
  398. tsan: optimize test-only barrier (details)
  399. [clang] SIGSEGV at DeduceTemplateArgumentsByTypeMatch (details)
  400. [mlir][spirv] Fix crash in convert-gpu-to-spirv pass with memrefs with affine maps (details)
  401. tsan: introduce New/Alloc/Free helpers (details)
  402. [mlir][affine-loop-fusion] Fix a bug that AffineIfOp prevents fusion of the other loops (details)
  403. [lldb] Correct format of qMemTags type field (details)
  404. [lldb][AArch64] Mark mismatched tags in tag read output (details)
  405. tsan: Support constructor arguments via New (details)
  406. tsan: fix another latent race size bug in test (details)
  407. [lldb] [DWARF-5] Be lazier about loading .dwo files (details)
  408. [OMPIRBuilder] add minimalist reduction support (details)
  409. [SLP]Fix a crash in gathered loads analysis. (details)
  410. [clangd] Enable relative configs in check mode (details)
  411. [SLP]Do not consider deleted instruction as external users. (details)
  412. [SLP]Fix an assertion for the size of user nodes. (details)
  413. Revert "[lldb] [DWARF-5] Be lazier about loading .dwo files" (details)
  414. [hwasan] Detect use after scope within function. (details)
  415. [clangd] Make use of diagnostic tags for some clang diags (details)
  416. [X86][AVX] Add test case for PR51281 (details)
  417. [clangd] Unify compiler invocation creation (details)
  418. [clangd] Record remote index usage (details)
  419. [libc++] Handle arrays in std::destroy_at (details)
  420. [libomptarget][amdcgn] Add build dependency for opt (details)
  421. [ARM] Attempt to distribute reductions (details)
  422. [libc++][NFC] Fix copy-paste error in the transform_view tests (details)
  423. [AMDGPU][OpenMP] Support linking of math libraries (details)
  424. [clang][patch][FPEnv] Fix syntax errors in pragma float_control test (details)
  425. [OpenMP][NFC] libomp: silence warnings on unused variables. (details)
  426. [mlir][Vector] Add vector to outerproduct lowering for the [reduction, parallel] case. (details)
  427. [PowerPC] Emit error for Altivec vector initializations when -faltivec-src-compat=gcc is specified (details)
  428. [NFC] clang-format OptimizationLevel.h (details)
  429. [OpenMP][AMDGCN] Initial math headers support (details)
  430. Fix test that was never run. (details)
  431. [SVE] Add folds for sign and zero extends of vscale (details)
  432. [OpenCL] Add support of __opencl_c_pipes feature macro. (details)
  433. Add triples to try to fix a test (details)
  434. [X86] Add some initial tests for frozen constant folds (details)
  435. [Bazel] Typo fix (details)
  436. [OpenMP][Offloading] Remove task wait in nowait interfaces (details)
  437. [AIX] Pass the -b option to linker on AIX (with fix to build break) (details)
  438. [Transforms] Remove HasValueForBlock (NFC) (details)
  439. XFAIL a test on ppc64 (details)
  440. [mlir] Fully qualify MemoryEffects (details)
  441. [flang] Move External IO tests to use GTest (details)
  442. [clang-tidy] Fix cppcoreguidelines-init-variables by removing the enum (details)
  443. AMDGPU/GlobalISel: Remove special case lowering for non-pow-2 stores (details)
  444. AMDGPU/GlobalISel: Fix tests using illegal copies to physregs (details)
  445. XFAIL ppc => powerpc (details)
  446. GlobalISel: Have load lowering handle some unaligned accesses (details)
  447. Reland "[LV] Use lookThroughAnd with logical reductions" (details)
  448. [SLP]Improve splats vectorization. (details)
  449. GlobalISel: Have lowerLoad scalarize unaligned vectors (details)
  450. [libc][NFC] Add dummy errno target to satisfy mixed mode builds. (details)
  451. Trim failing test (details)
  452. [libcxx][ranges] Add `std::ranges::single_view`. (details)
  453. [nfc] improve a simple call (details)
  454. [gn build] Port 481ad59b9fa4 (details)
  455. [OpenMP] Fixing llvm-omp-device-info compilation with runtimes (details)
  456. [lldb] Always codesign binaries on macOS (details)
  457. [mlir][sparse] template the memory resident coordinate scheme storage (details)
  458. SelectionDAGDumper.cpp - printrWithDepthHelper - remove dead code. NFCI. (details)
  459. SelectionDAGDumper.cpp - remove nested if-else return chain. NFCI. (details)
  460. [InstCombine] getMaskedTypeForICmpPair - remove dead code. NFCI. (details)
  461. [libc++] Improve LIBCXX_ENABLE_INCOMPLETE_FEATURES. (details)
  462. [compiler-rt][hwasan] Remove __sanitizer allocation functions from hwasan interface (details)
  463. [compiler-rt][Fuchsia] Support HWASan on Fuchsia (details)
  464. [InstCombine] add more tests for vector-cmp bitcast; NFC (details)
  465. [InstCombine] add more tests for vector cmp-bitcast; NFC (details)
  466. [OpenCL] Replace test for pipe struct to test it with fixed triple (details)
  467. [ARM] Distribute reductions based on ascending load offset (details)
  468. [InstrProfiling] Make CountersPtr in __profd_ relative (details)
  469. [clang][cache] Update Fuchsia-stage2.cmake to create hwasan multilibs (details)
  470. Explain the symbols of basic block clusters with an example in the header comments. (details)
  471. [doc]Added examples for generic opcodes (details)
  472. [PowerPC] Fix byte ordering of ld/st with length on BE (details)
  473. [z/OS]Remove overriding default attribute aligned value (details)
  474. [lldb] Fix remote macOS debugging on Apple Silicon (details)
  475. [mlir][sparse] move comments from cpp files into dialect doc (details)
  476. [AMDGPU] Autogenerate checks in kernel-args.ll (details)
  477. [profile] Fix profile merging with binary IDs (details)
  478. [polly] Fix up regression test config with current features. (details)
  479. Revert "[OpenMP][AMDGCN] Initial math headers support" (details)
  480. [lldb] [DWARF-5] Be lazier about loading .dwo files (details)
  481. [LoopStrengthReduction] Fix pointer extend asserts (details)
  482. Revert "[hwasan] Detect use after scope within function." (details)
  483. Revert "[profile] Fix profile merging with binary IDs" (details)
  484. [builtins] Try to ensure single copy of emulated TLS state (details)
  485. [libomptarget][nfc] Only set cuda-path for nvptx tests (details)
  486. [mlir][spirv] Fix storing bool with proper storage capabilities (details)
  487. [mlir][spirv] Fix loading bool with proper storage capabilities (details)
  488. [mlir][spirv] Add support for i8 serialization (details)
  489. [libcxx][docs] Take locks on the last three views. (details)
  490. [flang] Produce proper "preprocessor output" for -E option (details)
  491. [sanitizer] Remove cpplint (details)
  492. [libc] Move FPExceptMatcher out of TestHelpers.h (details)
  493. [vscode-mlir] Update package.json in preparation for publishing (details)
  494. [mlir-vscode] Create a proper output channel for the MLIRContext (details)
  495. [profile] Fix profile merging with binary IDs (details)
  496. [vscode-mlir] Fix the package repo url. (details)
  497. [sanitizer] Remove cpplint annotations (details)
  498. [libc] Add trigonometric and exponential functions to the windows config. (details)
  499. Revert "[lldb] [DWARF-5] Be lazier about loading .dwo files" (details)
  500. Revert "[profile] Fix profile merging with binary IDs" (details)
  501. [profile] Fix profile merging with binary IDs (details)
  502. Revert "[clang][cache] Update Fuchsia-stage2.cmake to create hwasan multilibs" (details)
  503. [NFC][sanitizer] clang-format few files (details)
  504. tsan: always setup sigaction signal handler (details)
  505. tsan: remove "expected" races (details)
  506. sanitizers: build tests with -g (details)
  507. tsan: introduce Tid and StackID typedefs (details)
  508. tsan: prevent insertion of memset into BenignRaceImpl (details)
  509. [profile][test] Delete --path-equivalence=/tmp,%S (details)
  510. [lldb] [DWARF-5] Be lazier about loading .dwo files (details)
  511. [Clang][AArch64] Inline assembly support for the ACLE type 'data512_t' (details)
  512. [AArch64] Add a Machine Value Type for 8 consecutive registers (details)
  513. [AArch64] Legalize MVT::i64x8 in DAG isel lowering (details)
  514. [MLIR] NFC Clean up doc comments on memref replacement utility (details)
Commit 5bcbb5ec5f07e4ab0ec8f8941bb4a98cab44d169 by Jan Svoboda
[clang][tooling] Link clangDriver to ToolingTests

This fixes a build failure introduced in 11ee699b3c812ebe56ce5d3b14ab7ef16c1e8495.
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
Commit e00d67dc48be26cc9fc4958c3b2d5149eb5ec230 by david.green
[NFC] Reflow some debug messages.
The file was modifiedllvm/lib/CodeGen/DetectDeadLanes.cpp
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
Commit 172487fe4c67dfe97d40f4dfd0992569746ae651 by fraser
[RISCV] Add support for vector saturating add/sub operations

This patch adds support for lowering the saturating vector add/sub
intrinsics to RVV instructions, for both fixed-length and
scalable-vector forms alike.

Note that some of the DAG combines are still not triggering for the
scalable-vector tests. These require a bit more work in the DAGCombiner
itself.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D106651
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vssubu.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vssub-sdnode.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vsaddu-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/saddo-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/combine-sats.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsaddu.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vsadd-sdnode.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vssubu-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsadd.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vssub.ll
Commit a648f34342740e3fe2ddf040d61909d53b09e323 by hans
[clang-cl] Expose -fmodules and related flags in the driver (PR43391)

I don't know how well this works with clang-cl, but people want to try
it out, and I think we want to make it work, so exposing the flags seems
reasonable.

Differential revision: https://reviews.llvm.org/D106791
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/cl-options.c
Commit 35e76a939cabbaa40aeeb572c3cf4039c3077fdf by dvyukov
Revert "sanitizer_common: split LibIgnore into fast/slow paths"

This reverts commit 1e1f7520279c93a59fa6511028ff40412065985e.

It breaks ignore_noninstrumented_modules=1.
Somehow we did not have any portable tests for this mode before
(only Darwin tests). Add a portable test as well.

Moreover, I think I was too fast uninlining all LibIgnore checks.
For Java, Darwin and OpenMP LibIgnore is always enabled,
so it makes sense to leave it as it was before.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106855
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libignore.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libignore.h
The file was modifiedcompiler-rt/test/tsan/ignore_lib0.cpp
Commit 0f98e6e87558b34cb00e2a043d471cb71466783a by Jan Svoboda
[clang][tooling] Link LLVMOption to ToolingTests

This fixes a build failure introduced in 11ee699b3c812ebe56ce5d3b14ab7ef16c1e8495.
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
Commit 7b33b849bd337fa68accf6a61e36cb4f0a947af1 by fraser
[SelectionDAG] Support scalable splats in U(ADD|SUB)SAT combines

This patch builds on top of D106575 in which scalable-vector splats were
supported in `ISD::matchBinaryPredicate`. It teaches the DAGCombiner how
to perform a variety of the pre-existing saturating add/sub combines on
scalable-vector types.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D106652
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/combine-sats.ll
Commit 8c63c24dcaf5a5d090e40ce231c5174c15bd187e by benny.kra
[mlir] Fix typo s/applyPermuationMap/applyPermutationMap/
The file was modifiedmlir/include/mlir/IR/AffineMap.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit dc4ca0dbbcef5eb957efbd2e08a197b4aae3d909 by jay.foad
[GlobalISel] Constant fold G_SITOFP and G_UITOFP in CSEMIRBuilder

Differential Revision: https://reviews.llvm.org/D104528
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.powi.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.sbfe.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/srem.i32.ll
Commit a5b2ec9c26db124dd7e7b576fff70ba94dc07842 by diana.picus
[flang] Fix thinko in CPU_TIME test

We used to test that end > start, but it can well be >= (otherwise the
loop doesn't make sense).
The file was modifiedflang/unittests/RuntimeGTest/Time.cpp
Commit dc721064b43a40ed57454caebd533f89df16da7e by diana.picus
[flang] Fix minor style issues. NFC
The file was modifiedflang/unittests/RuntimeGTest/Time.cpp
The file was modifiedflang/runtime/time-intrinsic.cpp
Commit d7dd12aee399a19e890143604b6993f02232ca24 by sander.desmalen
[LV] Disable Scalable VFs when tail folding is enabled b/c of low tripcount.

The loop vectorizer may decide to use tail folding when the trip-count
is low. When that happens, scalable VFs are no longer a candidate,
since tail folding/predication is not yet supported for scalable vectors.

This can be re-enabled in a future patch.

Reviewed By: kmclaughlin

Differential Revision: https://reviews.llvm.org/D106657
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
Commit 7d27230de3336b8c79bfdc90f59858f6dad28fa5 by david.spickett
[lldb][AArch64] Add memory tag writing to lldb-server

This is implemented using the QMemTags packet, as specified
by GDB in:
https://sourceware.org/gdb/current/onlinedocs/gdb/General-Query-Packets.html#General-Query-Packets

(recall that qMemTags was previously added to read tags)

On receipt of a valid packet lldb-server will:
* align the given address and length to granules
  (most of the time lldb will have already done this
  but the specification doesn't guarantee it)
* Repeat the supplied tags as many times as needed to cover
  the range. (if tags > range we just use as many as needed)
* Call ptrace POKEMTETAGS to write the tags.

The ptrace step will loop just like the tag read does,
until all tags are written or we get an error.
Meaning that if ptrace succeeds it could be a partial write.
So we call it again and if we then get an error, return an error to
lldb.

We are not going to attempt to restore tags after a partial
write followed by an error. This matches the behaviour of the
existing memory writes.

The lldb-server tests have been extended to include read and
write in the same test file. With some updated function names
since "qMemTags" vs "QMemTags" isn't very clear when they're
next to each other.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D105180
The file was modifiedlldb/include/lldb/Host/common/NativeProcessProtocol.h
The file was modifiedlldb/include/lldb/Utility/StringExtractorGDBRemote.h
The file was modifiedlldb/source/Host/common/NativeProcessProtocol.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
The file was modifiedlldb/source/Utility/StringExtractorGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.h
Commit 16ec706cc4b65dce5d6fb7ccf452ef3517a5fc76 by llvm-dev
[X86] Add PR37025 test coverage
The file was addedllvm/test/CodeGen/X86/pr37025.ll
Commit 71b7608df169da51d14684f373255629a84acae9 by fraser
[LangRef][NFC] Fix variable name in llvm.maxnum docs
The file was modifiedllvm/docs/LangRef.rst
Commit 47632352c85e020f5d70257ff1dd2ff190f0253c by czhengsz
[PowerPC] add more testcases for ld_splat; nfc
The file was modifiedllvm/test/CodeGen/PowerPC/load-and-splat.ll
Commit 452095fe2f58528c174ca780265f227439e3e07e by thakis
[clang/darwin] Pass libclang_rt.profile last on linker command

This reverts the functional change of https://reviews.llvm.org/D35385 because
it sounds like this is no longer necessary
(https://bugs.llvm.org/show_bug.cgi?id=51135#c11) and makes clang's behavior
more uniform across platforms.

Differential Revision: https://reviews.llvm.org/D106733
The file was modifiedclang/lib/Driver/ToolChains/Darwin.h
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/test/Driver/darwin-ld.c
Commit 23eced9ead21c4282cc68c1e93016ad4433a12d6 by Vignesh.Balasubrmanian
Convert the error to warning for enabling OMPD in non-Linux platform

OMPD is enabled by default on Linux machines and disabled on others.
However, if explicitly enabled it throws an error and exit while configuring.

It is mentioned in Bug: https://bugs.llvm.org/show_bug.cgi?id=51121

This patch, instead of throwing error, disables OMPD support with a warning message,
so configuration can continue.

Reviewed By: @protze.joachim
Differential Revision: https://reviews.llvm.org/D106682
The file was modifiedopenmp/runtime/CMakeLists.txt
Commit 43e45f0ec920b45d6073c0aff47597c44948f52c by Raphael Isemann
[lldb] Wait in TestGuiBasicDebug for the interface to open before quitting the welcome screen

Speculative fix for the failing lldb-aarch64-ubuntu bot.
The file was modifiedlldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py
Commit 76f3ffb2b285998f02639db8fd42fb0de8a540d0 by chris.jackson
[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR

This patch extends salvaging of debuginfo in the Loop Strength Reduction
(LSR) pass by translating Scalar Evaluations (SCEV) into DIExpressions.
The method is as follows:
- Cache dbg.value intrinsics that are salvageable.
- Obtain a loop Induction Variable (IV) from ScalarExpressionExpander or
  the loop header.
- Translate the IV SCEV into an expression that recovers the current
  loop iteration count. Combine this with the dbg.value's location
  op SCEV to create a DIExpression that salvages the value.

Review by: jmorse

Differential Revision: https://reviews.llvm.org/D105207
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
Commit ec1fb9533305e9bd69294ede7e5e7d9befbb2225 by sam.mccall
[clangd] Use function pointer instead of function_ref to avoid GCC 5 bug

With GCC <6 constructing a function_ref from a free function reference
leads to it referencing a temporary function pointer. If the lifetime of
that temporary is insufficient it can crash.

Fixes https://github.com/clangd/clangd/issues/800
The file was modifiedclang-tools-extra/clangd/GlobalCompilationDatabase.cpp
Commit cad2affb789201f0d7ccb4b5542f652b37c51c3a by andrzej.warzynski
[flang][driver] Make `flang` ignore `-Mfree/-Mfixed`

`-Mfixed` is not supported by the new driver and hence
`flang`, the bash wrapper script, forwards it to the host compiler.
The forwarded options are used by the host compiler when compiling the
unparsed files. As the unparsed source files are always in the free
form, forwarding `-Mfixed` is problematic.

With this patch, `-Mfixed` (and `-Mfree` for consistency) will be
ignored altogether. The user will only see a warning. This is not a
particularly sound approach, but `flang` is only a temporary solution
for us and this workaround is a fair compromise.

Differential Revision: https://reviews.llvm.org/D106428
The file was modifiedflang/tools/f18/flang.in
Commit e2559e5dc62445a92a9a5344db79f78f735e1e61 by sam.mccall
[clangd] Add platform triple (host & target) to version info

Useful in logs to understand issues around some platforms we don't have much
experience with (e.g. m1, mingw)

Differential Revision: https://reviews.llvm.org/D105681
The file was modifiedclang-tools-extra/clangd/Features.h
The file was modifiedclang-tools-extra/clangd/index/remote/Client.cpp
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/Features.cpp
Commit 1930c4410d6b48645b7b7c58cf4403a2a0e3836d by chris.jackson
[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR

This reverts commit 76f3ffb2b285998f02639db8fd42fb0de8a540d0 because
of a failure on sanitixer-X86-64-linux-autoconf.
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
Commit 7dc9d7373186827a92d6ca08ad7192208dfea389 by jeremy.morse
[DebugInfo][InstrRef] Handle llvm.frameaddress intrinsics gracefully

When working out which instruction defines a value, the
instruction-referencing variable location code has a few special cases for
physical registers:
* Arguments are never defined by instructions,
* Constant physical registers always read the same value, are never def'd

This patch adds a third case for the llvm.frameaddress intrinsics: you can
read the framepointer in any block if you so choose, and use it as a
variable location, as shown in the added test.

This rather violates one of the assumptions behind instruction referencing,
that LLVM-ir shouldn't be able to read from an arbitrary register at some
arbitrary point in the program. The solution for now is to just emit a
DBG_PHI that reads the register value: this works, but if we wanted to do
something clever with DBG_PHIs in the future then this would probably get
in the way. As it stands, this patch avoids a crash.

Differential Revision: https://reviews.llvm.org/D106659
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was addedllvm/test/DebugInfo/X86/instr-ref-framereg-read.ll
Commit ce90b60bd09da41c52006374a4715425122572ab by kadircet
[clang][Driver] Expose driver mode detection logic

Also use it in other places that performed it on their own.

Differential Revision: https://reviews.llvm.org/D106789
The file was modifiedclang/tools/driver/driver.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/include/clang/Driver/Driver.h
The file was modifiedclang/lib/Tooling/InterpolatingCompilationDatabase.cpp
Commit ab714ba056c14bce00ab67cc10e34678f9d77b5a by kadircet
Revert "Revert "[clangd] Canonicalize compile flags before applying edits""

Set driver mode before parsing arglist.

Depends on D106789.

Differential Revision: https://reviews.llvm.org/D106794
The file was modifiedclang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
The file was modifiedclang-tools-extra/clangd/CompileCommands.cpp
The file was modifiedclang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/test/did-change-configuration-params.test
Commit 259e365deaa3a6920b30f49e3d03d3508f1d4900 by kadircet
Revert "Revert "[clangd] Adjust compile flags to contain only the requested file as input""

This reverts commit 04e21fbc44c145d5599ef8db9aaf66b159107f33.
The file was modifiedclang-tools-extra/clangd/GlobalCompilationDatabase.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
The file was modifiedclang-tools-extra/clangd/CompileCommands.cpp
The file was modifiedclang-tools-extra/clangd/test/did-change-configuration-params.test
The file was modifiedclang-tools-extra/clangd/unittests/TestTU.cpp
The file was modifiedclang-tools-extra/clangd/CompileCommands.h
Commit 796b84d26f4d461fb50e7b4e84e15a10eaca88fc by chris.jackson
[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR

This reapplies commit 76f3ffb2b285998f02639db8fd42fb0de8a540d0 that was
reverted due to buildbot failures.

- Update lit tests with REQUIRES condition.
- Abandon salvage attempt if SCEVUnknown::getValue() returns nullptr.

Differential Revision: https://reviews.llvm.org/D105207
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Commit 68ffed12b7e29c498e5b6d563a218f8710c46e61 by anna
[IVDescriptors] Fix bug in checkOrderedReduction

The Exit instruction passed in for checking if it's an ordered reduction need not be
an FPAdd operation. We need to bail out at that point instead of
assuming it is an FPAdd (and hence has two operands). See added testcase.
It crashes without the patch because the Exit instruction is a phi with
exactly one operand.
This latent bug was exposed by 95346ba which added support for
multi-exit loops for vectorization.

Reviewed-By: kmclaughlin
Differential Revision: https://reviews.llvm.org/D106843
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was addedllvm/test/Transforms/LoopVectorize/fp-reduction-crash.ll
Commit d9e3449aa82541d289f4843617e23e93800bc278 by tpopp
Handle unused variable when assertions are disabled
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Commit 496a3815f43d20853a4fad77c7d70414385c3b06 by Louis Dionne
[libc++] NFC: Try to trigger Docker image rebuild on CI nodes
The file was modifiedlibcxx/utils/ci/Dockerfile
Commit da58ca51f0cf4b415bbfc299ac7cef0666243c6c by v.g.vassilev
[clang-repl] Build and install clang-repl by default.

We have the basic infrastructure in place. We can recover from simple errors
(recovering from errors in template instantiations is not yet supported). It
looks like we are in a reasonably functional state for llvm13.

Differential revision: https://reviews.llvm.org/D106813
The file was modifiedclang/tools/clang-repl/CMakeLists.txt
Commit ec9da5172491413f098af7cd5b5bc5d1c8b9f07d by jeremy.morse
[DebugInfo][InstrRef] Correctly update DBG_PHIs during instr scheduling

Avoid several crashes when DBG_INSTR_REF and DBG_PHI instructions are fed
to the instruction scheduler. DBG_INSTR_REFs should be treated like
DBG_LABELs, and just ignored for the purpose of scheduling [0].

DBG_PHIs however behave much more like DBG_VALUEs: they refer to register
operands, and if some register defs get shuffled around during instruction
scheduling, there's a risk that the debug instr will refer to the wrong
value. There's already a facility for updating DBG_VALUEs to reflect this;
add DBG_PHI to the list of instructions that it will update.

[0] Suboptimal, but it's what instr scheduling does right now.

Differential Revision: https://reviews.llvm.org/D106663
The file was modifiedllvm/test/CodeGen/X86/post-ra-sched-with-debug.mir
The file was modifiedllvm/include/llvm/CodeGen/AntiDepBreaker.h
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
Commit 5ea091a8174bcce78839156bd044831cb5211d06 by david.spickett
[lldb][AArch64] Add memory tag writing to lldb

This adds memory tag writing to Process and the
GDB remote code. Supporting work for the
"memory tag write" command. (to follow)

Process WriteMemoryTags is similair to ReadMemoryTags.
It will pack the tags then call DoWriteMemoryTags.
That function will send the QMemTags packet to the gdb-remote.

The QMemTags packet follows the GDB specification in:
https://sourceware.org/gdb/current/onlinedocs/gdb/General-Query-Packets.html#General-Query-Packets

Note that lldb-server will be treating partial writes as
complete failures. So lldb doesn't need to handle the partial
write case in any special way.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D105181
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
Commit 775caa58fcf9005494acdd132a07c8d7edb534b2 by marek.kurdej+llvm.org
[libc++] [c++2b] [P2166] Prohibit string and string_view construction from nullptr.

* https://wg21.link/P2166

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D106801
The file was modifiedlibcxx/docs/Status/Cxx2bPapers.csv
The file was modifiedlibcxx/include/string
The file was addedlibcxx/test/std/strings/basic.string/string.cons/nullptr.compile.pass.cpp
The file was modifiedlibcxx/include/string_view
The file was modifiedlibcxx/test/libcxx/debug/db_string_view.pass.cpp
The file was addedlibcxx/test/std/strings/string.view/string.view.cons/nullptr.compile.pass.cpp
Commit d7bbb1230a94cb239aa4a8cb896c45571444675d by tpopp
Revert "[X86][AVX] Add getBROADCAST_LOAD helper function. NFCI."

This reverts commit 1cfecf4fc4278afb0005923f6dff595cd372da5c.

This commit broke LLVM code generated through XLA by removing a
conditional on Ld->getExtensionType() == ISD::NON_EXTLOAD
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 70fa9479b2e803c1bab745d89f3c7883fa72b591 by tpopp
Revert "Revert "[X86][AVX] Add getBROADCAST_LOAD helper function. NFCI.""

This reverts commit d7bbb1230a94cb239aa4a8cb896c45571444675d.

There were follow up uses of a deleted method and I didn't run the
tests. Undo the revert, so I can do it properly.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit d225de60c933d8feffde917c49a5bbb72530ae28 by tpopp
Revert "[X86][AVX] Add getBROADCAST_LOAD helper function. NFCI."

This reverts commit 1cfecf4fc4278afb0005923f6dff595cd372da5c.

This commit broke LLVM code generated through XLA by removing a
conditional on Ld->getExtensionType() == ISD::NON_EXTLOAD

This is not a perfect revert. The new function is left as other uses of
it exist now.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8ee5759fd50d147328f9e2a7ca9d6894721d0770 by anna
Strip undef implying attributes when moving calls

When hoisting/moving calls to locations, we strip unknown metadata. Such calls are usually marked `speculatable`, i.e. they are guaranteed to not cause undefined behaviour when run anywhere. So, we should strip attributes that can cause immediate undefined behaviour if those attributes are not valid in the context where the call is moved to.

This patch introduces such an API and uses it in relevant passes. See
updated tests.

Fix for PR50744.

Reviewed By: nikic, jdoerfert, lebedev.ri

Differential Revision: https://reviews.llvm.org/D104641
The file was modifiedllvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/include/llvm/IR/Instruction.h
The file was modifiedllvm/test/Transforms/SimplifyCFG/speculate-call.ll
The file was modifiedllvm/test/Transforms/LICM/call-hoisting.ll
The file was modifiedllvm/lib/IR/Instruction.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit a8cfa4b9bda3014a88e089cadcc6d366317aec5b by anirudh_prasad
[SystemZ][z/OS] Initial code to generate assembly files on z/OS

- This patch consists of the bare basic code needed in order to generate some assembly for the z/OS target.
- Only the .text and the .bss sections are added for now.
- The relevant MCSectionGOFF/Symbol interfaces have been added. This enables us to print out the GOFF machine code sections.
- This patch enables us to add simple lit tests wherever possible, and contribute to the testing coverage for the z/OS target
- Further improvements and additions will be made in future patches.

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D106380
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was addedllvm/include/llvm/MC/MCSectionGOFF.h
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
The file was addedllvm/test/CodeGen/SystemZ/zos-simple-test.ll
The file was addedllvm/include/llvm/MC/MCSymbolGOFF.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
The file was modifiedllvm/include/llvm/MC/MCSymbol.h
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
Commit 973de7185606a21fd5e9d5e8c014fbf898c0e72f by hans
Revert "[clang][pp] adds '#pragma include_instead'"

> `#pragma clang include_instead(<header>)` is a pragma that can be used
> by system headers (and only system headers) to indicate to a tool that
> the file containing said pragma is an implementation-detail header and
> should not be directly included by user code.
>
> The library alternative is very messy code that can be seen in the first
> diff of D106124, and we'd rather avoid that with something more
> universal.
>
> This patch takes the first step by warning a user when they include a
> detail header in their code, and suggests alternative headers that the
> user should include instead. Future work will involve adding a fixit to
> automate the process, as well as cleaning up modules diagnostics to not
> suggest said detail headers. Other tools, such as clangd can also take
> advantage of this pragma to add the correct user headers.
>
> Differential Revision: https://reviews.llvm.org/D106394

This caused compiler crashes in Chromium builds involving PCH and an include
directive with macro expansion, when Token::getLiteralData() returned null. See
the code review for details.

This reverts commit e8a64e5491260714c79dab65d1aa73245931d314.
The file was removedclang/test/Preprocessor/Inputs/include_instead/private3.h
The file was modifiedclang/include/clang/Basic/DiagnosticLexKinds.td
The file was modifiedclang/include/clang/Lex/PreprocessorLexer.h
The file was modifiedclang/lib/Lex/Lexer.cpp
The file was modifiedclang/lib/Lex/PPLexerChange.cpp
The file was removedclang/test/Preprocessor/Inputs/include_instead/public-after.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/bad-syntax.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/public-before.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/private-x.h
The file was removedclang/test/Preprocessor/include_instead.cpp
The file was removedclang/test/Preprocessor/include_instead_file_not_found.cpp
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was removedclang/test/Preprocessor/Inputs/include_instead/file-not-found.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/public-empty.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/private2.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/non-system-header.h
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was removedclang/test/Preprocessor/Inputs/include_instead/private1.h
The file was modifiedclang/include/clang/Lex/HeaderSearch.h
Commit e5f47eedeb02595247e433ad756607e6c1397ae3 by anastasia.stulova
[OpenCL] NULL redefined as nullptr in C++ mode.

Redefines NULL as nullptr instead of ((void*)0)
in C++ for OpenCL.

Such internal representation of NULL provides
compatibility with C++11 and later language
standards.

Patch by Topotuna (Justas Janickas)!

Differential Revision: https://reviews.llvm.org/D105987
The file was modifiedclang/lib/Headers/opencl-c-base.h
The file was modifiedclang/test/SemaOpenCL/null_literal.cl
Commit ec3da1a43f1f0fe706e7ea511ab66a3e1dd0a2f2 by patacca
Update isl to isl-0.24-69-g54aac5ac

This is needed for having the functions isl_{set,map}_n_basic_{set,map}
exported to the C++ interface.
Some tests have been modified to reflect the isl changes.
The file was modifiedpolly/lib/External/isl/isl_stream.c
The file was modifiedpolly/lib/External/isl/include/isl/set.h
The file was modifiedpolly/lib/External/isl/Makefile.in
The file was modifiedpolly/lib/External/isl/include/isl/cpp-checked.h
The file was modifiedpolly/lib/External/isl/isl_coalesce.c
The file was modifiedpolly/lib/External/isl/isl_test.c
The file was modifiedpolly/lib/External/isl/interface/template_cpp.cc
The file was modifiedpolly/lib/External/isl/include/isl/typed_cpp.h
The file was modifiedpolly/lib/External/isl/isl_scheduler.c
The file was addedpolly/lib/External/isl/check_parse_fail_test_templ.c
The file was modifiedpolly/lib/External/isl/interface/isl.py
The file was modifiedpolly/test/JSONExporter/ImportContext/ImportContext-Unvalid-Context.ll
The file was modifiedpolly/test/JSONExporter/ImportSchedule/ImportSchedule-Schedule-not-valid.ll
The file was modifiedpolly/lib/External/isl/include/isl/cpp.h
The file was modifiedpolly/lib/External/isl/GIT_HEAD_ID
The file was modifiedpolly/test/JSONExporter/ImportAccesses/ImportAccesses-Bad-relation.ll
The file was modifiedpolly/lib/External/isl/Makefile.am
The file was modifiedpolly/lib/External/isl/include/isl/map.h
The file was modifiedpolly/lib/External/isl/test_inputs/schedule/niewang.sc
The file was modifiedpolly/lib/External/isl/isl_ctx_private.h
The file was modifiedpolly/lib/External/isl/isl_input.c
The file was modifiedpolly/lib/External/isl/include/isl/aff.h
The file was modifiedpolly/lib/External/isl/check_reparse_test_templ.c
Commit 33786576fd3a7f79a6627a51386b173940bab0e9 by tlively
[WebAssembly] Codegen for extmul SIMD instructions

Replace the clang builtins and LLVM intrinsics for the SIMD extmul instructions
with normal codegen patterns.

Differential Revision: https://reviews.llvm.org/D106724
The file was modifiedclang/test/Headers/wasm.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/lib/Headers/wasm_simd128.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
Commit b32d3d9e81cdd9275d19cd2a396c461edc9e7189 by arsenm2
AMDGPU: Treat IMPLICIT_DEF like a constant lanemask source

This is partially a workaround. SILowerI1Copies does not understand
unstructured loops. This would result in inserting instructions to
merge a mask register in the same block where it was defined in an
unstructured loop.
The file was addedllvm/test/CodeGen/AMDGPU/lower-i1-copies-implicit-def-unstructured-loop.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
Commit c2415d67a5644eae870328497d46d97b28d5a974 by ajcbik
[mlir][sparse] fixed bug in verification

The order of testing in two sparse tensor ops was incorrect,
which could cause an invalid cast (crashing the compiler instead
of reporting the error). This revision fixes that bug.

Reviewed By: gussmith23

Differential Revision: https://reviews.llvm.org/D106841
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
The file was modifiedmlir/test/Dialect/SparseTensor/invalid.mlir
Commit 310c9496d80961188e8d8f8ad306cdf44bd7541f by stellaraccident
Re-engineer MLIR python build support.

* Implements all of the discussed features:
  - Links against common CAPI libraries that are self contained.
  - Stops using the 'python/' directory at the root for everything, opening the namespace up for multiple projects to embed the MLIR python API.
  - Separates declaration of sources (py and C++) needed to build the extension from building, allowing external projects to build custom assemblies from core parts of the API.
  - Makes the core python API relocatable (i.e. it could be embedded as something like 'npcomp.ir', 'npcomp.dialects', etc). Still a bit more to do to make it truly isolated but the main structural reset is done.
  - When building statically, installed python packages are completely self contained, suitable for direct setup and upload to PyPi, et al.
  - Lets external projects assemble their own CAPI common runtime library that all extensions use. No more possibilities for TypeID issues.
  - Begins modularizing the API so that external projects that just include a piece pay only for what they use.
* I also rolled in a re-organization of the native libraries that matches how I was packaging these out of tree and is a better layering (i.e. all libraries go into a nested _mlir_libs package). There is some further cleanup that I resisted since it would have required source changes that I'd rather do in a followup once everything stabilizes.
* Note that I made a somewhat odd choice in choosing to recompile all extensions for each project they are included into (as opposed to compiling once and just linking). While not leveraged yet, this will let us set definitions controlling the namespacing of the extensions so that they can be made to not conflict across projects (with preprocessor definitions).
* This will be a relatively substantial breaking change for downstreams. I will handle the npcomp migration and will coordinate with the circt folks before landing. We should stage this and make sure it isn't causing problems before landing.
* Fixed a couple of absolute imports that were causing issues.

Differential Revision: https://reviews.llvm.org/D106520
The file was modifiedmlir/test/CMakeLists.txt
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
The file was addedmlir/python/mlir/_mlir_libs/__init__.py
The file was modifiedmlir/python/mlir/dialects/_builtin_ops_ext.py
The file was modifiedmlir/test/lit.cfg.py
The file was modifiedmlir/test/python/ir/operation.py
The file was removedmlir/test/python/CMakeLists.txt
The file was removedmlir/lib/Bindings/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIRPython.cmake
The file was removedmlir/lib/Bindings/Python/Transforms/CMakeLists.txt
The file was removedmlir/python/mlir/dialects/CMakeLists.txt
The file was modifiedmlir/python/mlir/dialects/_linalg_ops_ext.py
The file was modifiedmlir/lib/CMakeLists.txt
The file was addedmlir/python/mlir/dialects/PythonTest.td
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was removedmlir/lib/Bindings/Python/Conversions/CMakeLists.txt
The file was modifiedmlir/python/CMakeLists.txt
The file was modifiedmlir/python/mlir/_cext_loader.py
The file was modifiedmlir/docs/Bindings/Python.md
The file was removedmlir/lib/Bindings/Python/CMakeLists.txt
Commit 9b1bcaea4e0e32636e13e767ecee4de398ce7bd2 by arsenm2
AMDGPU: Update tests for lower i1 change

I forgot to squash the test updates for b32d3d9e81cdd9275d19cd2a396c461edc9e7189
The file was modifiedllvm/test/CodeGen/AMDGPU/loop_break.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sgpr-control-flow.ll
Commit d94426d22a25559f25fd86276d7e9aefbd9d05ab by ezhulenev
[mlir] Math: add algebraic simplification patterns to math transforms

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D106822
The file was modifiedmlir/lib/Dialect/Math/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Math/Transforms/Passes.h
The file was addedmlir/test/lib/Dialect/Math/TestAlgebraicSimplification.cpp
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was addedmlir/lib/Dialect/Math/Transforms/AlgebraicSimplification.cpp
The file was addedmlir/test/Dialect/Math/algebraic-simplification.mlir
The file was modifiedmlir/test/lib/Dialect/Math/CMakeLists.txt
Commit c78b9542e36f6092390a766e98660e60adf1d521 by anna
Update reduction test. Remove standalone test file

Based on post commit review comments at 68ffed12b.
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-order.ll
The file was removedllvm/test/Transforms/LoopVectorize/fp-reduction-crash.ll
Commit a5dd6c6cf9356f7e7c4611a0d5c198ae7cd34106 by david.sherwood
[LoopVectorize] Don't interleave scalar ordered reductions for inner loops

Consider the following loop:

  void foo(float *dst, float *src, int N) {
    for (int i = 0; i < N; i++) {
      dst[i] = 0.0;
      for (int j = 0; j < N; j++) {
        dst[i] += src[(i * N) + j];
      }
    }
  }

When we are not building with -Ofast we may attempt to vectorise the
inner loop using ordered reductions instead. In addition we also try
to select an appropriate interleave count for the inner loop. However,
when choosing a VF=1 the inner loop will be scalar and there is existing
code in selectInterleaveCount that limits the interleave count to 2
for reductions due to concerns about increasing the critical path.
For ordered reductions this problem is even worse due to the additional
data dependency, and so I've added code to simply disable interleaving
for scalar ordered reductions for now.

Test added here:

  Transforms/LoopVectorize/AArch64/strict-fadd-vf1.ll

Differential Revision: https://reviews.llvm.org/D106646
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd-vf1.ll
Commit b373b5990d5991a920c421b21a352e4ccf4c4993 by andrew.kaylor
Enabling the copy-constant-to-alloca optimization in more instances

Patch by Mohammad Fawaz

This patch allows lifetime calls to be ignored (and later erased) if we
know that the copy-constant-to-alloca optimization is going to happen.
The case that is missed is when the global variable is in a different address
space than the alloca (as shown in the example added to the lit test.)

This used to work before https://github.com/llvm/llvm-project/commit/6da31fa4a61d68af21dfa1e144e726ed6d77903e

Differential Revision: https://reviews.llvm.org/D106573
The file was modifiedllvm/test/Transforms/InstCombine/memcpy-from-global.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
Commit 098984a80c630404df0c7c12bd987722e3dc83a2 by david.green
[AArch64] Update and expand min-max cost model test. NFC

This expands the cost model test for min/max to many more types,
including floating point minnum/maxnum and minimum/maximum, and FP16
with and without fullfp16.  The old llc run lines are removed, as those
are better tested by CodeGen tests.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/min-max.ll
Commit 48ad446a0fb2c9b98cb7047e4daf8a84c29cef8f by melanie.blower
[clang][fpenv][patch] Change clang option -ffp-model=precise to select ffp-contract=on

Change the ffp-model=precise to enables -ffp-contract=on (previously
-ffp-model=precise enabled -ffp-contract=fast). This is a follow-up
to Andy Kaylor's comments in the llvm-dev discussion "Floating Point
semantic modes". From the same email thread, I put Andy's distillation
of floating point options and floating point modes into UsersManual.rst
Also fixes bugs.llvm.org/show_bug.cgi?id=50222

I had to revert this a few times because of failures on the x86-64
buildbot but I think we finally have that fixed by LNT/79f2b03c51.

Reviewed By: rjmccall, andrew.kaylor

Differential Revision: https://reviews.llvm.org/D74436
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/CodeGen/ppc-emmintrin.c
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/test/CodeGen/ppc-xmmintrin.c
The file was modifiedclang/test/CodeGen/ffp-contract-option.c
The file was modifiedclang/test/Driver/fp-model.c
Commit 3852b8c70fbf5ad55e87ab5ccb0bd2f0a5c65977 by craig.topper
[RISCV] Select vector shl by 1 to a vector add.

A vector add may be faster than a vector shift.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D106689
The file was modifiedllvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/mscatter-sdnode.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vshl-sdnode-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vshl-sdnode-rv32.ll
Commit 45478619e3eb5860e48a9258a7ac1cfb09fcbb5f by Louis Dionne
[libc++] CI: Run -std=c++03 on Clang ToT

Differential Revision: https://reviews.llvm.org/D106104
The file was modifiedlibcxx/utils/ci/Dockerfile
The file was modifiedlibcxx/utils/ci/run-buildbot
Commit 21c24ae9029a1fcd1c76b61b1c48b81b5c66c606 by Louis Dionne
[runtimes] Always build libc++, libc++abi and libunwind with -fPIC

Building the libraries with -fPIC ensures that we can link an executable
against the static libraries with -fPIE. Furthermore, there is apparently
basically no downside to building the libraries with position independent
code, since modern toolchains are sufficiently clever.

This commit enforces that we always build the runtime libraries with -fPIC.
This is another take on D104327, which instead makes the decision of whether
to build with -fPIC or not to the build script that drives the runtimes'
build.

Fixes http://llvm.org/PR43604.

Differential Revision: https://reviews.llvm.org/D104328
The file was modifiedlibcxx/src/CMakeLists.txt
The file was modifiedlibunwind/src/CMakeLists.txt
The file was modifiedlibcxxabi/src/CMakeLists.txt
Commit 8e8701abca3d4f05bd00762cd13df6a96635c3ef by thakis
[lld/mac] When loading reexports, look for basename in -F / -L first

Matches ld64 (cf Options::findIndirectDylib()), and fixes PR51218.

Differential Revision: https://reviews.llvm.org/D106842
The file was modifiedlld/test/MachO/sub-library.s
The file was modifiedlld/MachO/InputFiles.cpp
Commit 02077da7e7a8ff76c0576bb33adb462c337013f5 by dancgr
Add jump-threading optimization for deterministic finite automata

The current JumpThreading pass does not jump thread loops since it can
result in irreducible control flow that harms other optimizations. This
prevents switch statements inside a loop from being optimized to use
unconditional branches.

This code pattern occurs in the core_state_transition function of
Coremark. The state machine can be implemented manually with goto
statements resulting in a large runtime improvement, and this transform
makes the switch implementation match the goto version in performance.

This patch specifically targets switch statements inside a loop that
have the opportunity to be threaded. Once it identifies an opportunity,
it creates new paths that branch directly to the correct code block.
For example, the left CFG could be transformed to the right CFG:

```
          sw.bb                        sw.bb
        /   |   \                    /   |   \
   case1  case2  case3          case1  case2  case3
        \   |   /                /       |       \
        latch.bb             latch.2  latch.3  latch.1
         br sw.bb              /         |         \
                           sw.bb.2     sw.bb.3     sw.bb.1
                            br case2    br case3    br case1
```

Co-author: Justin Kreiner @jkreiner
Co-author: Ehsan Amiri @amehsan

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D99205
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was addedllvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
The file was addedllvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-analysis.ll
The file was addedllvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was addedllvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
The file was addedllvm/test/Transforms/DFAJumpThreading/negative.ll
The file was addedllvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
The file was addedllvm/test/Transforms/DFAJumpThreading/max-path-length.ll
The file was modifiedllvm/lib/Transforms/Scalar/CMakeLists.txt
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was addedllvm/test/Transforms/DFAJumpThreading/dfa-constant-propagation.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
Commit bf7eb48454872cce85da42e0c006fa214e38fc0a by anemet
[Matrix] RAUW should only replace an instruction in ShapeMap if supportsShapeInfo

As an instruction is replaced in optimizeTransposes RAUW will replace it in
the ShapeMap (ShapeMap is ValueMap so that uses are updated).  In
finalizeLowering however we skip updating uses if they are in the ShapeMap
since they will be lowered separately at which point we pick up the lowered
operands.

In the testcase what happened was that since we replaced the doubled-transpose
with the shuffle, it ended up in the ShapeMap.  As we lowered the
columnwise-load the use in the shuffle was not updated.  Then as we removed
the original columnwise-load we changed that to an undef.  I.e. we ended up
with:

```
%shuf = shufflevector <8 x double> undef, <8 x double> poison, <6 x i32>
                                   ^^^^^
                                  <i32 0, i32 1, i32 2, i32 4, i32 5, i32 6>
```

Besides the fix itself, I have fortified this last bit.  As we change uses to
undef when removing instruction we track the undefed instruction to make sure
we eventually remove those too.  This would have caught the issue at compile
time.

Differential Revision: https://reviews.llvm.org/D106714
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-opts.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit d87d3615f75502b3adf93d05d4a217f6ab947fdd by anemet
[Matrix] Fix shape for factored transpose

The shape of the input is C x R.

Differential Revision: https://reviews.llvm.org/D106722
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-opts.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit e26356a00ecba749b471ee7096b47d199b622c85 by thakis
[lld/mac] Fix application-extension.s failure after 8e8701abca3d4

The test accidentally tested something else that makes lld fail
with a different (correct-looking) error that wasn't the one the
test tries to test for. (The test case before this change makes
ld64 hang in an infinite loop.)
The file was modifiedlld/test/MachO/application-extension.s
Commit df95697db32ba0ff9e78b59f536b7a11e8f73b07 by llvmgnsyncbot
[gn build] Port 02077da7e7a8
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
Commit 00411ebeeb718da63d1ec0e0ffc8e5012e474fe9 by jianzhouzh
[dfsan][NFC] Update API interfaces

Reviewed By: gbalats

Differential Revision: https://reviews.llvm.org/D106895
The file was modifiedclang/docs/DataFlowSanitizerDesign.rst
Commit 1ee6559ef698301eeb220126937b563858999d92 by Vitaly Buka
[ASAN] NFC: Remove redundant variable

`StackAlignment` has only one use: `StackAlignment = std::max(StackAlignment, AI.getAlignment());` So it is redundant.

Reviewed By: vitalybuka, MTC

Differential Revision: https://reviews.llvm.org/D106741
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit a11d9a1f480ff83f98c550a6139637ff69c9c07c by Amara Emerson
[AArch64][GlobalISel] Fix constraining LDXPX intrinsic selection.

Causes a fallback because of lack of regclasses on vregs, unless its without
asserts, where we end up crashing later in codegen.
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
Commit fac6c5cf9b65fba6e028d9d2fdbec5c3114db542 by Amara Emerson
Add test update for a11d9a1f480f which disables fallbacks.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll
Commit 05815c9f638c2a62e1ce9b28b26d74c7bea81f2e by benny.kra
Remove unused include that's also a layering violation. NFC.
The file was modifiedllvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
Commit 3dc39f282996c5785915f115fd37fb981f8d479a by muiez
[SystemZ][z/OS][libcxx]: Disable align_val_t test cases on z/OS

align_val_t is not supported on z/OS, it causes failure on z/OS. similar to https://reviews.llvm.org/rGd0fe294729a2ac45625ed45a5619c8405a14db49 , we will need to disable those test cases on z/OS platform.

Differential Revision: https://reviews.llvm.org/D106810
The file was modifiedlibcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.verify.cpp
The file was modifiedlibcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align.verify.cpp
The file was modifiedlibcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.verify.cpp
The file was modifiedlibcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align_nothrow.verify.cpp
The file was modifiedlibcxx/test/std/language.support/support.dynamic/align_val_t.pass.cpp
Commit dd57915b1ef6568e335053131e600eb4c26d1f1e by thakis
[lld/mac] Fix sub-library.s on Windows after 8e8701abca3d4f0

The endswith() check for the framework name fails when joining
with the native path separator. Always use the posix separator as fix.
The file was modifiedlld/MachO/InputFiles.cpp
Commit a2d4b064644bdf146d0649c6a70e595567f1213f by fanbo.meng
[z/OS] Make MinGlobalAlign consistent with SystemZ

Remove overriding MinGlobalAlign to 0 for z/OS target to be consistent with SystemZ.

Reviewed By: abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D106890
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
Commit 835ef6f93d5789d3d7d905462e7574a38b30577d by fmayer
[hwasan] Fix stack safety test for old PM.

With the old PM, the stub for __hwasan_generate_tag is still generated
in the IR, but never called.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106858
The file was modifiedclang/test/CodeGen/hwasan-stack-safety-analysis.c
Commit 74c65906bcb77bf79cd7a102456e6e46d001290a by arsenm2
AMDGPU/GlobalISel: Add a few tests for unaligned truncating stores
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
Commit 82ab1ae54e91619c8e56d8184ae5fcf1d1fa23e3 by arsenm2
AMDGPU/GlobalISel: Fix wrong addrspace in test MMOs
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
Commit d7d2e4545e6b04ea29ffd05ebef2f7c26590b925 by arsenm2
AMDGPU/GlobalISel: Fix selecting G_SEXTLOAD/G_ZEXTLOAD pre-gfx9

The patterns for the m0 glue patterns were failing to import.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sextload-local.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zextload-local.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
Commit 571673ce390a2f4973946c06801dfb2037115750 by psteinfeld
[flang] Disallow BOZ literal constants as output list items

According to C7109, "A boz-literal-constant shall appear only as a
data-stmt-constant in a DATA statement, or where explicitly allowed in
16.9 as an actual argument of an intrinsic procedure."  This change
enforces that constraint for output list items.

I also added a general interface to determine if an expression is a BOZ
literal constant and changed all of the places I could find where it
could be used.

I also added a test.

This change stemmed from the following issue --
  https://gitlab-master.nvidia.com/fortran/f18-stage/issues/108

Differential Revision: https://reviews.llvm.org/D106893
The file was modifiedflang/lib/Semantics/check-call.cpp
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/test/Semantics/boz-literal-constants.f90
The file was modifiedflang/include/flang/Evaluate/tools.h
The file was modifiedflang/lib/Evaluate/intrinsics.cpp
The file was modifiedflang/lib/Semantics/data-to-inits.cpp
The file was modifiedflang/lib/Semantics/check-io.cpp
Commit e07f9342be7132f433963880d95e471ae2246d64 by Jinsong Ji
[libclang] Check LLVM_HAVE_LINK_VERSION_SCRIPT

There are some platform that might not have version script support,
don't try to use version script on those.

Reviewed By: MaskRay, hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D106914
The file was modifiedclang/tools/libclang/CMakeLists.txt
Commit d1c7a57fe8e051aa7886a7d4052627f6bc4a4ae6 by jpienaar
[mlir][bzl] Fix typo
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 71909de37495c82e31ae3a59f366f48e8fb66e54 by koraq
[libc++] Disable incomplete library features.

Adds a new CMake option to disable the usage of incomplete headers.
These incomplete headers are not guaranteed to be ABI stable. This
option is intended to be used by vendors so they can avoid their users
from code that's not ready for production usage.

The option is enabled by default.

Differential Revision: https://reviews.llvm.org/D106763
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/ctor.view.pass.cpp
The file was modifiedlibcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.range/enable_borrowed_range.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/has_value.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/ctad.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/output_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.access.end/end.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/requirements.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/properties.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/deref.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/general.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.dangling/borrowed_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/base.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.range/sentinel_t.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/advance_to.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.view/view.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/ssize.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/enable_borrowed_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/deref.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/size.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/ctor.in_place.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/assign.move.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/sentinel.pass.cpp
The file was modifiedlibcxx/src/CMakeLists.txt
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/ctad.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/ctor/begin_end_size.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.utility.helpers/simple_view.compile.pass.cpp
The file was modifiedlibcxx/utils/generate_header_inclusion_tests.py
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/types.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/compare.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.range/iterator_t.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/begin.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/base.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/ctad.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/ctor/pair_like_conv.pass.cpp
The file was modifiedlibcxx/include/format
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/has_value.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/end.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.range/range_size_t.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/no_assert_include.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/end.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/format/version.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/ctor.pass.cpp
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/no_unique_address.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/size.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/input_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/end.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/common_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/access/advance.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/access/get.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/begin.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/assign.move.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.access.cend/incomplete.compile.verify.cpp
The file was modifiedlibcxx/docs/BuildingLibcxx.rst
The file was modifiedlibcxx/test/std/containers/unord/unord.map/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/ctor.default.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.view/enable_view.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/base.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/borrowing.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.view/view.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/ctor.move.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/ctor/begin_end.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/access/primitives.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.empty/empty_view.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.view/view_base.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/general.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/data.incomplete.verify.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/format.version.pass.cpp
The file was modifiedlibcxx/cmake/caches/Apple.cmake
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/ctor.default.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/iterators.common/assign.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.dangling/dangling.pass.cpp
The file was modifiedlibcxx/utils/generate_header_tests.py
The file was modifiedlibcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/contiguous_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/bidirectional_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.range/borrowed_range.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/iter_move.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.utility.helpers/different_from.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/data.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/arithmetic.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/ctor.copy.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/ctor.default.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.access.begin/incomplete.compile.verify.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/begin.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/deref.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.all/all_t.compile.pass.cpp
The file was modifiedlibcxx/include/ranges
The file was modifiedlibcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/viewable_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/general.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.access.begin/begin.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/ctor.default.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/assign.copy.pass.cpp
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/size.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/size.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.range/borrowed_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/types.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.range/range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/empty.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/ctor.view.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/base.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.utility.helpers/has_arrow.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.sized/sized_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.range/helper_aliases.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/ctor.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/begin.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/plus_minus.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.all/all.pass.cpp
The file was modifiedlibcxx/test/libcxx/min_max_macros.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.sized/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.ref.view.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/ctad.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/double_include.sh.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/assign.copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/random_access_range.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/version.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.error/format.error.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.access.end/incomplete.compile.verify.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
The file was modifiedlibcxx/test/libcxx/ranges/range.nonprop.cache/constraints.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/empty.incomplete.verify.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/ctor/range_size.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/iterator/subscript.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.req/range.refinements/forward_range.compile.pass.cpp
The file was modifiedlibcxx/utils/libcxx/test/features.py
The file was modifiedlibcxx/test/libcxx/inclusions/ranges.inclusions.compile.pass.cpp
The file was modifiedlibcxx/include/__config_site.in
The file was modifiedlibcxx/test/std/ranges/range.utility/range.dangling/borrowed_subrange.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.utility/range.subrange/ctor/range.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/end.pass.cpp
Commit 0018c7123be3e090ba546fb730ed316fa2567655 by jingham
Fix "break delete --disabled" with no arguments.

The code that figured out which breakpoints to delete was supposed
to set the result status if it found breakpoints, and then the code
that actually deleted them checked that the result's status was set.

The code for "break delete --disabled" failed to set the status if
no "protected" breakpoints were provided.  This was a confusing way
to implement this, so I reworked it with early returns so it was less
error prone, and added a test case for the no arguments case.

Differential Revision: https://reviews.llvm.org/D106623
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
Commit 910353c1048e5efac64b639a65b4d968aba3aa81 by jingham
When calculating the "currently selected thread" in
Process::HandleStateChangedEvent, we check whether a thread stopped
for eStopReasonSignal is stopped for a signal that's currently set to
"no-stop". If it is, then we don't set that thread as the currently
selected thread.

But that only happens in the part of the algorithm that's handling the
case where the previously selected thread has no stop reason. Since we
want to keep on a thread as long as it is doing something interesting,
we always prefer the current thread. That's almost right, but we
forgot to check whether the previously selected thread stopped with an
eStopReasonSignal for a "no-stop" signal. If it did, then we shouldn't
select it.

This patch adds that check. I can't figure out a good way to test
this. This is the sort of thing that Ismail's scripted process plugin
will make easy once it is a real boy. But figuring out how to do this
in a real process is not trivial.

Differential Revision: https://reviews.llvm.org/D106712
The file was modifiedlldb/source/Target/Process.cpp
Commit 69529286ce2dcd90563bca97537ce570c6d115b4 by jingham
Add a test for top-level expressions using "expr --top-level".

This was broken for a while even though the Python version
continued to work.  This adds a test so it doesn't regress.
The file was modifiedlldb/test/API/commands/expression/top-level/TestTopLevelExprs.py
Commit 8baa87d91811a3da0dc69550b84a773d98902c8b by hedingarcia
[libc] Enable MPFR library for math functions test

Included more math functions to Windows's entrypoints
and made a cmake option (-DLLVM_LIBC_MPFR_INSTALL_PATH)
where the user can specify the install path where the MPFR
library was built so it can be linked. The try_compile was
moved to LLVMLibCCheckMPFR.cmake, so the variable that is
set after this process can retain its value in other files
of the same parent file. A direct reason for this is for
LIBC_TESTS_CAN_USE_MPFR to be true when the user specifies
MPFR's path and retain its value even after leaving the file.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106894
The file was modifiedlibc/utils/MPFRWrapper/CMakeLists.txt
The file was addedlibc/cmake/modules/LLVMLibCCheckMPFR.cmake
The file was modifiedlibc/config/windows/README.md
The file was modifiedlibc/CMakeLists.txt
The file was modifiedlibc/config/windows/entrypoints.txt
Commit ddd84821172152592f76c2d5bf3debed436fc05e by riddleriver
[PDL] Remove RewriteEndOp and mark RewriteOp as NoTerminator

RewriteEndOp was a fake terminator operation that is no longer needed now that blocks are not required to have terminators.

Differential Revision: https://reviews.llvm.org/D106911
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
The file was modifiedmlir/test/Dialect/PDL/invalid.mlir
Commit e90a0d6381911fba87ae55fc1e6f877a3f3890d9 by riddleriver
[mlir] Add a FailureOr copy constructor from a FailureOr of a convertible type.
The file was modifiedmlir/include/mlir/Support/LogicalResult.h
Commit 0b8d30b16e01b1ce9915aa7626ba6bacf1becc3b by spatel
[x86] add more tests for cmov and lea; NFC
The file was modifiedllvm/test/CodeGen/X86/add-cmov.ll
Commit 156ba620b3805f6b0b106b3751ec68a4722e35ff by spatel
[x86] update stale code comment; NFC

The transform was generalized with:
1ce05ad619a5
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 778932c673c28ce5fb75e551f1aa6bb5a542c563 by nemanja.i.ibm
[PowerPC] Turn deprecated altivec prefetch instrs to nops on AIX

The dst/dstt/dstst/dststt instructions are nop's on all PowerPC
cores that AIX supports. The AIX assembler also does not accept
these mnemonics. Turn them into nop's on AIX (similar to dstall).
The file was modifiedllvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit dd8b93a9e76bc5e3c8fc521fcb06c779371211d3 by sivachandra
[libc] Fix x86_64 fenv implementation for windows

All fenv functions are also enabled for windows. Since two tests,
enabled_exceptions_test and feholdexcept_test are still failing on
windows, they have been disabled.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D106808
The file was modifiedlibc/test/src/fenv/CMakeLists.txt
The file was modifiedlibc/config/windows/entrypoints.txt
The file was modifiedlibc/utils/FPUtil/x86_64/FEnvImpl.h
Commit c49df15c278857adecd12db6bb1cdc96885f7079 by jianzhouzh
[dfsan][NFC] Describe how origin trace tracking works

Reviewed By: gbalats

Differential Revision: https://reviews.llvm.org/D106903
The file was modifiedclang/docs/DataFlowSanitizerDesign.rst
Commit 0276db14167b9348904322084e7fc1a04cc72452 by tianshilei1992
[OpenMP] Creating the `omp_target_num_teams` and `omp_target_thread_limit` attributes to outlined functions

The device runtime contains several calls to __kmpc_get_hardware_num_threads_in_block
and __kmpc_get_hardware_num_blocks. If the thread_limit and the num_teams are constant,
these calls can be folded to the constant value.

In commit D106033 we have the optimization phase. This commit adds the attributes to
the outlined function for the grid size. the two attributes are `omp_target_num_teams` and
`omp_target_thread_limit`. These values are added as long as they are constant.

Two functions are created `getNumThreadsExprForTargetDirective` and
`getNumTeamsExprForTargetDirective`. The original functions `emitNumTeamsForTargetDirective`
and `emitNumThreadsForTargetDirective` identify the expresion and emit the code.
However, for the Device version of the outlined function, we cannot emit anything.
Therefore, this is a first attempt to separate emision of code from deduction of the
values.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106298
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was addedclang/test/OpenMP/target_num_teams_num_threads_attributes.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
Commit 0a74fbb7b1d3e04ac03389f1fc455ac593c2e5ee by apl
[lldb][NFC] Fix incorrect log and comment

Likely copy & paste issue that was overlooked years ago
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
Commit 0784e62c3c4a4aaabdf29f6fa0b5f8f7598a90d4 by sivachandra
[libc] Fix strtok_r crash when src and *saveptr are both nullptr

While working and testing my refactoring of multiple string functions in libc, I came across a bug that needs to be addressed in a patch on its own: src is checked for nullptr and assigned to *saveptr if it is nullptr. However, saveptr is initially nullptr when it comes to reentry. This could cause a problem if both saveptr and src are null; we need to do the check first and return nullptr if both are nullptr.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106885
The file was modifiedlibc/src/string/string_utils.h
The file was modifiedlibc/test/src/string/strtok_r_test.cpp
Commit 3c76e992911afdf0cb2394e3fba3f13c17c15b26 by protze
[OpenMP] Fix deadlock for detachable task with child tasks

This patch fixes https://bugs.llvm.org/show_bug.cgi?id=49066.

For detachable tasks, the assumption breaks that the proxy task cannot have
remaining child tasks when the proxy completes.
In stead of increment/decrement the incomplete task count, a high-order bit
is flipped to mark and wait for the incomplete proxy task.

Differential Revision: https://reviews.llvm.org/D101082
The file was addedopenmp/runtime/test/tasking/detach_nested_task.c
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
Commit eb76ca573d755fd445596e63ef1f0d30937097f6 by mtrofin
[NFC][MLGO] Debug messages for what inline advisor is selected

We already have an indication (error) if the desired inline advisor
cannot be enabled, but we don't have a positive indication. Added
LLVM_DEBUG messages for the latter.
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
Commit e32e1dae61f20569fc16951b15ab9f63b9acfe08 by protze
[OpenMP][Tests] Fix test compatibility

gcc and clang disagree in how the event handle needs to be handled.
According to OpenMP LC, gcc is right. Will open clang bug report
The file was modifiedopenmp/runtime/test/tasking/detach_nested_task.c
Commit 935dea2cb2f3266bdb7bd7ae669dd8220820052b by mtrofin
[MLGO] fix silly LLVM_DEBUG misuse
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
Commit edbdf8e5b5aad9f1d7f12dd4025d6811a6fff0b2 by Jinsong Ji
[AIX] Update fetch_and_add type

It turns out that the AIX kernel is defining int instead of unsigned int for fetch_and_add.

Legacy XL also defines this to be signed.

https://www.ibm.com/docs/en/aix/7.2?topic=f-fetch-add-kernel-services

So update the type for compat.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D106920
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/test/CodeGen/builtins-ppc-xlcompat-fetch-error.c
The file was modifiedclang/test/CodeGen/builtins-ppc-xlcompat-fetch.c
Commit e3ee76245ead4eebad2aec0e24c2582ffa9c7378 by huberjn
[Libomptarget] Revert new variable sharing to use the old method

The new method of sharing variables introduces a `__kmpc_alloc_shared` call
that cannot be removed in the middle end because of its non-constant argument
and unconnected free. This patch reverts this to the old method that used a
static amount of shared memory for sharing variables.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106905
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Parallelism.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Interface.h
The file was modifiedopenmp/libomptarget/DeviceRTL/src/State.cpp
Commit 38880394030ea5c126884d3571dc742487b6df13 by thakis
[gn build] manually port 71909de37495
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit b9cf1769de54152c05614e6bf00c89f2a67f6d8d by amilendra.kodithuwakku
[lld][ELF] remove empty SyntheticSections from inputSections

Change removeUnusedSyntheticSections() to actually remove empty
SyntheticSections in inputSections.

In addition to doing what removeUnusedSyntheticSections() was meant
to do, this will also make the shuffle-sections tests, which shuffles
inputSections, less sensitive to empty Synthetic Sections that
will not appear in the final image.

Reviewed By: MaskRay

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

Change-Id: I589eaf596472161a4395fb658aea0fad73318088
The file was modifiedlld/test/ELF/shuffle-sections.s
The file was modifiedlld/test/ELF/shuffle-sections-init-fini.s
The file was modifiedlld/ELF/Writer.cpp
Commit 3d272eea08b1e018a0dfbd6dbd602272382aa99a by jyknight
Fix test/Transforms/LoopVectorize/AArch64/strict-fadd-vf1.ll.

It was writing to the source directory (which may not be writeable),
rather than using %t.

Fixes: a5dd6c6cf935 ("[LoopVectorize] Don't interleave scalar ordered reductions for inner loops")
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd-vf1.ll
Commit 86832c9440fbf1a8d707dc7ce25bdce197735fa1 by leonardchan
[compiler-rt][hwasan][Fuchsia] Do not emit FindDynamicShadowStart for Fuchsia

This function is unused because fuchsia does not support a dynamic shadow.

Differential Revision: https://reviews.llvm.org/D105735
The file was modifiedcompiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
Commit b187e0389d13d72056c7c15e10bcb7f429a9aa87 by zoecarver
[libcxx][nfc] Delete `cpp20_input_iterator`'s default constructor.

This will make it conform only to the minimum requirements for an `input_iterator`.
The file was modifiedlibcxx/test/support/test_iterators.h
Commit 8a48e6dda9f7fb9c7ae7207dcb9570d2c11255ad by zoecarver
[libcxx][ranges] Add `counted_iterator`.

Differential Revision: https://reviews.llvm.org/D106205
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/arrow.pass.cpp
The file was modifiedlibcxx/include/module.modulemap
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/subscript.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/iterator_traits.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/iterator_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/minus.default_sentinel.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/minus.size.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/iter_move.pass.cpp
The file was modifiedlibcxx/include/iterator
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/member_types.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/minus.eq.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/increment.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/deref.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/three_way_compare.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.conv.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/plus.pass.cpp
The file was modifiedlibcxx/docs/Status/RangesPaper.csv
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/compare.pass.cpp
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.module.verify.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/count.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/base.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.default.pass.cpp
The file was addedlibcxx/include/__iterator/counted_iterator.h
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/assign.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/iter_swap.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/decrement.pass.cpp
The file was addedlibcxx/test/std/iterators/predef.iterators/counted.iterator/minus.iter.pass.cpp
Commit cbb709e25124dc38ee593882051fc88c987fe591 by johannes
[Attributor] Disable simplification AAs if a callback is present

AAValueSimplify, AAValueConstantRange, and AAPotentialValues all look at
the IR by default. If queried for a IR position which has a
simplification callback we should either look at the callback return, or
give up. We do the latter for now.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit ed7ec860f03caf6b702f27a74c3682d061f60e1d by johannes
[OpenMP] Improve alignment handling in the new device runtime
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Utils.h
The file was modifiedopenmp/libomptarget/DeviceRTL/src/State.cpp
Commit fd520e75f173f380de530f101005e16256a6de42 by johannes
[Attributor] Verify `checkForAllUses` return value properly

Also do not emit more than one remark after Heap2Stack failed.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit aa27430a625b2fd059707a87f8ba2df8f480ff11 by johannes
Revert "[Attributor] Disable simplification AAs if a callback is present"

This reverts commit cbb709e25124dc38ee593882051fc88c987fe591 as it
breaks the tests, which was not supposed to happen. Investigating now.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 7809e04e3c5fd0912f35fb5ec951378a6a2f0e83 by llvmgnsyncbot
[gn build] Port 8a48e6dda9f7
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit b00c8ab1b915d7f32ad7a60255f33f210e12a3c6 by i
Revert "[ELF] --gc-sections: allow GC on reserved sections in a group"

clang may place dynamic initializations for explicitly specialized class
template static data members in comdat.
Such in-comdat SHT_INIT_ARRAY was an abuse but we have to work around it for a while.
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/test/ELF/gc-sections-group.s
Commit 64d5b6e3737c02742b3568e797d84d831f7e8734 by kparzysz
[Hexagon] Fix resetting dead registers in DBG_VALUE_LISTs

This fixes https://llvm.org/PR51229.
The file was addedllvm/test/CodeGen/Hexagon/hwloop-dbg-register.mir
The file was modifiedllvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
Commit ec1a49170129ddb62f268ff0b3f12b3d09987a7e by gclayton
Create synthetic symbol names on demand to improve memory consumption and startup times.

This is a resubmission of https://reviews.llvm.org/D105160 after fixing testing issues.

This fix was created after profiling the target creation of a large C/C++/ObjC application that contained almost 4,000,000 redacted symbol names. The symbol table parsing code was creating names for each of these synthetic symbols and adding them to the name indexes. The code was also adding the object file basename to the end of the symbol name which doesn't allow symbols from different shared libraries to share the names in the constant string pool.

Prior to this fix this was creating 180MB of "___lldb_unnamed_symbol" symbol names and was taking a long time to generate each name, add them to the string pool and then add each of these names to the name index.

This patch fixes the issue by:

not adding a name to synthetic symbols at creation time, and allows name to be dynamically generated when accessed
doesn't add synthetic symbol names to the name indexes, but catches this special case as name lookup time. Users won't typically set breakpoints or lookup these synthetic names, but support was added to do the lookup in case it does happen
removes the object file baseanme from the generated names to allow the names to be shared in the constant string pool
Prior to this fix the startup times for a large application was:
12.5 seconds (cold file caches)
8.5 seconds (warm file caches)

After this fix:
9.7 seconds (cold file caches)
5.7 seconds (warm file caches)

The names of the symbols are auto generated by appending the symbol's UserID to the end of the "___lldb_unnamed_symbol" string and is only done when the name is requested from a synthetic symbol if it has no name.

Differential Revision: https://reviews.llvm.org/D106837
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
The file was modifiedlldb/source/Symbol/Symbol.cpp
The file was modifiedlldb/test/Shell/ObjectFile/ELF/eh_frame-symbols.yaml
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/symtab.test
Commit 6b4ce5fd52e03dc2a5dcf0930353c021a48605bb by riddleriver
[PDL] Fix the builders for OperationOp and PatternOp
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
Commit 2f7511c82239a11b902dba7ac170668183fdca74 by riddleriver
[PDL] Mark PatternOp as SingleBlock

This provides access to the SingleBlock accessor methods, e.g. getBody().
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
Commit 6ff73efea94621e74642e4d7a15cc86a5fb6d411 by xiang1.zhang
[X86] Fix lowering to illegal type in LowerINSERT_VECTOR_ELT
The file was modifiedllvm/test/CodeGen/X86/insertelement-var-index.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 2e4755ff6058b5032b77ccca04aa6dab7db081a5 by Louis Dionne
[libc++] Fix a few warnings in system headers with GCC

This isn't fixing all of them, but at least it's making some progress.

Differential Revision: https://reviews.llvm.org/D106283
The file was modifiedlibcxx/include/__hash_table
The file was modifiedlibcxx/include/random
The file was modifiedlibcxx/include/__ranges/transform_view.h
The file was modifiedlibcxx/include/barrier
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/include/cmath
The file was modifiedlibcxx/include/compare
The file was modifiedlibcxx/include/semaphore
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/regex
The file was modifiedlibcxx/include/charconv
Commit aaacd8c40622f11f9f98c1a33373f97437e228d6 by joker.eph
Add llvm::equal convenient wrapper for ranges around std::equal

Differential Revision: https://reviews.llvm.org/D106913
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedmlir/include/mlir/IR/OpBase.td
Commit 2ca3937131d92d7111964ee9ab8b9ab1d35e8a08 by xiang1.zhang
Revert "[X86] Fix lowering to illegal type in LowerINSERT_VECTOR_ELT"

This reverts commit 6ff73efea94621e74642e4d7a15cc86a5fb6d411.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/insertelement-var-index.ll
Commit 3dca83961c9a35b6f640d9f7fdc244ec07bffe71 by johannes
Reapply "[Attributor] Disable simplification AAs if a callback is present""

This reapplies commit cbb709e25124dc38ee593882051fc88c987fe591 and
includes the use of the lookup method instead of operator[] to avoid
accidentally setting (empty) simplification callbacks.

This reverts commit aa27430a625b2fd059707a87f8ba2df8f480ff11.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 3223d41017f1667d47a828fc98b86008bdecddb0 by xiang1.zhang
[X86] Fix lowering to illegal type in LowerINSERT_VECTOR_ELT

Differential Revision: https://reviews.llvm.org/D106780
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/insertelement-var-index.ll
Commit 784f258c0970ec978dc761e390b32cc2ef84d29d by aqjune
Precommit test files for D105344 (NFC)
The file was addedllvm/test/CodeGen/X86/setcc-freeze.ll
Commit 4f71f59bf3d9914188a11d0c41bedbb339d36ff5 by aqjune
[DAGCombiner] Fold SETCC(FREEZE(x),const) to FREEZE(SETCC(x,const)) if SETCC is used by BRCOND

This patch adds a peephole optimization `SETCC(FREEZE(x),const)` => `FREEZE(SETCC(x,const))`
if the SETCC is only used by BRCOND.

Combined with `BRCOND(FREEZE(X)) => BRCOND(X)`, this leads to a nice improvement in the generated assembly when x is a masked loaded value.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D105344
The file was modifiedllvm/test/CodeGen/X86/setcc-freeze.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit ce2a5fa72be3fd1d606505f98d3831706c28cfa8 by George Burgess IV
llvm/utils: guarantee revert_checker's revert ordering

At the moment, the revert ordering from this tool is unspecified (though
it happens to be in `git log` order, so newest reverts come first).

From the standpoint of tooling and users, this seems to be the opposite
of what we want by default: tools and users will generally try to apply
these reverts as cherry-picks. If two reverts in the list are close
enough to each other, if the reverts get applied out of order, we'll get
a merge conflict.

Rather than having `reverse`s for all tools (and mental reverses for
manual users), just guarantee an oldest-first output ordering for this
function.

Differential Revision: https://reviews.llvm.org/D106838
The file was modifiedllvm/utils/revert_checker.py
The file was modifiedllvm/utils/revert_checker_test.py
Commit 4819b751bd875f458eb0060f7c586aa9ac41965c by mizvekov
[clang] NFC: change uses of `Expr->getValueKind` into `is?Value`

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D100733
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
Commit 5ab6aedda9d959a44453b7163b59f645012dbb83 by tianshilei1992
[OpenMP] Folding threadLimit and numThreads when single value in kernels

The device runtime contains several calls to `__kmpc_get_hardware_num_threads_in_block`
and `__kmpc_get_hardware_num_blocks`. If the thread_limit and the num_teams are constant,
these calls can be folded to the constant value.

In this patch we use the already introduced `AAFoldRuntimeCall` and the `NumTeams` and
`NumThreads` kernel attributes (to be introduced in a different patch) to fold these functions.
The code checks all the kernels, and if their attributes match, the functions are folded.

In the future we will explore specializing for multiple values of NumThreads and NumTeams.

Depends on D106390

Reviewed By: jdoerfert, JonChesterfield

Differential Revision: https://reviews.llvm.org/D106033
The file was addedllvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold.ll
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/target_interface.h
Commit d2f85d0910ce94cf55793d9cda09beaaa03e881e by tianshilei1992
[OpenMP][Libomptarget] Adding `print_device_info` to RTL and `omptarget`

This patch introduces a function in the device's plugin to print the
device information. This patch relates to another patch that introduces
a CLI tool to obtain the device information from the omplibrary directly.
It is inspired by PGI's pgaccelinfo.

The modifications are as follows:
1. Introduce the optional `void __tgt_rtl_print_device_info(RTLdevID)` function into the RTL.
2. Introduce the `bool __tgt_print_device_info(devID)` function into `omptarget` interface. Returns false if the RTL is not implemented
3. Added `bool printDeviceInfo(RTLDevID)` to the `DeviceTy`
4. Implement the `__tgt_rtl_print_device_info` for CUDA. Added additional CUDA Runtime calls.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106751
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedopenmp/libomptarget/src/exports
The file was modifiedopenmp/libomptarget/src/rtl.h
The file was modifiedopenmp/libomptarget/plugins/exports
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/include/omptargetplugin.h
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
Commit 323b9bf862552c126865319d84afbad16a9f4941 by i
[lld] Replace LLVM_ATTRIBUTE_NORETURN with [[noreturn]]

[[noreturn]] can be used since 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015.
The file was modifiedlld/include/lld/Common/ErrorHandler.h
The file was modifiedlld/tools/lld/lld.cpp
Commit f2026f5d6e4fc593ba1d5f0fb5a3393688b8e6dc by i
[mlir] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]

[[noreturn]] can be used since 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015.
The file was modifiedmlir/lib/Interfaces/DataLayoutInterfaces.cpp
Commit 3c4547692368239fca21ec294a5a406ea5a44889 by jingham
Fix a thinko in the parsing of substitutions in CommandObjectRegexCommand.

The old code incorrectly calculated the start position for the search
for the third (and subsequent) instance of a particular substitution
pattern (e.g. %1).

I also added a few test cases for this parsing covering this failure.
The file was modifiedlldb/source/Commands/CommandObjectRegexCommand.cpp
The file was addedlldb/test/API/commands/command/regex/TestRegexCommand.py
The file was addedlldb/test/API/commands/command/regex/echo_command.py
Commit fe7ca1a9fca0ccea7495224e0e837de705e69699 by clementval
[mlir][openacc] Initial translation for DataOp to LLVM IR

Add basic translation of acc.data to LLVM IR with runtime calls.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D104301
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedmlir/test/Target/LLVMIR/openacc-llvm.mlir
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedmlir/lib/Target/LLVMIR/Dialect/OpenACC/OpenACCToLLVMIRTranslation.cpp
Commit 313c5239959b8f9e5cc182b982c914978f437ae1 by tianshilei1992
[OpenMP][Tool] Introducing the `llvm-omp-device-info` tool

This patch introduces the `llvm-omp-device-info` tool, which uses the
omptarget library and interface to query the device info from all the
available devices as seen by OpenMP. This is inspired by PGI's `pgaccelinfo`

Since omptarget usually requires a description structure with executable
kernels, I split the initialization of the RTLs and Devices to be able to
initialize all possible devices and query each of them.

This revision relies on the patch that introduces the print device info.

A limitation is that the order in which the devices are initialized, and the
corresponding device ID is not necesarily the one seen by OpenMP.

The changes are as follows:
1. Separate the RTL initialization that was performed in `RegisterLib` to its own `initRTLonce` function
2. Create an `initAllRTLs` method that initializes all available RTLs at runtime
3. Created the `llvm-deviceinfo.cpp` tool that uses `omptarget` to query each device and prints its information.

Example Output:
```
Device (0):
    print_device_info not implemented

Device (1):
    print_device_info not implemented

Device (2):
    print_device_info not implemented

Device (3):
    print_device_info not implemented

Device (4):
    CUDA Driver Version:                11000
    CUDA Device Number:                 0
    Device Name:                        Quadro P1000
    Global Memory Size:                 4236312576 bytes
    Number of Multiprocessors:          5
    Concurrent Copy and Execution:      Yes
    Total Constant Memory:              65536 bytes
    Max Shared Memory per Block:        49152 bytes
    Registers per Block:                65536
    Warp Size:                          32 Threads
    Maximum Threads per Block:          1024
    Maximum Block Dimensions:           1024, 1024, 64
    Maximum Grid Dimensions:            2147483647 x 65535 x 65535
    Maximum Memory Pitch:               2147483647 bytes
    Texture Alignment:                  512 bytes
    Clock Rate:                         1480500 kHz
    Execution Timeout:                  Yes
    Integrated Device:                  No
    Can Map Host Memory:                Yes
    Compute Mode:                       DEFAULT
    Concurrent Kernels:                 Yes
    ECC Enabled:                        No
    Memory Clock Rate:                  2505000 kHz
    Memory Bus Width:                   128 bits
    L2 Cache Size:                      1048576 bytes
    Max Threads Per SMP:                2048
    Async Engines:                      Yes (2)
    Unified Addressing:                 Yes
    Managed Memory:                     Yes
    Concurrent Managed Memory:          Yes
    Preemption Supported:               Yes
    Cooperative Launch:                 Yes
    Multi-Device Boars:                 No
    Compute Capabilities:               61
```

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D106752
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was addedopenmp/libomptarget/tools/deviceinfo/CMakeLists.txt
The file was modifiedopenmp/libomptarget/src/exports
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedopenmp/libomptarget/src/rtl.h
The file was addedopenmp/libomptarget/tools/deviceinfo/llvm-omp-device-info.cpp
The file was modifiedopenmp/libomptarget/CMakeLists.txt
The file was addedopenmp/libomptarget/tools/CMakeLists.txt
The file was modifiedopenmp/libomptarget/include/omptarget.h
Commit 88e66fa60ae5bad764455b5a0337aa47233f657d by johannes
[OpenMP] Fixing missing variables when CUDA SDK not in system

This patch fixes the error reported in D106751. When there is no CUDA SDK
installed in the system, the build fails due to missing `CU_DEVICE_ATTRIBUTE`
variables.

Using @zsrkmyn sugested fix

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106933
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h
Commit 08c766a7318ab37bf1d77e0c683cd3b00e700877 by tstellar
Bump the trunk major version to 14

and clear the release notes.
The file was modifiedpstl/docs/ReleaseNotes.rst
The file was modifiedclang/docs/analyzer/conf.py
The file was modifiedllvm/utils/gn/secondary/llvm/version.gni
The file was modifiedpolly/docs/ReleaseNotes.rst
The file was modifiedllvm/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedllvm/utils/lit/lit/__init__.py
The file was modifiedlibunwind/docs/conf.py
The file was modifiedclang-tools-extra/docs/conf.py
The file was modifiedlld/docs/conf.py
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedpolly/docs/conf.py
The file was modifiedlibcxx/docs/conf.py
The file was modifiedlibcxx/include/__config
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedpstl/test/pstl/version.pass.cpp
The file was modifiedllvm/utils/release/build_llvm_package.bat
The file was modifiedpstl/include/pstl/internal/pstl_config.h
Commit b349d4c5e1852091aad97d3750e286493cac7178 by joker.eph
Emit strong definition for TypeID storage in Op/Type/Attributes definition

By making an explicit template specialization for the TypeID provided by these classes,
the compiler will not emit an inline weak definition and rely on the linker to unique it.
Instead a single definition will be emitted in the C++ file alongside the implementation
for these classes. That will turn into a linker error what is now a hard-to-debug runtime
behavior where instances of the same class may be using a different TypeID inside of
different DSOs.

Differential Revision: https://reviews.llvm.org/D105903
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
The file was modifiedmlir/include/mlir/Support/TypeID.h
Commit 1a8c57179a129300c2b0c20032286ded8c7af77c by VenkataRamanaiah.Nalamothu
[AMDGPU] We would need FP if there is call and caller save VGPR spills

Since https://reviews.llvm.org/D98319, determineCalleeSavesSGPR() needs
to consider caller save VGPR spills as well while anticipating if we
require FP.

Fixes: SWDEV-295978

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D106758
The file was removedllvm/test/CodeGen/AMDGPU/need-fp-from-csr-vgpr-spill.ll
The file was addedllvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx-callable-preserved-registers.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
Commit 1cc29f027fe433770a478bb0a67956c5646f61b2 by joker.eph
Revert "Emit strong definition for TypeID storage in Op/Type/Attributes definition"

This reverts commit b349d4c5e1852091aad97d3750e286493cac7178.
This broke a bot that exposes some missing CMake dependencies that need
to be fixed first.
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/include/mlir/Support/TypeID.h
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
Commit 440e936c47f5271a741b13e96f8ff36388ea96b5 by dvyukov
Revert "sanitizers: increase .clang-format columns to 100"

This reverts commit 5d1df6d220f1d6f726d9643848679d781750db64.

There is a strong objection to this change:
https://reviews.llvm.org/D106436#2905618

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D106847
The file was modifiedcompiler-rt/lib/safestack/.clang-format
The file was modifiedcompiler-rt/lib/sanitizer_common/.clang-format
The file was modifiedcompiler-rt/lib/msan/.clang-format
The file was modifiedcompiler-rt/lib/dfsan/.clang-format
The file was modifiedcompiler-rt/lib/lsan/.clang-format
The file was modifiedcompiler-rt/lib/asan/.clang-format
The file was modifiedcompiler-rt/lib/tsan/.clang-format
The file was modifiedcompiler-rt/lib/interception/.clang-format
The file was modifiedcompiler-rt/lib/hwasan/.clang-format
Commit cf0ddf7ee5522c731b89dc5174b3d370f782119b by llvm-dev
[SLP][X86] Fix naming consistency of dot product tests. NFC.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/dot-product.ll
Commit 0a1ca2ad4ce239abc8d844f33048af58648edb80 by Lang Hames
[ORC] Fix missing include.

Aims to fix bot failures for some module builds, e.g.
https://green.lab.llvm.org/green/blue/organizations/jenkins/lldb-cmake/detail/lldb-cmake/33934/pipeline/
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRPCExecutorProcessControl.h
Commit ab5b8ee1a7a18fe097419e21224ac4f15591bcd7 by omair.javaid
[LLDB] Skip HW breakpoints test_step_until on Arm/Linux

test_step_until xpasses on some machines while fails on others. I am
marking it as skipped for now.
The file was modifiedlldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
Commit 6cd0e35f43ac7aab8ff05acb4c5dfaa9071958d5 by omair.javaid
Revert "[LLDB] Skip HW breakpoints test_step_until on Arm/Linux"

This reverts commit ab5b8ee1a7a18fe097419e21224ac4f15591bcd7.

This caused some failure on buildbots so reverting it for now.
The file was modifiedlldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
Commit 71616722d4092f88861e9eb337e2902bbab2cbd4 by marek.kurdej+llvm.org
[clang-format] Correctly attach enum braces with ShortEnums disabled

Previously, with AllowShortEnumsOnASingleLine disabled, enums that would have otherwise fit on a single line would always put the opening brace on its own line.
This patch ensures that these enums will only put the brace on its own line if the existing attachment rules indicate that it should.

Reviewed By: HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D99840
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 04b94c7caee48919d937350c312604d6c39365a4 by chris.jackson
Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR"

Crashes were reported on the upstreamm revision:
https://reviews.llvm.org/D105207

This reverts commit 796b84d26f4d461fb50e7b4e84e15a10eaca88fc.
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
Commit 6a7a2ee8161da84d9a58a88b497b0b47c8df99f3 by david.spickett
[lldb] Add "memory tag write" command

This adds a new command for writing memory tags.
It is based on the existing "memory write" command.

Syntax: memory tag write <address-expression> <value> [<value> [...]]
(where "value" is a tag value)

(lldb) memory tag write mte_buf 1 2
(lldb) memory tag read mte_buf mte_buf+32
Logical tag: 0x0
Allocation tags:
[0xfffff7ff9000, 0xfffff7ff9010): 0x1
[0xfffff7ff9010, 0xfffff7ff9020): 0x2

The range you are writing to will be calculated by
aligning the address down to a granule boundary then
adding as many granules as there are tags.

(a repeating mode with an end address will be in a follow
up patch)

This is why "memory tag write" uses MakeTaggedRange but has
some extra steps to get this specific behaviour.

The command does all the usual argument validation:
* Address must evaluate
* You must supply at least one tag value
  (though lldb-server would just treat that as a nop anyway)
* Those tag values must be valid for your tagging scheme
  (e.g. for MTE the value must be > 0 and < 0xf)
* The calculated range must be memory tagged

That last error will show you the final range, not just
the start address you gave the command.

(lldb) memory tag write mte_buf_2+page_size-16 6
(lldb) memory tag write mte_buf_2+page_size-16 6 7
error: Address range 0xfffff7ffaff0:0xfffff7ffb010 is not in a memory tagged region

(note that we do not check if the region is writeable
since lldb can write to it anyway)

The read and write tag tests have been merged into
a single set of "tag access" tests as their test programs would
have been almost identical.
(also I have renamed some of the buffers to better
show what each one is used for)

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D105182
The file was removedlldb/test/API/linux/aarch64/mte_tag_read/main.c
The file was addedlldb/test/API/linux/aarch64/mte_tag_access/main.c
The file was modifiedlldb/test/API/functionalities/memory/tag/TestMemoryTag.py
The file was removedlldb/test/API/linux/aarch64/mte_tag_read/TestAArch64LinuxMTEMemoryTagRead.py
The file was removedlldb/test/API/linux/aarch64/mte_tag_read/Makefile
The file was addedlldb/test/API/linux/aarch64/mte_tag_access/Makefile
The file was addedlldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py
The file was modifiedlldb/source/Commands/CommandObjectMemoryTag.cpp
Commit 5db8e232126fc4c0f5d5b0339bdc5a49830268d1 by Raphael Isemann
[lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure

This is only temporarily to gather some logs before this gets reverted. See
D106873 for a discussion about how/if we can make this change permanent.
The file was modifiedlldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
Commit 037b7715dd0e60369271217f90004e4b2d7c88e0 by david.green
[ARM] Extra MVE reduction vectorizer tests. NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll
Commit 8ed66cb88b7b00d7e9a96f2030e7ec343cfe2c6a by nicolas.vasilache
[mlir][memref] Fix collapsed shape ops memref.cast folding with changed type

`memref.collapse_shape` has verification logic to make sure
result dim must be static if all the collapsing src dims are static.
Cast folding might add more static information for the src operand
of `memref.collapse_shape` which might change a valid collapsing
operation to be invalid. Add `CollapseShapeOpMemRefCastFolder` pattern
to fix this.

Minor changes to `convertReassociationIndicesToExprs` to use `context`
instead of `builder` to avoid extra steps to construct temporary
builders.

Reviewed By: nicolasvasilache, mravishankar

Differential Revision: https://reviews.llvm.org/D106670
The file was modifiedmlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/test/Dialect/MemRef/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
Commit 30308d1eb966afa35ee2fd5c5b47b17eb0382896 by omair.javaid
[LLDB] Skip HW breakpoints test_step_until on Arm/Linux

test_step_until xpasses on some machines while fails on others.
Marking it as skipped for now.
The file was modifiedlldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
Commit 0dc9c88aa38ed330ddffe92bae79d4066832c38e by omair.javaid
[LLDB] Skip TestGuiBasicDebug.py on Arm/AArch64 Linux

TestGuiBasicDebug.py randomly fails due to timeouts sending out false
negatives on LLDB Arm and AArch64 Linux buildbots. I havnt found a
reliable wayy to set pexpect timeout for this test to pass regularly.

Skipping it on Arm and AArch64 Linux to silence buildbot failures.
The file was modifiedlldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py
Commit 4fd42e2e803d8a532845f448fca4002ede3070f5 by david.spickett
[libcxx] Bump __libcpp_version to 14 after branch

This was missed in 08c766a7318ab37bf1d77e0c683cd3b00e700877
and caused test failures in the buildkite bots:
libcpp_version.pass.cpp:22:1:
error: static_assert failed due to requirement '14000 == libcpp_version'
"_LIBCPP_VERSION doesn't match __libcpp_version
The file was modifiedlibcxx/include/__libcpp_version
Commit ca0d244e99f4325711638359eb69f8129b41a63a by gysit
[mlir][linalg] Introduce a separate EraseIdentityCopyOp Pattern.

Split out an EraseIdentityCopyOp from the existing RemoveIdentityLinalgOps pattern. Introduce an additional check to ensure the pattern checks the permutation maps match. This is a preparation step to specialize RemoveIdentityLinalgOps to GenericOp only.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D105622
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
Commit b0ef3d8f666fa6008abb09340b73d9340d442569 by aaron
Allow #pragma float_control(push|pop) within a language linkage specification

Currently, we prohibit this pragma from appearing within a language
linkage specification, but this is useful functionality that is
supported by MSVC (which is where we inherited this feature from).
This patch allows you to use the pragma within an extern "C" {} (etc)
block.
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/test/Parser/fp-floatcontrol-syntax.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaAttr.cpp
Commit 09635dc7bfa42bed2809e3ee4edc96d0decdb9db by gysit
[mlir][linalg] Specialize LinalgOp canonicalization patterns (NFC).

Specialize the DeduplicateInputs and RemoveIdentityLinalgOps patterns for GenericOp instead of implementing them for the LinalgOp interface.

This revsion is based on https://reviews.llvm.org/D105622 that moves the logic to erase identity CopyOps in a separate pattern.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D105291
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Commit 41cedb1c9a380628ac162bf76148cbd143f41450 by david.green
[LV][ARM] Tighten up MLA reduction costing

This makes a couple of changes to the costing of MLA reduction patterns,
to more accurately cost various patterns that can come up from
vectorization.

- The Arm implementation of getExtendedAddReductionCost is altered to
   only provide costs for legal or smaller types. Larger than legal types
   need to be split, which currently does not work very well, especially
   for predicated reductions where the predicate may be legal but needs to
   be split. Currently we limit it to legal or smaller input types.
- The getReductionPatternCost has learnt that reduce(ext(mul(ext, ext))
   is a pattern that can come up, and can be treated the same as
   reduce(mul(ext, ext)) providing the extension types match.
- And it has been adjusted to not count the ext in reduce(mul(ext, ext))
   as part of a reduce(mul) pattern.

Together these changes help to more accurately cost the mla reductions
in cases such as where the extend types don't match or the extend
opcodes are different, picking better vector factors that don't result
in expanded reductions.

Differential Revision: https://reviews.llvm.org/D106166
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll
Commit c07dd2b885c3096694ac607794b62f7d60032c22 by flo
[LV] Move recurrence backedge fixup code to VPlan::execute (NFC).

As suggested in D105008, move the code that fixes up the backedge value
for first order recurrences to VPlan::execute.

Now all that remains in fixFirstOrderRecurrences is the code responsible
for creating the exit values in the middle block.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D106244
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
Commit 9559bd19908bf6421f2abed1578219dacdc49169 by wyehia
[LTO][Legacy] Add new API to check presence of ctor/dtor functions.

On AIX, the linker needs to check whether a given lto_module_t contains
any constructor/destructor functions, in order to implement the behavior
of the -bcdtors:all flag. See
https://www.ibm.com/docs/en/aix/7.2?topic=l-ld-command for the flag's
documentation.
In llvm IR, constructor (destructor) functions are added to a special
global array @llvm.global_ctors (@llvm.global_dtors).
However, because these two symbols are artificial, they are not visited
during the symbol traversal (using the
lto_module_get_[num_symbols|symbol_name|symbol_attribute] API).

This patch adds a new function to the libLTO interface that checks the
presence of one or both of these two symbols.

Reviewed By: steven_wu

Differential Revision: https://reviews.llvm.org/D106887
The file was modifiedllvm/lib/LTO/LTOModule.cpp
The file was modifiedllvm/tools/lto/lto.cpp
The file was modifiedllvm/include/llvm-c/lto.h
The file was modifiedllvm/tools/lto/lto.exports
The file was addedllvm/test/tools/llvm-lto/ltomodule.ll
The file was modifiedllvm/tools/llvm-lto/llvm-lto.cpp
The file was modifiedllvm/include/llvm/LTO/legacy/LTOModule.h
Commit 21832121e112d97f1e197b35959867f3a99226ee by whisperity
[clang-tidy] Fix crash on "reference-to-array" parameters in 'bugprone-easily-swappable-parameters'

An otherwise unexercised code path related to trying to model
"array-to-pointer decay" resulted in a null pointer dereference crash
when parameters of type "reference to array" were encountered.

Fixes crash report http://bugs.llvm.org/show_bug.cgi?id=50995.

Reviewed By: aaron.ballman

Differential Revision: http://reviews.llvm.org/D106946
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp
Commit e408d1dfab42b27d0aa51b221e50fa6390fb5ed1 by a.bataev
[SLP]Improve graph reordering.

Reworked reordering algorithm. Originally, the compiler just tried to
detect the most common order in the reordarable nodes (loads, stores,
extractelements,extractvalues) and then fully rebuilding the graph in
the best order. This was not effecient, since it required an extra
memory and time for building/rebuilding tree, double the use of the
scheduling budget, which could lead to missing vectorization due to
exausted scheduling resources.

Patch provide 2-way approach for graph reodering problem. At first, all
reordering is done in-place, it doe not required tree
deleting/rebuilding, it just rotates the scalars/orders/reuses masks in
the graph node.

The first step (top-to bottom) rotates the whole graph, similarly to the previous
implementation. Compiler counts the number of the most used orders of
the graph nodes with the same vectorization factor and then rotates the
subgraph with the given vectorization factor to the most used order, if
it is not empty. Then repeats the same procedure for the subgraphs with
the smaller vectorization factor. We can do this because we still need
to reshuffle smaller subgraph when buildiong operands for the graph
nodes with lasrger vectorization factor, we can rotate just subgraph,
not the whole graph.

The second step (bottom-to-top) scans through the leaves and tries to
detect the users of the leaves which can be reordered. If the leaves can
be reorder in the best fashion, they are reordered and their user too.
It allows to remove double shuffles to the same ordering of the operands in
many cases and just reorder the user operations instead. Plus, it moves
the final shuffles closer to the top of the graph and in many cases
allows to remove extra shuffle because the same procedure is repeated
again and we can again merge some reordering masks and reorder user nodes
instead of the operands.

Also, patch improves cost model for gathering of loads, which improves
x264 benchmark in some cases.

Gives about +2% on AVX512 + LTO (more expected for AVX/AVX2) for {625,525}x264,
+3% for 508.namd, improves most of other benchmarks.
The compile and link time are almost the same, though in some cases it
should be better (we're not doing an extra instruction scheduling
anymore) + we may vectorize more code for the large basic blocks again
because of saving scheduling budget.

Differential Revision: https://reviews.llvm.org/D105020
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/addsub.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/jumbled_store_crash.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/vectorize-reorder-reuse.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_cmpop.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/jumbled-load-multiuse.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/jumbled-load.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/extract.ll
Commit 124d58638275d1b98b2c3162ae292810b23cbee9 by llvm-dev
[X86][AVX] Move VPERM2F128 defs above VINSERTF128 defs. NFC.

This will be necessary for a future patch to lower VINSERTF128 custom folds to VPERM2F128
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
Commit 6eded00e0c6b4e06225df74292c078030556b8ce by david.spickett
[lldb] Add "memory tag write" --end-addr option

The default mode of "memory tag write" is to calculate the
range from the start address and the number of tags given.
(just like "memory write" does)

(lldb) memory tag write mte_buf 1 2
(lldb) memory tag read mte_buf mte_buf+48
Logical tag: 0x0
Allocation tags:
[0xfffff7ff9000, 0xfffff7ff9010): 0x1
[0xfffff7ff9010, 0xfffff7ff9020): 0x2
[0xfffff7ff9020, 0xfffff7ff9030): 0x0

This new option allows you to set an end address and have
the tags repeat until that point.

(lldb) memory tag write mte_buf 1 2 --end-addr mte_buf+64
(lldb) memory tag read mte_buf mte_buf+80
Logical tag: 0x0
Allocation tags:
[0xfffff7ff9000, 0xfffff7ff9010): 0x1
[0xfffff7ff9010, 0xfffff7ff9020): 0x2
[0xfffff7ff9020, 0xfffff7ff9030): 0x1
[0xfffff7ff9030, 0xfffff7ff9040): 0x2
[0xfffff7ff9040, 0xfffff7ff9050): 0x0

This is implemented using the QMemTags packet previously
added. We skip validating the number of tags in lldb and send
them on to lldb-server, which repeats them as needed.

Apart from the number of tags, all the other client side checks
remain. Tag values, memory range must be tagged, etc.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D105183
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py
The file was modifiedlldb/source/Commands/CommandObjectMemoryTag.cpp
Commit 56debbf52ed31e0ea83265e0f87e15c3ac15de05 by dvyukov
sanitizers: switch BlockingMutex(LINKER_INITIALIZED) to Mutex

Mutex does not support LINKER_INITIALIZED support.
As preparation to switching BlockingMutex to Mutex,
proactively replace all BlockingMutex(LINKER_INITIALIZED) to Mutex.
All of these are objects with static storage duration and Mutex ctor
is constexpr, so it should be equivalent.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106944
The file was modifiedcompiler-rt/lib/asan/asan_thread.cpp
The file was modifiedcompiler-rt/lib/lsan/lsan_common.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp
The file was modifiedcompiler-rt/lib/memprof/memprof_stats.cpp
The file was modifiedcompiler-rt/lib/memprof/memprof_thread.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/asan/asan_report.cpp
The file was modifiedcompiler-rt/lib/asan/asan_globals.cpp
The file was modifiedcompiler-rt/lib/asan/asan_stats.cpp
The file was modifiedcompiler-rt/lib/cfi/cfi.cpp
Commit 48cbcb909d9b539680da6b3b8997e3620d085f4e by dvyukov
sanitizer_common: prohibit Mutex(LINKER_INITIALIZED)

Mutex does not support LINKER_INITIALIZED ctor.
But we used to support it with BlockingMutex.
To prevent potential bugs delete LINKER_INITIALIZED Mutex ctor.
Also mark existing ctor as explicit.

Depends on D106944.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106945
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mutex.h
Commit 960cb490dd16961c61b541efbcc95eb085464ad8 by dvyukov
sanitizer_common: replace RWMutex/BlockingMutex with Mutex

Mutex supports reader access, OS blocking, spinning,
portable and smaller than BlockingMutex.
Overall it's supposed to be better than RWMutex/BlockingMutex.
Replace RWMutex/BlockingMutex with Mutex.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106936
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_mutex_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mutex.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp
Commit 4c41caa2871095cf1e936b0eea10079c60f864dc by spatel
[x86] improve CMOV codegen by pushing add into operands, part 3

In this episode, we are trying to avoid an x86 micro-arch quirk where complex
(3 operand) LEA potentially costs significantly more than simple LEA. So we
simultaneously push and pull the math around the CMOV to balance the operations.

I looked at the debug spew during instruction selection and decided against
trying a later DAGToDAG transform -- it seems very difficult to match if the
trailing memops are already selected and managing the creation of extra
instructions at that level is always tricky.

Differential Revision: https://reviews.llvm.org/D106918
The file was modifiedllvm/test/CodeGen/X86/add-cmov.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 3ad6437fcced9122d8b0ef24b2cb6af5925e626e by a.bataev
[SLP]Fix build on MacOS, NFC.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit ca0fe3447fb85762838468537d93d4ef82c5a1af by JunMa
[InstSimplify] Simplify llvm.vscale when vscale_range attribute exists

Reduce llvm.vscale to constant based on vscale_range attribute.

Differential Revision: https://reviews.llvm.org/D106850
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was addedllvm/test/Transforms/InstSimplify/fold-vscale.ll
Commit aa6340cf87d7e1bbb894cf6357f859e5afb8a335 by kazu
[AsmParser] Remove unused declaration parseOptionalCommaInAlloca (NFC)
The file was modifiedllvm/include/llvm/AsmParser/LLParser.h
Commit 23326b9f1723a398681def87c80e608fa94485f2 by antiagainst
[mlir][spirv] Fix a few issues in ModuleCombiner

- Fixed symbol insertion into `symNameToModuleMap`. Insertion
  needs to happen whether symbols are renamed or not.
- Added check for the VCE triple and avoid dropping it.
- Disabled function deduplication. It requires more careful
  rules. Right now it can remove different functions.
- Added tests for symbol rename listener.
- And some other code/comment cleanups.

Reviewed By: ergawy

Differential Revision: https://reviews.llvm.org/D106886
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
The file was addedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/symbol-rename-listener.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/conflict-resolution.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/deduplication.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.h
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/basic.mlir
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestModuleCombiner.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/ModuleCombiner.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/Linking/ModuleCombiner.h
Commit 66ddac22e2a7f268e91c26d694112970dfa607ae by melanie.blower
[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly

The Intel compiler ICC supports the option "-fp-model=(source|double|extended)"
which causes the compiler to use a wider type for intermediate floating point
calculations. Also supported is a way to embed this effect in the source
program with #pragma float_control(source|double|extended).
This patch extends pragma float_control syntax, and also adds support
for a new floating point option "-ffp-eval-method=(source|double|extended)".
source: intermediate results use source precision
double: intermediate results use double precision
extended: intermediate results use extended precision

Reviewed By: Aaron Ballman

Differential Revision: https://reviews.llvm.org/D93769
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/Preprocessor/init-arm.c
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/test/Preprocessor/init-mips.c
The file was modifiedclang/test/Preprocessor/init-aarch64.c
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/include/clang/Basic/PragmaKinds.h
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/test/Preprocessor/init-ppc64.c
The file was modifiedclang/test/Preprocessor/init-x86.c
The file was modifiedclang/test/Preprocessor/init-v7k-compat.c
The file was modifiedclang/include/clang/Lex/PreprocessorOptions.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Lex/PPMacroExpansion.cpp
The file was modifiedclang/test/Preprocessor/init.c
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/test/Preprocessor/init-ppc.c
The file was modifiedclang/include/clang/Basic/FPOptions.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/test/Preprocessor/init-s390x.c
Commit 8612417e5a54cfef941ab45de55e48b4a0c4e8b4 by jeremy.morse
[DebugInfo][InstrRef] Don't break up ret-sequences on debug-info instrs

When we have a terminator sequence (i.e. a tailcall or return),
MIIsInTerminatorSequence is used to work out where the preceding ABI-setup
instructions end, i.e. the parts that were glued to the terminator
instruction. This allows LLVM to split blocks safely without having to
worry about ABI stuff.

The function only ignores DBG_VALUE instructions, meaning that the two
debug instructions I recently added can end terminator sequences early,
causing various MachineVerifier errors. This patch promotes the test for
debug instructions from "isDebugValue" to "isDebugInstr", thus avoiding any
debug-info interfering with this function.

Differential Revision: https://reviews.llvm.org/D106660
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was addedllvm/test/DebugInfo/ARM/instr-ref-tcreturn.ll
Commit 0e79a94836d7127a87c36fdca43ffaf6a17d8964 by jrtc27
[Utils] Support class template specializations in update_cc_test_checks

ClassTemplateSpecializationDecl not within a ClassTemplateDecl
represents an explicit instatiation of a template and so should be
handled as if it were a normal CXXRecordDecl. Unfortunately, having an
equivalent for FunctionTemplateDecl remains a TODO in ASTDumper's
VisitFunctionTemplateDecl, with all the explicit instantiations just
being emitted inside the FunctionTemplateDecl along with all the other
specializations, meaning we can't easily support explicit function
instantiations in update_cc_test_checks.

Reviewed By: arichardson

Differential Revision: https://reviews.llvm.org/D106243
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was addedclang/test/utils/update_cc_test_checks/Inputs/explicit-template-instantiation.cpp
The file was addedclang/test/utils/update_cc_test_checks/Inputs/explicit-template-instantiation.cpp.expected
The file was addedclang/test/utils/update_cc_test_checks/explicit-template-instantiation.test
Commit 40080e7e7f42857c8edac4a53e476a68563f1a98 by jrtc27
[Clang interpreter] Avoid storing pointers at unaligned locations

The Clang interpreter's bytecode uses a packed stream of bytes
representation, but also wants to have some opcodes take pointers as
arguments, which are currently embedded in the bytecode directly.

However, CHERI, and thus Arm's upcoming experimental Morello prototype,
provide spatial memory safety for C/C++ by implementing language-level
(and sub-language-level) pointers as capabilities, which track bounds,
permissions and validity in hardware. This uses tagged memory with a
single tag bit at every capability-aligned address, and so storing
pointers to unaligned addresses results in the tag being stripped,
leading to a tag fault when the pointer is ultimately dereferenced at a
later point.

In order to support a stricter C/C++ implementation like CHERI, we no
longer store pointers directly in the bytecode, instead storing them in
a table and embedding the index in the bytecode.

Reviewed By: nand

Differential Revision: https://reviews.llvm.org/D97606
The file was modifiedclang/lib/AST/Interp/Program.cpp
The file was modifiedclang/lib/AST/Interp/Program.h
The file was modifiedclang/lib/AST/Interp/Interp.h
The file was modifiedclang/lib/AST/Interp/Disasm.cpp
The file was modifiedclang/lib/AST/Interp/Source.h
The file was modifiedclang/utils/TableGen/ClangOpcodesEmitter.cpp
The file was modifiedclang/lib/AST/Interp/ByteCodeEmitter.cpp
Commit d3c70d9f7765f8e731c0b892aea74b21d330d230 by gchatelet
[libc] Simplify implementation of benchmarks

This also allows to run the distribution benchmarks in other frameworks
like the Google Benchmark facility.
The file was modifiedlibc/benchmarks/CMakeLists.txt
The file was modifiedlibc/benchmarks/LibcMemoryBenchmark.h
The file was modifiedlibc/benchmarks/MemorySizeDistributions.cpp
The file was modifiedlibc/benchmarks/LibcMemoryBenchmark.cpp
The file was modifiedlibc/benchmarks/MemorySizeDistributions.h
The file was modifiedlibc/benchmarks/LibcMemoryBenchmarkMain.cpp
Commit 5b83261c1518a39636abe094123f1704bbfd972f by spatel
[DivRemPairs] make sure we have a valid CFG for hoisting division

This transform was added with e38b7e894808ec2
and as shown in:
https://llvm.org/PR51241
...it could crash without an extra check of the blocks.

There might be a more compact way to write this constraint,
but we can't just count the successors/predecessors without
affecting a test that includes a switch instruction.
The file was modifiedllvm/lib/Transforms/Scalar/DivRemPairs.cpp
The file was modifiedllvm/test/Transforms/DivRemPairs/X86/div-expanded-rem-pair.ll
Commit d675b594f4f1e1f6a195fb9a4fd02cf3de92292d by chris.jackson
[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR

Reapply commit 796b84d26f4d461fb50e7b4e84e15a10eaca88fc that was
reverted due to reports of crashes. A minor change now guards against
getVariableLocationOperand() returning a nullptr.

Differential Revision: https://reviews.llvm.org/D106659
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
Commit 89edd1e95f5cc274c0e33cf45ffc85c37b3214f0 by dvyukov
tsan: fix warnings in tests

Compilers don't like attributes in this position:

warning: GCC does not allow 'noinline' attribute in this position on a function definition
error: attributes are not allowed on a function-definition

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106951
The file was modifiedcompiler-rt/test/tsan/race_top_suppression.cpp
The file was modifiedcompiler-rt/test/tsan/longjmp4.cpp
The file was modifiedcompiler-rt/test/tsan/race_on_heap.cpp
The file was modifiedcompiler-rt/test/tsan/ignorelist2.cpp
The file was modifiedcompiler-rt/test/tsan/longjmp3.cpp
Commit 9ef9d01a5046f4f58b51b59d658e4c05f41344a1 by dvyukov
tsan: extend signal_malloc test

Test that we report the warning for free()
and ensure the test finishes as we usually do with "DONE".

Depends on D106951.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106952
The file was modifiedcompiler-rt/test/tsan/signal_malloc.cpp
Commit acbb4fcd5e664ddfb515785f1839afc8f2570035 by dvyukov
tsan: increase max number of threads supported by test-only barrier

Currently the barrier supports only 256 threads,
this does not allow to write reliable tests that use more threads.
Bump max number of threads to 1024 to support writing
good stress tests.
Also replace sched_yield() with usleep(100) on the wait path.
If we write tests that create hundreds of threads (and dozens
of tests can run in parallel), yield would consume massive
amounts of CPU time for spinning.

Depends on D106952.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106953
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit bfb597b24c311f8a03ad9530adef3b3c1e5ff853 by dvyukov
tsan: improve lots_of_threads test

The current 10 threads is not particularly "lots" and not stressful.
Create 10x300 threads and ensure they all are running at the same time.

Depends on D106953.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106954
The file was modifiedcompiler-rt/test/tsan/lots_of_threads.c
Commit 399289604348e2194120890e0632e2cbc35077f5 by chris.jackson
Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR"
Reverted due to buildbot failures.
This reverts commit d675b594f4f1e1f6a195fb9a4fd02cf3de92292d.
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was removedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
Commit 4e65688571221565cf1a5c1e4bb58ee2ab7c9c83 by koraq
[libc++][nfc] Improve error diagnostics.

The error message for disabled filesystem and locale support is now done
in the same fashion as ranges and format in D106763.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D106935
The file was modifiedlibcxx/include/locale.h
The file was modifiedlibcxx/include/filesystem
Commit 54588bcc052e5b08f90e672c33d0c1ad4eda2424 by craig.topper
[RISCV] Restrict performANY_EXTENDCombine to prevent an infinite loop.

The sign_extend we insert here can get turned into a zero_extend if
the sign bit is known zero. This can enable a setcc combine that
shrinks compares with zero_extend. This reduces the use count of
the zero_extend allowing other combines to turn it back into an
any_extend.

This restricts the combine to only cases where the result is used
by a CopyToReg. This works for my original motivating case. I
hope the CopyToReg use will prevent any converted extends from
turning back into an any_extend.

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D106754
The file was addedllvm/test/CodeGen/RISCV/pr51206.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 3106f85945468970b81d86c296d37b485415a398 by craig.topper
[RISCV] Fix grammar in a comment. NFC
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 83c752bfa6071f34c8c4564a379d99b1b94f604a by Raphael Isemann
Revert "[lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure"

This reverts commit 5db8e232126fc4c0f5d5b0339bdc5a49830268d1. The test has
been disabled since then on the bot and we got the logs we wanted.
The file was modifiedlldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
Commit 6e8660a7d65a30e3abcb4c588047c1328ab7d28e by jrtc27
[NFC][PowerPC] Fix spe.ll to work with update_llc_test_checks.py again

Using split-file does not work with update_llc_test_checks.py. It's also
mostly redundant, as the single and double tests can just use a single
llc and FileCheck invocation for each FPU type using -check-prefixes
rather than -check-prefix, and update_llc_test_checks.py will merge what
it can. Only test_dasmconst needs to be SPE-only and so is pulled out
into its own mall file (rather than using sed to preprocess the file and
keep it commented out for EFPU2, which would work, but is ugly).

As well as cutting down on the number of RUN lines, this also results in
test_fma's CHECK lines being merged for both FPUs.

Reviewed By: kiausch

Differential Revision: https://reviews.llvm.org/D106969
The file was addedllvm/test/CodeGen/PowerPC/spe-hwdouble.ll
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
Commit c1f719d1a749eaf4a4964292e3eed6ab2766f2c5 by zinenko
[mlir] harden result type verification in llvm.call

The verifier of the llvm.call operation was not checking for mismatches between
the number of operation results and the number of results in the signature of
the callee. Furthermore, it was possible to construct an llvm.call operation
producing an SSA value of !llvm.void type, which should not exist. Add the
verification and treat !llvm.void result type as absence of call results.
Update the GPU conversions to LLVM that were mistakenly assuming that it was
fine for llvm.call to produce values of !llvm.void type and ensure these calls
do not produce results.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D106937
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/test/Conversion/GPUToVulkan/invoke-vulkan.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Commit 49f745f59cbe1eda4653d917cc7d8d0b586fc6a4 by zinenko
[mlir] run the verifier before translating a module

In translation from MLIR to another IR, run the MLIR verifier on the parsed
module to ensure only valid modules are given to the translation. Previously,
we would send any module that could be parsed to the translation, including
semantically invalid modules, leading to surprising errors or lack thereof down
the pipeline.

Depends On D106937

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D106938
The file was modifiedmlir/lib/Translation/Translation.cpp
Commit 6da3d8b19c32c76bb503b1a71fc167a0487ef200 by i
[llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]

[[noreturn]] can be used since Oct 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015.

Note: the definition of LLVM_ATTRIBUTE_NORETURN is kept for now.
The file was modifiedllvm/tools/llvm-cvtres/llvm-cvtres.cpp
The file was modifiedllvm/lib/Support/Windows/Process.inc
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/lib/Support/Unix/Process.inc
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was modifiedllvm/tools/llvm-mt/llvm-mt.cpp
The file was modifiedllvm/include/llvm/Support/CrashRecoveryContext.h
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/tools/llvm-strings/llvm-strings.cpp
The file was modifiedllvm/include/llvm/Support/Windows/WindowsSupport.h
The file was modifiedllvm/tools/llvm-rc/llvm-rc.cpp
The file was modifiedllvm/tools/split-file/split-file.cpp
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.h
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
The file was modifiedllvm/lib/Support/SmallVector.cpp
The file was modifiedllvm/lib/Support/Unix/Unix.h
The file was modifiedllvm/lib/Transforms/Coroutines/Coroutines.cpp
The file was modifiedllvm/tools/llc/llc.cpp
The file was modifiedllvm/include/llvm/TableGen/Error.h
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/include/llvm/Support/Process.h
The file was modifiedllvm/tools/llvm-profgen/ErrorHandling.h
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
The file was modifiedllvm/include/llvm/Support/ErrorHandling.h
The file was modifiedllvm/include/llvm/Support/Error.h
The file was modifiedllvm/tools/llvm-cxxdump/llvm-cxxdump.cpp
The file was modifiedllvm/lib/Support/Process.cpp
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-ifs/ErrorCollector.h
The file was modifiedllvm/tools/llvm-ifs/ErrorCollector.cpp
Commit 2b013a6c8a7de6d204ce610f69fd981b181cee2c by ajcbik
[mlir][sparse] use proper type alias for filename ptr

Reviewed By: gussmith23

Differential Revision: https://reviews.llvm.org/D106904
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
Commit 71f0359a9defbf3e35828189629f166508390d5d by aaron
Simplify allowing pragma float_control in a linkage specification

This amends b0ef3d8f666fa6008abb09340b73d9340d442569 based on a suggestion from James Y Knight.
The file was modifiedclang/lib/Sema/SemaAttr.cpp
Commit dc5570d149ca6a0931413bf1ad469eb8f9517f82 by jeroen.dobbelaere
Revert "Revert of D49126 [PredicateInfo] Use custom mangling to support ssa_copy with unnamed types."

This reverts commit 77080a1eb6061df2dcfae8ac84b85ad4d1e02031.

This change introduced issues detected with EXPENSIVE_CHECKS. Reverting to restore the
needed function cleanup. A next patch will then just improve on the name mangling.
The file was modifiedllvm/include/llvm/Transforms/Utils/PredicateInfo.h
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/condprop.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/edge.ll
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/testandor.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/diamond.ll
The file was modifiedllvm/test/Other/debugcounter-predicateinfo.ll
Commit 03b8c69d06f810f13d0b74d06dabea37c43e5b78 by jeroen.dobbelaere
[PredicateInfo] Use Intrinsic::getDeclaration now that it handles unnamed types.

This is a second attempt to fix the EXPENSIVE_CHECKS issue that was mentioned  In D91661#2875179 by @jroelofs.

(The first attempt was in D105983)

D91661 more or less completely reverted D49126 and by doing so also removed the cleanup logic of the created declarations and calls.
This patch is a replacement for D91661 (which must itself be reverted first). It replaces the custom declaration creation with the
generic version and shows the test impact. It also tracks the number of NamedValues to detect if a new prototype was added instead
of looking at the available users of a prototype.

Reviewed By: jroelofs

Differential Revision: https://reviews.llvm.org/D106147
The file was modifiedllvm/test/Other/debugcounter-predicateinfo.ll
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/condprop.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/testandor.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/diamond.ll
The file was modifiedllvm/lib/IR/Module.cpp
The file was modifiedllvm/include/llvm/IR/Module.h
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/edge.ll
Commit bc43078fe835e19782a90ad2f464ebdc150911de by sjoerd.meijer
[LoopFlatten] Fix bug where SCEVCouldNotCompute object is used

The SCEV method getBackedgeTakenCount() returns a SCEVCouldNotCompute
object if the backedge-taken count is unpredictable. This fix ensures
there is no longer an attempt to use such an object to find the trip
count.

Patch by: Rosie Sumpter.

Differential Revision: https://reviews.llvm.org/D106970
The file was modifiedllvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
Commit aad17c55a8116cd3831d4392d909139702019d65 by walter erquinigo
[trace] Introduce Hierarchical Trace Representation (HTR) and add  command for Intel PT trace visualization

This diff introduces Hierarchical Trace Representation (HTR) and creates the `thread trace export ctf  -f <filename> -t <thread_id>` command to export an Intel PT trace's HTR to Chrome Trace Format (CTF) for visualization.

See `lldb/docs/htr.rst` for context/documentation on HTR.

**Overview of Changes**
    - Add HTR documentation (see `lldb/docs/htr.rst`)
    - Add HTR structures (layer, block, block metadata)
    - Implement "Basic Super Block" HTR pass
    - Add 'thread trace export ctf' command to export the HTR of an Intel PT
      trace to Chrome Trace Format (CTF)

As this diff is the first iteration of HTR and trace visualization, future diffs will build on this work by generalizing the internal design of HTR and implementing new HTR passes that provide better trace summarization/visualization.

See attached video for an example of Intel PT trace visualization:
{F17851042}

Original Author: jj10306

Submitted by: wallace

Reviewed By: wallace, clayborg

Differential Revision: https://reviews.llvm.org/D105741
The file was addedlldb/docs/htr.rst
The file was addedlldb/source/Plugins/TraceExporter/common/TraceHTR.h
The file was addedlldb/test/API/commands/trace/intelpt-trace/export_ctf_test_program.cpp
The file was addedlldb/source/Plugins/TraceExporter/common/CMakeLists.txt
The file was addedlldb/test/API/commands/trace/intelpt-trace/export_ctf_test_program.out
The file was modifiedlldb/source/Plugins/TraceExporter/CMakeLists.txt
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.cpp
The file was addedlldb/source/Plugins/TraceExporter/common/TraceHTR.cpp
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CMakeLists.txt
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/TraceExporterCTFOptions.td
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.h
The file was addedlldb/test/API/commands/trace/TestTraceExport.py
Commit 5acdfb7eda96dd3931803897476eeeb97eb943cb by dvyukov
tsan: remove unused pc arguments

Remove pc argument of ThreadIgnoreEnd, ThreadIgnoreSyncEnd
and AcquireGlobal functions. It's unused and in some places
we don't even have a pc and pass 0 anyway.
Don't confuse readers and don't pretend that pc is needed
and that passing 0 is somehow deficient.

Use simpler convention for ThreadIgnoreBegin and ThreadIgnoreSyncBegin:
accept only pc instread of pc+save_stack. 0 pc means "don't save stack".

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106973
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_inl.h
Commit b5bc386ca109599c56084619934f17a996997532 by dvyukov
tsan: remove mblock types

We used to count number of allocations/bytes based on the type
and maybe record them in heap block headers.
But that's all in the past, now it's not used for anything.
Remove the mblock type.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106971
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_mman_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_report.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_stack_trace.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Commit c4cb9b64dd350f0d675e12d38ea54f4e0c3ceb37 by dvyukov
tsan: add more micro benchmarks

1. Add a set of micro benchmarks for memory accesses,
   mem* functions and unaligned accesses.
2. Add support for multiple benchmarks in a single binary
   (or it would require 12 new benchmark binaries).
3. Remove the "clock growth" machinery,
   it affects the current tsan runtime by increasing size of
   all vector clocks, but this won't be relevant for the new
   tsan runtime.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106961
The file was addedcompiler-rt/test/tsan/bench_memory_access.cpp
The file was modifiedcompiler-rt/test/tsan/bench.h
Commit dbed061bf13b74cbbe6de3062f7f50481dd45ac4 by patrickeholland
[MCA] Moving the target specific CustomBehaviour impl. from /tools/llvm-mca/ to /lib/Target/.

Differential Revision: https://reviews.llvm.org/D106775
The file was modifiedllvm/include/llvm/MCA/CustomBehaviour.h
The file was addedllvm/lib/Target/AMDGPU/MCA/AMDGPUCustomBehaviour.cpp
The file was addedllvm/lib/Target/AMDGPU/MCA/AMDGPUCustomBehaviour.h
The file was removedllvm/tools/llvm-mca/lib/AMDGPU/AMDGPUCustomBehaviour.cpp
The file was removedllvm/tools/llvm-mca/lib/AMDGPU/CMakeLists.txt
The file was addedllvm/lib/Target/AMDGPU/MCA/CMakeLists.txt
The file was modifiedllvm/tools/llvm-mca/CMakeLists.txt
The file was removedllvm/tools/llvm-mca/lib/CMakeLists.txt
The file was modifiedllvm/tools/llvm-mca/CodeRegionGenerator.h
The file was modifiedllvm/include/llvm/Config/llvm-config.h.cmake
The file was addedllvm/include/llvm/Config/TargetMCAs.def.in
The file was modifiedllvm/include/llvm/Support/TargetRegistry.h
The file was modifiedllvm/cmake/modules/LLVM-Config.cmake
The file was modifiedllvm/include/llvm/Support/TargetSelect.h
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was modifiedllvm/CMakeLists.txt
The file was removedllvm/tools/llvm-mca/lib/AMDGPU/AMDGPUCustomBehaviour.h
The file was modifiedllvm/docs/CommandGuide/llvm-mca.rst
The file was modifiedllvm/tools/llvm-mca/llvm-mca.cpp
Commit 5237b140874a47670678b1f5b4566ffcea15b9b7 by dvyukov
tsan: print alloc stack for Java objects

We maintain information about Java allocations,
but for some reason never printed it in reports.
Print it.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106956
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/test/tsan/java.h
The file was modifiedcompiler-rt/test/tsan/java_symbolization.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit 6563bb53b5fd837a2a0368c58de1cf02ec921d27 by dvyukov
tsan: don't use caller/current PC in Java interfaces

Caller PC is plain harmful as native caller PC has nothing to do with Java code.
Current PC is not particularly useful and may be somewhat confusing for Java users
as it makes top frame to point to some magical __tsan function.
But obtaining and using these PCs adds runtime cost for every java event.
Remove these PCs. Rely only on official Java frames.
It makes execution faster, code simpler and reports better.

Depends on D106956.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106957
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/test/tsan/java_symbolization.cpp
Commit 9dad34423b649f8d8ff2f4e6cee0c600f28f2d57 by dvyukov
tsan: strip __libc_start_main frame

We strip all frames below main but in some cases it may be not enough.
Namely, when main is instrumented but does not call any other instrumented code.
In this case __tsan_func_entry in main obtains PC pointing to __libc_start_main
(as we pass caller PC to __tsan_func_entry), but nothing obtains PC pointing
to main itself (as main does not call any instrumented code).
In such case we will not have main in the stack, and stripping everything
below main won't work.
So strip __libc_start_main explicitly as well.
But keep stripping of main because __libc_start_main is glibc/linux-specific,
so looking for main is more reliable (and usually main is present in stacks).

Depends on D106957.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106958
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/test/tsan/java_symbolization.cpp
Commit 170a8c12843db3dc10b544c0fc5b3f19566ee940 by dvyukov
sanitizer_common: avoid compiler-interted memset in deadlock detector

Compilers tends to insert memset/memcpy for some struct/array operations,
and these don't play well inside of sanitizer runtimes.
Avoiding these calls was the intention behind internal_memset.
Remove the leftover ={} that can result in memset call.

Reviewed By: vitalybuka, pgousseau

Differential Revision: https://reviews.llvm.org/D106978
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mutex.cpp
Commit da7a5c09c86c3f639c63ce8843d6f21c915ae1c6 by dvyukov
tsan: don't print __tsan_atomic* functions in report stacks

Currently __tsan_atomic* functions do FuncEntry/Exit using caller PC
and then use current PC (pointing to __tsan_atomic* itself) during
memory access handling. As the result the top function in reports
involving atomics is __tsan_atomic* and the next frame points to user code.

Remove FuncEntry/Exit in atomic functions and use caller PC
during memory access handling. This removes __tsan_atomic*
from the top of report stacks, so that they point right to user code.

The motivation for this is performance.
Some atomic operations are very hot (mostly loads),
so removing FuncEntry/Exit is beneficial.
This also reduces thread trace consumption (1 event instead of 3).

__tsan_atomic* at the top of the stack is not necessary
and does not add any new information. We already say
"atomic write of size 4", "__tsan_atomic32_store" does not add
anything new.

It also makes reports consistent between atomic and non-atomic
accesses. For normal accesses we say "previous write" and point
to user code; for atomics we say "previous atomic write" and now
also point to user code.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106966
The file was modifiedcompiler-rt/test/tsan/atomic_free3.cpp
The file was modifiedcompiler-rt/test/tsan/atomic_stack.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
Commit 6cba96332b3ae2cbf3f9b62dfb407f3275f6cf79 by joker.eph
Add some missing CMake dependencies between MLIR dialects (NFC)
The file was modifiedmlir/lib/Dialect/GPU/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/OpenACC/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt
Commit 660a56956c32b0bcd850fc12fa8ad0225a6bb880 by joker.eph
Emit strong definition for TypeID storage in Op/Type/Attributes definition

By making an explicit template specialization for the TypeID provided by these classes,
the compiler will not emit an inline weak definition and rely on the linker to unique it.
Instead a single definition will be emitted in the C++ file alongside the implementation
for these classes. That will turn into a linker error what is now a hard-to-debug runtime
behavior where instances of the same class may be using a different TypeID inside of
different DSOs.

Differential Revision: https://reviews.llvm.org/D105903
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/include/mlir/Support/TypeID.h
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit 4adcff0b7004dc3c81fb8b1104044a188db8aa89 by efriedma
[ARM] Fix llvm-objdump disassembly of armv7m object files.

Apparently, the features were getting mixed up, so we'd try to
disassemble in ARM mode. Fix sub-architecture detection to compute the
correct triple if we're detecting it automatically, so the user doesn't
need to pass --triple=thumb etc.

It's possible we should be somehow tying the "+thumb-mode" target
feature more directly to Tag_CPU_arch_profile? But this seems to work
reasonably well, anyway.

While I'm here, fix up the other llvm-objdump tests that were explicitly
specifying an ARM triple; that shouldn't be necessary.

Differential Revision: https://reviews.llvm.org/D106912
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v8r-subarch.s
The file was modifiedllvm/lib/Object/ELFObjectFile.cpp
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v8a-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v5tej-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v6-neg-subfeatures.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v5te-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v6-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v6k-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v7m-neg-subfeatures.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v7m-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v6m-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v6t2-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v6-subfeatures.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v7a-neg-subfeature.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v7m-subfeatures.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v5t-subarch.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/v7a-subfeature.s
Commit 828767f325b5dd0356c5fd90e40a1c047010853e by i
COFF/ELF: Place llvm.global_ctors elements in llvm.used if comdat is used

On ELF, an SHT_INIT_ARRAY outside a section group is a GC root. The current
codegen abuses SHT_INIT_ARRAY in a section group to mean a GC root.

On PE/COFF, the dynamic initialization for `__declspec(selectany)` in a comdat
can be garbage collected by `-opt:ref`.

Call `addUsedGlobal` for the two cases to fix the abuse/bug.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D106925
The file was modifiedclang/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-template-static-init.cpp
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
Commit f623dc9a8c37c3f2ed0a2138563a8b9e37adc1ce by kyulee
[DebugInfo][docs] Fix DISubprogram fields

D45024 renamed the field in `DISubprogram` from `variables:` to
`retainedNodes:`. Some of the docs were updated in D89082 but this
updates the rest.

Reviewed By: scott.linder

Differential Revision: https://reviews.llvm.org/D106926
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/docs/SourceLevelDebugging.rst
Commit 0f4b41e038537ab2ab6fa2aa048e55c28a03ab68 by zoecarver
[libcxx][ranges] Add ranges::take_view.

Differential Revision: https://reviews.llvm.org/D106507
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/types.h
The file was modifiedlibcxx/include/ranges
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/base.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/sentinel/ctor.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/ctad.compile.pass.cpp
The file was modifiedlibcxx/docs/Status/RangesPaper.csv
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/end.pass.cpp
The file was addedlibcxx/include/__ranges/take_view.h
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/ctor.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/sentinel/eq.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/size.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/borrowing.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/range_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/sentinel/base.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.transform/ctad.compile.pass.cpp
The file was modifiedlibcxx/test/support/test_range.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/module.modulemap
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.module.verify.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.take/begin.pass.cpp
Commit 6ea22d46261443c6d086d660508067db50de68ad by ezhulenev
Optionally eliminate blocking runtime.await calls by converting functions to coroutines.

Interop parallelism requires needs awaiting on results. Blocking awaits are bad for performance. TFRT supports lightweight resumption on threads, and coroutines are an abstraction than can be used to lower the kernels onto TFRT threads.

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D106508
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
The file was addedmlir/test/Dialect/Async/async-to-async-runtime-eliminate-blocking.mlir
Commit f17e7df04ade78932e568ddd5b56d5e6c89bbac2 by i
[ELF][test] Delete unneeded --triple=thumb* from llvm-objdump RUN lines
The file was modifiedlld/test/ELF/arm-thumb-plt-range-thunk-os.s
The file was modifiedlld/test/ELF/arm-thumb-interwork-thunk.s
The file was modifiedlld/test/ELF/arm-thumb-adr.s
The file was modifiedlld/test/ELF/arm-thumb-undefined-weak.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-dotexpr.s
The file was modifiedlld/test/ELF/arm-thunk-edgecase.s
The file was modifiedlld/test/ELF/arm-thumb-range-thunk-os.s
The file was modifiedlld/test/ELF/arm-thumb-thunk-empty-pass.s
The file was modifiedlld/test/ELF/arm-thumb-undefined-weak-narrow.test
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
The file was modifiedlld/test/ELF/arm-thumb-pc8-weak.s
The file was modifiedlld/test/ELF/arm-thumb-condbranch-thunk.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-sort.s
The file was modifiedlld/test/ELF/arm-thunk-multipass.s
The file was modifiedlld/test/ELF/arm-thumb-mix-range-thunk-os.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-large.s
The file was modifiedlld/test/ELF/arm-thumb2-ldrlit.s
The file was modifiedlld/test/ELF/arm-thumb-narrow-branch-check.s
The file was modifiedlld/test/ELF/arm-thumb-ldrlit.s
The file was modifiedlld/test/ELF/arm-extreme-range-pi-thunk.s
The file was modifiedlld/test/ELF/arm-thunk-largesection.s
The file was modifiedlld/test/ELF/arm-thumb-blx.s
The file was modifiedlld/test/ELF/arm-force-pi-thunk.s
The file was modifiedlld/test/ELF/arm-thunk-re-add.s
The file was modifiedlld/test/ELF/arm-thunk-multipass-plt.s
The file was modifiedlld/test/ELF/arm-thumb-branch.s
The file was modifiedlld/test/ELF/arm-thunk-nosuitable.s
The file was modifiedlld/test/ELF/arm-thumb-branch-rangethunk.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-orphan.s
The file was modifiedlld/test/ELF/arm-thumb2-adr.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript.s
Commit 660b753e2892d3359e6432cdf3296ec7778105a7 by i
[ELF][test] Convert --start-address= and --stop-address= values to hexadecimal

so that readers can connect them with the hexadecimal addresses in the output.
The file was modifiedlld/test/ELF/arm-thunk-re-add.s
The file was modifiedlld/test/ELF/arm-thumb-range-thunk-os.s
The file was modifiedlld/test/ELF/arm-thunk-multipass.s
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-large.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-large.s
The file was modifiedlld/test/ELF/arm-thumb-mix-range-thunk-os.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-dotexpr.s
The file was modifiedlld/test/ELF/arm-thunk-linkerscript-sort.s
The file was modifiedlld/test/ELF/arm-thunk-multipass-plt.s
Commit 668aa531d646dfb0eff746f4b6e627cfb6a7a271 by gcmn
[Bazel] Update for dbed061bf1

This adds Bazel configuration for the TargetMCA targets, which currently
only includes AMDGPU.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D106996
The file was modifiedutils/bazel/llvm-project-overlay/llvm/config.bzl
The file was modifiedutils/bazel/llvm_configs/llvm-config.h.cmake
The file was modifiedutils/bazel/llvm-project-overlay/llvm/BUILD.bazel
The file was modifiedutils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h
Commit 3ff451ca6aca9a87030281fa3b20670d9b1d8f32 by gcmn
[Bazel] Added missing targets to LLVM bazel rules.

Added the following targets to the LLVM Bazel overlay:

AVR
Mips
MPS430
SystemZ
XCore

Reviewed By: GMNGeoffrey

Differential Revision: https://reviews.llvm.org/D106921
The file was modifiedutils/bazel/configure.bzl
The file was modifiedutils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Commit 4b88a94ebe08054ad88435cc89aaa3b84e41b938 by omair.javaid
Revert "[trace] Introduce Hierarchical Trace Representation (HTR) and add  command for Intel PT trace visualization"

This reverts commit aad17c55a8116cd3831d4392d909139702019d65.

Breaks LLDB build on 32 bit Arm/Linux bot:
https://lab.llvm.org/buildbot/#/builders/17/builds/9497

Differential Revision: https://reviews.llvm.org/D105741
The file was modifiedlldb/source/Plugins/TraceExporter/CMakeLists.txt
The file was removedlldb/docs/htr.rst
The file was removedlldb/source/Plugins/TraceExporter/common/TraceHTR.cpp
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CMakeLists.txt
The file was removedlldb/test/API/commands/trace/intelpt-trace/export_ctf_test_program.out
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/TraceExporterCTFOptions.td
The file was removedlldb/test/API/commands/trace/TestTraceExport.py
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.cpp
The file was removedlldb/source/Plugins/TraceExporter/common/CMakeLists.txt
The file was removedlldb/source/Plugins/TraceExporter/common/TraceHTR.h
The file was removedlldb/test/API/commands/trace/intelpt-trace/export_ctf_test_program.cpp
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.h
Commit 6929bd6d0048134bed6c34ee485900c9d9f2b97b by Louis Dionne
[libc++] Add UNSUPPORTED for clang-14 since the underlying bug hasn't been fixed yet

This started breaking in the CI because we bumped the Clang version to 14,
which requires adjusting the markup in the test suite. I think it's actually
nice the we need to do that and that it doesn't happen automatically, since
it serves as a reminder that this is broken in Clang.
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp
Commit e12e02df09a967f644cf28136a7361bce7a5bb91 by George Burgess IV
[clang] Evaluate strlen of strcpy argument for -Wfortify-source.

Also introduce Expr::tryEvaluateStrLen.

Differential Revision: https://reviews.llvm.org/D104887
The file was modifiedclang/test/Analysis/security-syntax-checks.m
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/test/Sema/warn-fortify-source.c
Commit d52ba48821301c33650b97cd9f262615fcc0fdc1 by walter erquinigo
[trace] Introduce Hierarchical Trace Representation (HTR) and add  command for Intel PT trace visualization

This diff introduces Hierarchical Trace Representation (HTR) and creates the `thread trace export ctf  -f <filename> -t <thread_id>` command to export an Intel PT trace's HTR to Chrome Trace Format (CTF) for visualization.

See `lldb/docs/htr.rst` for context/documentation on HTR.

**Overview of Changes**
    - Add HTR documentation (see `lldb/docs/htr.rst`)
    - Add HTR structures (layer, block, block metadata)
    - Implement "Basic Super Block" HTR pass
    - Add 'thread trace export ctf' command to export the HTR of an Intel PT
      trace to Chrome Trace Format (CTF)

As this diff is the first iteration of HTR and trace visualization, future diffs will build on this work by generalizing the internal design of HTR and implementing new HTR passes that provide better trace summarization/visualization.

See attached video for an example of Intel PT trace visualization:
{F17851042}

Original Author: jj10306

Submitted by: wallace

Reviewed By: wallace, clayborg

Differential Revision: https://reviews.llvm.org/D105741
The file was addedlldb/docs/htr.rst
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.h
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CMakeLists.txt
The file was modifiedlldb/source/Plugins/TraceExporter/CMakeLists.txt
The file was addedlldb/source/Plugins/TraceExporter/common/TraceHTR.h
The file was addedlldb/test/API/commands/trace/intelpt-trace/export_ctf_test_program.out
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.cpp
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/TraceExporterCTFOptions.td
The file was addedlldb/test/API/commands/trace/intelpt-trace/export_ctf_test_program.cpp
The file was addedlldb/source/Plugins/TraceExporter/common/CMakeLists.txt
The file was addedlldb/test/API/commands/trace/TestTraceExport.py
The file was addedlldb/source/Plugins/TraceExporter/common/TraceHTR.cpp
Commit f8479d9de59d0f2f3997319b0ec189eb086aa85a by riddleriver
[mlir] Set the namespace of the BuiltinDialect to 'builtin'

Historically the builtin dialect has had an empty namespace. This has unfortunately created a very awkward situation, where many utilities either have to special case the empty namespace, or just don't work at all right now. This revision adds a namespace to the builtin dialect, and starts to cleanup some of the utilities to no longer handle empty namespaces. For now, the assembly form of builtin operations does not require the `builtin.` prefix. (This should likely be re-evaluated though)

Differential Revision: https://reviews.llvm.org/D105149
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Transforms/parallel-loop-collapsing.mlir
The file was modifiedmlir/test/Conversion/AsyncToLLVM/convert-runtime-to-llvm.mlir
The file was modifiedmlir/test/python/pass_manager.py
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Transforms/canonicalize-block-merge.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/test/Transforms/test-symbol-dce.mlir
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/include/mlir/IR/Dialect.h
The file was modifiedmlir/test/Pass/dynamic-pipeline.mlir
The file was modifiedmlir/docs/SymbolsAndSymbolTables.md
The file was modifiedmlir/test/Analysis/test-alias-analysis.mlir
The file was modifiedmlir/test/Dialect/SCF/parallel-loop-fusion.mlir
The file was modifiedmlir/include/mlir/IR/BuiltinDialect.td
The file was modifiedmlir/test/Transforms/test-legalizer-analysis.mlir
The file was modifiedmlir/test/Transforms/test-canonicalize-filter.mlir
The file was modifiedmlir/lib/IR/Dialect.cpp
The file was modifiedmlir/test/IR/wrapping_op.mlir
The file was modifiedmlir/test/mlir-lsp-server/hover.test
The file was modifiedmlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
The file was modifiedmlir/test/Pass/crash-recovery.mlir
The file was modifiedmlir/lib/Pass/PassRegistry.cpp
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
The file was modifiedmlir/test/Dialect/Standard/canonicalize-cf.mlir
The file was modifiedmlir/unittests/IR/InterfaceAttachmentTest.cpp
The file was modifiedmlir/test/Dialect/SCF/parallel-loop-tiling.mlir
The file was modifiedmlir/test/Pass/pipeline-parsing.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/terminator.mlir
The file was modifiedmlir/lib/Bindings/Python/IRCore.cpp
The file was modifiedmlir/lib/IR/BuiltinTypes.cpp
The file was modifiedmlir/test/IR/visitors.mlir
The file was modifiedmlir/include/mlir/Transforms/LoopUtils.h
The file was modifiedflang/test/Fir/cg-ops.fir
The file was modifiedmlir/test/Transforms/sccp-callgraph.mlir
The file was modifiedmlir/test/Conversion/MemRefToLLVM/convert-static-memref-ops.mlir
The file was modifiedmlir/test/Pass/pass-timing.mlir
The file was modifiedmlir/test/Transforms/cse.mlir
The file was modifiedmlir/test/CAPI/pass.c
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Transforms/test-canonicalize.mlir
The file was modifiedmlir/test/IR/print-ir-defuse.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Pass/pipeline-stats.mlir
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/test/IR/print-ir-nesting.mlir
The file was modifiedmlir/test/python/integration/dialects/linalg/opsrun.py
The file was modifiedmlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
The file was modifiedmlir/test/Dialect/Quant/canonicalize.mlir
The file was modifiedmlir/test/Pass/dynamic-pipeline-nested.mlir
The file was modifiedflang/lib/Optimizer/Dialect/FIRType.cpp
The file was modifiedmlir/test/python/ir/dialects.py
The file was modifiedmlir/docs/Tutorials/UnderstandingTheIRStructure.md
The file was modifiedmlir/include/mlir/Pass/PassManager.h
The file was modifiedmlir/docs/Diagnostics.md
The file was modifiedmlir/test/python/ir/operation.py
The file was modifiedmlir/test/Dialect/Affine/canonicalize.mlir
The file was modifiedmlir/test/Transforms/canonicalize-dce.mlir
The file was modifiedmlir/test/Pass/invalid-pass.mlir
The file was modifiedmlir/test/mlir-lsp-server/document-symbols.test
The file was modifiedmlir/test/Dialect/ArmSVE/memcpy.mlir
The file was modifiedmlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
The file was modifiedmlir/test/Dialect/Linalg/fusion-sequence.mlir
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir
The file was modifiedmlir/test/Transforms/canonicalize-td.mlir
The file was modifiedmlir/test/Pass/ir-printing.mlir
The file was modifiedmlir/test/Pass/pipeline-options-parsing.mlir
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedmlir/test/Pass/run-reproducer.mlir
The file was modifiedmlir/test/Transforms/single-parallel-loop-collapsing.mlir
The file was modifiedmlir/test/Pass/dynamic-pipeline-fail-on-parent.mlir
The file was modifiedmlir/test/Dialect/Builtin/invalid.mlir
The file was modifiedmlir/test/Analysis/test-alias-analysis-modref.mlir
The file was modifiedmlir/test/IR/print-op-on-diagnostic.mlir
The file was modifiedmlir/docs/PassManagement.md
The file was modifiedmlir/test/Dialect/SCF/loop-range.mlir
The file was modifiedmlir/test/Transforms/sccp-structured.mlir
The file was modifiedmlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
The file was modifiedmlir/test/Transforms/sccp.mlir
The file was modifiedmlir/test/mlir-lsp-server/diagnostics.test
The file was modifiedmlir/lib/IR/BuiltinDialect.cpp
Commit 6e9e4b5a6a003b90f312af07214e8c4c2263559a by joker.eph
Revert "Emit strong definition for TypeID storage in Op/Type/Attributes definition"

This reverts commit 660a56956c32b0bcd850fc12fa8ad0225a6bb880.

This broke the GCC5 build
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/include/mlir/Support/TypeID.h
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
Commit 0c7cd4a873138f2116403a733274c8cb7dbf925f by mizvekov
[clang] NFC: refactor multiple implementations of getDecltypeForParenthesizedExpr

This cleanup patch refactors a bunch of functional duplicates of
getDecltypeForParenthesizedExpr into a common implementation.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: aaronpuchert

Differential Revision: https://reviews.llvm.org/D100713
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/ExprObjC.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 87aa31827b293127619e2ef96e80baf709eae338 by mizvekov
[clang] fix concepts crash on substitution failure during normalization

When substitution failed on the first constrained template argument (but
only the first), we would assert / crash. Checking for failure was only
being performed from the second constraint on.

This changes it so the checking is performed in that case,
and the code is also now simplified a little bit to hopefully
avoid this confusion.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D106907
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.normal/p1.cpp
Commit c6d03b583b48c00171e79d3bcf61168c97f874b9 by michaelrj
[libc] add strncmp to strings

Add strncmp as a function to strings.h. Also adds unit tests, and adds
strncmp as an entrypoint for all current platforms.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106901
The file was addedlibc/src/string/strncmp.h
The file was modifiedlibc/src/string/CMakeLists.txt
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was modifiedlibc/config/windows/entrypoints.txt
The file was addedlibc/src/string/strncmp.cpp
The file was addedlibc/test/src/string/strncmp_test.cpp
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/test/src/string/CMakeLists.txt
Commit ef2627e1fa7c5009aae8b0bbfdec7ff4419ee5d3 by aeubanks
[profile] Add underscore to /alternatename for Win/x86

/alternatename should use the mangled name. On x86 we need an extra
underscore.

Copied from sanitizer_win_defs.h

Fixes https://crbug.com/1233589.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D107000
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit 43a44f1c54b76356673949f665a3a353a393c011 by aeubanks
[gn build] Add support for Win/x86 compiler-rt

This allows us to build the x86 profile runtime.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D106972
The file was modifiedllvm/utils/gn/secondary/llvm/triples.gni
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/BUILD.gn
Commit 0ba8595287ea2203ef2250e2b0b41f284a055518 by chris.jackson
[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR

Reapply commit d675b594f4f1e1f6a195fb9a4fd02cf3de92292d that was
reverted due to buildbot failures. A simple fix has been applied to
remove an assertion.

Differential Revision: https://reviews.llvm.org/D105207
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
Commit 3d157fb627e0fdb1600c3051dcbd0c4c221083a6 by lebedev.ri
[NFC][Codegen][X86] Autogenerate check lines in avx.ll test
The file was modifiedllvm/test/CodeGen/X86/avx.ll
Commit c0a41c3d3b53b0d64286947cf11751ff6889be30 by Jessica Paquette
[AArch64][GlobalISel] Improve legalization for odd-sized G_ICMP/G_CONSTANT

We were handing types like s88 like

1) clamp to the range
2) widen to the next power of 2

This isn't desirable because it causes an odd breakdown for types like s88.
If we widen to the next power of 2 (s128) first, then we get a clean breakdown
when we clamp back to s64.

Differential Revision: https://reviews.llvm.org/D106998
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-constant.mir
Commit 91842bf6aa93bf7b71c9b55687620df08d9e4170 by gcmn
[Bazel] Fix digest for bazel-skylib 1.0.3

I apparently left in the old digest when updating the version, so for my
local build Bazel just happily used the cached version, but anyone
attempting a fresth build would get a mismatch.

Differential Revision: https://reviews.llvm.org/D107010
The file was modifiedutils/bazel/WORKSPACE
Commit 3143ee4ddf5dd5b202f8d31abf703fe247f6008b by aeubanks
[gn build] Manually port dbed061b
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was removedllvm/utils/gn/secondary/llvm/tools/llvm-mca/lib/AMDGPU/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-mca/BUILD.gn
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCA/BUILD.gn
Commit dc9ee3925179c2de79cd2d1ffafc41e70249352c by jezng
[lld-macho] Downgrade "cannot export hidden symbol" to warning

This matches ld64's behavior, and makes it easier to fit LLD
into existing build systems.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D107011
The file was modifiedlld/test/MachO/export-options.s
The file was modifiedlld/MachO/Driver.cpp
Commit adbaa39dfce7a8361d89b6a3b382fd8f50b94727 by huberjn
[Attributor] Change function internalization to not replace uses in internalized callers

The current implementation of function internalization creats a copy of each
function and replaces every use. This has the downside that the external
versions of the functions will call into the internalized versions of the
functions. This prevents them from being fully independent of eachother. This
patch replaces the current internalization scheme with a method that creates
all the copies of the functions intended to be internalized first and then
replaces the uses as long as their caller is not already internalized.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106931
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
Commit 8ddf0b178c24482833223ce09da543618a4ca768 by llvmgnsyncbot
[gn build] Port 0f4b41e03853
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 97851a08e2684388dec24fbe46818704052f9dbe by huberjn
[Attributor] Don't test internalization in the CGSCC pass.

Summary:
Enabling internalization in the Attributor's CGSCC pass does something
different that we don't expect. Ignore this for now to pass the tests.
The file was modifiedllvm/test/Transforms/Attributor/internalize.ll
Commit 6a0fe68844150f16e16fe64d050509e4ba740d98 by Vitaly Buka
[tsan] Fix Darwin build after D106973
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp
Commit d42a06b2006ec5838ab6b065353597ac7c7add72 by Vitaly Buka
Revert "[tsan] Fix Darwin build after D106973"

It was invalid fix.

This reverts commit 6a0fe68844150f16e16fe64d050509e4ba740d98.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp
Commit ca7c66ccb85b9468ba86ad12d91c940e4cb72dc3 by Vitaly Buka
[tsan] Fix Darwin build after D106973
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp
Commit dad10a9afbc383076bfa273f151de9e7bdb94eda by stellaraccident
NFC: Adapt operation.py to builtin operation print format changes.
The file was modifiedmlir/test/python/ir/operation.py
Commit 4bb0ad2382a1224c876dfd3671cf994a1a50e10d by joker.eph
Emit strong definition for TypeID storage in Op/Type/Attributes definition

By making an explicit template specialization for the TypeID provided by these classes,
the compiler will not emit an inline weak definition and rely on the linker to unique it.
Instead a single definition will be emitted in the C++ file alongside the implementation
for these classes. That will turn into a linker error what is now a hard-to-debug runtime
behavior where instances of the same class may be using a different TypeID inside of
different DSOs.

Recommit 660a56956c32b0bcd850fc12fa8ad0225a6bb880 after fixing gcc5
build.

Differential Revision: https://reviews.llvm.org/D105903
The file was modifiedmlir/include/mlir/Support/TypeID.h
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
Commit 0cdf4915019a8ebc6570229cf140ad879dfaef56 by stellaraccident
Break apart the MLIR ExecutionEngine from core python module.

* For python projects that don't need JIT/ExecutionEngine, cuts the number of files to compile roughly in half (with similar reduction in end binary size).

Differential Revision: https://reviews.llvm.org/D106992
The file was modifiedmlir/test/python/execution_engine.py
The file was modifiedmlir/python/mlir/execution_engine.py
The file was removedmlir/lib/Bindings/Python/ExecutionEngine.cpp
The file was addedmlir/lib/Bindings/Python/ExecutionEngineModule.cpp
The file was removedmlir/lib/Bindings/Python/ExecutionEngine.h
The file was modifiedmlir/lib/Bindings/Python/MainModule.cpp
The file was modifiedmlir/python/CMakeLists.txt
Commit 5a333dc5da9fac3407b78d52ad3bc18049f8a73b by Jessica Paquette
[AArch64][GlobalISel] Improve legalization for odd-type G_LOAD

Swap the order of widening so that we widen to the next power-of-2 first when
legalizing G_LOAD.

Also, provide a minimum type for the power of 2 to disallow s2 + s1. Clamping
ought to disallow s2 and s1, but I think it's better to be explicit about the
expected minimum size.

We probably need a similar change for G_STORE, but it seems to be a bit more
finnicky. So, let's just handle G_LOAD for now.

Differential Revision: https://reviews.llvm.org/D107013
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
Commit d6704e5ed91478464e551ee9d5520584978553ee by danielrodriguez
[llvm-objcopy][MachO] Ignore all LC_SUB_* commands.

The LC_SUB_FRAMEWORK, LC_SUB_UMBRELLA, LC_SUB_CLIENT, and LC_SUB_LIBRARY
are used to indicate related libraries, binaries or framework names.
Their only payload is the string with the name of the object. Adding
those commands to the list of ignored/skipped load commands will avoid
an error that stop the process of copying/stripping and will copy their
contents verbatim.

Additionally, in order to have a test for this case, `yaml2obj` now
allows those four commands to contain a `Content`.

Differential Revision: https://reviews.llvm.org/D106412
The file was modifiedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/sub-load-commands.test
The file was modifiedllvm/lib/ObjectYAML/MachOYAML.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
Commit a9c515983dc26992ce67668ad64f066353853ed1 by mvanotti
[libFuzzer] Fix CFI Directives for fuchsia

This commit fixes the CFI directives in the crash trampoline so
libunwind can get a backtrace during a crash.

In order to get a backtrace from a libfuzzer crash in fuchsia, we
resume execution in the crashed thread, forcing it to call the
StaticCrashHandler. We do this by setting a "crash trampoline" that has
all the necessary cfi directives for an unwinder to get full backtrace
for that thread.

Due to a bug in libunwind, it was not possible to restore the RSP
pointer, as it was always set to the call frame address (CFA). The
previous version worked around this issue by setting the CFA to the
value of the stack pointer at the point of the crash.

The bug in libunwind is now fixed[0], so I am correcting the CFI
annotations so that the CFA correctly points to the beginning of the
trampoline's call frame.

[0]: https://reviews.llvm.org/D106626

Reviewed By: mcgrathr

Differential Revision: https://reviews.llvm.org/D106725
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
Commit c6ad3f2157ce374dbd2fd3e50699fc0303553714 by mvanotti
[asan][fuchsia] Implement PlatformUnpoisonStacks

This CL modifies the PlatformUnpoisonStacks so that fuchsia can
implement its own logic for unpoisoning the stacks.

For the general case, the behavior is the same as with regular asan: it
will unpoison everything from the current stack pointer until the base
of the stack (stack top).

In some situations, the current stack might not be the same as the
default stack. In those cases, the code will now unpoison the entire
default stack, and will also unpoison the current page of the stack.

Reviewed By: mcgrathr

Differential Revision: https://reviews.llvm.org/D106835
The file was modifiedcompiler-rt/lib/asan/asan_fuchsia.cpp
Commit 1a8087adaf1e34b695d420f62ff26d3d8489264d by aktoon
[ThinLTO] Disallow importing for functions with indir branch to block address

We don't allowing inlining for functions with blockaddress with uses other than strictly callbr. This is because if the blockaddress escapes the function via a global variable, inlining may lead to an invalid cross-function reference.

We check against such cases during inlining, however the check can fail for ThinLTO post-link because CFG simplification can incorrectly removes blocks based on wrong block reachability.

When we import a function with blockaddress taken in a global variable but without importing that variable, we won't go through value mapping to reflect the real address-taken-ness of the cloned blocks. For the imported clone, this leads to blocks reachable from indirect branch through global variable being incorrectly treated as unreachable and removed by SimplifyCFG.

Since inlining for such cases shouldn't be allowed in the first place, I'm marking them as ineligible for importing during pre-link to save the problem of missing address-taken-ness of imported clone as well as bad DCE and inlining.

Differential Revision: https://reviews.llvm.org/D106930
The file was modifiedllvm/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/test/ThinLTO/X86/globals-import-blockaddr.ll
Commit 3894a8a4768fd6fa9bf18303a0db1687c7c687b3 by arthur.j.odwyer
[libc++] Implement the resolutions of LWG3506 and LWG3522.

Implement the changes in all language modes.

LWG3506 "Missing allocator-extended constructors for priority_queue"
makes the following changes:
- New allocator-extended constructors for priority_queue.
- New deduction guides targeting those constructors.

LWG3522: "Missing requirement on InputIterator template parameter
for priority_queue constructors". The iterator parameter should be
constrained to actually be an iterator type. `priority_queue{1,2}`
should be SFINAE-friendly ill-formed.

Also, do a drive-by fix in the allocator-extended move constructor:
there's no need to do a `make_heap` after moving from `__q.c` into
our own `c`, because that container was already heapified when it
was part of `__q`. [priqueue.cons.alloc] actually specifies the
behavior and does *not* mention calling `make_heap`. I think this
was just a copy-paste thinko. It dates back to the initial import
of libc++.

Differential Revision: https://reviews.llvm.org/D106824
Differential Revision: https://reviews.llvm.org/D106827
The file was addedlibcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_iter_iter_alloc.pass.cpp
The file was addedlibcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_iter_iter_comp_alloc.pass.cpp
The file was addedlibcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_constraint.compile.pass.cpp
The file was addedlibcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_iter_iter_comp_rcont_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp
The file was modifiedlibcxx/docs/Status/Cxx2bIssues.csv
The file was modifiedlibcxx/docs/Status/RangesIssues.csv
The file was addedlibcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_iter_iter_comp_cont_alloc.pass.cpp
The file was modifiedlibcxx/include/queue
Commit 2a2d83d916aaed3dff1001366f1f7849082098e1 by powerman1st
[RISCV][test] Add new tests for mul optimization in the zba extension with SH*ADD

These test will show the following optimization by future patches.

(mul x, (power_of_2 + 2)) => (SH1ADD x, (SLLI x, bits))
(mul x, (power_of_2 + 4)) => (SH2ADD x, (SLLI x, bits))
(mul x, (power_of_2 + 8)) => (SH3ADD x, (SLLI x, bits))

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D106647
The file was modifiedllvm/test/CodeGen/RISCV/rv64zba.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv32zba.ll
Commit 264b8e2a20b3124b80bdf6f17dc29d5869336375 by powerman1st
[RISCV] Optimize mul in the zba extension with SH*ADD

This patch makes the following optimization, if the
immediate multiplier is not a simm12.

(mul x, (power_of_2 + 2)) => (SH1ADD x, (SLLI x, bits))
(mul x, (power_of_2 + 4)) => (SH2ADD x, (SLLI x, bits))
(mul x, (power_of_2 + 8)) => (SH3ADD x, (SLLI x, bits))

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D106648
The file was modifiedllvm/test/CodeGen/RISCV/rv64zba.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv32zba.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 50b62731452cb83979bbf3c06e828d26a4698dca by carrot
[MBP] findBestLoopTopHelper should exit if OldTop is not a chain header

Function findBestLoopTopHelper tries to find a new loop top block which can also
fall through to OldTop, but it's impossible if OldTop is not a chain header, so
it should exit immediately.

Differential Revision: https://reviews.llvm.org/D106329
The file was addedllvm/test/CodeGen/ARM/mbp.ll
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
Commit 363a8a05988de8f5771fd1330b0fa9a4d2ae4944 by jasonliu.development
[libc++] money_get::do_get() set failbit and eofbit if iterator begin equals end

Summary:
Currently, if we pass in the same iterator for begin and end,
the long double version of do_get would throw a runtime error.

However, according to standard (https://eel.is/c++draft/locale.money.get#virtuals-1),
we should set the failbit and eofbit when no more characters are available.

Differential Revision: https://reviews.llvm.org/D100510
The file was modifiedlibcxx/include/locale
The file was modifiedlibcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_en_US.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_string_en_US.pass.cpp
Commit 20c6ddc5bcc91aba6a5cccabae094d08301567fc by arthur.j.odwyer
[libc++] Remove unused variables in generate_private_header_tests.py. NFCI.
The file was modifiedlibcxx/utils/generate_private_header_tests.py
Commit 61c35fb0c2c9e25942a913ea88f541dc5abb15e4 by arthur.j.odwyer
[libc++][modularisation] Split <compare> into internal headers.

Differential Revision: https://reviews.llvm.org/D106107
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/compare
The file was modifiedlibcxx/include/module.modulemap
The file was addedlibcxx/include/__compare/ordering.h
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.module.verify.cpp
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.module.verify.cpp
The file was addedlibcxx/include/__compare/common_comparison_category.h
Commit ecd5dc6dccfff44267fa57737311f1ed0a108870 by llvmgnsyncbot
[gn build] Port 61c35fb0c2c9
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 7e2174c2535edc03864b2016ff00e4bb57947a8f by stellaraccident
NFC: Add missing import to integration test.
The file was modifiedmlir/test/python/integration/dialects/linalg/opsrun.py
Commit 768f56264150ad20f0d1416314a0affafb55bd0f by stellaraccident
Update file names and extensions for MLIR Python execution engine changes.
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit c6b0b16c0f55c34f4eaa05184815bbbe97f4b750 by llvm-project
[Preprocessor] -E -P: Ensure newline after 8 skipped lines.

The implementation of -fminimize-whitespace (D104601) revised the logic
when to emit newlines. There was no case to handle when more than
8 lines were skippped in -P (DisableLineMarkers) mode and instead fell
through the case intended for -fminimize-whitespace, i.e. emit nothing.
This patch will emit one newline in this case.

The newline logic is slightly reorganized. The `-P -fminimize-whitespace`
case is handled explicitly and emitting at least one newline is the new
fallback case. The choice between emitting a line marker or up to
7 empty lines is now a choice only with enabled line markers. The up to
8 newlines likely are fewer characters than a line directive, but
in -P mode this had the paradoxic effect that it would print up to
7 empty lines, but none at all if more than 8 lines had to be skipped.
Now with DisableLineMarkers, we don't consider printing empty lines
(just start a new line) which matches gcc's behavior.

The line-directive-output-mincol.c test is replaced with a more
comprehensive test skip-empty-lines.c also testing the more than
8 skipped lines behaviour with all flag combinations.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D106924
The file was modifiedclang/test/Preprocessor/minimize-whitespace.c
The file was modifiedclang/lib/Frontend/PrintPreprocessedOutput.cpp
The file was removedclang/test/Preprocessor/line-directive-output-mincol.c
The file was addedclang/test/Preprocessor/skip-empty-lines.c
Commit a4edb2b1ba0bda9042e87ca3f3e1b9f70598df9a by tstellar
libcang: Add missing function to libclang.map

This function is marked with CINDEX_LINKAGE, but was never added to the
export list / linker script.

Reviewed By: jrtc27

Differential Revision: https://reviews.llvm.org/D106974
The file was modifiedclang/tools/libclang/libclang.map
Commit 640ed21cceb28ddb3a9779fdfa11a4c4d97e29df by sivachandra
[libc][NFC] Add noreturn and constexpr qualifiers where appropriate

These functions make it clear to the compiler and user what the intended
behavior is so llvm can make them go as fast as possible.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106807
The file was modifiedlibc/utils/HdrGen/Command.h
The file was modifiedlibc/src/__support/integer_operations.h
The file was modifiedlibc/src/ctype/ctype_utils.h
Commit 5060224d9eed8b8359ed5090bb7c577b8575e9e7 by nathan
[test] Fix tools/gold/X86/comdat-nodeduplicate.ll on non-X86 hosts

When running this test on an aarch64 machine, it fails:

```
/usr/bin/ld.gold: error: .../test/tools/gold/X86/Output/comdat-nodeduplicate.ll.tmp/ab.lto.o: incompatible target
```

Specify the elf_x86_64 emulation as all of the other gold plugin tests
do.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D107020
The file was modifiedllvm/test/tools/gold/X86/comdat-nodeduplicate.ll
Commit b70de61f48062c7810b474bc944394ecbd56a262 by joker.eph
Add `all_of_zip` to STLExtras

This takes two ranges and invokes a predicate on the element-wise pair in the
ranges. It returns true if all the pairs are matching the predicate and the ranges
have the same size.
It is useful with containers that aren't random iterator where we can't check the
sizes in O(1).

Differential Revision: https://reviews.llvm.org/D106605
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
Commit 0be5d1a96c8973a4aa56b3fdd8fc22c8a95a7171 by joker.eph
Implement recursive support into OperationEquivalence::isEquivalentTo()

This allows to use OperationEquivalence to track structural comparison for equality
between two operations.

Differential Revision: https://reviews.llvm.org/D106422
The file was modifiedmlir/lib/IR/OperationSupport.cpp
The file was addedmlir/test/IR/operation-equality.mlir
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/lib/IR/CMakeLists.txt
The file was addedmlir/test/lib/IR/TestOperationEquals.cpp
The file was modifiedmlir/lib/Transforms/Utils/RegionUtils.cpp
The file was modifiedmlir/lib/Transforms/CSE.cpp
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
Commit 58712987e56fb598ac49da7fbe6e6a78c787637b by freddy.ye
[NFC][X86] add missing tests in clang/test/CodeGen/attr-target-mv.c

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D106849
The file was modifiedclang/test/CodeGen/attr-target-mv.c
Commit d4840175c95f6edcba21baae411589468d5bc68f by arthur.j.odwyer
[libc++] Remove excess whitespace in synopsis comment. NFCI.
The file was modifiedlibcxx/include/compare
Commit 262cb5f5b492b77336e6dea3f720eec9632cced4 by dvyukov
tsan: fix java_symbolization test

We reliably remove bottom libc-guts frames only on linux/glibc.
Some bots failed on this test showing other bottom frames:

.annobin_libc_start.c libc-start.c (libc.so.6+0x249f4)
generic_start_main.isra.0 libc-start.c (libc.so.6+0x45b0c)

We can't reliably remove all of possible bottom frames.
So remove the assertion for that.

Differential Revision: https://reviews.llvm.org/D107037
The file was modifiedcompiler-rt/test/tsan/java_symbolization.cpp
Commit a1a37ddc3f0e4d4002b0661e4870b1e949fd5d81 by dvyukov
tsan: remove /**/ at the of multi-line macros

Prefer code readability over writeability.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106982
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
Commit cd0143c0f2a37332a1f7e29caa122db74b92a344 by dvyukov
tsan: switch from SSE3 to SSE4.2

Switch x86_64 requirement for optimized code from SSE3 to SSE4.2.
The new tsan runtime will need few instructions that are only
supported by SSE4:

_mm_max_epu32
_mm_extract_epi8
_mm_insert_epi32

SSE3 was introcued in 2004 and SSE4 in 2006:
https://en.wikipedia.org/wiki/SSE3
https://en.wikipedia.org/wiki/SSE4

We are still providing non-optimized C++ version of the code,
so either way it's possible to build tsan runtime for any CPU.

But for Go this will bump strict requirement for -race because
Go contains prebuilt versions and these will be built with -msse4.2.
But requiring a CPU produced at least in 2006 looks reasonable for
a debugging tool (more reasonable than disabling optimizations
for everybody).

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106948
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
Commit e2fe26e77b02633207bdd36a14e2dcf210cc2fe7 by JunMa
[NFC][InstSimplify] Use more intuitive variable names.
The file was modifiedllvm/test/Transforms/InstSimplify/fold-vscale.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 92b758cf3d706b117d59490cd85d23b764cc749f by koraq
[libcxx][doc] Update the build documentation.

These are the hunks of
  D106770 [libc++][doc] Update the release notes
that are relevant for main.
The file was modifiedlibcxx/docs/BuildingLibcxx.rst
Commit 75f6a795ee0faf544c3f539d01008d1d5d876acb by bjoern
[clang-format] Fix aligning with linebreaks #2

This amends c5243c63cda3c740d6e9c7e501f6518c21688da3 to fix formatting
continued function calls with BinPacking = false.

Differential Revision: https://reviews.llvm.org/D106773
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
Commit 9ff030ca50e327d522e80ee20f4d5febcce94a24 by diana.picus
test-release.sh: Kill python2

Don't prefer python2's virtualenv when setting up the test-suite.
Always use python3 instead, since that's what we support everywhere else
anyway.

Differential Revision: https://reviews.llvm.org/D106941
The file was modifiedllvm/utils/release/test-release.sh
Commit a33f60db39836d94a79557b147515d42d30ecba3 by fraser
[RISCV] Add test case showing suboptimal BUILD_VECTOR lowering

The second test case added here was pointed out to me by @craig.topper
and shows how we "optimize" a two-element BUILD_VECTOR from being one
load from the constant pool to two loads from the constant pool.

The first test case shows that since materialization for the
floating-point +0.0 value is cheap and doesn't involve a load, the
optimization is more clearly beneficial here.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D106962
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
Commit 02dd4b59bc0d34ecd41fcc314f5571572b3feebc by fraser
[RISCV] Optimize floating-point "dominant value" BUILD_VECTORs

This patch aims to improve the performance of BUILD_VECTORs which are
identified as containing a dominant element. Given that most
floating-point constants themselves require a load from the constant
pool, it was possible for the optimization to actually increase the
number of individual loads on small vectors. The exception is the zero
constant -- +0.0 -- which can be materialized efficiently.

While this optimization could do with a proper cost model to weigh the
benfits of a single vector load vs. the manipulation of individual
elements -- even for integer vectors which often require several
instructions to materialize -- without a concrete RVV implementation to
work with any heuristic is likely to be both more obtuse and inaccurate.

Until then, this patch fixes at least one known obvious deficiency.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D106963
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 2df8bf9339e43de63d8d28e07182e1d6d7ffb843 by rosie.sumpter
[LoopFlatten] Fix missed LoopFlatten opportunity

When the trip count of the inner loop is a constant, the InstCombine
pass now causes the transformation e.g. imcp ult i32 %inc, tripcount ->
icmp ult %j, tripcount-step (where %j is the inner loop induction
variable and %inc is add %j, step), which is now accounted for when
identifying the trip count of the loop. This is also an acceptable use
of %j (provided the step is 1) so is ignored as long as the compare
that it's used in is also the condition of the inner branch.

Differential Revision: https://reviews.llvm.org/D105802
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll
The file was modifiedllvm/test/Transforms/LoopFlatten/loop-flatten.ll
Commit f1ab60e40d16970381a003e145be6d5932823597 by balazs.benics
Fix FindZ3.cmake to support static libraries and Windows

Use absolute path to link z3 to allow builds both on windows and linux
since the library name is platform dependent for Z3 (libz3 on Windows
and z3 on Linux) and MSVC does not recognized -L and -l options.
Fix CMAKE_CROSSCOMPILING that does not work correctly since it uses
Z3_BUILD_VERSION instead of Z3_BUILD_NUMBER
Fix building with the static version of z3 library (supersedes D80227).

- Build the Z3 version detection code as C++, since the static
   library brings in libstdc++ symbols
- Detect threading support and link against threading, in the
   (likely) case Z3 was built with threads

Exposed compilation error from building a program that is used to detect
z3 version in the warning message, to simplify troubleshooting.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D106131
The file was modifiedllvm/cmake/modules/FindZ3.cmake
Commit 1c9c2c91d4d4b62d99ea1472de4d01eb7d7e6ee0 by benny.kra
[mlir] Remove the default isDynamicallyLegal hook

This is redundant with the callback variant and untested. Also remove
the callback-less methods for adding a dynamically legal op, as they
are no longer useful.

Differential Revision: https://reviews.llvm.org/D106786
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
The file was modifiedmlir/include/mlir/Transforms/DialectConversion.h
The file was modifiedmlir/docs/DialectConversion.md
Commit d81a843846f4171ffe3f44b66bf3a9fda5c411cf by benny.kra
[mlir] Put back virtual ~ConversionTarget(), some users started relying on it
The file was modifiedmlir/include/mlir/Transforms/DialectConversion.h
Commit 971f4173f82da6e13ee4c5b1a0301ba0fde0d696 by Mirko.Brkusanin
[AMDGPU][GlobalISel] Insert an and with exec before s_cbranch_vccnz if necessary

While v_cmp will AND inactive lanes with 0, that is not the case for logical
operations.

This fixes a Vulkan CTS test that would hang otherwise.

Differential Revision: https://reviews.llvm.org/D105709
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
Commit d510b5f199d6e7a3062b5a6ea43181c4cc00a605 by david.spickett
[lldb][AArch64] Annotate synchronous tag faults

In the latest Linux kernels synchronous tag faults
include the tag bits in their address.
This change adds logical and allocation tags to the
description of synchronous tag faults.
(asynchronous faults have no address)

Process 1626 stopped
* thread #1, name = 'a.out', stop reason = signal SIGSEGV: sync tag check fault (fault address: 0x900fffff7ff9010 logical tag: 0x9 allocation tag: 0x0)

This extends the existing description and will
show as much as it can on the rare occasion something
fails.

This change supports AArch64 MTE only but other
architectures could be added by extending the
switch at the start of AnnotateSyncTagCheckFault.
The rest of the function is generic code.

Tests have been added for synchronous and asynchronous
MTE faults.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D105178
The file was addedlldb/test/API/linux/aarch64/mte_tag_faults/Makefile
The file was addedlldb/test/API/linux/aarch64/mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.h
The file was addedlldb/test/API/linux/aarch64/mte_tag_faults/main.c
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
Commit d8fd2146daaa28d118fd7c29d63e817a8c955b81 by kbobyrev
NFC: Change quotes from Unicode to ASCII

This was causing some problems for Python scripts that we have.

Context: https://reviews.llvm.org/D106792
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/abseil-no-internal-dependencies.rst
Commit da61ab847577dd81d6267c532d9810fc19596033 by Amara Emerson
[AArch64][GlobalISel] More widenToNextPow2 changes, this time for arithmetic/bitwise ops.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-and.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
Commit 08d92dbbffa52db9b3fc3a871fb7feab6a0420c9 by cullen.rhodes
[AArch64][AsmParser] NFC: Parser.getTok() -> getTok()

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D106949
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Commit 8bf0a406087e8747383134847ab0f165e6475a97 by andrzej.warzynski
[flang][driver] Forward `-fopenmp`/`-fopenacc` to the host compiler

This patch only modifies `flang` - the bash wrapper script.

`-fopenmp`/`-fopenacc` are required to enable the OpenMP/OpenACC
extension in the frontend and to make sure that the required libraries
are linked when generating the final binary. This patch makes sure that
`-fopnemp`/`-fopenacc` is used for both unparsing and the code
generation (via the host compiler).

Differential Revision: https://reviews.llvm.org/D106871
The file was modifiedflang/tools/f18/flang.in
Commit b8f4232823d77c350ccf83cdd91b9f67fed2d31c by dvyukov
tsan: rename deadlock detector Mutex to UserMutex

It conflicts with sanitizer_common Mutex.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107053
The file was modifiedcompiler-rt/lib/tsan/dd/dd_rtl.h
Commit 4e15ee2867756f8676aa75d77cda8542cbd7498c by dvyukov
sanitizer_common: remove BlockingMutex and RWMutex

Remove the legacy typedefs and use Mutex/Lock types directly.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107043
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_addrhashmap.h
The file was modifiedcompiler-rt/lib/msan/msan_interceptors.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
The file was modifiedcompiler-rt/lib/tsan/dd/dd_rtl.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libignore.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libignore.cpp
The file was modifiedcompiler-rt/lib/tsan/dd/dd_rtl.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mutex.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
Commit 0d68cfc99668e56615a8bced8826feb4535efd13 by dvyukov
tsan: store ThreadRegistry in Context by value

It's unclear why we allocate ThreadRegistry separately,
I assume it's some historical leftover.
Embed ThreadRegistry into Context.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107045
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_debugging.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit 2537120c870c04893636f171f553024f378c2de8 by jeremy.morse
Follow-up to D105207, only salvage affine SCEVs to avoid a crash

SCEVToIterCountExpr only expects to be fed affine expressions, but
DbgRewriteSalvageableDVIs is feeding it non-affine induction variables.
Following this up with an obvious fix, will add test coverage too if
this avoids D105207 being reverted.
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Commit 68546c9d6fc54a7ca7ad487cd4b6a5dafea9b4f3 by aaron
bugprone-forwarding-reference-overload: support non-type template parameters

Many concepts emulation libraries, such as the one found in Range v3, tend to
use non-type template parameters for the enable_if type expression, due to
their versatility in template functions and constructors containing variadic
template parameter packs.

Unfortunately the bugprone-forwarding-reference-overload check does not
handle non-type template parameters, as was first noted in this bug report:
https://bugs.llvm.org/show_bug.cgi?id=38081

This patch fixes this long standing issue and allows for the check to be suppressed
with the use of a non-type template parameter containing enable_if or enable_if_t in
the type expression, so long as it has a default literal value.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-forwarding-reference-overload.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-forwarding-reference-overload.rst
Commit 486489312743411ce2e25d7763e6d298f672f976 by sebastian.neubauer
[Utils] Do not remove comments in llc test script

When checking if two prefixes can be merged for a function,
update_llc_test_checks.py removed IR comments before comparing
llc outputs of different RUN lines.
This means, if one RUN line emited lines starting with ';' and another
RUN line emited the same lines except the ones starting with ';', both
RUNs would be merged (if they share a prefix).

However, CHECK-NEXT lines check the comments, otherwise they fail, so
the script should not merge RUNs if they contain different comments.

Differential Revision: https://reviews.llvm.org/D101312
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-no-merge-comments.test
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedllvm/utils/update_test_checks.py
The file was modifiedllvm/utils/update_analyze_test_checks.py
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments.ll
The file was modifiedllvm/utils/update_llc_test_checks.py
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments.ll.expected
Commit 191831e380f317cd2baa5d48abe02d1d11cd44cb by bradley.smith
[AArch64][SVE] Fix incorrect mask type when lowering fixed type SVE gather/scatter

An incorrect mask type when lowering an SVE gather/scatter was causing
a codegen fault which manifested as the incorrect predicate size being
used for an SVE gather/scatter, (e.g.. p0.b rather than p0.d).

Fixes PR51182.

Differential Revision: https://reviews.llvm.org/D106943
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
Commit bcc83a2e83215f998533582b55522a6e8752d899 by andrew.savonichev
[MCA] Use LSU for the in-order pipeline

Load/Store unit is used to enforce order of loads and stores if they
alias (controlled by --noalias=false option).

Fixes PR50483 - [MCA] In-order pipeline doesn't track memory
load/store dependencies.

Differential Revision: https://reviews.llvm.org/D103955
The file was modifiedllvm/test/tools/llvm-mca/AArch64/Cortex/A55-load-store-alias.s
The file was modifiedllvm/lib/MCA/Context.cpp
The file was modifiedllvm/include/llvm/MCA/Stages/InOrderIssueStage.h
The file was addedllvm/test/tools/llvm-mca/AArch64/Cortex/A55-load-store-noalias.s
The file was modifiedllvm/lib/MCA/Stages/InOrderIssueStage.cpp
Commit e427077ec10ea18ac21f5065342183481d87783a by spatel
[AArch64][x86] add tests for add-with-overflow folds; NFC

There's a generic combine for these, but no test coverage.
It's not clear if this is actually a good fold.
The combine was added with D58874, but it has a bug that
can cause crashing ( https://llvm.org/PR51238 ).
The file was modifiedllvm/test/CodeGen/X86/combine-add.ll
The file was modifiedllvm/test/CodeGen/AArch64/addsub.ll
Commit 058935145d6b0c600c35e8b83fa150896c725f8d by Stefan Gränitz
[Orc][examples] Adopt ExecutorProcessControl API and re-enable LLJITWithRemoteDebugging

The API change originated from D104694. The LLJITWithRemoteDebugging example and the test for it were disabled while it was in the works.
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
The file was modifiedllvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
The file was modifiedllvm/test/Examples/lit.local.cfg
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/LLJITWithRemoteDebugging.cpp
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.h
Commit fa6b2c9915ba27e1e97f8901ea4aa877f331fb9f by spatel
[DAGCombiner] don't try to partially reduce add-with-overflow ops

This transform was added with D58874, but there were no tests for overflow ops.
We need to change this one way or another because it can crash as shown in:
https://llvm.org/PR51238

Note that if there are no uses of an overflow op's bool overflow result, we
reduce it to a regular math op, so we continue to fold that case either way.
If we have uses of both the math and the overflow bool, then we are likely
not saving anything by creating an independent sub instruction as seen in
the test diffs here.

This patch makes the behavior in SDAG consistent with what we do in
instcombine AFAICT.

Differential Revision: https://reviews.llvm.org/D106983
The file was modifiedllvm/test/CodeGen/X86/combine-add.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AArch64/addsub.ll
Commit 77e9d10f0fbfe04a14e6ce61753376dd78e0c2f0 by augusto2112
[lldb] Assert filecache and live memory match on debug under a setting
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/test/Shell/lit-lldb-init.in
The file was modifiedlldb/source/Target/TargetProperties.td
The file was modifiedlldb/source/Core/Section.cpp
Commit a90da62adb212a5c2ac957de25a4b98e7694588d by jonathanchesterfield
[libomptarget][amdgpu] Update printed plugin name
The file was modifiedopenmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit c3c1826c310c42244c7cad8d0c6af3a368fcd064 by schmeise
Set TargetCPUName for AIX to default to pwr7.

Summary:
Set the TargetCPUName for AIX to default to pwr7, removing the setting
of it based on the major/minor of the OS version, which previously
set it to pwr4 for AIX 7.1 and earlier. The old code would also set it to
pwr4 when the OS version was not specified and with the change, it will
default it to pwr7 in all cases.

Author: Jamie Schmeiser <schmeise@ca.ibm.com>
Reviewed By:hubert.reinterpretcast (Hubert Tong)
Differential Revision: https://reviews.llvm.org/D107063
The file was modifiedclang/test/Driver/aix-mcpu-default.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit b96bb7899fe319278ad7809f3c647b944bc00c6c by jrtc27
[ELF] Add two new tests showing broken .tbss alignment if first in PT_TLS

This is a similar problem to D66658, where we are too aggressive in not
aligning NOBITS sections, and the tests are based on the ones added for
that fix. If a .tbss section is first in a PT_TLS segment (i.e. there is
no .tdata section) then, although it doesn't need to be aligned such
that address and offset are congruent modulo the page size, they do need
to be congruent modulo the segment alignment, otherwise the whole PT_TLS
will be unaligned.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D106986
The file was addedlld/test/ELF/tls-nobits-offset.s
The file was addedlld/test/ELF/linkerscript/tls-nobits-offset.s
Commit cfaa5bf4ce62266897d27c8c0f3474e555ab87e5 by jrtc27
[ELF] Align the first section of a PT_TLS even if its type is SHT_NOBITS

This is somewhat of a repeat of D66658 but for sections in PT_TLS
segments. Although such sections don't need to be aligned such that
address and offset are congruent modulo the page size, they do need
to be congruent modulo the segment alignment, otherwise the
whole PT_TLS will be unaligned. We therefore use the normal calculation
to determine the section's address within the PT_LOAD rather than
bailing out early due to being SHT_NOBITS.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D106987
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/linkerscript/tls-nobits-offset.s
The file was modifiedlld/test/ELF/tls-nobits-offset.s
Commit 416f3ff8038c24ebfe4dd4c1708c4c4fee41a083 by kazu
[CodeGen] Remove getPseudoProbeAttribute and addPseudoProbeAttribute (NFC)

The last uses of these functions were removed on Jun 17, 2021 in
commit bd52495518808bdbf24f4d8e9e20774d6d2e3333.
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
Commit 2e9853e0e9ff263a948ebef70221fd0cec9c4830 by jan.kratochvil
[DWARF5] Only fallback to manual index if no entry was found

If we succeed at gathering global variables for a compile
unit, there is no need to fallback to generating a manual index.

Reviewed By: jankratochvil

Differential Revision: https://reviews.llvm.org/D106355
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
Commit cd2f5d5b496d43924c27e22f8abd9cff9266d028 by gchatelet
[libc] rewrite aarch64 memcmp implementation

This patch is simply rearranging the code layout so it's easier to understand.

Differential Revision: https://reviews.llvm.org/D106641
The file was modifiedlibc/src/string/memory_utils/elements.h
The file was modifiedlibc/src/string/aarch64/memcmp.cpp
Commit 5697841f66cee81ef58a0d7cb22e5820206c24c6 by dvyukov
tsan: add another test for atomics

Add a test where atomic-release happens while
another thread spins calling load-acquire.
This can expose some interesting interleavings
of release and acquire.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107055
The file was addedcompiler-rt/test/tsan/atomic_norace2.cpp
Commit e4902e69e99d07d6d311425d87d4c1d075b72bf8 by lkail
[PowerPC] Fix return type of XL compat CAS

`__compare_and_swap*` should return `i32` rather than `i1`.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D107077
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-xlcompat-cas.c
Commit fab5659c79410f50b38b2986f3dc8412f3ad9a81 by rosie.sumpter
Revert "[LoopFlatten] Fix missed LoopFlatten opportunity"

This reverts commit 2df8bf9339e43de63d8d28e07182e1d6d7ffb843.

Reverting because it causes an assertion failure.
The file was modifiedllvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/test/Transforms/LoopFlatten/loop-flatten.ll
Commit f821a55c5e7847edd0b3bf70543b318d6bcbcd0a by dvyukov
tsan: add intrusive doubly-linked list

Add intrusive doubly-linked list container template, IList.
It will be used in the new tsan runtime.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107050
The file was addedcompiler-rt/lib/tsan/rtl/tsan_ilist.h
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was addedcompiler-rt/lib/tsan/tests/unit/tsan_ilist_test.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/CMakeLists.txt
Commit e49374f9e0c02dae575f26f969677534b94eac3d by jezng
[lld-macho] Support common symbols in bitcode (but differently from ld64)

ld64 seems to handle common symbols in bitcode rather
bizarrely. They follow entirely different precedence rules from their
non-bitcode counterparts. I initially tried to emulate ld64 in D106597,
but I'm not sure the extra complexity is worth it, especially given that
common symbols are not, well, very common.

This diff accords common bitcode symbols the same precedence as regular
common symbols, just as we treat all other pairs of bitcode and
non-bitcode symbol types. The tests document ld64's behavior in detail,
just in case we want to revisit this.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D107027
The file was addedlld/test/MachO/lto-common-symbol-coalescing.ll
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/test/MachO/lto-common-symbol-resolution.ll
Commit a26bb9cc056c7ef97247e1a55d3cd71c7d4fb7d6 by jezng
[lld-macho][nfc] Simplify common-symbol-coalescing test
The file was modifiedlld/test/MachO/common-symbol-coalescing.s
Commit 0bc10d9a8ed072c280ec07cd814671dae887a943 by dvyukov
tsan: restore Initialize call in Java entry points

We used to call Initialize in every Java point.
That was removed in 6563bb53b5 ("tsan: don't use caller/current PC in Java interfaces").
The intention was to add a single Initialize to __tsan_java_init instead.
Do that.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107069
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
Commit 17f650cb0078a85ec8e0d69116cf9140aca7323a by dvyukov
tsan: s/CHECK/DCHECK/ in tsan_interface_java.cpp

We are very paranoid with CHECKs in all Java entry points.
These CHECKs were added along with Java support.
At that point it wasn't clear what exactly to expect from JVM part
and if JVM part is correct or not. Thus CHECK paranoia.
These CHECKs never fired in practice, but we pay runtime cost
in every entry point all the time.
Replace CHECKs with DCHECKs.

Depends on D107069.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107071
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
Commit 9e9599ef782384847e734dfdb89d34a4bb8c6710 by dvyukov
tsan: introduce LazyInitialize

We call non-inlinable Initialize from all interceptors/syscalls,
but most of the time runtime is already initialized and this just
introduces unnecessary overhead.
Add LazyInitialize that (1) inlinable, (2) does nothing if
.preinit_array is enabled (expected case on Linux).

Depends on D107071.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107072
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit 2a342c7c1ee18817a5f8bb4d32cfc4bce6f9aecd by gysit
[mlir][linalg] Format bufferization debug print outs (NFC).

Change the formatting of the debug print outs to elide unnecessary information.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D106661
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit 9a5bc83660ed6978521dcfa4faac140cf5b2e895 by ezhulenev
Add an escape-hatch for conversion of funcs with blocking awaits to coroutines.

Currently TFRT does not support top-level coroutines, so this functionality will allow to have a single blocking await at the top level until TFRT implements the necessary functionality.

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D106730
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncDialect.td
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
The file was modifiedmlir/test/Dialect/Async/async-to-async-runtime-eliminate-blocking.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
Commit 95ef464ac9d1972953709c57449ac178771cd221 by jrtc27
Handle subregs and superregs in callee-saved register mask

If a target lists both a subreg and a superreg in a callee-saved
register mask, the prolog will spill both aliasing registers. Instead,
don't spill the subreg if a superreg is being spilled. This case is hit by the
PowerPC SPE code, as well as a modified RISC-V backend for CHERI I maintain out
of tree.

Reviewed By: jhibbits

Differential Revision: https://reviews.llvm.org/D73170
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict.ll
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
Commit 4acc2f29a278ff2a0a4d683dd6d706cc2f7123fd by protze
[OpenMP][Tools][Tests][NFC] Address flaky archer tests

Adding more concurrent threads significantly increases the
chance that the data race can be observed during testing.
The file was modifiedopenmp/tools/archer/tests/races/parallel-simple.c
The file was modifiedopenmp/tools/archer/tests/races/task-two.c
The file was modifiedopenmp/tools/archer/tests/races/task-dependency.c
The file was modifiedopenmp/tools/archer/tests/races/task-taskgroup-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/lock-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/task-taskwait-nested.c
The file was modifiedopenmp/tools/archer/tests/races/critical-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/lock-nested-unrelated.c
Commit bc5b5ea037dbadd281c59248ae9d2742b51c69ed by melanie.blower
[clang][patch][FPEnv] Make initialization of C++ globals strictfp aware

@kpn pointed out that the global variable initialization functions didn't
have the "strictfp" metadata set correctly, and @rjmccall said that there
was buggy code in SetFPModel and StartFunction, this patch is to solve
those problems. When Sema creates a FunctionDecl, it sets the
FunctionDeclBits.UsesFPIntrin to "true" if the lexical FP settings
(i.e. a combination of command line options and #pragma float_control
settings) correspond to ConstrainedFP mode. That bit is used when CodeGen
starts codegen for a llvm function, and it translates into the
"strictfp" function attribute. See bugs.llvm.org/show_bug.cgi?id=44571

Reviewed By: Aaron Ballman

Differential Revision: https://reviews.llvm.org/D102343
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/unittests/Sema/ExternalSemaSourceTest.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-stack.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-class.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
Commit 5c315bee8c9db27d12cead928eea5a3fef97f34f by dawid_jurek
[DSE] Transform memset + malloc --> calloc (PR25892)

After this change DSE can eliminate malloc + memset and emit calloc.
It's https://reviews.llvm.org/D101440 follow-up.

Differential Revision: https://reviews.llvm.org/D103009
The file was modifiedllvm/test/Transforms/DeadStoreElimination/noop-stores.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit fd251d903b9b1bc8305736fc78764521cd86f8d3 by melanie.blower
[clang][patch] Remove erroneous run line committed in D102343
The file was modifiedclang/test/CodeGen/fp-floatcontrol-class.cpp
Commit 172a55e7a40d27c7882be2e86d515696d8e12427 by i
[lldb] Fix FunctionDecl::Create after D102343
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp
Commit 72a83674dd3a13b59442cd7cb07b53902f7d6a33 by i
Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]. NFC

[[noreturn]] can be used since Oct 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015.
The file was modifiedclang-tools-extra/pp-trace/PPTrace.cpp
The file was modifiedflang/include/flang/Optimizer/Support/FatalError.h
The file was modifiedlldb/source/Host/posix/ProcessLauncherPosixFork.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/SingleStepCheck.cpp
The file was modifiedclang/utils/TableGen/ClangDiagnosticsEmitter.cpp
Commit 09529892b518c8df8c24395e68e0a7a5e8bda5fb by i
[Support] Remove LLVM_ATTRIBUTE_NORETURN

Code should use C++11 [[noreturn]] or C11 _Noreturn instead.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D106899
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit ee7c9b8f140d0614c3380022b27d9bbd963b9a77 by aeubanks
[gn build] Manually add file

Since bot is broken
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn
Commit 26c695b7893071d5e69afbaa70c4850ab2e468be by chris.bieneman
Support macro deprecation #pragma clang deprecated

This patch adds `#pragma clang deprecated` to enable deprecation of
preprocessor macros.

The macro must be defined before `#pragma clang deprecated`. When
deprecating a macro a custom message may be optionally provided.

Warnings are emitted at the use site of a deprecated macro, and can be
controlled via the `-Wdeprecated` warning group.

This patch takes some rough inspiration and a few lines of code from
https://reviews.llvm.org/D67935.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D106732
The file was modifiedclang/include/clang/Basic/IdentifierTable.h
The file was modifiedclang/lib/Lex/PPMacroExpansion.cpp
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was modifiedclang/lib/Lex/Preprocessor.cpp
The file was addedclang/test/Lexer/deprecate-macro.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticLexKinds.td
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/lib/Lex/PPExpressions.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
Commit f8819c109e4afcad19407ceb54e28ef77e1c57e9 by chris.bieneman
Fixing broken docs build

Need an empty line after the code-block directive.
The file was modifiedclang/docs/LanguageExtensions.rst
Commit 66ba4e3dc608156797df8f863d61fa106608e45c by stilis
Revert "[lldb] Assert filecache and live memory match on debug under a setting"

This reverts commit 77e9d10f0fbfe04a14e6ce61753376dd78e0c2f0.

This change broke the Windows LLDB bot:
https://lab.llvm.org/buildbot/#/builders/83/builds/8784/steps/7/logs/stdio
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/source/Target/TargetProperties.td
The file was modifiedlldb/test/Shell/lit-lldb-init.in
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit 109954410c34434a181f5eb48cbd14f4122101c7 by anjankumar.g.k
[AIX] Pass the -b option to linker on AIX

Parse the -b option in the driver and pass it to the linker if the target OS is AIX. This will establish compatibility with the other AIX compilers.

Reviewed By: Zarko Todorovski

Differential Revision: https://reviews.llvm.org/D106688
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/Xlinker-args.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit 9efffe8278723e55b4de89ea05f796b67fb9d54e by Louis Dionne
[libc++][NFC] Make private header generation CMake comment more consistent
The file was modifiedlibcxx/utils/CMakeLists.txt
Commit 916d5b9098425b08e74dfd4ee336385c1f731a8b by a.bataev
[SLP][NFC]Add a test for split loads, NFC.
The file was addedllvm/test/Transforms/SLPVectorizer/X86/split-load8_2-unord.ll
Commit 0bd14711ac4a5d7974473b32b0b5315b054cb77e by vyng
[lld-macho] Change personalities entry type to Ptr to avoid overflowing uint32

PR51262

Differential Revision: https://reviews.llvm.org/D107035
The file was modifiedlld/MachO/UnwindInfoSection.cpp
Commit 8a0d6e839f0f1a159284d03e45b9297e48c0615c by ataei
Rorder mmt4d iteration domain

Move tile iterators to outer most dim

Reviewed By: rsuderman

Differential Revision: https://reviews.llvm.org/D107003
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
Commit bc96aa9f2c9b25ae65a7e05dbbff8c28079db9c9 by mgorny
[clang] Fix typos in Options.td and regen ClangCommandLineReference.rst.

Differential Revision: https://reviews.llvm.org/D106664
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/docs/ClangCommandLineReference.rst
Commit 1862ffe25a2e927ecae012f5f0c4cdf7c3fc1b67 by mgorny
[clang] Fix a typo in the manual page: s/contraint/constraint.

While there, update hardcoded Clang version from 3.5 to 13.

Differential Revision: https://reviews.llvm.org/D106867
The file was modifiedclang/tools/scan-build/man/scan-build.1
Commit 1c144410e791032dfea7dc744518a2c051ec0510 by ezhulenev
Refactor AsyncToAsyncRuntime pass to boost understandability.

Depends On D106730

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D106731
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
The file was modifiedmlir/test/Dialect/Async/async-to-async-runtime-eliminate-blocking.mlir
The file was modifiedmlir/test/Dialect/Async/async-to-async-runtime.mlir
Commit 532c458fa8903deb83a0cbc487dcf51858939172 by Amara Emerson
[GlobalISel] Add GPtrAdd and use it in some combines.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
Commit 5b2e7f50a6798fd9b9c79d9d62fdebcd9e78525b by stellaraccident
[MLIR][python] Export CAPI headers.

* Adds source targets (not included in the full set that downstreams use by default) to bundle mlir-c/ headers into the mlir/_mlir_libs/include directory.
* Adds a minimal entry point to get include and library directories.
* Used by npcomp to export a full CAPI (which is then used by the Torch extension to link npcomp).

Reviewed By: mikeurbach

Differential Revision: https://reviews.llvm.org/D107090
The file was modifiedmlir/python/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIRPython.cmake
The file was modifiedmlir/python/mlir/_mlir_libs/__init__.py
The file was addedmlir/test/python/develoment_files.py
Commit 84a4caeb84d31550790d6922903714b6563469c9 by sander.desmalen
[InstSimplify] Don't assume parent function when simplifying llvm.vscale.

D106850 introduced a simplification for llvm.vscale by looking at the
surrounding function's vscale_range attributes. The call that's being
simplified may not yet have been inserted into the IR. This happens for
example during function cloning.

This patch fixes the issue by checking if the instruction is in a
parent basic block.
The file was modifiedllvm/unittests/Transforms/Utils/LocalTest.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/fold-vscale.ll
Commit d8e4cb912180ce0a35d31b616e6f4c0c3d64abb7 by jonathan.l.peyton
[OpenMP] libomp: Add new experimental barrier: two-level distributed barrier

Two-level distributed barrier is a new experimental barrier designed
for Intel hardware that has better performance in some cases than the
default hyper barrier.

This barrier is designed to handle fine granularity parallelism where
barriers are used frequently with little compute and memory access
between barriers. There is no need to use it for codes with few
barriers and large granularity compute, or memory intensive
applications, as little difference will be seen between this barrier
and the default hyper barrier. This barrier is designed to work
optimally with a fixed number of threads, and has a significant setup
time, so should NOT be used in situations where the number of threads
in a team is varied frequently.

The two-level distributed barrier is off by default -- hyper barrier
is used by default. To use this barrier, you must set all barrier
patterns to use this type, because it will not work with other barrier
patterns. Thus, to turn it on, the following settings are required:

KMP_FORKJOIN_BARRIER_PATTERN=dist,dist
KMP_PLAIN_BARRIER_PATTERN=dist,dist
KMP_REDUCTION_BARRIER_PATTERN=dist,dist

Branching factors (set with KMP_FORKJOIN_BARRIER, KMP_PLAIN_BARRIER,
and KMP_REDUCTION_BARRIER) are ignored by the two-level distributed
barrier.

Patch fixed for ITTNotify disabled builds and non-x86 builds

Co-authored-by: Jonathan Peyton <jonathan.l.peyton@intel.com>
Co-authored-by: Vladislav Vinogradov <vlad.vinogradov@intel.com>

Differential Revision: https://reviews.llvm.org/D103121
The file was modifiedopenmp/runtime/src/kmp_wait_release.cpp
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was modifiedopenmp/runtime/src/kmp_stats.h
The file was addedopenmp/runtime/src/kmp_barrier.h
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/src/kmp_str.h
The file was modifiedopenmp/runtime/src/z_Windows_NT_util.cpp
The file was modifiedopenmp/runtime/src/kmp_config.h.cmake
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/kmp_str.cpp
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/test/barrier/omp_barrier.c
The file was modifiedopenmp/runtime/src/kmp_global.cpp
The file was modifiedopenmp/runtime/src/kmp_os.h
The file was modifiedopenmp/runtime/cmake/config-ix.cmake
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
The file was modifiedopenmp/runtime/src/kmp_atomic.cpp
Commit 087195419719e908394081b4cc6f365170b9882c by cjdb
Revert "Revert "[clang][pp] adds '#pragma include_instead'""

Includes regression test for problem noted by @hans.
This reverts commit 973de7185606a21fd5e9d5e8c014fbf898c0e72f.

Differential Revision: https://reviews.llvm.org/D106898
The file was modifiedclang/include/clang/Basic/DiagnosticLexKinds.td
The file was addedclang/test/Preprocessor/include_instead_file_not_found.cpp
The file was addedclang/test/Preprocessor/Inputs/include_instead/public-empty.h
The file was modifiedclang/include/clang/Lex/PreprocessorLexer.h
The file was modifiedclang/lib/Lex/Lexer.cpp
The file was addedclang/test/Preprocessor/Inputs/include_instead/bad-syntax.h
The file was addedclang/test/Preprocessor/Inputs/include_instead/private-x.h
The file was addedclang/test/Preprocessor/Inputs/include_instead/public-before.h
The file was modifiedclang/lib/Lex/PPLexerChange.cpp
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was addedclang/test/Preprocessor/Inputs/include_instead/non-system-header.h
The file was addedclang/test/Preprocessor/Inputs/include_instead/public-after.h
The file was modifiedclang/include/clang/Lex/HeaderSearch.h
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was addedclang/test/PCH/ms-pch-macro-include_instead-regression.c
The file was addedclang/test/Preprocessor/Inputs/include_instead/private1.h
The file was addedclang/test/Preprocessor/include_instead.cpp
The file was addedclang/test/Preprocessor/Inputs/include_instead/private2.h
The file was addedclang/test/Preprocessor/Inputs/include_instead/private3.h
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was addedclang/test/Preprocessor/Inputs/include_instead/file-not-found.h
Commit 7645cdcb482694d30771c3409e43ebf2a448211f by anjankumar.g.k
Revert "[AIX] Pass the -b option to linker on AIX"

This reverts commit 109954410c34434a181f5eb48cbd14f4122101c7.
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/test/Driver/Xlinker-args.c
The file was modifiedclang/include/clang/Driver/Options.td
Commit b4d945bacdaf2c60dd5fdb119b90cced73c41beb by andrew.kaylor
Fixing an infinite loop problem in InstCombine

Patch by Mohammad Fawaz

This issues started happening after
https://github.com/llvm/llvm-project/commit/b373b5990d5991a920c421b21a352e4ccf4c4993
Basically, if the memcpy is volatile, the collectUsers() function should
return false, just like we do for volatile loads.

Differential Revision: https://reviews.llvm.org/D106950
The file was modifiedllvm/test/Transforms/InstCombine/memcpy-from-global.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
Commit 1dbc9b534b2a4903af0f98bde72b8f6da797bc19 by leairmark
Fix runtime internal error with certain intrinsics that can take a scalar
result descriptor (e.g., maxloc, minloc, maxval, minval, all, any, count,
parity, findloc, etc.)

Also add a scalar case for these intrinsic unit tests.

Differential Revision: https://reviews.llvm.org/D106820
The file was modifiedflang/runtime/reduction.cpp
The file was modifiedflang/runtime/reduction-templates.h
The file was modifiedflang/unittests/RuntimeGTest/Reduction.cpp
Commit 585663225287ec9a26ead936a8424fc0e8a175da by ayermolo
[DWARF] Refactor test to remove relocations for DWO

The way this test generates object file results in relocation sections for .dwo sections. This is not legal. Re-wrote it to avoid those relocation sections.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D107012
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-header.s
Commit 18c25cd376b6ea38971abb407751cdf08e1e5622 by gclayton
[LLDB][GUI] Add Create Target form

This patch adds a Create Target form for the LLDB GUI. Additionally, an
Arch Field was introduced to input an arch and the file and directory
fields now have a required property.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D106192
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
Commit 62bd33158d924f907dfe2ccd250f20ddb8ed09a9 by gclayton
[LLDB][GUI] Add Environment Variable Field

This patch adds an environment variable field. This is usually used as
the basic type of a List field. This is needed to create the process
launch form.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D106999
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
Commit 256a83b0838d41a1ac6c3d89060d5bf84255dab9 by antiagainst
[mlir] Fix CMake option for enabling SPIR-V CPU runner

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107092
The file was modifiedmlir/tools/mlir-spirv-cpu-runner/CMakeLists.txt
Commit 995c3984efe3e55c97202335f21d4a14376be995 by antiagainst
[mlir] NFC: split Math to SPIR-V conversion into their own files

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107093
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was addedmlir/include/mlir/Conversion/MathToSPIRV/MathToSPIRV.h
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.h
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/CMakeLists.txt
The file was addedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp
The file was addedmlir/include/mlir/Conversion/MathToSPIRV/MathToSPIRVPass.h
The file was addedmlir/lib/Conversion/MathToSPIRV/CMakeLists.txt
The file was addedmlir/lib/Conversion/MathToSPIRV/MathToSPIRVPass.cpp
Commit 26be7fe27c66a4db21ca2290ade10b171513177f by antiagainst
[mlir] NFC: split MemRef to SPIR-V conversion into their own files

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107094
The file was modifiedmlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
The file was removedmlir/test/Conversion/StandardToSPIRV/alloc.mlir
The file was addedmlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp
The file was addedmlir/test/Conversion/MemRefToSPIRV/alloc.mlir
The file was addedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
The file was modifiedmlir/lib/Conversion/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/SCFToSPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/Conversion/Passes.h
The file was addedmlir/lib/Conversion/MemRefToSPIRV/CMakeLists.txt
The file was addedmlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRV.h
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was addedmlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was addedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.cpp
Commit c54d5c97564bf8797f2c97ea75bae14b47196d18 by Amara Emerson
[GlobalISel] Use GMergeLikeOp to simplify a combine. NFC.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 993220a99ccef6657d6d5d04dc51c06255f285f2 by apl
[lldb] Remove CPlusPlusLanguage from Mangled

The only remaining plugin dependency in Mangled is CPlusPlusLanguage which it
uses to extract information from C++ mangled names. The static function
GetDemangledNameWithoutArguments is written specifically for C++, so it
would make sense for this specific functionality to live in a
C++-related plugin. In order to keep this functionality in Mangled
without maintaining this dependency, I added
`Language::GetDemangledFunctionNameWithoutArguments`.

Differential Revision: https://reviews.llvm.org/D105215
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
The file was modifiedlldb/include/lldb/Target/Language.h
The file was modifiedlldb/source/Core/Mangled.cpp
Commit 321a04bf62b247db853d136df43d3cdd58d88c53 by leonardchan
[compiler-rt][hwasan] Check for SANITIZER_POSIX before including sanitizer_posix.h

Rather than throwing an error. This way we can still use files like
hwasan_dynamic_shadow.cpp for other platforms without leading to a
preprocessor error.

Differential Revision: https://reviews.llvm.org/D106979
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_posix.h
Commit b06426da764a8d0254521b33d667db8f26ae5e2f by i
[ELF] Add -Bsymbolic-non-weak-functions

This option is a subset of -Bsymbolic-functions. It applies to STB_GLOBAL
STT_FUNC definitions.

The address of a vague linkage function (STB_WEAK STT_FUNC, e.g. an inline
function, a template instantiation) seen by a -Bsymbolic-functions linked
shared object may be different from the address seen from outside the shared
object. Such cases are uncommon. (ELF/Mach-O programs may use
`-fvisibility-inlines-hidden` to break such pointer equality.  On Windows,
correct dllexport and dllimport are needed to make pointer equality work.
Windows link.exe enables /OPT:ICF by default so different inline functions may
have the same address.)

```
// a.cc -> a.o -> a.so (-Bsymbolic-functions)
inline void f() {}
void *g() { return (void *)&f; }

// b.cc -> b.o -> exe
// The address is different!
inline void f() {}
```

-Bsymbolic-non-weak-functions is a safer (C++ conforming) subset of
-Bsymbolic-functions, which can make such programs work.

Implementations usually emit a vague linkage definition in a COMDAT group.  We
could detect the group (with more code) but I feel that we should just check
STB_WEAK for simplicity. A weak definition will thus serve as an escape hatch
for rare cases when users want interposition on definitions.

GNU ld feature request: https://sourceware.org/bugzilla/show_bug.cgi?id=27871

Longer write-up: https://maskray.me/blog/2021-05-16-elf-interposition-and-bsymbolic

If Linux distributions migrate to protected non-vague-linkage external linkage
functions by default, the linker option can still be handy because it allows
rapid experiment without recompilation. Protected function addresses currently
have deep issues in GNU ld.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D102570
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/test/ELF/bsymbolic.s
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/docs/ld.lld.1
The file was modifiedlld/ELF/Symbols.cpp
Commit 9a824823131600bca71406f533c2ba051c23c7d7 by cathyzhyi
[mlir][linalg] Fix pad tensor cast folding with changed type

`PadTensorOp` has verification logic to make sure
result dim must be static if all the padding values are static.
Cast folding might add more static information for the src operand
of `PadTensorOp` which might change a valid operation to be invalid.
Change the canonicalizing pattern to fix this.
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
Commit 8e167f66b27fe9d2573eb149f736700302675297 by 31459023+hctim
[GWP-ASan] Add version header.

Adds magic version header to AllocatorState. This can be used by
out-of-process crash handlers, like Crashpad on Fuchsia, to do offline
reconstruction of GWP-ASan crash metadata.

Crashpad on Fuchsia is intending on dumping the AllocationMetadata pool
and the AllocatorState directly into the minidump. Then, using the
version number, they can unpack the data on serverside using a versioned
unpack tool.

Also add some asserts to make sure the version number gets bumped if the
internal structs get changed.

Reviewed By: eugenis, mcgrathr

Differential Revision: https://reviews.llvm.org/D106690
The file was modifiedcompiler-rt/lib/gwp_asan/common.h
Commit d4a2daa919272081582c6c14141dd57a6eab9832 by david.green
[ARM] Define a couple more ssub indexes. NFC

Same as 91bd3ad128f7b3b28bd98242e9a5df214eb04eea, this doesn't really
change anything but gives the registers better names than the ones
tablegen would define. And fills in the missing gaps.
The file was modifiedllvm/lib/Target/ARM/ARMRegisterInfo.td
Commit 2ca8295c860f1e8e300c2fde5c4e84b72d8248aa by leairmark
Fix unit test checks for the scalar cases of all/any intrinsics. I
accidentally used int64 when they should have been int32. This lead to
a Windows build unit test error (Linux did not catch the problem).

Differential Revision: https://reviews.llvm.org/D107107
The file was modifiedflang/unittests/RuntimeGTest/Reduction.cpp
Commit 26ba774f6865f0c6bb15dbbe80dc23e1db33d54b by Adrian Prantl
Simplify testcase to use v instead of p (NFC)
The file was modifiedlldb/test/API/commands/process/attach/TestProcessAttach.py
Commit cf36ab1d6c39e80a70b5a1dc80120cccccb5301c by stellaraccident
[MLIR][Python] Use DEST_PREFIX when installing.

Differential Revision: https://reviews.llvm.org/D107100
The file was modifiedmlir/cmake/modules/AddMLIRPython.cmake
Commit 2d0ba5e1446f0025603bbe064090737c5510bcf4 by rob.suderman
[mlir][tosa] Fix tosa.reshape failures due to implicit broadcasting

Make broadcastable needs the output shape to determine whether the operation
includes additional broadcasting. Include some canonicalizations for TOSA
to remove unneeded reshape.

Reviewed By: NatashaKnk

Differential Revision: https://reviews.llvm.org/D106846
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/TosaMakeBroadcastable.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
The file was modifiedmlir/test/Dialect/Tosa/broadcast.mlir
Commit 4c98e9455aadee2629dd4f117b6c4e7e9e87cc01 by George Burgess IV
security: highlight phab accounts; recommend phab for nominations

This commit contains two mildly separate concepts.

First, sending out reviews for things like this is a bit of a
complicated endeavor, since the reviewer list is relatively long, and I
generally rely on prior CLs in this area to find an authoritative list.
Life's quite a bit easier if phab usernames are readily available on the
doc. So part 1 is making those available.

Second, it seems to me that, at the moment, Phabricator makes the most
sense for membership changes (incl. security group nominations). My
reasoning for this is detailed in the diff, and to some extent in
comment #1 of this bug
<https://bugs.chromium.org/p/llvm/issues/detail?id=12#c1>. This change
adds prose to recommend the use of Phabricator for nominations as a
result.

Differential Revision: https://reviews.llvm.org/D106917
The file was modifiedllvm/docs/Security.rst
Commit a8b7e56f65c78a49ba0297c4ecabbd643fa40c25 by amy.zhuang
[mlir] Set insertion point of vector constant to the top of the vectorized loop body

When we vectorize a scalar constant, the vector constant is inserted before its
first user if the scalar constant is defined outside the loops to be vectorized.
It is possible that the vector constant does not dominate all its users. To fix
the problem, we find the innermost vectorized loop that encloses that first user
and insert the vector constant at the top of the loop body.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D106609
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
The file was modifiedmlir/test/Dialect/Affine/SuperVectorize/vectorize_2d.mlir
The file was modifiedmlir/test/Dialect/Affine/SuperVectorize/vectorize_1d.mlir
Commit c5d84d2eb35c1f0d3b08e1d1e95c1a22a28904d1 by Adrian Prantl
GlobalISel/AArch64: don't optimize away redundant branches at -O0

This patch prevents GlobalISel from optimizing out redundant branch
instructions when compiling without optimizations.

The motivating example is code like the following common pattern in
Swift, where users expect to be able to set a breakpoint on the early
exit:

public func f(b: Bool) {
  guard b else {
    return // I would like to set a breakpoint here.
  }
  ...
}

The patch modifies two places in GlobalISEL: The first one is in
IRTranslator.cpp where the removal of redundant branches is made
conditional on the optimization level. The second one is in
AArch64InstructionSelector.cpp where an -O0 *only* optimization is
being removed.

Disabling these optimizations increases code size at -O0 by
~8%. However, doing so improves debuggability, and debug builds are
the primary reason why developers compile without optimizations. We
thus concluded that this is the right trade-off.

rdar://79515454

This tenatively reapplies the patch without modifications, the LLDB
test that has blocked this from landing previously has since been
modified to hopefully no longer be sensitive to this change.

Differential Revision: https://reviews.llvm.org/D105238
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s64.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was modifiedllvm/test/CodeGen/AArch64/unwind-preserved.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s32.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/phi.ll
The file was addedllvm/test/DebugInfo/AArch64/fallthrough-branch.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit f3c39ee84ad6950035a6083c076fdebddebefb04 by spatel
[InstCombine] add tests for vector cmp-bitcast; NFC
The file was modifiedllvm/test/Transforms/InstCombine/icmp-vec.ll
Commit 0fd813cf19c754a6cb3f2483332038a49eac33bd by Adrian Prantl
Fix typo
The file was modifiedlldb/test/API/commands/process/attach/TestProcessAttach.py
Commit 648844fd69fa304a04aab2e39dcb114c89d078bf by Adrian Prantl
Make testcase more robust against codegen changes
The file was modifiedlldb/test/API/commands/process/attach/main.cpp
Commit cd0dd8ece8e67a3bea96056b2ef15afb481155ad by huberjn
[OpenMP] Adding flags for disabling the following optimizations: Deglobalization SPMDization State machine rewrites Folding

This work provides four flags to disable four different sets of OpenMP optimizations. These flags take effect in llvm/lib/Transforms/IPO/OpenMPOpt.cpp and include the following:
- openmp-opt-disable-deglobalization: Defaults to false, adding this flag sets the variable DisableOpenMPOptDeglobalization to true. This prevents AA registration for HeapToStack and HeapToShared.
- openmp-opt-disable-spmdization: Defaults to false, adding this flag sets the variable DisableOpenMPOptSPMDization to true. This indicates a pessimistic fixpoint in changeToSPMDMode.
- openmp-opt-disable-folding: Defaults to false, adding this flag sets the variable DisableOpenMPOptFolding to true. This indicates a pessimistic fixpoint in the attributor init for AAFoldRuntimeCall.
- openmp-opt-disable-state-machine-rewrite: Defaults to false, adding this flag sets the variable DisableOpenMPOptStateMachineRewrite to true. This first prevents changes to the state machine in rewriteDeviceCodeStateMachine by returning before changes are made, and if a custom state machine is built in buildCustomStateMachine, stops by returning a pessimistic fixpoint.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D106802
The file was modifiedllvm/test/Transforms/OpenMP/spmdization.ll
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
The file was modifiedllvm/test/Transforms/OpenMP/fold_generic_main_thread.ll
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/test/Transforms/OpenMP/remove_globalization.ll
Commit cc238a6e038832b804c8010e02b87ff9e84e0bfe by marksl
[ARC] Add additional mov immediate instruction formats with a fix for u6 decoding

Differential Revision: https://reviews.llvm.org/D107088
The file was modifiedllvm/lib/Target/ARC/ARCInstrFormats.td
The file was modifiedllvm/test/MC/Disassembler/ARC/alu.txt
The file was modifiedllvm/lib/Target/ARC/Disassembler/ARCDisassembler.cpp
The file was modifiedllvm/lib/Target/ARC/ARCInstrInfo.td
The file was modifiedllvm/test/MC/Disassembler/ARC/misc.txt
Commit a68ccba77a48494a5200245ddcd085e49a77a2d1 by smeenai
[compiler-rt] Fix COMPILER_RT_OS_DIR for Android

Android has its own CMAKE_SYSTEM_NAME, but the OS is Linux (Android
target triples look like aarch64-none-linux-android21). The driver will
therefore search for compiler-rt libraries in the "linux" directory and
not the "android" directory, so the default placement of Android
compiler-rt libraries was incorrect. You could fix it by specifying
COMPILER_RT_OS_DIR manually, but it also makes sense to fix the default,
to save others from having to discover and fix the issue for themselves.
The file was modifiedcompiler-rt/cmake/base-config-ix.cmake
Commit f984b0e177f8342a66bde66f65c71ac68bc9acf0 by Amara Emerson
[GlobalISel] Refactor the unmerge artifact value finder code.

I moved the code that tries to combine away each unmerge def into a method in
ArtifactValueFinder class itself. This removes a logically messy lambda and
makes it easier to use the value-finder in more places in future.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
Commit 1e6a93f15c7ea890c876a3a10c7e3970a1710dff by powerman1st
[AVR][clang] Pass '--start-group' and '--end-group' options to avr-ld

Reviewed By: Ben Shi

Differential Revision: https://reviews.llvm.org/D106854
The file was modifiedclang/test/Driver/avr-ld.c
The file was modifiedclang/lib/Driver/ToolChains/AVR.cpp
Commit 811be79433638c3c7eeea65f5438044a5ba8de9a by ben.shi
[RISCV][test] Add new tests for mul optimization in the zba extension with SH*ADD

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D107064
The file was modifiedllvm/test/CodeGen/RISCV/rv64zba.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv32zba.ll
Commit bb6fddb63ca73acb84c39c4d548024bf6398d86e by ben.shi
Optimize mul in the zba extension with SH*ADD

This patch does the following optimization of mul with a constant.

(mul x, 11) -> (SH1ADD (SH2ADD x, x), x)
(mul x, 19) -> (SH1ADD (SH3ADD x, x), x)
(mul x, 13) -> (SH2ADD (SH1ADD x, x), x)
(mul x, 21) -> (SH2ADD (SH2ADD x, x), x)
(mul x, 37) -> (SH2ADD (SH3ADD x, x), x)
(mul x, 25) -> (SH3ADD (SH1ADD x, x), x)
(mul x, 41) -> (SH3ADD (SH2ADD x, x), x)
(mul x, 73) -> (SH3ADD (SH3ADD x, x), x)
(mul x, 27) -> (SH1ADD (SH3ADD x, x), (SH3ADD x, x))
(mul x, 45) -> (SH2ADD (SH3ADD x, x), (SH3ADD x, x))
(mul x, 81) -> (SH3ADD (SH3ADD x, x), (SH3ADD x, x))

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D107065
The file was modifiedllvm/test/CodeGen/RISCV/rv64zba.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was modifiedllvm/test/CodeGen/RISCV/rv32zba.ll
The file was modifiedllvm/test/CodeGen/RISCV/xaluo.ll
Commit 1de7a17ff3201e4aa29cf53c0745e8666fbf8286 by stellaraccident
[MLIR][python] Disable SONAME on extensions.

* Broken out of https://reviews.llvm.org/D106419
* Otherwise, same named modules will conflict with each other.

Differential Revision: https://reviews.llvm.org/D107113
The file was modifiedmlir/cmake/modules/AddMLIRPython.cmake
Commit e622c99f305dc1fe9385742079a9ac6f81f86d2e by marksl
[ARC] Add norm/normh instructions with disassembly tests
Add disassembler support for the NORM and NORMH instructions. These instructions
only exist when the ARC processor is configured with the "norm" extension.

fferential Revision: https://reviews.llvm.org/D107118
The file was modifiedllvm/test/MC/Disassembler/ARC/misc.txt
The file was modifiedllvm/lib/Target/ARC/ARCInstrInfo.td
Commit 6fa2d0fbf4637c3db7c4a57eb4c8522c216c82ea by gcmn
[Bazel] Derive targets from file presence as in CMake build

This makes the logic used to determine if targets have the given
features the same as is used in CMake. Incidentally, it enables these
features for the targets added in https://reviews.llvm.org/D106921
which were missing because this was previously a hardcoded list.

Reviewed By: chandlerc

Differential Revision: https://reviews.llvm.org/D107019
The file was modifiedutils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Commit f3a8a7b91e54884a45895aa10e8433c2ce8e16ba by gcmn
[Bazel] Unconditionally define STDC LIMIT/CONSTANT/FORMAT

These are unconditionally included in the CMake build as well and
necessary for some odd platforms (even though the C++11 standard says
they shouldn't be).

Reviewed By: chandlerc

Differential Revision: https://reviews.llvm.org/D107123
The file was modifiedutils/bazel/llvm-project-overlay/llvm/config.bzl
Commit d983499543ee9f5b2fec3d437e0a15acacb9586d by gcmn
[Bazel] Make td_library usable as data

This patch makes it possible to list a td_library as a rule's data
attribute and get its source files and all its transitive dependencies
at runtime. This is useful for, e.g. shell tests running tblgen.

Note that this is a bit different from how a "normal" (e.g. C++) library
rule would work because those have actual library outputs and the
td_library rule just bundles some source files and includes. If someone
wanted to make use of the includes, they would have to access the TdInfo
provider, but this keeps simple things simple.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D106922
The file was modifiedutils/bazel/llvm-project-overlay/mlir/tblgen.bzl
Commit 0a68443bd07c48dbaf554f6e3b26b3ab5ed1d383 by walter erquinigo
[source map] fix relative path breakpoints

https://reviews.llvm.org/D45592 added a nice feature to be able to specify a breakpoint by a relative path. E.g. passing foo.cpp or bar/foo.cpp or zaz/bar/foo.cpp is fine. However, https://reviews.llvm.org/D68671 by mistake disabled the test that ensured this functionality works. With time, someone made a small mistake and fully broke the functionality.

So, I'm making a very simple fix and the test passes.

Differential Revision: https://reviews.llvm.org/D107126
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileLine.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
Commit a09e93bfb820a261e009422cae53134578274500 by Jinsong Ji
[AIX] Include symbol alias in extract_symbols.py

nm does not show size for aliased symbols,
we should still extract them if they are external.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D107112
The file was modifiedllvm/utils/extract_symbols.py
Commit ac2ffdef9cc8d152801ca87d81736fb1dec9cb88 by wei.huang
tsan: Fix the improper argument type in tsan_ilist_test.cpp

- clang-ppc64le-rhel bot LIT failure: https://lab.llvm.org/buildbot/#/builders/57/builds/8932
- culprit change: https://reviews.llvm.org/D107050
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_ilist_test.cpp
Commit f16a4fcbe510d17b3f361d446eaf223208ded2bd by anton.zabaznov
[OpenCL] Add support of __opencl_c_3d_image_writes feature macro

This feature requires support of __opencl_c_images, so diagnostics for that is provided as well.
Also, ensure that cl_khr_3d_image_writes feature macro is set to the same value.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D106260
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/test/SemaOpenCL/unsupported-image.cl
The file was modifiedclang/test/Misc/opencl-c-3.0.incorrect_options.cl
The file was modifiedclang/lib/Basic/OpenCLOptions.cpp
Commit 5839976976bc018b674f45f56f8a13707b870443 by walter erquinigo
[nfc][trace] use formatv instead of the old Printf

It was suggested in https://reviews.llvm.org/D105741 and it makes sense.
The file was modifiedlldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.cpp
Commit 8011fc1953831ff289da7e8854f684f5c8e6205c by esme.yi
[yaml2obj] Enable support for parsing 64-bit XCOFF.

Summary: Add support for yaml2obj to parse 64-bit XCOFF.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D100375
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was addedllvm/test/tools/yaml2obj/XCOFF/basic-doc64.yaml
The file was modifiedllvm/lib/ObjectYAML/XCOFFEmitter.cpp
Commit 754520a2bf55a0873753efb1d863a5ffd116c48b by stefanp
[PowerPC] Fix issue where hint was providing the incorrect regsiter class.

Regsier hints when copying to a UACC register do not always produce VSRp
registers. This patch makes sure that we do not produce hints in cases
where the subregsiter of the UACC is not a VSRp.

Reviewed By: nemanjai, #powerpc

Differential Revision: https://reviews.llvm.org/D107101
The file was addedllvm/test/CodeGen/PowerPC/ppc64-acc-regalloc-bugfix.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
Commit d1e4b25756730576996457ba7324e9bf210e3693 by anton.zabaznov
[OpenCL] Add support of __opencl_c_pipes feature macro.

'pipe' keyword is introduced in OpenCL C 2.0: so do checks for OpenCL C version while
parsing and then later on check for language options to construct actual pipe. This feature
requires support of __opencl_c_generic_address_space, so diagnostics for that is provided as well.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D106748
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/SemaOpenCL/storageclass.cl
The file was modifiedclang/test/CodeGenOpenCL/address-spaces.cl
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/Misc/opencl-c-3.0.incorrect_options.cl
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/test/CodeGenOpenCL/pipe_builtin.cl
The file was modifiedclang/test/CodeGenOpenCL/pipe_types_mangling.cl
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/test/CodeGenOpenCL/pipe_types.cl
The file was modifiedclang/test/CodeGenOpenCL/address-spaces-mangling.cl
The file was modifiedclang/lib/Basic/OpenCLOptions.cpp
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl2.0.cl
Commit da6626d12624675c46a73e8545fecc572695efeb by anton.zabaznov
Revert "[OpenCL] Add support of __opencl_c_pipes feature macro."

This reverts commit d1e4b25756730576996457ba7324e9bf210e3693.
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
The file was modifiedclang/test/SemaOpenCL/storageclass.cl
The file was modifiedclang/test/CodeGenOpenCL/pipe_types_mangling.cl
The file was modifiedclang/test/Misc/opencl-c-3.0.incorrect_options.cl
The file was modifiedclang/test/CodeGenOpenCL/pipe_types.cl
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl2.0.cl
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Basic/OpenCLOptions.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/CodeGenOpenCL/pipe_builtin.cl
The file was modifiedclang/test/CodeGenOpenCL/address-spaces-mangling.cl
The file was modifiedclang/test/CodeGenOpenCL/address-spaces.cl
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit dfe9895a52cda716867201b321242c136ec60163 by leairmark
Fix scalar unit tests for all, any, maxloc, etc. that caused the ARM build
to fail due to warnings as errors. Note that I could not reproduce the
problem locally, but based on the messages, I think this change will fix
the errors.

Differential Revision: https://reviews.llvm.org/D107120
The file was modifiedflang/unittests/RuntimeGTest/Reduction.cpp
Commit 3c7d2f1b67d123b748beabc91a5ca041b102b065 by airlied
[OpenCL] opencl-c.h: add CL 3.0 non-generic address space atomics

CL 2.0 introduced atomics and generic address space so there were
only one set of APIs for doing atomics, however since CL 3.0
makes generic address space optional, there has to be new sets
of atomic interfaces to handle that cases.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D106778
The file was modifiedclang/lib/Headers/opencl-c.h
Commit 7a797b2902993ad9ad9a04dcf46efc64398cd7e3 by mtrofin
Take OptimizationLevel class out of Pass Builder

Pulled out the OptimizationLevel class from PassBuilder in order to be able to access it from within the PassManager and avoid include conflicts.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D107025
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedpolly/include/polly/Canonicalization.h
The file was modifiedllvm/examples/Bye/Bye.cpp
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was modifiedpolly/lib/Support/RegisterPasses.cpp
The file was modifiedllvm/lib/Target/BPF/BPFTargetMachine.cpp
The file was addedllvm/include/llvm/Passes/OptimizationLevel.h
The file was modifiedpolly/lib/Transform/Canonicalization.cpp
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
Commit 8a241cd9c2479fc5c1fa3b31a1348bec11654367 by Lang Hames
[JITLink][ELF][x86-64] Include relocation name in missing relocation errors.

This saves a level of manual table lookup for those of us who don't remember
ELF relocation numbers off the top of our heads.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
Commit 3a349d22692c0deb7a5fc5a242886d7d6f428d6e by cullen.rhodes
[AArch64][SME] Introduce feature for streaming mode

The Scalable Matrix Extension (SME) introduces a new execution mode
called Streaming SVE mode. In streaming mode a substantial subset of the
SVE and SVE2 instruction set is available, along with new outer product,
load, store, extract and insert instructions that operate on the new
architectural register state for the matrix.

To support streaming mode this patch introduces a new subtarget feature
+streaming-sve. If enabled, the subset of SVE(2) instructions are
available. The existing behaviour for SVE(2) remains unchanged, the
subset of instructions that are legal in streaming mode are enabled if
either +sve[2] or +streaming-sve is specified. Instructions that are
illegal in streaming mode remain predicated on +sve[2].

The SME target feature has been updated to imply +streaming-sve rather
than +sve.

The following changes are made to the SVE(2) tests:
  * For instructions that are legal in streaming mode:
    - added RUN line to verify +streaming-sve enables the instruction.
    - updated diagnostic to 'instruction requires: streaming-sve or sve'.
  * For instructions that are illegal in streaming-mode:
    - added RUN line to verify +streaming-sve does not enable the
      instruction.

SVE(2) instructions that are legal in streaming mode have:

  if !HaveSVE[2]() && !HaveSME() then UNDEFINED;

at the top of the pseudocode in the XML.

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2021-06/SVE-Instructions

Reviewed By: sdesmalen, david-arm

Differential Revision: https://reviews.llvm.org/D106272
The file was modifiedllvm/test/MC/AArch64/SVE/bfdot.s
The file was modifiedllvm/test/MC/AArch64/SVE/smax.s
The file was modifiedllvm/test/MC/AArch64/SVE/prfh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrshrunb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uabalt.s
The file was modifiedllvm/test/MC/AArch64/SVE/udiv.s
The file was modifiedllvm/test/MC/AArch64/SVE/cnot.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqsubr.s
The file was addedllvm/test/MC/AArch64/SVE/ld1b-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE2/mla.s
The file was modifiedllvm/test/MC/AArch64/SME/revd.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rqh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fcvtlt.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmplo.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmle.s
The file was modifiedllvm/test/MC/AArch64/SVE/fnmsb.s
The file was modifiedllvm/test/MC/AArch64/SVE/fabd.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld4h.s
The file was modifiedllvm/test/MC/AArch64/SVE/frecpe.s
The file was modifiedllvm/test/MC/AArch64/SVE2/eor3.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqdecb.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqincd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smullt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uabalb.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1w.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqdech.s
The file was modifiedllvm/test/MC/AArch64/SVE/fdiv.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ursra.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1b.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqincw.s
The file was modifiedllvm/test/MC/AArch64/SVE/lslr.s
The file was modifiedllvm/test/MC/AArch64/SVE/and.s
The file was modifiedllvm/test/MC/AArch64/SVE/tbl.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqadd.s
The file was addedllvm/test/MC/AArch64/SVE/st1h-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld3w.s
The file was modifiedllvm/test/MC/AArch64/SVE2/usublt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqshrnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/prfd.s
The file was modifiedllvm/test/MC/AArch64/SVE/zip1.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrdmulh.s
The file was modifiedllvm/test/MC/AArch64/SVE/cnt.s
The file was addedllvm/test/MC/AArch64/SVE/ld1sb-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fminp.s
The file was modifiedllvm/test/MC/AArch64/SVE/frintm.s
The file was modifiedllvm/test/MC/AArch64/SVE/st1w.s
The file was modifiedllvm/test/MC/AArch64/SVE/sxth.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bdep.s
The file was modifiedllvm/test/MC/AArch64/SVE2/usubwt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rsw.s
The file was modifiedllvm/test/MC/AArch64/SVE/st4d.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkns.s
The file was modifiedllvm/test/MC/AArch64/SVE/fsub.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmla.s
The file was modifiedllvm/test/MC/AArch64/SVE/st2w.s
The file was addedllvm/test/MC/AArch64/SVE/prfd-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqdech.s
The file was modifiedllvm/test/MC/AArch64/SVE/bic.s
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/test/MC/AArch64/SVE/incp.s
The file was modifiedllvm/test/MC/AArch64/SVE/st4w.s
The file was modifiedllvm/test/MC/AArch64/SVE2/saddlt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fmaxp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sshllt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldff1sw.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmax.s
The file was modifiedllvm/test/MC/AArch64/SVE/rev.s
The file was modifiedllvm/test/MC/AArch64/SVE2/stnt1b.s
The file was modifiedllvm/test/MC/AArch64/SVE/umulh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umullb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bcax.s
The file was modifiedllvm/test/MC/AArch64/SVE2/whilehi.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqincb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/shrnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/decw.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkn.s
The file was modifiedllvm/test/MC/AArch64/SVE/fminnm.s
The file was modifiedllvm/test/MC/AArch64/SVE/st1h.s
The file was modifiedllvm/test/MC/AArch64/SVE/umax.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnf1w.s
The file was modifiedllvm/test/MC/AArch64/SVE/incw.s
The file was modifiedllvm/test/MC/AArch64/SVE/cnth.s
The file was modifiedllvm/test/MC/AArch64/SVE/lsrr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fminnmp.s
The file was modifiedllvm/test/MC/AArch64/SVE/fsubr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmulh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/cmla.s
The file was modifiedllvm/test/MC/AArch64/SVE/bfmlal.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smlalb.s
The file was modifiedllvm/test/MC/AArch64/SVE/matrix-multiply-int8.s
The file was modifiedllvm/test/MC/AArch64/SVE/eors.s
The file was modifiedllvm/test/MC/AArch64/SVE/st1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ldnt1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uaddlt.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqincp.s
The file was modifiedllvm/test/MC/AArch64/SVE/sel.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrshl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/urshl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/aese.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshrunb.s
The file was modifiedllvm/test/MC/AArch64/SVE/smin.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmullb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bgrp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bsl2n.s
The file was modifiedllvm/test/MC/AArch64/SVE/bfmmla.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umullt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcvtzu.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqxtnb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/pmullt-128.s
The file was modifiedllvm/test/MC/AArch64/SVE/mov.s
The file was modifiedllvm/test/MC/AArch64/SVE2/stnt1h.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ldnt1sw.s
The file was modifiedllvm/test/MC/AArch64/SVE/fadda.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssublt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1sh.s
The file was modifiedllvm/test/MC/AArch64/SVE/incd.s
The file was modifiedllvm/test/MC/AArch64/SVE/dupm.s
The file was modifiedllvm/test/MC/AArch64/SVE/fexpa.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmsb.s
The file was modifiedllvm/test/MC/AArch64/SVE/stnt1b.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umaxp.s
The file was modifiedllvm/test/MC/AArch64/SVE/uabd.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld3b.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fcvtx.s
The file was modifiedllvm/test/MC/AArch64/SVE2/aesmc.s
The file was modifiedllvm/test/MC/AArch64/SVE/add.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqrshlr.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnt1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssubwb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/whilege.s
The file was modifiedllvm/test/MC/AArch64/SVE/smaxv.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnf1b.s
The file was modifiedllvm/test/MC/AArch64/SVE2/mul.s
The file was modifiedllvm/test/MC/AArch64/SVE2/tbx.s
The file was modifiedllvm/test/MC/AArch64/SVE/fminnmv.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rsb.s
The file was modifiedllvm/test/MC/AArch64/SVE/abs.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmaxnm.s
The file was modifiedllvm/test/MC/AArch64/SVE/pfalse.s
The file was modifiedllvm/test/MC/AArch64/SVE/sdivr.s
The file was modifiedllvm/test/MC/AArch64/SVE/bics.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bsl.s
The file was modifiedllvm/test/MC/AArch64/SVE/asrd.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqdecp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshrunt.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmphs.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldff1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqsubr.s
The file was modifiedllvm/test/MC/AArch64/SVE/st2h.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssublbt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmlalb.s
The file was modifiedllvm/test/MC/AArch64/SVE/stnt1w.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sm4e.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqdecw.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldff1b.s
The file was modifiedllvm/test/MC/AArch64/SVE/facgt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld3d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssubltb.s
The file was modifiedllvm/test/MC/AArch64/SVE/not.s
The file was modifiedllvm/test/MC/AArch64/SVE/st4h.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrshrnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rqd.s
The file was modifiedllvm/test/MC/AArch64/SVE/bfcvtnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/raddhnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmeq.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld2b.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqadd.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld4w.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uabdlt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcpy.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/saba.s
The file was addedllvm/test/MC/AArch64/SVE/ld1w-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ext.s
The file was modifiedllvm/test/MC/AArch64/SVE/bfcvt.s
The file was modifiedllvm/test/MC/AArch64/SVE/st1b.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshrnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqxtnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/mls.s
The file was modifiedllvm/test/MC/AArch64/SVE/mad.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqinch.s
The file was modifiedllvm/test/MC/AArch64/SVE2/shsub.s
The file was modifiedllvm/test/MC/AArch64/SVE/sxtb.s
The file was modifiedllvm/test/MC/AArch64/SVE/stnt1h.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld3h.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sabalt.s
The file was modifiedllvm/test/MC/AArch64/SVE/lsl.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqincp.s
The file was modifiedllvm/test/MC/AArch64/SVE/scvtf.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldff1w.s
The file was modifiedllvm/test/MC/AArch64/SVE/nors.s
The file was modifiedllvm/test/MC/AArch64/SVE2/whilerw.s
The file was modifiedllvm/test/MC/AArch64/SVE/sminv.s
The file was modifiedllvm/test/MC/AArch64/SVE/insr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqadd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/cadd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrdmlah.s
The file was modifiedllvm/test/MC/AArch64/SVE/uunpklo.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqadd.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmpeq.s
The file was modifiedllvm/test/MC/AArch64/SVE2/rsubhnb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/adclt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ctermne.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smullb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrshrnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/addp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/urshr.s
The file was modifiedllvm/test/MC/AArch64/SVE/wrffr.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnf1sh.s
The file was addedllvm/test/MC/AArch64/SVE/st1w-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqcadd.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqincd.s
The file was modifiedllvm/test/MC/AArch64/SVE/orns.s
The file was modifiedllvm/test/MC/AArch64/SVE/ftsmul.s
The file was modifiedllvm/test/MC/AArch64/SVE/frsqrte.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssubwt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fdup.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmulx.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkpa.s
The file was modifiedllvm/test/MC/AArch64/SVE/cls.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ursqrte.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umulh.s
The file was modifiedllvm/test/MC/AArch64/SVE/movprfx.s
The file was modifiedllvm/test/MC/AArch64/SVE/nand.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmuo.s
The file was modifiedllvm/test/MC/AArch64/SVE/frinti.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uhsubr.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmul.s
The file was modifiedllvm/test/MC/AArch64/SVE/frecps.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rsh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqxtunb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqshl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uminp.s
The file was modifiedllvm/test/MC/AArch64/SME/uclamp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/whilegt.s
The file was modifiedllvm/test/MC/AArch64/SVE/uminv.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uhadd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/cdot.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sm4ekey.s
The file was modifiedllvm/test/MC/AArch64/SVE/frintx.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmpne.s
The file was modifiedllvm/test/MC/AArch64/SVE2/pmullt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/eorbt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmin.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnt1h.s
The file was modifiedllvm/test/MC/AArch64/SVE2/urshlr.s
The file was addedllvm/test/MC/AArch64/SVE/prfw-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/ftmad.s
The file was modifiedllvm/test/MC/AArch64/SVE/rdffr.s
The file was modifiedllvm/test/MC/AArch64/SVE/st2b.s
The file was modifiedllvm/test/MC/AArch64/SVE/st4b.s
The file was modifiedllvm/test/MC/AArch64/SVE/umaxv.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqdecb.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnt1w.s
The file was modifiedllvm/test/MC/AArch64/SVE/sdiv.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmlalt.s
The file was modifiedllvm/test/MC/AArch64/SVE/smulh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fcvtxnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmlslt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/adclb.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmlt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/addhnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/udot.s
The file was modifiedllvm/test/MC/AArch64/SVE/fsqrt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld2h.s
The file was modifiedllvm/test/MC/AArch64/SVE/uunpkhi.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqrshrnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/orrs.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld2w.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmov.s
The file was modifiedllvm/test/MC/AArch64/SVE2/stnt1w.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uaddwb.s
The file was modifiedllvm/test/MC/AArch64/SVE/addvl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ldnt1h.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmpge.s
The file was modifiedllvm/test/MC/AArch64/SVE2/mls.s
The file was modifiedllvm/test/MC/AArch64/SVE/ands.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmne.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmlslb.s
The file was modifiedllvm/test/MC/AArch64/SME/sclamp.s
The file was modifiedllvm/test/MC/AArch64/SVE/fscale.s
The file was modifiedllvm/test/MC/AArch64/SVE2/usqadd.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmpgt.s
The file was addedllvm/test/MC/AArch64/SVE/st1b-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rh.s
The file was modifiedllvm/test/MC/AArch64/SVE/ptrue.s
The file was modifiedllvm/test/MC/AArch64/SVE/rdvl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/flogb.s
The file was modifiedllvm/test/MC/AArch64/SVE/st3w.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkpbs.s
The file was modifiedllvm/test/MC/AArch64/SVE2/rsubhnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/shsubr.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcadd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqneg.s
The file was modifiedllvm/test/MC/AArch64/SVE/uzp2.s
The file was modifiedllvm/test/MC/AArch64/SVE2/nbsl.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmla.s
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was modifiedllvm/test/MC/AArch64/SVE/orv.s
The file was modifiedllvm/test/MC/AArch64/SVE/setffr.s
The file was modifiedllvm/test/MC/AArch64/SVE/uzp1.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssublb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uaddlb.s
The file was modifiedllvm/test/MC/AArch64/SVE/decp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sadalp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uadalp.s
The file was modifiedllvm/test/MC/AArch64/SVE/sdot.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smaxp.s
The file was addedllvm/test/MC/AArch64/SVE/ld1sh-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sbclt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ext.s
The file was modifiedllvm/test/MC/AArch64/SVE/clasta.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sshllb.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmple.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smlslt.s
The file was modifiedllvm/test/MC/AArch64/SVE/whilelo.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmlalbt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmad.s
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/MC/AArch64/SVE2/saddwb.s
The file was modifiedllvm/test/MC/AArch64/SVE/mla.s
The file was modifiedllvm/test/MC/AArch64/SVE/whilele.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmullt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/aesimc.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ldnt1w.s
The file was modifiedllvm/test/MC/AArch64/SVE/udivr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqxtnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/splice.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sabalb.s
The file was addedllvm/test/MC/AArch64/SVE/st1d-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqsub.s
The file was modifiedllvm/test/MC/AArch64/SVE2/srshl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sabdlb.s
The file was modifiedllvm/test/MC/AArch64/SVE/ftssel.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umlalt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqsub.s
The file was modifiedllvm/test/MC/AArch64/SVE2/raddhnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/lasta.s
The file was modifiedllvm/test/MC/AArch64/SVE/st2d.s
The file was modifiedllvm/test/MC/AArch64/SVE/str.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bext.s
The file was modifiedllvm/test/MC/AArch64/SVE2/srshr.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnf1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/aesd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bsl1n.s
The file was modifiedllvm/test/MC/AArch64/SVE/brka.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sbclb.s
The file was modifiedllvm/test/MC/AArch64/SVE/lastb.s
The file was modifiedllvm/test/MC/AArch64/SVE/st3b.s
The file was modifiedllvm/test/MC/AArch64/SVE/dech.s
The file was modifiedllvm/test/MC/AArch64/SVE/whilelt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/saddlb.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/MC/AArch64/SVE2/sabdlt.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1h.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnt1b.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqdecd.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmge.s
The file was modifiedllvm/test/MC/AArch64/SVE/nor.s
The file was modifiedllvm/test/MC/AArch64/SVE/mul.s
The file was modifiedllvm/test/MC/AArch64/SVE/clastb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sminp.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmls.s
The file was modifiedllvm/test/MC/AArch64/SVE/dup.s
The file was modifiedllvm/test/MC/AArch64/SVE2/histcnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcvt.s
The file was modifiedllvm/test/MC/AArch64/SVE/trn2.s
The file was modifiedllvm/test/MC/AArch64/SVE2/rax1.s
The file was modifiedllvm/test/MC/AArch64/SVE/ctermeq.s
The file was modifiedllvm/test/MC/AArch64/SVE/facle.s
The file was modifiedllvm/test/MC/AArch64/SVE2/whilehs.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkas.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fmlslb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/faddp.s
The file was modifiedllvm/test/MC/AArch64/SVE/matrix-multiply-fp32.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmaxnmv.s
The file was modifiedllvm/test/MC/AArch64/SVE/ptrues.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fmlalb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sli.s
The file was modifiedllvm/test/MC/AArch64/SVE2/subhnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smlalt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/usra.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrshlr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umlalb.s
The file was modifiedllvm/test/MC/AArch64/SVE/cntp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshlr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uhsub.s
The file was modifiedllvm/test/MC/AArch64/SVE/fminv.s
The file was modifiedllvm/test/MC/AArch64/SVE/compact.s
The file was modifiedllvm/test/MC/AArch64/SVE/decd.s
The file was modifiedllvm/test/MC/AArch64/SVE/sunpkhi.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fmlslt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/saddlbt.s
The file was modifiedllvm/test/MC/AArch64/SVE/andv.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmpls.s
The file was modifiedllvm/test/MC/AArch64/SVE/fnmad.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldff1h.s
The file was modifiedllvm/test/MC/AArch64/SVE2/nmatch.s
The file was modifiedllvm/test/MC/AArch64/SVE/asrr.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnf1sw.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqshrnt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/usubwb.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqdecw.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1sw.s
The file was modifiedllvm/test/MC/AArch64/SVE2/umlslb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uaba.s
The file was modifiedllvm/test/MC/AArch64/SVE/inch.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smulh.s
The file was modifiedllvm/test/MC/AArch64/SVE/ptest.s
The file was modifiedllvm/test/MC/AArch64/SVE2/srsra.s
The file was modifiedllvm/test/MC/AArch64/SVE/cntb.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqsub.s
The file was modifiedllvm/test/MC/AArch64/SVE2/shadd.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedA64FX.td
The file was modifiedllvm/test/MC/AArch64/SVE/eorv.s
The file was modifiedllvm/test/MC/AArch64/SVE/sunpklo.s
The file was modifiedllvm/test/MC/AArch64/SVE/fneg.s
The file was modifiedllvm/test/MC/AArch64/SVE/umin.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld4b.s
The file was modifiedllvm/test/MC/AArch64/SVE/decb.s
The file was modifiedllvm/test/MC/AArch64/SVE/fnmla.s
The file was modifiedllvm/test/MC/AArch64/SVE/uxtw.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshrnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldnf1h.s
The file was modifiedllvm/test/MC/AArch64/SVE/rbit.s
The file was modifiedllvm/test/MC/AArch64/SVE/uxth.s
The file was modifiedllvm/test/MC/AArch64/SVE/punpkhi.s
The file was modifiedllvm/test/MC/AArch64/SVE/whilels.s
The file was modifiedllvm/test/MC/AArch64/SVE/pnext.s
The file was addedllvm/test/MC/AArch64/SVE/ld1sw-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/revw.s
The file was modifiedllvm/test/MC/AArch64/SVE2/rshrnb.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rw.s
The file was modifiedllvm/test/MC/AArch64/SVE/eor.s
The file was modifiedllvm/test/MC/AArch64/SVE/matrix-multiply-fp64.s
The file was modifiedllvm/test/MC/AArch64/SVE/sxtw.s
The file was modifiedllvm/test/MC/AArch64/SVE2/histseg.s
The file was modifiedllvm/test/MC/AArch64/SVE/frintn.s
The file was modifiedllvm/test/MC/AArch64/SVE2/directive-arch-negative.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rqw.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqincb.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqinch.s
The file was modifiedllvm/test/MC/AArch64/SVE/incb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/xar.s
The file was modifiedllvm/test/MC/AArch64/SVE2/pmullb.s
The file was modifiedllvm/test/MC/AArch64/SVE/cntw.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldff1sh.s
The file was modifiedllvm/test/MC/AArch64/SVE2/pmullb-128.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcmgt.s
The file was modifiedllvm/test/MC/AArch64/SVE/st3h.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmphi.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqdmlslbt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/suqadd.s
The file was modifiedllvm/test/MC/AArch64/SVE/movs.s
The file was modifiedllvm/test/MC/AArch64/SVE/cpy.s
The file was modifiedllvm/test/MC/AArch64/SVE/frecpx.s
The file was modifiedllvm/test/MC/AArch64/SVE/punpklo.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ushllb.s
The file was modifiedllvm/test/MC/AArch64/SVE/uxtb.s
The file was modifiedllvm/test/MC/AArch64/SVE/fnmls.s
The file was modifiedllvm/test/MC/AArch64/SVE/revb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqrshl.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqsub.s
The file was modifiedllvm/test/MC/AArch64/SVE/lsr.s
The file was modifiedllvm/test/MC/AArch64/SVE/frsqrts.s
The file was modifiedllvm/test/MC/AArch64/SVE/nands.s
The file was modifiedllvm/test/MC/AArch64/SVE/msb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqabs.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshlu.s
The file was modifiedllvm/test/MC/AArch64/SVE/trn1.s
The file was modifiedllvm/test/MC/AArch64/SVE/pfirst.s
The file was modifiedllvm/test/MC/AArch64/SVE/clz.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqrdmlsh.s
The file was modifiedllvm/test/MC/AArch64/SVE/fadd.s
The file was modifiedllvm/test/MC/AArch64/SVE2/rshrnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkbs.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1rd.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkpb.s
The file was modifiedllvm/test/MC/AArch64/SVE/brkpas.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ldnt1sb.s
The file was modifiedllvm/test/MC/AArch64/SVE/faddv.s
The file was modifiedllvm/test/MC/AArch64/SVE/nots.s
The file was modifiedllvm/test/MC/AArch64/SVE2/urecpe.s
The file was modifiedllvm/test/MC/AArch64/SVE/fabs.s
The file was modifiedllvm/test/MC/AArch64/SVE/sabd.s
The file was modifiedllvm/test/MC/AArch64/SVE/ldr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/stnt1d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uabdlb.s
The file was modifiedllvm/test/MC/AArch64/SVE2/whilewr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqshl.s
The file was addedllvm/test/MC/AArch64/SVE/prfb-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/ucvtf.s
The file was addedllvm/test/MC/AArch64/SVE/ld1d-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/rdffrs.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqdecd.s
The file was modifiedllvm/test/MC/AArch64/SVE/subr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ldnt1b.s
The file was modifiedllvm/test/MC/AArch64/SVE/fmaxv.s
The file was modifiedllvm/test/MC/AArch64/SVE2/directive-cpu-negative.s
The file was modifiedllvm/test/MC/AArch64/SVE2/fcvtnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/cmplt.s
The file was modifiedllvm/test/MC/AArch64/SVE/asr.s
The file was modifiedllvm/test/MC/AArch64/SVE/cntd.s
The file was modifiedllvm/test/MC/AArch64/SVE/sqincw.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld4d.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sri.s
The file was modifiedllvm/test/MC/AArch64/SVE/uqdecp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/smlslb.s
The file was modifiedllvm/test/MC/AArch64/SVE/facge.s
The file was modifiedllvm/test/MC/AArch64/SVE/fcvtzs.s
The file was modifiedllvm/test/MC/AArch64/SVE/frintp.s
The file was modifiedllvm/test/MC/AArch64/SVE2/ssra.s
The file was modifiedllvm/test/MC/AArch64/SVE2/uqxtnt.s
The file was modifiedllvm/test/MC/AArch64/SVE/orr.s
The file was modifiedllvm/test/MC/AArch64/SVE2/usublb.s
The file was addedllvm/test/MC/AArch64/SVE/prfh-sve-only.s
The file was modifiedllvm/test/MC/AArch64/SVE/prfw.s
The file was modifiedllvm/test/MC/AArch64/SVE2/sqxtunt.s
The file was modifiedllvm/test/MC/AArch64/SVE2/srshlr.s
The file was modifiedllvm/test/MC/AArch64/SVE/ld1sb.s
The file was modifiedllvm/test/MC/AArch64/SVE/stnt1d.s
The file was modifiedllvm/test/MC/AArch64/SVE/uaddv.s
The file was modifiedllvm/test/MC/AArch64/SVE/frinta.s