Changes

Summary

  1. [AIX][PowerPC] Reduce number of parallel link jobs for AIX crosstargetting buildbot (details)
  2. [sanitizers] Remove unset variables (details)
  3. [zorg] Reduce # targets built on Linaro flang bots (details)
  4. [zorg] Hotfix for PPC64le MLIR build issue (details)
  5. Move QEMU LAM sanitizer images to env-defined folder. (details)
  6. [jenkins] Update script to use cross project lit test suite (details)
  7. Add chown to buildbot_qemu local repro instructions. (details)
  8. [sanitizer] Fix mips QEMU build (details)
  9. [scudo] Disable mips 32bit tests (details)
  10. [sanitizer] Don't tie builders with particular workers (details)
  11. [sanitizer] Missing image is infra issues (details)
  12. [sanitizer] Set EXE_LINKER_FLAGS same as SHARED_LINKER_FLAGS (details)
Commit 1a557c041cac9c97b714d548d1a51427f7b8de06 by zarko
[AIX][PowerPC] Reduce number of parallel link jobs for AIX crosstargetting buildbot

Reduce the parallel link jobs so that we reduce machine hangs and timeouts.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D104878
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 25f8c0b73518a6e4a0a98318f292f69a7a573684 by Vitaly Buka
[sanitizers] Remove unset variables

It looks nothing else uses them.

Differential Revision: https://reviews.llvm.org/D104875
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh (diff)
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
The file was modifiedzorg/buildbot/commands/AnnotatedCommand.py (diff)
Commit 0c8527b324c43b5fd89b12dca2d080bbe6731fea by diana.picus
[zorg] Reduce # targets built on Linaro flang bots

The flang bots are only running check-flang and are not really
exercising the backend in any way. At the moment most of them
are taking about 1h to run, and we should be able to reduce that
a bit by disabling targets other than the host (AArch64) on them.

Differential Revision: https://reviews.llvm.org/D105012
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 5a4757532b3e92a287cce159739e36717b7ab682 by unknown
[zorg] Hotfix for PPC64le MLIR build issue

The public builder for MLIR on Power currently has an
issue choosing the correct libc. This patch provides
a environment variable to guide CMake to the correct
one.

Differential Revision: https://reviews.llvm.org/D105144
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 1d858a5f4de4ce3d1db328b7b2ad40d96353a06b by 31459023+hctim
Move QEMU LAM sanitizer images to env-defined folder.

Also add some nice debug info as to how to build the images yourself.
This also makes the bot selector define the build dir and the QEMU image
dir, rather than these being hardcoded on the script side (which non-bot
users will want to execute to repro the bot).
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_selector.py (diff)
Commit e48da4b7b382fe94b714ce5aaaf02ee45e32825e by medismail.bennani
[jenkins] Update script to use cross project lit test suite

To reflect changes announced in
https://lists.llvm.org/pipermail/llvm-dev/2021-January/148048.html,
this patch updates all occurrences of `debuginfo-tests` to
`cross-project-debuginfo-tests`.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
The file was modifiedzorg/jenkins/jobs/jobs/llvm-coverage (diff)
Commit 6b155f2b6b876096a8506594ddb627e0fed8e014 by 31459023+hctim
Add chown to buildbot_qemu local repro instructions.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)
Commit 93ca31c2900b341a5f1535cae0243a454a832a1b by Vitaly Buka
[sanitizer] Fix mips QEMU build
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)
Commit 2a09e457cf5d095778714696a6bd2c061e5ac1e8 by Vitaly Buka
[scudo] Disable mips 32bit tests

It times out for unknown reasons.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)
Commit d37259ec73a4341700e981214b9032631adfdda0 by Vitaly Buka
[sanitizer] Don't tie builders with particular workers

This simplifies management of VMs. We don't need to care which
are online. If some is gone we will just see less frequent builds.

Differential Revision: https://reviews.llvm.org/D105227
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit cef62f035b80b575d0b93b217880503f7558b1f9 by Vitaly Buka
[sanitizer] Missing image is infra issues

This avoids spamming blame list

Differential Revision: https://reviews.llvm.org/D105241
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)
Commit f4f163eefefeb65c22cf2d5c541406d0eefc4b6b by Vitaly Buka
[sanitizer] Set EXE_LINKER_FLAGS same as SHARED_LINKER_FLAGS
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)

Summary

  1. [PowerPC] Move PPCBranchSelector as close to asm printer as possible (details)
  2. [lld-macho] Move ICF members from InputSection to ConcatInputSection (details)
  3. Revert "[BuildLibCalls/SimplifyLibCalls]  Fix attributes on created CallInst instructions." (details)
  4. [MC][ELF] Change SHT_LLVM_CALL_GRAPH_PROFILE relocations from SHT_RELA to SHT_REL (details)
  5. [X86] Add description of FXAM instruction (details)
  6. [RISCV] Permit larger RVV stacks and stack offsets (details)
  7. [ARM] Fix crash in chained BFI combine due to incorrectly RAUW'ing a node. (details)
  8. [LLD] [COFF] Fix handling of LTO comdats with nontrivial selection types after 728cc0075e5dfdb454eb (details)
  9. [PowerPC] Change VSRpRC allocation order (details)
  10. [OpaquePtr] Enumerate global variable type (details)
  11. [OpaquePtr] Enumerate alloca type (details)
  12. [AArch64] Custom lower <4 x i8> loads (details)
  13. [llvm-cov] Enforce alignment of function records (details)
  14. [lldb] Fix memory tag unsupported test (details)
  15. [OpaquePtr] Split force-opaque-pointers test (NFC) (details)
  16. [OpaquePtr] Allow alias to opaque pointer (details)
  17. [SCEV] Support single-cond range check idiom in applyLoopGuards. (details)
  18. [lldb] Skip tests failing with GCC due to LLDB not being able to call constructors (details)
  19. [lldb] Skip libstdc++ tests failing with GCC (details)
  20. [lldb] Skip TestDataFormatterSynthVal.py with GCC as the test compiler (details)
  21. [Analyzer][solver] Fix crashes during symbol simplification (details)
  22. [SLP][AArch64] Precommit test for D103629, checking <4 x i8> loads. NFC. (details)
  23. [lldb] Re-enable GDB server client memory tag read tests (details)
  24. [GlobalISel] NFC: Change LLT::scalarOrVector to take ElementCount. (details)
  25. [OpenCL] Use DW_LANG_OpenCL language tag for OpenCL C (details)
  26. [OpenMP][NFC] Drop unused headers from amdgpu plugin (details)
  27. [NFC] remove unreferenced function ResolveIPV4HostName (details)
  28. [flang][driver] Add `-fno-analyzed-objects-for-unparse` (details)
  29. [LV] Reflow comment for VectorizationCostTy (NFC). (details)
  30. [OpenCL] Do not include default header for preprocessor output as input (details)
  31. [clang] Fix build failure due to _S (details)
  32. [clangd] Call malloc_trim in clangd-index-server periodically (details)
  33. [clangd] Introduce a log-prefix flag to remote-index-server (details)
  34. [GlobalISel] NFC: Change LLT::changeNumElements to LLT::changeElementCount. (details)
  35. [libc++][NFC] Rename include guard. (details)
  36. [flang][unittest] Add a missing dependency (details)
  37. [Hexagon] Convert getTypeAlignment to return Align (details)
  38. [AMDGPU] Removed unused Predicate HasOffset3fBug. NFC. (details)
  39. [GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize. (details)
  40. [Analysis] use better version of getLibFunc to check for alloc/free calls (details)
  41. [lldb-vscode] Make extension contribute breakpoints use new package.json schema (details)
  42. [OpaquePtr] Allow globals with opaque pointer value type (details)
  43. Revert "[GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize." (details)
  44. [Coroutines] Remove all legacy test command (details)
  45. [ModuloSchedule] Pass loop block explicitly to kernel rewriter. (details)
  46. [mlir][memref] Introduce UnrankedMemRefOf to tablegen definitions (details)
  47. [test][instcombine] Add test cases for all x.with.overflow overflow checks (details)
  48. [UpdateCCTestChecks] Support --check-globals (details)
  49. [instcombine] Fold overflow check using umulo to comparison (details)
  50. [mlir:Async] Add the size parameter to the async.group (details)
  51. [mlir:Async] Implement recursive async work splitting for scf.parallel operation (async-parallel-for pass) (details)
  52. [LV] Doxygenize VectorizationFactor member comments (NFC). (details)
  53. [test] Add coverage for existing overflow rule with uadd.with.overflow (details)
  54. [clang] Make fewer assumptions about path to lit.site.cfg after 9eaf0d120d32 (details)
  55. [libomptarget][amdgpu] Build openmp for two more targets (details)
  56. [AArch64] Extra negated shift tests. NFC (details)
  57. [UpdateCCTestChecks] Fix new test from 9eaf0d120d32 (details)
  58. [X86] Simplify part of the isel for X86ISD::FCMP/STRICT_FCMP/STRICT_FCMPS. (details)
  59. [DAG] Fold neg(splat(neg(x)) -> splat(x) (details)
  60. [flang] Fix generic/specific procedure confusion (details)
  61. [IR] Add Type::isOpaquePointerTy() helper (NFC) (details)
  62. [libc++] Enable the rvalue overloads of operator<< and operator>> even in C++03. (details)
  63. [OpaquePtr] Enumerate GlobalAlias value type (details)
  64. [mlir:Async] Submit accidentally omitted changes (details)
  65. [Coroutines] Define __coro_frame_ty in function scope (details)
  66. [SystemZ] Add support for .reloc assembler directive (details)
  67. [ELF] --sysroot: change sysrooted script to not fall back for an absolute path (details)
  68. [llvm-rc] Don't rewrite the arch in the default triple unless necessary (details)
  69. [analyzer] Fix assertion failure on code with transparent unions (details)
  70. [PowerPC] Disable combine 64-bit bswap(load) without LDBRX (details)
  71. [OpenMP] Add Module metadata for OpenMP compilation (details)
  72. [OpenMP] Change OpenMPOpt to check openmp metadata (details)
  73. [SimplifyLibCalls] Fix memchr opt to use CreateLogicalAnd (details)
  74. Change PathMappingList::RemapPath to return an optional result (NFC) (details)
  75. [ms] [llvm-ml] Add support for ALIGN, EVEN, and ORG directives (details)
  76. [NFC] Prefer ConstantRange::makeExactICmpRegion over makeAllowedICmpRegion (details)
  77. Add support for the NSMutableDictionary variant: "__NSFrozenDictionaryM" (details)
  78. [lldb] Use the non-locking variant of objc_copyRealizedClassList (details)
  79. [clang] Stop providing builtin overload candidate for relational function pointer comparisons (details)
  80. [mlir][sparse] add print methods to Merger (for debugging) (details)
  81. OpaquePtr: Reject 'ptr*' again when parsing textual IR (details)
  82. Revert "[InstCombine] Make indexed compare fold opaque ptr compatible" (details)
  83. [libc] Use __builtin_ctzll instead of __builtin_ctzl in elements_x86.h. (details)
  84. [DFSan] Change shadow and origin memory layouts to match MSan. (details)
  85. Disable ReplaceLDS pass, patch up tests to match (details)
  86. [X86] Selecting fld0 for undefined value in fast ISEL. (details)
  87. [ms] [llvm-ml] Disable C-style comments (details)
  88. [MLIR][Sparse] Move `buildLattices` into Merger (details)
  89. [RISCV] Add DAG combine to detect opportunities to replace (i64 (any_extend (i32 X)) with sign_extend. (details)
  90. [Docs] Minor fixes with language extension docs (details)
  91. [RISCV][NFC] Combine the control flow for different RetOp of interrupt function (details)
  92. [clang][tests] Specify unwindlib in aix-ld tests (details)
  93. [JITLink][ELF] Add generic ELFLinkGraphBuilder template. (details)
  94. [gn build] Port aff57ff24aca (details)
  95. [LV] Adjust trip count based on IsOrdered in widenPHIInstruction (NFC). (details)
  96. [ARM] Regenerate big-endian-vector-caller.ll test checks. NFC (details)
  97. [clang-format] PR50525 doesn't handle AlignConsecutiveAssignments correctly in some situations (details)
  98. [clang-format] [PR50702] Lamdba processing does not respect AfterClass and AfterNamespace (details)
  99. [clang-format] Add basic support for formatting JSON (details)
  100. [gn build] Port 8b7881a084d0 (details)
  101. [Verifier] Support masked load/store with opaque pointers (details)
  102. [ISel] Port AArch64 SABD and UABD to DAGCombine (details)
  103. [ARM] MVE vabd (details)
  104. [RISCV] Use zexti32/sexti32 in srliw/sraiw isel patterns to improve usage of those instructions. (details)
  105. [ARM] Introduce MVETRUNC ISel lowering (details)
  106. [clang] add C++ feature test macro for P2266 simpler implicit move (details)
  107. [ARM] Lower MVETRUNC to stack operations (details)
  108. [Driver] do not link _p libs for -pg on FreeBSD 14 and later (details)
  109. [X86] Correct the conversion of VALIGND/Q intrinsics to shufflevector. (details)
  110. [docs][llvm-strip] Fix documentation for -s/-S (details)
  111. [X86] Tighten up some inline assembly constraint handling. (details)
  112. [mlir][NFC] Cleanup: Move helper functions to StaticValueUtils (details)
  113. llvm-dwarfdump: Print warnings on invalid DWARF (details)
  114. Fix lld testsuite after llvm-dwarfdump now errors on invalid DWARF (details)
  115. [lld/mac] Don't fold UNWIND_X86_64_MODE_STACK_IND unwind entries (details)
  116. [Orc][examples] LLJITWithRemoteDebugger: fix CMake when utils are not built (details)
  117. [Analysis] improve function signature checking for calloc (details)
  118. [InstCombine][test] add tests for min/max intrinsics with select operand; NFC (details)
  119. [VPlan] Track both incoming values for first-order recurrence phis. (details)
  120. [LoadStoreVectorizer] Support opaque pointers (details)
  121. [MemCpyOpt] Support opaque pointers (details)
  122. [InstCombine] hoist min/max intrinsics above select with constant op (details)
  123. [MemCpyOpt] Handle unusual memcpy element type (details)
  124. [clang-format] Fix the issue that empty lines being removed at the beginning of namespace (details)
  125. [Bazel] Update for 0813700de1 (details)
  126. [DSE] Support opaque pointers (details)
  127. Revert "[RISCV] Use zexti32/sexti32 in srliw/sraiw isel patterns to improve usage of those instructions." (details)
  128. [MemCpyOpt] Preserve address space (details)
  129. [DSE] Preserve address space (details)
  130. [BitCode] Add noprofile to getAttrFromCode() (details)
  131. [RISCV] Add tests for __builtin_parity idiom. (details)
  132. PR37255: DebugInfo: LTO with -g inlined into -gmlt combined with Split DWARF without CU cross-references (details)
  133. PR50708: Update link to Intel SIMD ABI (details)
  134. Remove XFAIL flag from sanitize-coverage-old-pm.c (details)
  135. [M68k][GloballSel] Formal arguments lowering in IRTranslator (details)
  136. Tag sanitize-coverage-old-pm.c unsupported on arm 32 bit (details)
  137. [LLDB] Silence warnings in cli-wrapper-mpxtable.cpp (details)
  138. [PowerPC] Add XL Compat fetch builtins (details)
  139. [LoopDeletion] Benefit from branches by undef conditions when symbolically executing 1st iteration (details)
  140. [Test] Add XFAIL test for PR50918 (details)
  141. [LSR][NFC] Make sure that after the canonicalization the formula is canonical (details)
  142. Revert "[Test] Add XFAIL test for PR50918" (details)
  143. Revert "[M68k][GloballSel] Formal arguments lowering in IRTranslator" (details)
  144. [llvm-objdump] Print comments for the disassembled code (details)
  145. [llvm-objdump] Prevent variable locations to overlap short comments (details)
  146. [llvm-objdump] Prefix memory operand addresses with '0x' (details)
  147. [llvm-objdump] Print memory operand addresses as regular comments (details)
  148. [ARM] Add an extra fold for f32 extract(vdup(i32)) (details)
  149. [mlir][linalg] Remove the StructuredOp capture mechanism. (details)
  150. [clang][ARM] Mark sanitize-coverage-old-pm.c unsupported on armv7l (details)
  151. [clang-tidy] Add 'bugprone-easily-swappable-parameters' check (details)
  152. [clang-tidy] Extend 'bugprone-easily-swappable-parameters' with `typedef` and `const &` diagnostics (details)
  153. [clang-tidy] Extend 'bugprone-easily-swappable-parameters' with optionally considering differently qualified types mixable (details)
  154. [clang-tidy] Extend 'bugprone-easily-swappable-parameters' with mixability because of implicit conversions (details)
  155. [clang-tidy] Suppress reports to similarly used parameters in 'bugprone-easily-swappable-parameters' (details)
  156. [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' (details)
  157. [gn build] Port 499e39c5983d (details)
  158. [clang-tidy][NFC] Fix buildbot failures in 'bugprone-easily-swappable-parameters' (details)
  159. [hwasan] Show sp in register dump. (details)
  160. [lld][MachO] Temporarily require 64 bit build for dead-strip.s (details)
  161. [VPlan] Merge predicated-triangle regions, after sinking. (details)
  162. [LoopVectorize] Fix strict reductions where VF = 1 (details)
  163. [RFC][debuginfo-test] Rename debug-info lit tests for general purposes (details)
  164. [cross-project-tests] Rename vars to make sense for new directory name (details)
  165. [cross-project-tests] Add lld as a dependency if in LLVM_ENABLE_PROJECTS (details)
  166. [cross-project-tests] Make clang optional if not in LLVM_ENABLE_PROJECTS (details)
  167. [cross-project-tests] Add/update check-* targets for cross-project-tests (details)
  168. [compiler-rt][asan] Disable two tests on Arm Thumb (details)
  169. [Analyzer][solver] Add dump methods for (dis)equality classes. (details)
  170. [analyzer][solver][NFC] Simplify function signatures (details)
  171. [AMDGPU][Libomptarget] Collect allocatable memory pools using HSA (details)
  172. [NFC] Adding test for clobbering of high registers in Thumb (details)
  173. [Aarch64] Adding support for Armv9-A Realm Management Extension (details)
  174. [OpenMP] Increase attributor iterations on the GPU (details)
  175. [mlir][memref] Implement lowering of memref.copy to llvm (details)
  176. [NFC] Fixing short title underline in release notes file (details)
  177. [C++20] Support for lambdas in unevaluated context (details)
  178. [AMDGPU][GlobalISel] Legalize and select G_SBFX and G_UBFX (details)
  179. [OpenMP][NFC] Fix missing argument (details)
  180. [AVR][test] Add a new test: functions with struct return type (details)
  181. [Analyzer] Attempt to fix windows bots test failure b/c of new-line (details)
  182. [OpenMP][NFC] Fix typo in OpenMPOpt (details)
  183. [InferAddressSpaces] NFC: For noop IntToPtr/PtrToInt pair cast to operator instead of PtrToInt (details)
  184. [libc++] Remove unnecessary reinterpret_cast from typeinfo (details)
  185. [AArch64][SVE] DAG combine SETCC_MERGE_ZERO of a SETCC_MERGE_ZERO (details)
  186. Teach peephole optimizer to not emit sub-register defs (details)
  187. Reland [GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize. (details)
  188. [AIX] Use less than or equal to for some alignment tests on AIX (details)
  189. Revert "[mlir][memref] Implement lowering of memref.copy to llvm" (details)
  190. [Orc][examples] Temporarily disable LLJITWithRemoteDebugging build and test (details)
  191. [MLIR] Simplify select to a not (details)
  192. [flang][docs] Minor update to Fortran LLVM Tests-suite docs. (details)
  193. [BasicAA] Add test to cover GetIndexDifference change in D99424. (details)
  194. [llvm][ARM] Treat xscale arch as an alias of armv5te (details)
  195. Revert "[DebugInfo] Enable variadic debug value salvaging" (details)
  196. Revert "[Analyzer][solver] Add dump methods for (dis)equality classes." (details)
  197. [AMDGPU] Use opName instead of PseudoName in VOP2 multiclasses. NFC. (details)
  198. [MLIR] Don't remove memref allocation if stored into another allocation (details)
  199. [Clang] Add option to handle behaviour of vector bool/vector pixel. (details)
  200. [mlir][llvm] Fix windows build (details)
  201. [MLIR] Correct memrefdataflow behavior in the presence of cast and other operations (details)
  202. [libc++] Split the various iterator types out of <iterator> (details)
  203. [llvm][clang][fpenv] Create new intrinsic llvm.arith.fence to control FP optimization at expression level (details)
  204. [clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options (details)
  205. [clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens (details)
  206. [gn build] Port f32f3db9fcbf (details)
  207. [coro] Fix rematerializable instruction sinking to coro.suspend blocks (details)
  208. Revert "[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options" (details)
  209. Revert "[clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens" (details)
  210. [AArch64] Added tests to neon-truncstore.ll. NFC. (details)
  211. Revert "[AArch64] Custom lower <4 x i8> loads" (details)
  212. [AsmParser][SystemZ][z/OS] Fix hanging scenario in HLASMAsmParser class (details)
  213. Revert "Revert "[mlir][memref] Implement lowering of memref.copy to llvm"" (details)
  214. [libc++] Remove some _LIBCPP_CXX03_LANG from iostreams headers. (details)
  215. [MLIR][SCF] Inline ExecuteRegion if parent can contain multiple blocks (details)
  216. [Hexagon] Add patterns to load i1 (details)
  217. [mlir][tosa] Update Tosa conv verifier to handle IntegerType input (details)
  218. [lldb] Remove spurious lldb/lldb subdirectory (details)
  219. Add papers adopted by the C++ committee in the June 2021 plenary (details)
  220. Revert "[MLIR][SCF] Inline ExecuteRegion if parent can contain multiple blocks" (details)
  221. [lldb] Avoid using any shell when calling xcrun. (details)
  222. [hwasan] print exact mismatch offset for short granules. (details)
  223. [ObjC][ARC] Ignore operand bundle "clang.arc.attachedcall" on a call if (details)
  224. [SystemZ][z/OS][libcxx]: fix libcxx test cases failed on ebcdic mode on z/OS (details)
  225. [flang] Fix conformability for intrinsic procedures (details)
  226. [libc++] NFCI: Remove unused Lit parameter sanitizer_library (details)
  227. [flang] Implement user-defined derived type runtime I/O (details)
  228. [lld-macho] Extend ICF to literal sections (details)
  229. [lld-macho][nfc] Add absolute-vs-non-absolute symbol test for ICF (details)
  230. [lld-macho][nfc] Remove unnecessary dyn_cast and simplify code (details)
  231. [Clang] [NFC] fix CHECK lines for convergent attribute tests (details)
  232. [clangd] Add a flag to disable formatting of tweak edits (details)
  233. [clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options (details)
  234. [clang-tidy] Add -line-filter to run-clang-tidy.py (details)
  235. [flang] Fix "non-advancing" I/O, support $ in FORMAT (details)
  236. [ADT] Add makeVisitor to STLExtras.h (details)
  237. [Verifier] Support opaque pointers for global_ctors (details)
  238. Revert "[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options" (details)
  239. Revert "[ADT] Add makeVisitor to STLExtras.h" (details)
  240. IR: Fix use-list-order round-tripping for br (details)
  241. [ADT] Add makeVisitor to STLExtras.h (details)
  242. [SanitizerCoverage] Support opaque pointers (details)
  243. [mlir] Destroy MLIRContext thread pool when disable multi threading (details)
  244. [drr] Enable specifying range in NativeCodeCall replacement. (details)
  245. [OpenMP] Prevent OpenMPOpt from internalizing uncalled functions (details)
  246. [Test] rewrite inline_nossp.ll (details)
  247. [IR] remove assert since always_inline can appear on CallBase (details)
  248. [InstCombine][test] add test for potential miscompile with constant expression; NFC (PR50906) (details)
  249. [InstCombine] don't try to fold a constant expression that can trap (PR50906) (details)
  250. [mlir] Skip scalar operands when tiling to linalg.tiled_loop. (details)
  251. [OpenMP][Documentation] Add OpenMPOpt optimization section (details)
  252. [OpenMP][Documentation] Add FAQ entry for CMake module (details)
  253. [AsmWriter] Properly handle uselistorder for global symbols (details)
  254. [DebugInfo] Enforce implicit constraints on `distinct` MDNodes (details)
  255. [LLDB] dotest.py set selected_platform on remote connection (details)
  256. [UniqueLinkageName] Use exsiting GlobalDecl object instead of reconstructing one. (details)
  257. [lld/mac] Fix nondeterminism in output section ordering (details)
  258. [OpenMP] Run the OpenMPOpt module pass at O1 (details)
  259. [IR] Fix replaceUsesWithIf ponetial issue with constants (details)
  260. Precommit miscompile test from D103700 (details)
  261. [JITLink][ELF] Move ELF section and symbol parsing into ELFLinkGraphBuilder. (details)
  262. [vscode-mlir] Add support for restarting the server on setting/server changes (details)
  263. Create synthetic symbol names on demand to improve memory consumption and startup times. (details)
  264. Fix buildbot failure after https://reviews.llvm.org/D104488. (details)
  265. Fix a case where multiple symbols with zero size would cause duplicate entries in gsym files. (details)
  266. [mlir][vector] Order parallel indices before transposing the input in multireductions (details)
  267. [lld-macho] Preserve alignment for non-deduplicated cstrings (details)
  268. [Coroutines] Remove CoroElide from O0 pipeline (details)
  269. [MIRParser] Add machine metadata. (details)
  270. Fix `-Wunused-variable` warning. NFC. (details)
  271. Fix failing tests after https://reviews.llvm.org/D104488. (details)
  272. [AIX][compiler-rt] Deliver libatomic.a at top level library directory (details)
  273. [AVR][clang] Fix wrong calling convention in functions return struct type (details)
  274. [X86] Zero some outputs of Kelocker intrinsics in error case (details)
  275. [llvm-objcopy][MachO] Minor code cleanup (details)
  276. Revert "[Clang] Add option to handle behaviour of vector bool/vector pixel." (details)
  277. [libc][Obvious] Fix typo in implementation of aarch64 clearExcept. (details)
  278. Revert "[mlir] Skip scalar operands when tiling to linalg.tiled_loop." (details)
  279. [mlir][linalg] All StructuredOp parameters are inputs or outputs. (details)
  280. [X86] Add -mgeneral-regs-only support. (details)
  281. [NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable (details)
  282. Revert "[llvm-objcopy][MachO] Minor code cleanup" (details)
  283. [DebugInfo] Bug 41152 - Improve dumping of empty location expressions (details)
  284. [BasicAA] Be more careful with modulo ops on VariableGEPIndex. (details)
  285. [flang] Add runtime interface for SYSTEM_CLOCK (details)
  286. PR50767: clear non-distinct debuginfo for function with nodebug definition after undecorated declaration (details)
  287. [X86] Add a test to reveal a bug in CMOV conversion. (details)
  288. [lldb/Interpreter] Add setting to set session transcript save directory (details)
  289. [lldb/Interpreter] Fix session-save-on-quit when using ^D (details)
  290. [OpenCL] Fix qualifiers check on binding references to temporaries (details)
  291. [analyzer] Implement getType for SVal (details)
  292. [gn build] Port 159024ce2315 (details)
  293. [gn build] Port 9b02a9b40150 (details)
  294. [analyzer] Fix SValTest for LocAsInt test (details)
  295. [ARM] Fold extract of ARM_BUILD_VECTOR (details)
  296. [mlir-reduce] Add doc for usage of mlir-reduce (details)
  297. [NFC][InstCombine] foldAggregateConstructionIntoAggregateReuse(): cast to Instruction eagerly (details)
  298. [mlir] Add MemoryEffects::Allocate to memref::CloneOp (details)
  299. [LoopVectorize] Add support for scalable vectorization of invariant stores (details)
  300. Revert "[hwasan] print exact mismatch offset for short granules." (details)
  301. [hwasan] Display causes in order of probability. (details)
  302. [InstCombine]Add a test for reductions after shuffles, NFC. (details)
  303. [LV] Fix crash when target instruction for sinking is dead. (details)
  304. [mlir] Remove SDBM (details)
  305. [mlir] Add support for LLVM's dso_local attr (details)
  306. Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable" (details)
  307. [SCCP] Add tests with urem/srem with 2 constant operands. (details)
  308. ARM: fix vacuously true assertion to actually check what it should. NFC. (details)
  309. [lld/mac] Make symbol table order deterministic (details)
  310. [mlir][Linalg] NFC - Drop AliasInfo::existsNonDominatingRead (details)
  311. [NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable (details)
  312. [X86] Add cmov i33 sgt test case (details)
  313. [AVR] Fix a bug in prologue of ISR (details)
  314. [DebugInstrRef][3/3] Follow DBG_PHI instructions through LiveDebugValues (details)
  315. [SVE] Added CodeGen support for inserting an element into a predicate vector (details)
  316. Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable" (details)
  317. [analyzer] Make CheckerManager::hasPathSensitiveCheckers() complete again (details)
  318. [InstCombine] Gracefully handle an alloca outside the alloca-AS (details)
  319. [Attributor][NFC] Clang format (details)
  320. [Attributor] Teach AAPotentialValues about constant select conditions (details)
  321. [Attributor][NFCI] Remove unneeded namespace (details)
  322. [Attributor][NFCI] Make the state of AAValueSimplify explicit (details)
  323. Revert "[omp] Fix build without ITT after D103121 changes" (details)
  324. Revert "[OpenMP] Add Two-level Distributed Barrier" (details)
  325. [mlir] silence -Wunused-variable in Linalg comprehensive bufferize (details)
  326. Catch an extremely obvious memory leak, thanks asan (details)
  327. [libc++] NFCI: Remove code duplication and obsolete declarations in wrap_iter (details)
  328. [libc++] Serialize Lit parameters to make them available to from-scratch configs (details)
  329. Print default template argument if manually specified in typedef declaration. (details)
  330. [LV] Fix bug when unrolling (only) a loop with non-latch exit (details)
  331. [SCCP] Extend tests added 1092357ccdc9 in with UREM/SREM by 0. (details)
  332. [perf] Fix a data race in the PerfJITEventListener (details)
  333. [libc++] NFCI: Remove __functional/search.h (details)
  334. [gn build] Port d03aa7d6b66f (details)
  335. [ARM] Extra test for gep immediate costs. NFC (details)
  336. [AMDGPU] Fix 224-bit spills (details)
  337. [llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers (details)
  338. [llvm-objdump] Add --no-print-imm-hex to the command guide (details)
  339. [mlir:Async] Remove async operations if it is statically known that the parallel operation has a single compute block (details)
  340. [mlir:Async] Convert AsyncParallelFor pass to ModuleOp pass (details)
  341. [mlir:Async] Fix a bug in automatic refence counting around function calls (details)
  342. [libc++] Update ABI docs. NFCI. (details)
  343. [RISCV] Protect the SHL/SRA/SRL handlers in LowerOperation against being called for an illegal i32 shift amount. (details)
  344. [lldb] Skip TestPairFromStdModule for now (details)
  345. [Flang][test] Fix Windows buildbot after D104930. (details)
  346. [INSTCOMBINE] Transform reduction(shuffle V, poison, unique_mask) to reduction(V). (details)
  347. [ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if (details)
  348. [clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options (details)
  349. [Inline] prevent inlining on noprofile mismatch (details)
  350. [libc++] NFC: Fix return-by-const-value and pass-by-const-value typos (details)
  351. [lldb] Check for the mangled symbol name for objc_copyRealizedClassList_nolock (details)
  352. [LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization. (details)
  353. [OpaquePtr] Support forward references in textual IR (details)
  354. [NFC] clang-format on InlineCost.cpp and InlineAdvisor.h. (details)
  355. [llvm-objcopy][MachO] Support ARM64_RELOC_ADDEND (details)
  356. [SanitizerCoverage] Fix global type check with opaque pointers (details)
  357. [test] Change -t to --syms and -s to -S for llvm-readobj RUN lines (details)
  358. [NFC][compiler-rt][hwasan] Move GetCurrentThread to hwasan.cpp (details)
  359. [llvm-readobj] Make -s and -t match llvm-readelf (details)
  360. [NFC][compiler-rt][hwasan] Re-use ring buffer size calculation (details)
  361. [Clang] Add option to handle behaviour of vector bool/vector pixel. (details)
  362. [mlir][Linalg] Add a ComprehensiveModuleBufferizePass and support for CallOp analysis(9/n) (details)
  363. [mlir:Async] Add an async reference counting pass based on the user defined policy (details)
  364. [mlir:Async] Change async-parallel-for block size/count calculation (details)
  365. Revert D104488 and friends since it broke the windows bot (details)
  366. [mlir] Generare .cpp.inc files for dialects. (details)
  367. [dfsan] Expose dfsan_get_track_origins to get origin tracking status (details)
  368. [lldb] Fix globals-bss.cpp which was broken in https://reviews.llvm.org/D105055 (details)
  369. [libc] Allow target architecture independent configs (details)
  370. [libomptarget] [amdgpu] Fix default setting of max flat workgroup size (details)
  371. [lldb] Fix debug_loc.s which was broken after https://reviews.llvm.org/D103502 (details)
  372. [llvm-objcopy][MachO] Code cleanup (details)
  373. OpaquePtr: Support i32** with --force-opaque-pointers (details)
  374. [CodeGen] Stop creating fake FunctionDecls when generating IR for (details)
  375. Revert "GlobalISel: Use MMO helper for getting the size in bits" (details)
  376. CodeGen: Store LLT instead of uint64_t in MachineMemOperand (details)
  377. [Test] Regenerate test checks (NFC) (details)
  378. [OpaquePtr][BitcodeWriter] Handle attributes with types (details)
  379. Thread safety analysis: Always warn when dropping locks on back edges (details)
  380. Thread safety analysis: Rename parameters of ThreadSafetyAnalyzer::intersectAndWarn (NFC) (details)
  381. Change PathMappingList::FindFile to return an optional result (NFC) (details)
  382. Express PathMappingList::FindFile() in terms of PathMappingList::RemapPath() (details)
  383. Modernize Module::RemapFile to return an Optional (NFC) (details)
  384. Improve path remapping in cross-debugging scenarios (details)
  385. [libomptarget] [amdgpu] Change default number of teams per computation unit (details)
  386. [Clang][NVPTX] Add NVPTX intrinsics and builtins for CUDA PTX 6.5 and 7.0 WMMA and MMA instructions (details)
  387. Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot" (details)
  388. [CodeGen] Add ParmVarDecls to FunctionDecls that are created to generate (details)
  389. Conditionalize function only used in an assert to address -Wunused-function (details)
  390. [Test] delete LPM RUNs in inline_nossp.ll (details)
  391. Create synthetic symbol names on demand to improve memory consumption and startup times. (details)
  392. Fix buildbot compile error for https://reviews.llvm.org/D105160. (details)
  393. [llvm-objcopy][MachO] Support LC_LINKER_OPTIMIZATION_HINT load command (details)
  394. [Coroutine] Add statistics for the number of elided coroutine (details)
  395. [FuncSpec] Add an option to specializing literal constant (details)
  396. [AMDGPU] Update gfx90a memory model support (details)
  397. Fix test pass registration to use the new API / not use the deprecated one (NFC) (details)
  398. [PowerPC][AIX] Pre-commit tracetable test for D100167. NFC. (details)
  399. [MLIR] Fix generateCopyForMemRefRegion (details)
  400. [PowerPC][AIX] Re-generate test aix-framepointer-save-restore.ll. NFC. (details)
  401. [clang] Fix UB when string.front() is used for the empty string (details)
  402. Recommit "[AArch64] Custom lower <4 x i8> loads" (details)
  403. [mlir][llvm] Add a test for memref.copy lowering to llvm (details)
  404. [ARM][NFC] Remove an unused method (details)
  405. [mlir][linalg][python] Explicit shape and dimension order in OpDSL. (details)
  406. [ARMInstPrinter] Print the target address of a branch instruction (details)
  407. [analyzer][satest][NFC] Relax dependencies requirements (details)
  408. [TableGen] Allow identical MnemonicAliases with no predicate (details)
  409. [MTE] Remove redundant helper function. (details)
  410. [NFC] Rename shadowed variable in InnerLoopVectorizer::createInductionVariable (details)
  411. [hwasan] Make sure we retag with a new tag on free. (details)
  412. [ConstantRanges] Use APInt for constant case for urem/srem. (details)
  413. [AMDGPU] Simplify getReservedNumSGPRs (details)
  414. [clang] NFC: add line break at the end of if expressions (details)
  415. [OPENMP]Fix PR50929: Ignored initializer clause in user-defined reduction. (details)
  416. Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. (details)
  417. [clang-offload-bundler] Add unbundling of archives containing bundled object files into device specific archives (details)
  418. [mlir][linalg][python] Update the OpDSL doc (NFC). (details)
  419. [TargetLowering][AArch64][SVE] Take into account accessed type when clamping address (details)
  420. [LLD][ELF][ARM] Fix case of patched unrelocated BLX (details)
  421. [AMDGPU] PHI node cost should not be counted for the size and latency. (details)
  422. [LLD][ELF][ARM] Tidy up test to hook up missing filecheck patterns [NFC] (details)
  423. [Matrix] Add tests for hoisting address computations. (details)
  424. [MLIR] Eliminate unnecessary affine stores (details)
  425. [OpenMP] Add additional remarks for OpenMPOpt (details)
  426. [clang][patch] Add builtin __arithmetic_fence and option fprotect-parens (details)
  427. [MLIR][SCF] Inline ExecuteRegion if parent can contain multiple blocks (details)
  428. [MLIR] Update description of SCF.execute_region op (details)
  429. Revert "[Coroutine] Add statistics for the number of elided coroutine" (details)
  430. [CostModel][X86] Adjust fp<->int vXi32 AVX1+ costs based on llvm-mca reports (details)
  431. [hwasan] Add missing newline in report. (details)
  432. [lit] Add the ability to parse regexes in Lit boolean expressions (details)
  433. [ARM] Fix incorrect assignment of Changed variable in MVEGatherScatterLowering::optimiseOffsets. (details)
  434. [libc++] Remove broken links and outdated information in the docs (details)
  435. [test] precommit a test for missing (0 /u %x) SCEV fold (details)
  436. [SCEV] Fold (0 udiv %x) to 0 (details)
  437. [clangd] Correct SelectionTree behavior around anonymous field access. (details)
  438. [clangd] Log feature configuration (linux+asan+grpc) of the clangd build (details)
  439. [clangd] Show padding following a field on field hover. (details)
  440. [OpenMP] Change analysis remarks to not emit on cold functions (details)
  441. [LiveDebugValues][InstrRef][1/2] Recover more clobbered variable locations (details)
  442. [gn build] Port 0c96a92d8666 (details)
  443. [mlir][VectorToGPU] Support converting vetor.broadcast to MMA op (details)
  444. [mlir] Fix wrong type in WmmaConstantOpToNVVMLowering (details)
  445. [lldb] Replace SVE_PT* macros in NativeRegisterContextLinux_arm64.{cpp,h} with their equivalent defintions in LinuxPTraceDefines_arm64sve.h (details)
  446. [clangd] Fix highlighting for implicit ObjC property refs (details)
  447. [ELF] -pie: produce dynamic relocations for absolute relocations referencing undef weak (details)
  448. [clangd] Unbreak mac build after 0c96a92d8666b8 (details)
  449. [gn build] add dep needed after b56e5f8a10c1e (details)
  450. [AMDGPU] Add builtin functions image_bvh_intersect_ray (details)
  451. [NPM] Resolve llvmGetPassPluginInfo to the plugin being loaded (details)
  452. [instcombine] umin(x, 1) == zext(x != 0) (details)
  453. [libc] Fix feclearexcept for x86_64. (details)
  454. [instcombine] Precommit tests for umin(a,b) ne/eq 0 fold (details)
  455. [libc] Clear all exceptions before setting in fesetexceptflag. (details)
  456. [libc] Allow reading and writing __FE_DENORM if available on x86_64. (details)
  457. [InstCombine][test] add tests for icmp with constant and offset; NFC (details)
  458. [InstCombine] fold icmp of offset value with constant (details)
  459. [X86] Canonicalize SGT/UGT compares with constants to use SGE/UGE to reduce the number of EFLAGs reads. (PR48760) (details)
  460. [AIX][XCOFF][BUG-Fixed] need to switch back to text section after emit a dumy eh structure (details)
  461. Fix shared build. (details)
  462. [ARM] Set the immediate cost of GEP operands to 0 (details)
  463. [clang][Fuchsia] Remove relative-vtables multilibs (details)
  464. [ELF] Preserve section order within an INSERT AFTER command (details)
  465. Add linalg.batch_matvec named op (details)
  466. [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened (details)
  467. [AMDGPU] Add S_MOV_B64_IMM_PSEUDO for wide constants (details)
  468. autogen two tests for ease of update (details)
  469. [gn build] (manually) port f617ab104451 (DoublerPlugin) (details)
  470. [gn build] Port 381ded345bdd (details)
  471. [BasicAA] Add test for incorrectly inferring noalias due to scale sign. (details)
  472. [BasicAA] Use separate scale variable for GCD. (details)
  473. [mlir][tosa] Use 3D tensors in tosa.matmul (details)
  474. [GISel] Support llvm.memcpy.inline (details)
  475. [OpenMP][Offloading] Replace all calls to `isSPMDMode` with `__kmpc_is_spmd_exec_mode` (details)
  476. [Orc] Fix name of LLVMOrcIRTransformLayerSetTransform (details)
  477. [Orc] Run the examples as part of the tests (details)
  478. [CMake] Don't use -Bsymbolic-functions for MinGW targets (details)
  479. [libc][NFC] Clear all exceptions in exception_flags_test before raising another. (details)
  480. CodeGen: Print/parse LLTs in MachineMemOperands (details)
  481. [clangd][nfc] Show more information in logs when compiler instance prepare fails (details)
  482. [MCStreamer]  Move emission of attributes section into MCELFStreamer (details)
  483. AMDGPU/GlobalISel: Remove some problematic testcases (details)
  484. GlobalISel: Preserve memory type when reducing load/store width (details)
  485. GlobalISel: Lower non-byte loads and stores (details)
  486. [libomptarget][amdgpu][nfc] Fix build warnings, drop some headers (details)
  487. Add dumping support for RequiresExpr. (details)
  488. [Clang] allow overriding -fbasic-block-sections (details)
  489. [libc++] graph_header_deps.py: Detect files that include themselves. (details)
  490. [libomptarget][nfc] Replace out arguments with struct return (details)
  491. GlobalISel: Use LLT in memory legality queries (details)
  492. [LiveDebugValues][InstrRef][2/2] Emit entry value variable locations (details)
  493. [libc][NFC] Remove few deprecated FPUtil header files and test patterns. (details)
  494. [lld-macho] -section_rename should work on synthetic sections too (details)
  495. [lld-macho] Only enable `__DATA_CONST` for newer platforms (details)
  496. [InstCombine][test] add tests for icmp ult with constant and offset; NFC (details)
  497. [InstCombine] fold icmp ult of offset value with constant (details)
  498. [mlir][vector] Extend vector distribution to all elementwise and contract (details)
  499. [Bazel] Update README with examples (details)
  500. [Bazel] Rework LLVM target selection (details)
  501. Fix test following Clang change ef227b3. (details)
  502. Reapply "[M68k][GloballSel] Formal arguments lowering in IRTranslator" (details)
  503. Revert "[libomptarget] [amdgpu] Fix default setting of max flat workgroup size" (details)
  504. Add a target triple to fix failures on MS build bots. (details)
  505. [AArch64] Remove unneeded ExternalSymbolSDNode code for machine constraint "S". NFC (details)
  506. [mlir][tensor] Add tensor.dim operation (details)
  507. [AArch64][SVEIntrinsicOpts] Convect cntb/h/w/d to vscale intrinsic or constant. (details)
  508. [clang][AArch64][SVE] Handle PRValue under VLAT <-> VLST cast (details)
  509. [Bazel] add missing load to submodule example (details)
  510. [llvm-objdump/mac] Print symbols at the same address deterministically (details)
  511. [Coroutine] Recommit Add statistics for the number of elided coroutine (details)
  512. [ORC] Rename TargetProcessControl to ExecutorProcessControl. NFC. (details)
  513. [scudo] GWP_ASAN runs on untagged pointers (details)
  514. [GWP_ASAN] Enable ARM tests (details)
  515. [gn build] Port 662c55442f17 (details)
  516. [Compiler-rt] Add delete for noncopyable (details)
  517. [hexagon] Add {hvx,}hexagon_{protos,circ_brev...} (details)
  518. [gn build] Port 28b01c59c93d (details)
  519. Fail gracefully if no inlining model is available to download. (details)
  520. Add list of LWG papers accepted by WG21 during the June 2021 plenary (details)
  521. [NFC][Scheduler] Refactor tryCandidate to return boolean (details)
  522. [NFC][PassBuilder] addVectorPasses(): clarify that 'IsLTO' is actually 'IsFullLTO' (details)
  523. [lldb] Fix Recognizer/assert.test with glibc-2.33.9000-31.fc35.x86_64 (details)
  524. [MLIR] Add argument insertion helpers for FunctionLike (details)
  525. [clangd] Fix gRPC build due to missing include path (details)
  526. [mlir][linalg][python] Update integration of OpDSL doc (NFC). (details)
  527. PoC for Flang Driver Plugins (details)
  528. [flang][docs] Add documentation for the new Flang driver (details)
  529. [ORC] Add wrapper-function support methods to ExecutorProcessControl. (details)
  530. [flang] Revert "PoC for Flang Driver Plugins" (details)
  531. [gn build] Port 39f64c4c8375 (details)
  532. [analyzer] LValueToRValueBitCasts should evaluate to an r-value (details)
  533. [analyzer][NFC] Inline ExprEngine::handleLVectorSplat() (details)
  534. [BasicAA] Fix typo ScaleForGDC -> ScaleForGCD. (details)
  535. [PowerPC] add a testcase for byval parameter; NFC (details)
  536. [clang-format] PR50727 C# Invoke Lamda Expression indentation incorrect (details)
  537. added some example code for llvm::Expected<T> (details)
  538. [clang] Apply P1825 as Defect Report from C++11 up to C++20. (details)
  539. [DebugInfo][InstrRef][1/4] Support transformations that widen values (details)
  540. [mlir][async] Remove unused variable. NFC. (details)
  541. [mlir][Linalg] Add support for CallOp bufferization (10/n) (details)
  542. [CostModel][X86] getCastInstrCost - attempt to match custom cast/conversion before legalized types. (details)
  543. [llvm][docs] Bump release number from 12 -> 13 (details)
  544. [AArch64][SVE] Add support for fixed length MSCATTER/MGATHER (details)
  545. [mlir][Linalg] Add comprehensive bufferization support for linalg::InitTensor and tensor::CastOp (11/n) (details)
  546. [VP] Implementation of intrinsic and SDNode definitions for VP load, store, gather, scatter. (details)
  547. [mlir][Linalg] Drop comprehensive-func-bufferize (12/n) (details)
  548. [mlir][Linalg] Add comprehensive bufferization support for ConstantOp (13/n) (details)
  549. [libomptarget][nfc] Move grid size computation (details)
  550. [llvm-mca] Fix JSON output (PR50922) (details)
  551. [DebugInfo][InstrRef][2/4] Use subreg substitutions in LiveDebugValues (details)
  552. [AArch64] Add test for min/max (details)
  553. [clang] Fix CallExpr dependence bit may not respect all its arguments. (details)
  554. [AArch64] Add fp16 tests for vector copysign. (details)
  555. [flang][driver] Extend the `flang` bash script to act as a driver (details)
  556. [OPENMP]Fix PR50640: OpenMP target clause implicitly scaling loop bounds to uint64_t. (details)
  557. [NFC] Add new setDebugLocFromInst that uses the class Builder by default (details)
  558. Revert "[OPENMP]Fix PR50640: OpenMP target clause implicitly scaling loop bounds to uint64_t." (details)
  559. [libc++] Fix incorrect shell expansion in macos-ci-setup (details)
  560. [ARM] Transform a floating-point to fixed-point conversion to a VCVT_fix (details)
  561. [AArch64] Add some more tests to CodeGen/AArch64/aarch64-load-ext.ll. NFC. (details)
  562. [coro async] Add support for specifying which parameter is swiftself in (details)
  563. [CostModel][X86] Adjust fp<->int vXi32 SSE legalized costs based on llvm-mca reports. (details)
  564. [LoopVectorize][X86] Regenerate conversion-cost.ll tests (details)
  565. [clangd] Unbreak mac build differently 0c96a92d8666b8 (details)
  566. [OPENMP]Fix PR50640: OpenMP target clause implicitly scaling loop bounds to uint64_t. (details)
  567. [AArch64][GlobalISel]Legalise some vector types for min/max (details)
  568. [ARM] Extra BFI codegen tests. NFC (details)
  569. [AMDGPU] Fix immediate sign during V_MOV_B64_PSEUDO expansion (details)
  570. [SelectionDAG] Implement PromoteIntRes_INSERT_SUBVECTOR (details)
  571. GlobalISel: Use LLT in call lowering callbacks (details)
  572. [OpaquePtr] Support opaque pointers in intrinsic type check (details)
  573. [mlir][sparse] move tensor expression builder into Merger utility (details)
  574. [OpenMP][Offloading] Refined return value of `DeviceTy::getOrAllocTgtPtr` (details)
  575. [MLIR] FlatAffineConstraints: Use Matrix objects to store the constraints (details)
  576. [Bazel] Fixes for 266a7414d8 (details)
  577. Fix an accepts-invalid issue with [[]] attributes in the type position in C (details)
  578. [instcombine] Fold overflow check using overflow intrinsic to comparison (details)
  579. [NFC][compiler-rt] add back solaris xfail for unpoison-alternate-stack.cpp (details)
  580. [NFC][scudo] Extract MapAllocatorTest for TEST_F (details)
  581. [gwp_asan] Improve symbolizer script (details)
  582. [libc++] Migrate the additional_features parameter to the DSL (details)
  583. [libcxx] Update optional star operator to be noexcept. (details)
  584. [libcxx][functional][modular] splices <functional> into modular headers (details)
  585. [libc++] Provide c++03 alternative for va_copy if available in xlocale.h (details)
  586. [runtimes] Simplify how we specify XFAIL & friends based on the triple (details)
  587. [ADT] Follow up to fix bug in "Add makeVisitor to STLExtras.h" (details)
  588. [OpaquePtr] Support VecOfAnyPtrsToElt intrinsics (details)
  589. [gn build] Port 050b064f15ee (details)
  590. [CMake][MLIR][Linalg] Adding variable to specify tablegen file dependencies. (details)
  591. [NFC][scudo] Exctract getOptionsForConfig in test (details)
  592. [lld-macho] Add support for LTO optimization level (details)
  593. [scudo] Remove false DCHECK (details)
  594. [MLIR] Allow Affine scalar replacement to handle inner operations (details)
  595. Add linalg.mmt4d named op (details)
  596. [lit] Extend --xfail/LIT_XFAIL to take full test name (details)
  597. [Orc] At CBindings for LazyRexports (details)
  598. [clang-repl] Allow passing in code as positional arguments. (details)
  599. [scudo] Untag BlockEnd in reallocate (details)
  600. [ARM] Reassociate BFI (details)
  601. [llvm-strip] Support grouped options in llvm-strip (details)
  602. [cmake] Invoke strip without -l and with non-grouped flags. (details)
  603. [libc] Add minimal Windows config (details)
  604. [InstCombine][test] add tests for icmp simplify miscompile (PR50944); NFC (details)
  605. [InstSimplify] do not propagate poison from select arm to icmp user (details)
  606. [libcxx][ranges] Implement indirectly_swappable. (details)
  607. [OpenMP] Fix a few issues with hidden helper task (details)
  608. [libc++] IWYU <__utility/pair.h> in <__functional/hash.h>. NFCI. (details)
  609. Update MLIRContext to allow injecting an external ThreadPool (NFC) (details)
  610. [GISel] Print better error messages for missing Combiner Observer calls (details)
  611. [InstrProfiling] Use external weak reference for bias variable (details)
  612. [gn build] Port 33a7b4d9d8e6 (details)
  613. [AArch64] Optimize SVE bitcasts of unpacked types. (details)
  614. [mlir][tosa] Add tosa shape inference with InferReturnTypeComponent (details)
  615. [GlobalISel] Translate <1 x N> getelementptrs to scalar G_PTR_ADDs (details)
  616. [mlir][tosa] Added missing includes on PassDetails.h (details)
  617. Precommit test cases in https://reviews.llvm.org/D104953 (details)
  618. Mips/GlobalISel: Use accurate memory LLTs (details)
  619. [mlir][tosa] Include TosaDialect as include in tosa PassDetail.h (details)
  620. [mlir][tosa] Update Bazel files for TOSA pass changes (details)
  621. [mlir] Move BufferizeDimOp to Tensor/Transforms/Bufferize.cpp (details)
  622. [lld-macho] Move ICF earlier to avoid emitting redundant binds (details)
  623. [lld-macho] Deduplicate CFStrings (details)
  624. [lld-macho][nfc] Remove unnecessary vertical spacing (details)
  625. [lld-macho] Factor out common InputSection members (details)
  626. Support for merging UsingPackDecls across modules. (details)
  627. [ScalarizeMaskedMemIntrin][SelectionDAGBuilder] Use the element type to calculate alignment for gather/scatter when alignment operand is 0. (details)
  628. [ORC] Rename SPSTargetAddress to SPSExecutorAddress. (details)
  629. [llvm-symbolizer] Move setGroupedShortOptions and don't ignore case (details)
  630. [NFC][DSE]Change 'do-while' to 'for' loop to simplify code structure (details)
  631. [scudo] Fix test on aarch64 without MTE (details)
  632. Relax newly added opcode check to check only for a number instead of a specific opcode. (details)
  633. [clangd] Fix XPC build due to missing include path (details)
  634. [LLD] [COFF] Support linking directly against DLLs in MinGW mode (details)
  635. [LLD] [MinGW] Allow linking to DLLs directly (details)
  636. [LLD] [COFF] Fix up missing stdcall decorations in MinGW mode (details)
  637. [clangd] Add some more missing include dirs for completeness (details)
  638. [mlir][linalg][python] Add max operation in OpDSL (details)
  639. [mlir][linalg][python] Introduce python integration test folder. (details)
  640. [WebAssembly] Implementation of global.get/set for reftypes in LLVM IR (details)
  641. [clangd] CMake: express -Iclangd/ at top level and inherit (details)
  642. [clang][AST] Add support for BindingDecl to ASTImporter. (details)
  643. [lldb] [gdb-remote server] Support selecting process via Hg (details)
  644. Revert "[WebAssembly] Implementation of global.get/set for reftypes in LLVM IR" (details)
  645. [Matrix] Hoist address computation before multiply to enable fusion. (details)
  646. [lldb] [test] Add missing category to test_detach_current (details)
  647. [NFC][SimplifyCFG] Autogenerate checklines in trapping-load-unreachable.ll test (details)
  648. [AArch64] Use custom lowering for fp16 vector copysign. (details)
  649. [NFC] Fix typo in comment (details)
  650. Add LogOp to Complex dialect. (details)
  651. Place the BlockAddress type in the address space of the containing function (details)
  652. [MachineCopyPropagation] Fix differences in code gen when compiling with -g (details)
  653. [SLP]Fix gathering of the scalars by not ignoring UndefValues. (details)
  654. [CostModel][X86] Adjust uitofp(vXi64) SSE/AVX legalized costs based on llvm-mca reports. (details)
  655. [lldb] [gdb-remote client] Refactor SetCurrentThread*() (details)
  656. [CostModel][X86] Find AVX conversion costs using legalized types if custom types didn't match (details)
  657. [Matrix] Fix crash during fusion if the same load is re-used. (details)
  658. Revert "[InstrProfiling] Use external weak reference for bias variable" (details)
  659. [gn build] Port a92964779cb5 (details)
  660. [CostModel][X86] Drop some hard coded fp<->int scalarization costs (details)
  661. [CostModel][X86] Update comment describing source of costs - we now use llvm-mca more than IACA (details)
  662. [X86][SLM] Keep similar scheduler costs types together. NFCI. (details)
  663. [llvm-dwarfdump] Add comment saying where DumpDebugFrame comes from (details)
  664. [clangd] Fix possible assertion fail in TUScheduler (details)
  665. Revert "[clangd] Fix possible assertion fail in TUScheduler" (details)
  666. https://godbolt.org/z/5vhv4K5b8 (details)
  667. [NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable (details)
  668. Revert "[NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable" (details)
  669. Revert "https://godbolt.org/z/5vhv4K5b8" (details)
  670. [InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable (details)
  671. [mlir][Linalg] Add comprehensive bufferization support for TiledLoopOp (14/n) (details)
  672. Revert "[clangd] Unbreak mac build differently 0c96a92d8666b8" (details)
  673. [NFC][InstCombine] visitUnreachableInst(): enhance comments somewhat (details)
  674. Reapply [clangd] Fix possible assertion fail in TUScheduler (details)
  675. Refactor TensorExp parameters into a union (details)
  676. [AArch64] Neon saturated truncate tests. NFC (details)
  677. [AIX] Add dummy XCOFF MCAsmParserExtension (details)
  678. [AIX] Use AsmParser to do inline asm parsing (details)
  679. [gn build] Port bf64210fd88f (details)
  680. Refactor mutation strategies into a standalone library (details)
  681. [Bazel] Fix build for c0a6318d96 (details)
  682. [mlir][linalg][python] Add min operation in OpDSL. (details)
  683. [Libomptarget] Experimental Remote Plugin Fixes (details)
  684. [mlir][Vector] NFC - Compress vector to outerproduct lowering. (details)
  685. Revert "Refactor mutation strategies into a standalone library" (details)
  686. [libc] Make ULP error reflect the bit distance more closely. (details)
  687. Unpack the CostEstimate feature in ML inlining models. (details)
  688. [NFC][OpenMP][CUDA] Add test for using `-x cuda -fopenmp` (details)
  689. [gn build] Port 99f00635d7ac (details)
  690. [libcxx][type_traits] remove `std::is_literal_type` and `std::result_of` for C++20 (details)
  691. [Intrinsics] Make MemCpyInlineInst a MemCpyInst (details)
  692. [MLGO] Update Oz model url. (details)
  693. [SLP][NFC]Refactor findLaneForValue and make it static member, NFC, by (details)
  694. [X86] Modify LOOP*, HLT control flow attributes (details)
  695. [lld-macho] Ignore debug symbols while preparing relocations. (details)
  696. Revert "[mlir][Vector] NFC - Compress vector to outerproduct lowering." (details)
  697. Revert "[clang-repl] Allow passing in code as positional arguments." (details)
  698. [clang][emscripten] Reduce alignof long double from 16 to 8 bytes (details)
  699. [Hexagon] Handle opaque pointers in vector combine (details)
  700. [OpaquePtr] Add type parameter to emitLoadLinked (details)
  701. [mlir][Linalg] Fix incorrect logic in deciding when to fuse reshapes by linearization. (details)
  702. [ms] [llvm-ml] Standardize blocking of lexical substitution (details)
  703. [lldb] Replace default bodies of special member functions with = default; (details)
  704. [SimplifyCFG] Volatile memory operations do not trap (details)
  705. Add C API files for the LLVM dialect (details)
  706. [InstCombine] Don't combine PHI before catchswitch (details)
  707. [NFCI][SimplifyCFG] simplifyUnreachable(): Use poison constant to represent the result of unreachable instrs (details)
  708. [GlobalISel] Add re-association combine for G_PTR_ADD to allow better addressing mode usage. (details)
  709. [lldb] [gdb-remote client] Support switching PID along with TID (details)
  710. [NFC][SimplifyCFG] Autogenerate checklines in a few tests (details)
  711. [NFC][CUDA] Fix order of round(f) definition in __clang_cuda_math.h for non-LP64. (details)
  712. [GlobalISel] Clean up CombinerHelper::apply* functions to return void. (details)
  713. [lldb/test] Fix failure caused by synthetic symbol name refactoring (details)
  714. [NFC][Codegen] Tune a few tests to not end with a naked `unreachable` terminator (details)
  715. [NFC][Codegen] Autogenerate check lines in PowerPC/2007-11-16-landingpad-split.ll (details)
  716. Name all DEATH tests using 'DeathTest' suffix. (details)
  717. [mlir][Vector] NFC - Compress vector to outerproduct lowering. (details)
  718. Fix test so it doesn't try to write to the test directory, only to %t (details)
  719. [lldb] Update shebang in heap.py and crashlog.py (details)
  720. Lex: add a callback for `#pragma mark` (details)
  721. [mlir][sparse] support for negation and subtractions (details)
  722. Revert "[DebugInfo] Enforce implicit constraints on `distinct` MDNodes" (details)
  723. Revert "Create synthetic symbol names on demand to improve memory consumption and startup times." (details)
  724. [ThinLTO] Respect ClearDSOLocalOnDeclarations for unimported functions (details)
  725. [SelectionDAG] Rename memory VT argument for getMaskedGather/getMaskedScatter from VT to MemVT. (details)
Commit b904574b3dbdf8e4bc9ebcdfa11144fae5c87aaa by lkail
[PowerPC] Move PPCBranchSelector as close to asm printer as possible

Currently, PPCBranchSelector is not immediately preceding asm printer pass. `-debug-pass=Structure` gives
```
      PowerPC Branch Selector
      Contiguously Lay Out Funclets
      StackMap Liveness Analysis
      Live DEBUG_VALUE analysis
      Lazy Machine Block Frequency Analysis
      Machine Optimization Remark Emitter
      Linux PPC Assembly Printer
```
After the patch
```
      Contiguously Lay Out Funclets
      StackMap Liveness Analysis
      Live DEBUG_VALUE analysis
      PowerPC Branch Selector
      Lazy Machine Block Frequency Analysis
      Machine Optimization Remark Emitter
      Linux PPC Assembly Printer
```

Reviewed By: nemanjai, #powerpc

Differential Revision: https://reviews.llvm.org/D104762
The file was modifiedllvm/test/CodeGen/PowerPC/O3-pipeline.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Commit 8aa17d1eaeb48f8782661680d69c28f2458959ad by jezng
[lld-macho] Move ICF members from InputSection to ConcatInputSection

`icfEqClass` only makes sense on ConcatInputSections since (in contrast
to literal sections) they are deduplicated as an atomic unit.

Similarly, `hasPersonality` and `replacement` don't make sense on
literal sections.

This mirrors LLD-ELF, which stores `icfEqClass` only on non-mergeable
sections.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D104670
The file was modifiedlld/MachO/UnwindInfoSection.cpp
The file was modifiedlld/MachO/InputSection.cpp
The file was modifiedlld/MachO/InputSection.h
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/ICF.cpp
Commit 1aa02b37e7dcbf9fb35662fde8c65ac9a277f6b9 by aeubanks
Revert "[BuildLibCalls/SimplifyLibCalls]  Fix attributes on created CallInst instructions."

This reverts commit 1eda5453f2dcc9a9a4b4578fe74163c529974503.

Causes https://crbug.com/1223647:
Incompatible argument and return types for 'returned' attribute
  tail call void @llvm.memset.p0i8.i64(i8* noalias noundef returned writeonly align 1 dereferenceable(255) %arraydecay, i8 0, i64 255, i1 false), !dbg !985
The file was modifiedllvm/test/Transforms/InstCombine/strcmp-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/puts-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcpy-1.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/exp2-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/fprintf-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcmp-1.ll
The file was modifiedllvm/test/CodeGen/X86/no-plt-libcalls.ll
The file was modifiedllvm/test/Transforms/InstCombine/debug-line.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/int64-and-ptr.ll
The file was modifiedllvm/test/Transforms/InstCombine/simplify-libcalls.ll
The file was modifiedllvm/test/Transforms/InstCombine/strncat-2.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcspn-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/fdiv-sin-cos.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcpy_chk-1.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/pair-int32-int32.ll
The file was modifiedllvm/test/Transforms/InstCombine/stpcpy_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/fdiv-cos-sin.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/split-block-does-work.ll
The file was modifiedllvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcmp-memcmp.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/alias-merge-blocks.ll
The file was modifiedllvm/test/Transforms/InstCombine/mempcpy.ll
The file was modifiedllvm/test/Transforms/InstCombine/strncpy-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/sqrt.ll
The file was modifiedllvm/test/Transforms/InstCombine/strstr-1.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/entry-block-shuffled.ll
The file was modifiedllvm/test/Other/cgscc-libcall-update.ll
The file was modifiedllvm/test/Transforms/InstCombine/float-shrink-compare.ll
The file was removedllvm/test/Transforms/InstCombine/libcall-param-attrs.ll
The file was modifiedllvm/test/Transforms/InstCombine/printf-3.ll
The file was modifiedllvm/test/Transforms/InstCombine/ARM/strcmp.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/pr41917.ll
The file was modifiedllvm/test/Transforms/InstCombine/printf-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/realloc.ll
The file was modifiedllvm/test/Transforms/InstCombine/objsize.ll
The file was modifiedllvm/test/Transforms/InstCombine/sprintf-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/memset_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/strncpy_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/fortify-folding.ll
The file was modifiedllvm/test/Transforms/InstCombine/stpcpy-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/memset-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/fwrite-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/strndup.ll
The file was modifiedllvm/test/Transforms/InstCombine/strchr-1.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/multiple-blocks-does-work.ll
The file was modifiedllvm/test/Transforms/InstCombine/pow_fp_int.ll
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/pow_fp_int16.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/gep-references-bb.ll
The file was modifiedllvm/test/Transforms/InstCombine/fputs-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/fputs-opt-size.ll
The file was modifiedllvm/test/Transforms/InstCombine/printf-2.ll
Commit ca3bdb57fa1ac98b711a735de048c12b5fdd8086 by i
[MC][ELF] Change SHT_LLVM_CALL_GRAPH_PROFILE relocations from SHT_RELA to SHT_REL

... even on targets preferring RELA. The section is only consumed by ld.lld
which can handle REL.

Follow-up to D104080 as I explained in the review. There are two advantages:

* The D104080 code only handles RELA, so arm/i386/mips32 etc may warn for -fprofile-use=/-fprofile-sample-use= usage.
* Decrease object file size for RELA targets

While here, change the relocation to relocate weights, instead of 0,1,2,3,..
I failed to catch the issue during review.
The file was modifiedllvm/test/tools/llvm-readobj/ELF/call-graph-profile.test
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/InputFiles.h
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedllvm/test/MC/ELF/cgprofile.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/demangle.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
Commit b36d214beda522ecea7062862be07b26cd36b5ba by sepavloff
[X86] Add description of FXAM instruction

Previously this instruction could be used only in assembler. This change
makes it available for compiler also. Scheduling information was copied
from FTST instruction, hopefully this can be a satisfactory approximation.

Differential Revision: https://reviews.llvm.org/D104853
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/resources-x87.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleZnver1.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-x87.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleAtom.td
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-x87.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleZnver2.td
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
The file was modifiedllvm/lib/Target/X86/X86SchedHaswell.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Broadwell/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver3/resources-x87.s
Commit ab1bd255939e23117706d79698b93f933fb114f4 by fraser
[RISCV] Permit larger RVV stacks and stack offsets

This patch teaches the compiler to generate code to handle larger RVV
stack sizes and stack offsets which resolve an amount larger than 2047
vector registers in size.

The previous behaviour was asserting on such large values as it was only
able to materialize the constant by feeding it to the 12-bit immediate
of an `ADDI` instruction. The compiler can now materialize this amount
into a temporary register before continuing with the computation.

A test case for this scenario is included which also checks that the
temporary register used to materialize the amount doesn't require an
additional spill slot over what we're already reserving for RVV code.

Reviewed By: rogfer01

Differential Revision: https://reviews.llvm.org/D104727
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/large-rvv-stack-size.mir
Commit f9b3840c3daf050d748f452a8105dfe661f8122e by Amara Emerson
[ARM] Fix crash in chained BFI combine due to incorrectly RAUW'ing a node.

For a bfi chain like:
a = bfi input, x, y
b = bfi a, x', y'

The previous code was RAUW'ing a with x, mutating the second 'b' bfi, and when
SelectionDAG's CSE code ended up deleting it unexpectedly, bad things happend.
There's no need to RAUW in this case because we can just return our newly
created replacement BFI node. It also looked incorrect because it didn't account
for other users of the 'a' bfi.

Since it seems that chains of more than 2 BFI nodes are hard/impossible to
produce without this combine kicking in at some point, I've removed that
functionality since it had no test coverage.

rdar://79095399

Differential Revision: https://reviews.llvm.org/D104868
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/ARM/bfi-chain-cse-crash.ll
Commit d07f43641f98a8e0024cf8e94ef98c7c912221d9 by martin
[LLD] [COFF] Fix handling of LTO comdats with nontrivial selection types after 728cc0075e5dfdb454eb

Commit 728cc0075e5dfdb454ebe6418b63bdffae71ec14 made comdat symbols
from LTO objects be treated as any regular comdat symbol. This works
great for symbols that actually are IMAGE_COMDAT_SELECT_ANY, but
if the symbols have a less trivial selection type that require comparing
either the section chunk size or contents, we can't check that before
actually doing the LTO compilation.

Therefore bring back one aspect of handling from before; that comdat
resolution with a leader from an LTO symbol is essentially skipped,
like it was before 728cc0075e5dfdb454ebe6418b63bdffae71ec14.

Differential Revision: https://reviews.llvm.org/D104605
The file was modifiedlld/COFF/InputFiles.cpp
The file was addedlld/test/COFF/lto-comdat-samesize.ll
Commit a08fc1361aa307874045edde8c7af7642f4713a0 by qiucofan
[PowerPC] Change VSRpRC allocation order

On PowerPC, VSRpRC represents the pairs of even and odd VSX register,
and VRRC corresponds to higher 32 VSX registers. In some cases, extra
copies are produced when handling incoming VRRC arguments with VSRpRC.

This patch changes allocation order of VSRpRC to eliminate this kind of
copy.

Stack frame sizes may increase if allocating non-volatile registers, and
some other vector copies happen. They need fix in future changes.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D104855
The file was modifiedllvm/test/CodeGen/PowerPC/dform-pair-load-store.ll
The file was modifiedllvm/test/CodeGen/PowerPC/spill-vec-pair.ll
The file was modifiedllvm/test/CodeGen/PowerPC/loop-p10-pair-prepare.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mma-phi-accs.ll
The file was modifiedllvm/test/CodeGen/PowerPC/paired-vector-intrinsics.ll
The file was modifiedllvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mma-acc-spill.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mma-intrinsics.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.td
The file was modifiedllvm/test/CodeGen/PowerPC/mma-acc-memops.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mma-outer-product.ll
Commit 536872a1f7a1f9fa72591e1424eaece39f5edd1a by nikita.ppv
[OpaquePtr] Enumerate global variable type

This is no longer implicitly enumerated through the pointer type.
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
Commit 18d7e822ab22e6747f01b0409ace5044733be162 by nikita.ppv
[OpaquePtr] Enumerate alloca type

This is no longer implicitly enumerated through the pointer type.
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
Commit 51e434fc2590d1d3ffa6545cd07290a238db2b88 by sjoerd.meijer
[AArch64] Custom lower <4 x i8> loads

This custom lowers <4 x i8> vector loads using a 32-bit load, followed by 2
SSHLL instructions to extend it to e.g. a <4 x i32> vector. Before, it was
really inefficient and expensive to construct a <4 x i32> for this as 4 byte
loads and 4 moves were used. With this improvement SLP vectorisation might for
example become profitable, see D103629.

Differential Revision: https://reviews.llvm.org/D104782
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-load-ext.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was removedllvm/test/CodeGen/AArch64/neon-extload.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vshift.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll
Commit effc3339f6c7702357471efc849c4fc31b4b1aad by sguelton
[llvm-cov] Enforce alignment of function records

Function Records are required to be aligned on 8 bytes. This is enforced for each
records except the first, when one relies on the default alignment within an
std::string. There's no such guarantee, and indeed on 32 bits for some
implementation of std::string this is not enforced.

Provide a portable implementation based on llvm's MemoryBuffer.

Differential Revision: https://reviews.llvm.org/D104745
The file was modifiedllvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
Commit 64f98aae40894cb0b281723c7f91e73705f551ce by david.spickett
[lldb] Fix memory tag unsupported test

This corrects the test added in
31f9960c38529ce805edf9764535eb0ce188cadf
and temporarily patched in
3b4aad1186e8e8e6f6c7887cb5e8d9bfd7d3ce2f.

This test checks that the memory tag read
command errors when you use it on a platform
without memory tagging.
(which is why we skip the test if you actually
have MTE)

The problem with this test is that there's
two levels of unsupported each with it's own
specific error.

On anything that isn't AArch64, there's no
tagging extension we support. So you're told
that that is the case. As in "this won't ever work".

When you're on AArch64 we know that MTE could
be present on the remote and when we find that it
isn't, we tell you that instead.

Expect a different error message on AArch64 to fix
the test.
The file was modifiedlldb/test/API/functionalities/memory/tag/TestMemoryTag.py
Commit 7b8ed2b8b6cb19f8f6aebd1f95702f96f23efea9 by nikita.ppv
[OpaquePtr] Split force-opaque-pointers test (NFC)

Separate out the case that uses llvm-dis without
--force-opaque-pointers. This will generally produce a different
result from the other cases, because things like global symbol
pointers will be non-opaque in this case.
The file was addedllvm/test/Other/force-opaque-ptrs-typed-dis.ll
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
Commit 7206ad04d585fd5300020f883debaef4429e03ee by nikita.ppv
[OpaquePtr] Allow alias to opaque pointer

By relaxing the LLParser pointer type assertion.
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
Commit 6478f3fb78b3e7cddb642dce0f39d5d4a976af1e by flo
[SCEV] Support single-cond range check idiom in applyLoopGuards.

This patch extends applyLoopGuards to detect a single-cond range check
idiom that InstCombine generates.

It extends applyLoopGuards to detect conditions of the form
(-C1 + X < C2). InstCombine will create this form when combining two
checks of the form (X u< C2 + C1) and (X >=u C1).

In practice, this enables us to correctly compute a tight trip count
bounds for code as in the function below. InstCombine will fold the
minimum iteration check created by LoopRotate with the user check (< 8).

    void unsigned_check(short *pred, unsigned width) {
        if (width < 8) {
            for (int x = 0; x < width; x++)
                pred[x] = pred[x] * pred[x];
        }
    }

As a consequence, LLVM creates dead vector loops for the code above,
e.g. see https://godbolt.org/z/cb8eTcqET

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

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D104741
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
Commit 487ac0b3eef22ba8f1707779d363ec7f49cc7702 by Raphael Isemann
[lldb] Skip tests failing with GCC due to LLDB not being able to call constructors

Tracked in llvm.org/pr50814

These tests fail with all GCC versions I tested (8.5, 9.4, 10.3, 11.1).
The file was modifiedlldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py
The file was modifiedlldb/test/API/lang/cpp/operators/TestCppOperators.py
The file was modifiedlldb/test/API/lang/cpp/constructors/TestCppConstructors.py
The file was modifiedlldb/test/API/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py
Commit 0adc66ff8377d26d1600fef36c9e2d8a962414d4 by Raphael Isemann
[lldb] Skip libstdc++ tests failing with GCC

Tracked in llvm.org/pr50861

These tests fail with all GCC versions I tested (8.5, 9.4, 10.3, 11.1).
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
Commit c3549d4d7a04d83ff559d2be77a9e74e798fdef4 by Raphael Isemann
[lldb] Skip TestDataFormatterSynthVal.py with GCC as the test compiler
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
Commit 0646e3625499b08a3ac9efd48396f3b463a19139 by gabor.marton
[Analyzer][solver] Fix crashes during symbol simplification

Consider the code
```
  void f(int a0, int b0, int c)
  {
      int a1 = a0 - b0;
      int b1 = (unsigned)a1 + c;
      if (c == 0) {
          int d = 7L / b1;
      }
  }
```
At the point of divisiion by `b1` that is considered to be non-zero,
which results in a new constraint for `$a0 - $b0 + $c`. The type
of this sym is unsigned, however, the simplified sym is `$a0 -
$b0` and its type is signed. This is probably the result of the
inherent improper handling of casts. Anyway, Range assignment
for constraints use this type information. Therefore, we must
make sure that first we simplify the symbol and only then we
assign the range.

Differential Revision: https://reviews.llvm.org/D104844
The file was addedclang/test/Analysis/solver-sym-simplification-with-proper-range-type.c
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was addedclang/test/Analysis/solver-sym-simplification-no-crash.c
The file was modifiedclang/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp
Commit 79c98279b6cdab6f208043865ab7b4ac4612cec5 by sjoerd.meijer
[SLP][AArch64] Precommit test for D103629, checking <4 x i8> loads. NFC.
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/loadi8.ll
Commit 6e5c4a443d7e354a37d7dcb82a65216679ab1b40 by david.spickett
[lldb] Re-enable GDB server client memory tag read tests

These were disabled in 473a3a773ea565612e836ae6c2093178c5a9eb72
because they failed on 32 bit platforms. (Arm for sure but I assume
any 32 bit)

This was due to the printf formatter used. These assumed
that types like uint64_t/size_t would be certain size/type and
that changes on 32 bit.

Instead use "z" to print the size_t and PRI<...> formatters
for the addr_t (always uint64_t) and the int32_t.
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 968980ef08955ee03f406e8078089b1f2eb571e3 by sander.desmalen
[GlobalISel] NFC: Change LLT::scalarOrVector to take ElementCount.

Reviewed By: aemerson

Differential Revision: https://reviews.llvm.org/D104452
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/include/llvm/Support/LowLevelTypeImpl.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/unittests/CodeGen/LowLevelTypeTest.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit e47027d091deb4a0774eab911411a27092a60916 by stuart.brady
[OpenCL] Use DW_LANG_OpenCL language tag for OpenCL C

Note regarding C++ for OpenCL:

   When compiling C++ for OpenCL, DW_LANG_C_plus_plus* is emitted.

   There is no DWARF language code defined for C++ for OpenCL as of yet,
   but DWARF issue 210514.1 has been raised to request one.

   In the mean time, continuing to emit DW_LANG_C_plus_plus* for C++ for
   OpenCL allows the potential to distinguish between C++ for OpenCL and
   OpenCL C in !DICompileUnit nodes, whereas using DW_LANG_OpenCL for
   C++ for OpenCL would prevent this.

   This change therefore leaves C++ for OpenCL as-is.

Reviewed By: shchenz, Anastasia

Differential Revision: https://reviews.llvm.org/D104118
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was addedclang/test/CodeGenOpenCL/debug-info-programming-language.cl
Commit 96f6873dff6e7087d56293c9ec3a2983d241a889 by jonathanchesterfield
[OpenMP][NFC] Drop unused headers from amdgpu plugin
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit f7b1fa6f5ebec5780e626aa48d582f2519a01632 by sguelton
[NFC] remove unreferenced function ResolveIPV4HostName

Differential Revision: https://reviews.llvm.org/D104856
The file was modifiedlldb/tools/debugserver/source/RNBSocket.cpp
Commit 2a7bb8494e9c58b44ad7142d8d309455cd669603 by andrzej.warzynski
[flang][driver] Add `-fno-analyzed-objects-for-unparse`

This patch adds a new option for the new Flang driver:
`-fno-analyzed-objects-for-unparse`. The semantics are similar to
`-funparse-typed-exprs-to-f18-fc` from `f18`. For consistency, the
latter is replaced with `-fno-analyzed-objects-for-unparse`.

The new option controls the behaviour of the unparser (i.e. the action
corresponding to `-fdebug-unparse`). The default behaviour is to use the
analyzed objects when unparsing. The new flag can be used to turn this
off, so that the original parse-tree objects are used. The analyzed
objects are generated during the semantic checks [1].

This patch also updates the semantics of
`-fno-analyzed-objects-for-unparse`/`-funparse-typed-exprs-to-f18-fc`
in `f18`, so that this flag is always taken into account when `Unparse`
is used (this way the semantics in `f18` and `flang-new` are identical).

The added test file is based on example from Peter Steinfeld.

[1]
https://github.com/llvm/llvm-project/blob/main/flang/docs/Semantics.md

Differential Revision: https://reviews.llvm.org/D103612
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedflang/lib/Frontend/FrontendActions.cpp
The file was modifiedflang/include/flang/Frontend/CompilerInvocation.h
The file was modifiedflang/test/Driver/driver-help.f90
The file was modifiedflang/tools/f18/flang
The file was modifiedflang/lib/Frontend/FrontendOptions.cpp
The file was modifiedflang/lib/Frontend/CompilerInvocation.cpp
The file was addedflang/test/Driver/unparse-use-analyzed.f95
The file was modifiedflang/tools/f18/f18.cpp
Commit 91053e327ccd27cb1ee66a7d4954d456ceeed5f6 by flo
[LV] Reflow comment for VectorizationCostTy (NFC).
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 3193133add7eeeaa3872c78aa959bacdc08e59d9 by Yaxun.Liu
[OpenCL] Do not include default header for preprocessor output as input

When clang driver is used with -save-temps to compile OpenCL program,
clang driver first launches clang -cc1 -E to generate preprocessor expansion output,
then launches clang -cc1 with the generated preprocessor expansion output as input
to generate LLVM IR.

Currently clang by default passes "-finclude-default-header" "-fdeclare-opencl-builtins"
in both steps, which causes default header included again in the second step, which
causes error.

This patch let clang not to include default header when input type is preprocessor expansion
output, which fixes the issue.

Reviewed by: Anastasia Stulova

Differential Revision: https://reviews.llvm.org/D104800
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/amdgpu-toolchain-opencl.cl
Commit 4921ecfc8194c11ec7c659ad1de11da6e8307361 by Yaxun.Liu
[clang] Fix build failure due to _S

_S is a reserved identifier in <ctype.h> on Solaris.
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 3aa6ca8def510b5c10e76899ad9b78f5ba4ea19c by kadircet
[clangd] Call malloc_trim in clangd-index-server periodically

Differential Revision: https://reviews.llvm.org/D104841
The file was modifiedclang-tools-extra/clangd/index/remote/server/Server.cpp
Commit 8f2bf93b5bd6a1d31e28e4144827b3f6c413ac85 by kadircet
[clangd] Introduce a log-prefix flag to remote-index-server

Differential Revision: https://reviews.llvm.org/D104843
The file was modifiedclang-tools-extra/clangd/index/remote/server/Server.cpp
The file was addedclang-tools-extra/clangd/test/remote-index/log-prefix.test
Commit c9acd2f32e6b4c10f6b1b94acb3418e47d645a7a by sander.desmalen
[GlobalISel] NFC: Change LLT::changeNumElements to LLT::changeElementCount.

Reviewed By: aemerson

Differential Revision: https://reviews.llvm.org/D104453
The file was modifiedllvm/include/llvm/Support/LowLevelTypeImpl.h
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/unittests/CodeGen/LowLevelTypeTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
Commit e00969c0b7d8ceed7489ca49a4869a357d5c8333 by koraq
[libc++][NFC] Rename include guard.
The file was modifiedlibcxx/include/__format/format_error.h
Commit c3ebb53eabb7f851687f66ada88aa16f768d76ce by andrzej.warzynski
[flang][unittest] Add a missing dependency

In https://reviews.llvm.org/D103612, a definition of an instance of
`Fortran::parser::AnalyzedObjectsAsFortran` was moved (that object is
used in unparsing). That, in turn, introduced a dependency of the unit
tests on the `FortranEvaluate` library, which defines
`AnalyzedObjectsAsFortran`.

That dependency was missed in D103612 and has caused shared-library
builds to fail. I'm submitting this without a review, as it's rather
straightforward omission.
The file was modifiedflang/unittests/Frontend/CMakeLists.txt
Commit 8a9ec39bd02fb05621ac4e68b50a6ca0f722ccd2 by kparzysz
[Hexagon] Convert getTypeAlignment to return Align

Plus some minor related changes of the same nature.
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
Commit c3cc9d1eb283373b5216e4b726c270bcfe3806d5 by jay.foad
[AMDGPU] Removed unused Predicate HasOffset3fBug. NFC.

The predicate definition didn't make sense anyway because it was defined
as being the opposite of what the name suggests.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.td
Commit aeab9d9570ac8cb554aff6e1af24a471fdf5b4e5 by sander.desmalen
[GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize.

To reflect that the size may be scalable, a TypeSize is returned
instead of an unsigned. In places where the result is used,
it currently relies on an implicit cast of TypeSize -> uint64_t,
which asserts that the type is not scalable.

This patch is NFC for fixed-width vectors.

Reviewed By: aemerson

Differential Revision: https://reviews.llvm.org/D104454
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/unittests/CodeGen/LowLevelTypeTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/include/llvm/Support/LowLevelTypeImpl.h
Commit 1076b6c4f022a024a54af9e6a0e9997472cb89ef by spatel
[Analysis] use better version of getLibFunc to check for alloc/free calls

There's no reason to use the weaker name-only analysis when we
have a function prototype to check (in fact, we probably should
not even have that name-only function exposed for general use,
but removing it requires auditing all of the callers).

The version of getLibFunc that takes a Function argument also
does some prototype checking to make sure the arguments/return
type match the expected signature of a real library call.

This is NFC-intended because the code in MemoryBuiltins does its
own function signature checking. For now, that means there may
be some redundancy in the checking, but that should not be above
the noise for compile-time. Ideally, we can move the checks to
a single location.

There's still a hole in the logic that allows the example in
https://llvm.org/PR50846 to cause a compiler crash.
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
Commit 4d8156ef87f8bc6fdb8ed03b2f87123d02ac7321 by Raphael Isemann
[lldb-vscode] Make extension contribute breakpoints use new package.json schema

See https://code.visualstudio.com/updates/v1_42#_implement-a-debug-adapter-inside-an-extension

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D104882
The file was modifiedlldb/tools/lldb-vscode/package.json
Commit 1e6303e60ca5af4fbe7ca728572fd65666a98271 by nikita.ppv
[OpaquePtr] Allow globals with opaque pointer value type

Do this by making opaque pointers a valid pointer element type,
for which we implicitly create an opaque pointer (moving the logic
from getPointerTo into PointerType::get).

We'll never create something like a "pointer to opaque pointer",
but accept it in the API, because a lot of code reasonably assumes
that you can create a pointer to pointer type.

Differential Revision: https://reviews.llvm.org/D104902
The file was modifiedllvm/test/Assembler/opaque-ptr.ll
The file was modifiedllvm/lib/IR/Type.cpp
The file was removedllvm/test/Assembler/invalid-opaque-ptr.ll
Commit b732e6c9a8438e5204ac96c8ca76f9b11abf98ff by sander.desmalen
Revert "[GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize."

This patch seems to be causing build errors, reverting it for now.

This reverts commit aeab9d9570ac8cb554aff6e1af24a471fdf5b4e5.
The file was modifiedllvm/unittests/CodeGen/LowLevelTypeTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/include/llvm/Support/LowLevelTypeImpl.h
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
Commit b7f24923a3027e66b78b56174e9950c146203104 by lxfind
[Coroutines] Remove all legacy test command

With new pm becomes the default, the old-style test command becomes exactly the same as the new test command, i.e. the two commands are now redundant.
We should just delete the old command. (unless someone wants to add enable-new-pm=0 to all old commands.

Differential Revision: https://reviews.llvm.org/D104895
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-alloca.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-elide.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-resume-values2.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-03.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-catchswitch.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail2.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-padding.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-eh-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-sink-lifetime-03.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-03.ll
The file was modifiedllvm/test/Transforms/Coroutines/ArgAddr.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-elide-musttail.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-04.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon.ll
The file was modifiedllvm/test/Transforms/Coroutines/ex2.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-unreachable.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-param-copy.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloc-with-param-O2.ll
The file was modifiedllvm/test/Transforms/Coroutines/ex3.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-defs-before-corobegin.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-once-value.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-hidden.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-early.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-eh-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail1.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-inline.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-once-value2.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-resume-values.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-dbg.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-unreachable.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-swifterror.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-06.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-cleanup.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-heap-elide.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-promise.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-value.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-alloc.ll
The file was modifiedllvm/test/Transforms/Coroutines/ex1.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug-O2.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-async-unreachable.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-07.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-materialize.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-sink-lifetime-04.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-after-phi.ll
The file was modifiedllvm/test/Transforms/Coroutines/ex5.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-frame.ll
The file was modifiedllvm/test/Transforms/Coroutines/restart-trigger.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail3.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-corobegin.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-02.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-catchswitch-cleanuppad.ll
The file was modifiedllvm/test/Transforms/Coroutines/ex0.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-05.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-02.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-arrayalloca.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was modifiedllvm/test/Transforms/Coroutines/smoketest.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-02.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-sink-lifetime-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-04.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-05.ll
The file was modifiedllvm/test/Transforms/Coroutines/ex4.ll
The file was modifiedllvm/test/Transforms/Coroutines/phi-coro-end.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloc-with-param-O0.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/no-suspend.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-alloca-08.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-02.ll
Commit e15e1417b9fdd628476736c7b1637779752ae3c7 by hgreving
[ModuloSchedule] Pass loop block explicitly to kernel rewriter.

This change is NFC upstream. We pass in the loop's block to the kernel
rewriter explicitly, instead of assuming it's the loop's top block. This
change is made for downstream targets where this assumption doesn't hold.

Differential Revision: https://reviews.llvm.org/D104811
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
Commit fb0dbc54813473f438bc07f38ef61557de2da216 by herhut
[mlir][memref] Introduce UnrankedMemRefOf to tablegen definitions

This enables specifying operations that only support some element types for
unranked memrefs.

Differential Revision: https://reviews.llvm.org/D104906
The file was modifiedmlir/include/mlir/IR/OpBase.td
Commit e80a21d632900341258a20134e43ad76a2c93c81 by listmail
[test][instcombine] Add test cases for all x.with.overflow overflow checks

For each of the x.with.overflow variants, if only the overflow bit is consumed, we can generate a direct overflow comparison.  This precommits tests for each of the variants and tries to cover interesting cornercases.
The file was modifiedllvm/test/Transforms/InstCombine/umulo.ll
The file was addedllvm/test/Transforms/InstCombine/smulo.ll
The file was addedllvm/test/Transforms/InstCombine/ssubo.ll
The file was addedllvm/test/Transforms/InstCombine/usubo.ll
The file was addedllvm/test/Transforms/InstCombine/saddo.ll
Commit 9eaf0d120d3255c43789213c499513ba1be9dde7 by jdenny.ornl
[UpdateCCTestChecks] Support --check-globals

This option is already supported by update_test_checks.py, but it can
also be useful in update_cc_test_checks.py.  For example, I'd like to
use it in OpenMP offload codegen tests to check global variables like
`.offload_maptypes*`.

Reviewed By: jdoerfert, arichardson, ggeorgakoudis

Differential Revision: https://reviews.llvm.org/D104714
The file was addedclang/test/utils/update_cc_test_checks/check-globals.test
The file was addedclang/test/utils/update_cc_test_checks/Inputs/lit.cfg.example
The file was addedclang/test/utils/update_cc_test_checks/Inputs/check-globals.c
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedclang/test/utils/update_cc_test_checks/lit.local.cfg
Commit 2cd23eb2438238b1297ff7b4368d673c449ff24f by listmail
[instcombine] Fold overflow check using umulo to comparison

If we have a umul.with.overflow where the multiply result is not used and one of the operands is a constant, we can perform the overflow check cheaper with a comparison then by performing the multiply and extracting the overflow flag.

(Noticed when looking at the conditions SCEV emits for overflow checks.)

Differential Revision: https://reviews.llvm.org/D104665
The file was modifiedllvm/test/Transforms/InstCombine/umulo.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit d43b23608ad664f02f56e965ca78916bde220950 by ezhulenev
[mlir:Async] Add the size parameter to the async.group

Specify the `!async.group` size (the number of tokens that will be added to it) at construction time. `async.await_all` operation can potentially race with `async.execute` operations that keep updating the group, for this reason it is required to know upfront how many tokens will be added to the group.

Reviewed By: ftynse, herhut

Differential Revision: https://reviews.llvm.org/D104780
The file was modifiedmlir/lib/ExecutionEngine/AsyncRuntime.cpp
The file was modifiedmlir/test/mlir-cpu-runner/async-group.mlir
The file was modifiedmlir/test/Dialect/Async/async-to-async-runtime.mlir
The file was modifiedmlir/test/mlir-cpu-runner/async-error.mlir
The file was modifiedmlir/test/Dialect/Async/runtime.mlir
The file was modifiedmlir/test/Conversion/AsyncToLLVM/convert-runtime-to-llvm.mlir
The file was modifiedmlir/test/Dialect/Async/ops.mlir
The file was modifiedmlir/include/mlir/ExecutionEngine/AsyncRuntime.h
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
The file was modifiedmlir/test/Conversion/AsyncToLLVM/convert-to-llvm.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
Commit 86ad0af87054c3cccd68d32e103a6f1f6c6194c7 by ezhulenev
[mlir:Async] Implement recursive async work splitting for scf.parallel operation (async-parallel-for pass)

Depends On D104780

Recursive work splitting instead of sequential async tasks submission gives ~20%-30% speedup in microbenchmarks.

Algorithm outline:
1. Collapse scf.parallel dimensions into a single dimension
2. Compute the block size for the parallel operations from the 1d problem size
3. Launch parallel tasks
4. Each parallel task reconstructs its own bounds in the original multi-dimensional iteration space
5. Each parallel task computes the original parallel operation body using scf.for loop nest

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D104850
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
The file was addedmlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
The file was removedmlir/test/Dialect/Async/async-parallel-for.mlir
The file was addedmlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.h
The file was addedmlir/test/Dialect/Async/async-parallel-for-seq-dispatch.mlir
Commit cc5ee857f93748c392e38ea38b900847a6e8d6f2 by flo
[LV] Doxygenize VectorizationFactor member comments (NFC).

Minor cleanup for follow-up patch.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
Commit 9714d08e9420b02e60265802528c31a1478ee3be by listmail
[test] Add coverage for existing overflow rule with uadd.with.overflow
The file was addedllvm/test/Transforms/InstCombine/uaddo2.ll
Commit fda790fbfa0cba426d5e3787429a51e09ec64c6d by thakis
[clang] Make fewer assumptions about path to lit.site.cfg after 9eaf0d120d32
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/lit.cfg.example
The file was modifiedclang/test/utils/update_cc_test_checks/lit.local.cfg
The file was modifiedclang/test/lit.site.cfg.py.in
Commit f66b8fdc0a0b4b810fa1f1852ef33c8be143b6ea by jonathanchesterfield
[libomptarget][amdgpu] Build openmp for two more targets

[libomptarget][amdgpu] Build openmp for two more targets

The 4800U APU is a gfx902 and the MI100 accelerator is a gfx908.
Both numbers are listed in ROCT topology.c

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D104922
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
Commit 77ae9b364a9d9b99501163761313cefbb345cea7 by david.green
[AArch64] Extra negated shift tests. NFC
The file was addedllvm/test/CodeGen/AArch64/sub-splat-sub.ll
The file was modifiedllvm/test/CodeGen/AArch64/neon-shift-neg.ll
Commit cc60fa2685bdbff889df826a1bfd5e52ffd163c8 by jdenny.ornl
[UpdateCCTestChecks] Fix new test from 9eaf0d120d32

`clang/test/utils/update_cc_test_checks/check-globals.test` from
9eaf0d120d32 broke at:

* <https://lab.llvm.org/buildbot/#/builders/110/builds/4415>
* <https://lab.llvm.org/buildbot/#/builders/5/builds/9076>

The problem is non-deterministic test order because the
`.lit_test_times.txt` from one run of a sample test suite affects the
other.
The file was modifiedclang/test/utils/update_cc_test_checks/check-globals.test
Commit 0f3bc00a7d3cb223b4d5639723b8f71341c9df1e by craig.topper
[X86] Simplify part of the isel for X86ISD::FCMP/STRICT_FCMP/STRICT_FCMPS.

We don't need to have the compare output a value and then copy it
to FPSW for use by FNSTSW. Instead we can just have the compare
output Glue and glue the FNSTSW to it. InstrEmitter effectively
performed this optimization when emitting the Machine IR. Doing
it directly simplifies the codes and reduces the work in
InstrEmitter. There's no change in the machine IR at the end of
isel before and after this change.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit b8c8bb07692cfb9a78049fd2fb5c46a91ee2e90f by david.green
[DAG] Fold neg(splat(neg(x)) -> splat(x)

This add as a fold of sub(0, splat(sub(0, x))) -> splat(x). This can
come up in the lowering of right shifts under AArch64, where we generate
a shift left of a negated number.

Differential Revision: https://reviews.llvm.org/D103755
The file was modifiedllvm/test/CodeGen/AArch64/sub-splat-sub.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AArch64/neon-shift-neg.ll
Commit 3cc5d4ff8e4e59cc45f370655c7762e36b223d1d by pklausler
[flang] Fix generic/specific procedure confusion

A recent change that extended semantic analysis for actual arguments
that associate with procedure dummy arguments exposed some bugs in
regression test suites due to points of confusion in symbol table
handling in situations where a generic interface contains a specific
procedure of the same name.  When passing that name as an actual
argument, for example, it's necessary to take this possibility into
account because the symbol for the generic interface shadows the
symbol of the same name for the specific procedure, which is
what needs to be checked.  So add a small utility that bypasses
the symbol for a generic interface in this case, and use it
where needed.

Differential Revision: https://reviews.llvm.org/D104929
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Evaluate/fold-reduction.h
The file was modifiedflang/runtime/type-info.h
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/lib/Semantics/expression.cpp
Commit ad4bb8280952c2cacf497e30560ee94c119b36e0 by nikita.ppv
[IR] Add Type::isOpaquePointerTy() helper (NFC)

Shortcut to check for opaque pointers without a cast to PointerType.
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/include/llvm/IR/Type.h
The file was modifiedllvm/lib/IR/Type.cpp
Commit 585496803ca25cbbafc942355f715cce46d736fb by arthur.j.odwyer
[libc++] Enable the rvalue overloads of operator<< and operator>> even in C++03.

Continuing to eliminate no-longer-needed uses of _LIBCPP_CXX03_LANG.

Differential Revision: https://reviews.llvm.org/D104725
The file was modifiedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/rvalue.pass.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/not_istreamable.verify.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/not_ostreamable.verify.cpp
The file was modifiedlibcxx/include/istream
The file was modifiedlibcxx/include/ostream
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp
Commit 5b2573e9c7c9fdbd80cb58711714955479573054 by nikita.ppv
[OpaquePtr] Enumerate GlobalAlias value type

The type is no longer implicitly enumerated through the pointer
type.
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
Commit 34a164c93857f609862d74455d6801fe482ead8a by ezhulenev
[mlir:Async] Submit accidentally omitted changes

Accidentally pushed old branches that did not include all the changes discussed in the PRs.

https://reviews.llvm.org/rGd43b23608ad664f02f56e965ca78916bde220950
https://reviews.llvm.org/rG86ad0af87054c3cccd68d32e103a6f1f6c6194c7

Differential Revision: https://reviews.llvm.org/D104943
The file was modifiedmlir/test/Dialect/Async/async-parallel-for-seq-dispatch.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.h
The file was modifiedmlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
Commit 3638085ff01332afbd2eb555a32821802f0643c8 by hoy
[Coroutines] Define __coro_frame_ty in function scope

Types should be defined in function scope instead of a local lexical scope. Field types should be defined inside in its parent type scope.

We were seeing a type defined in a local scope causing trouble to the dwarf emitter where a context is required to be a funciton scope, a namespace or a global scope.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D104937
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
Commit b2674670f264e2a80c79cb8bf2186f1ab3b791e6 by ulrich.weigand
[SystemZ] Add support for .reloc assembler directive

Add support for the .reloc directive along the lines of
other back-ends.

This fixes a regression after https://reviews.llvm.org/D104080
was merged, since that patch presupposed support for .reloc.
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
The file was addedllvm/test/MC/SystemZ/reloc-directive.s
Commit 2508733e1be28da8c53d36c109007b778225ec7a by i
[ELF] --sysroot: change sysrooted script to not fall back for an absolute path

Modify the D13209 logic: for a script inside the sysroot, if an absolute path
does not exist, report an error instead of falling back to the path without the
sysroot prefix.

This matches GNU ld, which makes sense to me: we don't want to find an arbitrary
file in the host.

Reviewed By: ikudrin

Differential Revision: https://reviews.llvm.org/D104894
The file was modifiedlld/test/ELF/linkerscript/group.s
The file was modifiedlld/ELF/ScriptParser.cpp
Commit bdb03557c05942d951e1c9b5d7033613323c3104 by martin
[llvm-rc] Don't rewrite the arch in the default triple unless necessary

When the default target arch isn't one that is supported as a
windows target, we want to set a suitable architecture (so that
Clang tests that run plain 'llvm-rc' succeed checks for e.g.
"#ifdef _WIN32" even for llvm builds that default to e.g. ppc64).

But if the default target architecture is usable, don't rewrite it.
(Rewriting it, by e.g. "T.setArch(T.getArch())", normalizes the
spelling of the architecture, e.g. changing i686 to i386. Such a
change can make clang unable to find the right sysroot.)

This can't, unfortunately, practically be tested very well because
it is entirely dependent on the default triple of the llvm build.

Differential Revision: https://reviews.llvm.org/D104589
The file was modifiedllvm/tools/llvm-rc/llvm-rc.cpp
Commit d646157146ccda93cd72dcbaff4a554c61ed9586 by vsavchenko
[analyzer] Fix assertion failure on code with transparent unions

rdar://76948312

Differential Revision: https://reviews.llvm.org/D104716
The file was addedclang/test/Analysis/transparent_union_bug.c
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
Commit 4e22c7265d86419f15f9edab5e0ebf2b55aa4295 by nemanja.i.ibm
[PowerPC] Disable combine 64-bit bswap(load) without LDBRX

This causes failures on the big endian bootstrap bot.
Disabling this combine temporarily until I can get a proper fix.
The file was modifiedllvm/test/CodeGen/PowerPC/bswap-load-store.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ld-bswap64-no-ldbrx.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 9ce02ea8c941706385c24240b33b307034b07986 by huberjn
[OpenMP] Add Module metadata for OpenMP compilation

This patch adds a module level metadata flag indicating that the module
was compiled with the `-fopenmp` flag. This will make it easier for
passes like OpenMPOpt to determine if it should be run.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D102361
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/ordered_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
Commit 5ccb7424fab3bc8bf6cb2ced989cbd86ec8ccff6 by huberjn
[OpenMP] Change OpenMPOpt to check openmp metadata

The metadata added in D102361 introduces a module flag that we can check
to determine if the module was compiled with `-fopenmp` enables. We can
now check for the precense of this instead of scanning the call graph
for OpenMP runtime functions.

Depends on D102361

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D102423
The file was modifiedllvm/test/Transforms/OpenMP/icv_tracking.ll
The file was modifiedllvm/test/Transforms/OpenMP/replace_globalization.ll
The file was modifiedllvm/test/Transforms/OpenMP/parallel_region_merging.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/openmp-opt-module.ll
The file was modifiedllvm/test/Transforms/OpenMP/deduplication.ll
The file was modifiedllvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll
The file was modifiedllvm/test/Transforms/OpenMP/values_in_offload_arrays.ll
The file was modifiedllvm/test/Transforms/OpenMP/parallel_deletion.ll
The file was modifiedllvm/test/Transforms/OpenMP/remove_globalization.ll
The file was modifiedllvm/test/Transforms/OpenMP/gpu_kernel_detection_remarks.ll
The file was modifiedllvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
The file was modifiedllvm/test/Transforms/OpenMP/icv_remarks.ll
The file was modifiedllvm/test/Transforms/OpenMP/rtf_type_checking.ll
The file was modifiedllvm/test/Transforms/OpenMP/single_threaded_execution.ll
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/OpenMPOpt.h
The file was modifiedllvm/test/Transforms/OpenMP/globalization_remarks.ll
The file was modifiedllvm/test/Transforms/OpenMP/deduplication_remarks.ll
The file was modifiedllvm/test/Transforms/OpenMP/parallel_deletion_remarks.ll
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes_amdgcn.ll
Commit 160559344026824ee0b510741c7906c0e165f9a7 by aqjune
[SimplifyLibCalls] Fix memchr opt to use CreateLogicalAnd

This fixes a bug at LibCallSimplifier::optimizeMemChr which does the following transformation:

```
// memchr("\r\n", C, 2) != nullptr -> (1 << C & ((1 << '\r') | (1 << '\n')))
// != 0
//   after bounds check.
```

As written above, a bounds check on C (whether it is less than integer bitwidth) is done before doing `1 << C` otherwise 1 << C will overflow.
If the bounds check is false, the result of (1 << C & ...) must not be used at all, otherwise the result of shift (which is poison) will contaminate the whole results.
A correct way to encode this is `select i1 (bounds check), (1 << C & ...), false`  because select does not allow the unused operand to contaminate the result.
However, this optimization was introducing `and (bounds check), (1 << C & ...)` which cannot do that.

The bug was found from compilation of this C++ code: https://reviews.llvm.org/rG2fd3037ac615#1007197

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D104901
The file was modifiedllvm/test/Transforms/InstCombine/strchr-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/memchr.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit 4cf7c6c6a44dba6d7f3c13059f966412df89fe75 by Adrian Prantl
Change PathMappingList::RemapPath to return an optional result (NFC)

This is an NFC modernization refactoring that replaces the combination
of a bool return + reference argument, with an Optional return value.

Differential Revision: https://reviews.llvm.org/D104404
The file was modifiedlldb/source/Target/PathMappingList.cpp
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/include/lldb/Target/PathMappingList.h
Commit c8d0d8a8a16e52bc0d6856f36065f46da19b1713 by epastor
[ms] [llvm-ml] Add support for ALIGN, EVEN, and ORG directives

Match ML.EXE's behavior for ALIGN, EVEN, and ORG directives both at file level and in STRUCTs.

We currently reject negative offsets passed to ORG inside STRUCTs (in ML.EXE and ML64.EXE, they wrap around as for an unsigned 32-bit integer).

Also, if a STRUCT is declared using an ORG directive, no value of that type can be defined.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D92507
The file was addedllvm/test/tools/llvm-ml/align_directives.asm
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp
The file was addedllvm/test/tools/llvm-ml/align_errors.asm
Commit 8d5bf0709da893cee20f9b3100bf1bcd4a5f0210 by efriedma
[NFC] Prefer ConstantRange::makeExactICmpRegion over makeAllowedICmpRegion

The implementation is identical, but it makes the semantics a bit more
obvious.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 4eabb12057616f360b2329f63c0379eced3135b4 by jingham
Add support for the NSMutableDictionary variant: "__NSFrozenDictionaryM"

This was an oversight of the commit: bb93483c119b92c1ec2b7a58505e21b9dce6a333 that
added support for the Frozen variants.  Also added a test case for the way that
currently produces one of these variants (a copy).
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m
The file was modifiedlldb/source/Plugins/Language/ObjC/NSDictionary.cpp
Commit ffc0533855871f4c784f6535044ce7c2bd076392 by Jonas Devlieghere
[lldb] Use the non-locking variant of objc_copyRealizedClassList

Avoid standing the Objective-C runtime lock by calling
objc_copyRealizedClassList_nolock instead of objc_copyRealizedClassList.

We already guarantee that no other threads can run while we're running
this utility expression, similar to when we parse the data ourselves
from the gdb_objc_realized_classes struct.

Worst case this will crash if the list is getting edited, which won't do
any harm and we'll just try again later.

Differential revision: https://reviews.llvm.org/D104951
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Commit ad14b5b008e2f643cb989ec645f12bf26a8659bb by mizvekov
[clang] Stop providing builtin overload candidate for relational function pointer comparisons

Word on the grapevine was that the committee had some discussion that
ended with unanimous agreement on eliminating relational function pointer comparisons.

We wanted to be bold and just ban all of them cold turkey.
But then we chickened out at the last second and are going for
eliminating just the spaceship overload candidate instead, for now.

See D104680 for reference.

This should be fine and "safe", because the only possible semantic change this
would cause is that overload resolution could possibly be ambiguous if
there was another viable candidate equally as good.

But to save face a little we are going to:
* Issue an "error" for three-way comparisons on function pointers.
  But all this is doing really is changing one vague error message,
  from an "invalid operands to binary expression" into an
  "ordered comparison of function pointers", which sounds more like we mean business.
* Otherwise "warn" that comparing function pointers like that is totally
  not cool (unless we are told to keep quiet about this).

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

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D104892
The file was modifiedclang/test/CXX/drs/dr15xx.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/compare.c
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/test/CXX/drs/dr3xx.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/coverage-module-unloaded.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/CXX/class/class.compare/class.spaceship/p2.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/SemaTemplate/resolve-single-template-id.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/test/FixIt/fixit.cpp
The file was modifiedclang/test/Parser/cxx-template-argument.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was addedclang/test/SemaCXX/compare-function-pointer.cpp
Commit 557b101ce714e39438ba1d39c4c50b03e12fcb96 by ajcbik
[mlir][sparse] add print methods to Merger (for debugging)

Reviewed By: gussmith23

Differential Revision: https://reviews.llvm.org/D104939
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 4506f614cb6983a16d117cf77a968608e66d7a5c by Duncan P. N. Exon Smith
OpaquePtr: Reject 'ptr*' again when parsing textual IR

Bring back the testcase dropped in
1e6303e60ca5af4fbe7ca728572fd65666a98271 and get it passing by checking
explicitly for `ptr*` in LLParser. Uses `Type::isOpaquePointerTy()` from
ad4bb8280952c2cacf497e30560ee94c119b36e0.

Differential Revision: https://reviews.llvm.org/D104938
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was addedllvm/test/Assembler/invalid-opaque-ptr-addrspace.ll
The file was addedllvm/test/Assembler/invalid-opaque-ptr.ll
Commit fdd4c199a1ec68a231ea0086239e7d8287a40fad by nikita.ppv
Revert "[InstCombine] Make indexed compare fold opaque ptr compatible"

This reverts commit 5cb20ef8a235c2027489a196bba27630ca21a00b.

Assertion failures with this patch were reported on
https://reviews.llvm.org/rG5cb20ef8a235, revert for now.
The file was modifiedllvm/test/Transforms/InstCombine/indexed-gep-compares.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 2e9c75daffddd65e37c3236708b5b133e6f5f2f5 by sivachandra
[libc] Use __builtin_ctzll instead of __builtin_ctzl in elements_x86.h.

__builtin_ctzl takes an unsigned long argument which need not be 64-bit
long on all platforms. Using __builtin_ctzll, which takes an unsigned
long long argument, ensures that 64-bit values will be handled on a
wider range of platforms.

Without this change, the test corresponding to M512 fails in Windows.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D104897
The file was modifiedlibc/src/string/memory_utils/elements_x86.h
Commit 45f6d5522f8d9b6439a40885ed30ad898089a2cd by browneee
[DFSan] Change shadow and origin memory layouts to match MSan.

Previously on x86_64:

  +--------------------+ 0x800000000000 (top of memory)
  | application memory |
  +--------------------+ 0x700000008000 (kAppAddr)
  |                    |
  |       unused       |
  |                    |
  +--------------------+ 0x300000000000 (kUnusedAddr)
  |       origin       |
  +--------------------+ 0x200000008000 (kOriginAddr)
  |       unused       |
  +--------------------+ 0x200000000000
  |   shadow memory    |
  +--------------------+ 0x100000008000 (kShadowAddr)
  |       unused       |
  +--------------------+ 0x000000010000
  | reserved by kernel |
  +--------------------+ 0x000000000000

  MEM_TO_SHADOW(mem) = mem & ~0x600000000000
  SHADOW_TO_ORIGIN(shadow) = kOriginAddr - kShadowAddr + shadow

Now for x86_64:

  +--------------------+ 0x800000000000 (top of memory)
  |    application 3   |
  +--------------------+ 0x700000000000
  |      invalid       |
  +--------------------+ 0x610000000000
  |      origin 1      |
  +--------------------+ 0x600000000000
  |    application 2   |
  +--------------------+ 0x510000000000
  |      shadow 1      |
  +--------------------+ 0x500000000000
  |      invalid       |
  +--------------------+ 0x400000000000
  |      origin 3      |
  +--------------------+ 0x300000000000
  |      shadow 3      |
  +--------------------+ 0x200000000000
  |      origin 2      |
  +--------------------+ 0x110000000000
  |      invalid       |
  +--------------------+ 0x100000000000
  |      shadow 2      |
  +--------------------+ 0x010000000000
  |    application 1   |
  +--------------------+ 0x000000000000

  MEM_TO_SHADOW(mem) = mem ^ 0x500000000000
  SHADOW_TO_ORIGIN(shadow) = shadow + 0x100000000000

Reviewed By: stephan.yichao.zhao, gbalats

Differential Revision: https://reviews.llvm.org/D104896
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_load.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/load.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_store.ll
The file was modifiedclang/docs/DataFlowSanitizerDesign.rst
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/store.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedcompiler-rt/test/dfsan/origin_invalid.c
The file was modifiedcompiler-rt/lib/dfsan/dfsan_platform.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan_allocator.cpp
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/atomics.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/basic.ll
Commit 50ad3478bdd3f0643ee94f6663293af5b3c27afe by jonathanchesterfield
Disable ReplaceLDS pass, patch up tests to match

Most tests passed with an extra argument to explicitly enable the pass.
One does not, deleted it as part of this change. I can't see why the codegen
would be different between default on and default off but switched on. It
can be retrieved from the project history.

This would be a revert, but git revert was not clean. Disabling the pass
and leaving it in tree is less likely to cause breakage elsewhere than
patching up the git revert conflicts on unfamiliar code. It'll be landed
without review, as @hsmhsm is believed unavailable at present.

Differential Revision: https://reviews.llvm.org/D104962
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-indirect-call-diamond-shape.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-call-diamond-shape.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-global-scope-use.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-within-phi-inst.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-indirect-call-signature-match.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-call-selected_functions.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-within-const-expr1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-indirect-call-selected_functions.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-inline-asm-call.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-same-lds.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-multiple-lds.ll
The file was removedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-lds-offsets.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-not-reachable-lds.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-small-lds.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-within-const-expr2.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-kernel-only-used-lds.ll
Commit 36003c20ada6abf636c112869e3405189cab903d by yuanke.luo
[X86] Selecting fld0 for undefined value in fast ISEL.

When set opt-bisect-limit to some value that is less than ISel pass
in command line and CurBisectNum expired, "DAG to DAG" pass lower
its opt level to O0. However "processimpdefs" and "X86 FP Stackifier"
is not stopped due to the CurBisectNum expiration. So undefined fp0
is generated. This cause crash in the "X86 FP Stackifier" pass,
because Stackifier doesn't expect any undefined fp value.

Here is the scenario that cause compiler crash.

  successors: %bb.26
  liveins: $r14
    ST_FPrr $st0, implicit-def $fpsw, implicit $fpcw
    renamable $rdi = MOV64ri @.str.3.16422
    renamable $rdx = LEA64r %stack.6, 1, $noreg, 0, $noreg
    ADJCALLSTACKDOWN64 0, 0, 0, implicit-def $rsp, implicit-def dead
    $eflags, implicit-def $ssp, implicit $rsp, implicit $ssp
    dead $esi = MOV32r0 implicit-def dead $eflags, implicit-def $rsi
    CALL64pcrel32 @foo, implicit $rsp, implicit $ssp, implicit $rdi,
    implicit $rsi, implicit $rdx, implicit-def dead $fp0
    renamable $xmm0 = MOVSDrm_alt %stack.10, 1, $noreg, 0, $noreg :: (load 8
    from %stack.10)
    ADJCALLSTACKUP64 0, 0, implicit-def $rsp, implicit-def dead $eflags,
    implicit-def $ssp, implicit $rsp, implicit $ssp
    renamable $fp2 = CHS_Fp80 killed undef renamable $fp0, implicit-def
    $fpsw
    JMP_1 %bb.26
The CALL64pcrel32 mark fp0 dead, so llvm free the stack slot for fp0
and the stack become empty. In the late instruction CHS_Fp80, it use
undefined register fp0, the original code assume there must be a stack
slot for the src register (fp0) without respecting it is undefined,
so llvm report error.

We have some discussion in https://reviews.llvm.org/D104440 and we
decide to fix it in fast ISel. The fix is to lower undefined fp value to
zero value, so that it release the burden of "X86 FP Stackifier" pass.
Thank Craig for the suggestion and the initial patch to fix it.

Differential Revision: https://reviews.llvm.org/D104678
The file was addedllvm/test/CodeGen/X86/fast-isel-undef-fp.ll
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
Commit e074d580b28b8cdf31fc4813cbc886ef5149d203 by epastor
[ms] [llvm-ml] Disable C-style comments
The file was modifiedllvm/test/tools/llvm-ml/basic_data.asm
The file was modifiedllvm/test/tools/llvm-ml/dot_operator.asm
The file was modifiedllvm/test/tools/llvm-ml/reserved_words_conflict.asm
The file was modifiedllvm/test/tools/llvm-ml/struct.asm
The file was modifiedllvm/test/tools/llvm-ml/include.asm
The file was modifiedllvm/test/tools/llvm-ml/run.asm
The file was modifiedllvm/test/tools/llvm-ml/struct_errors.asm
The file was modifiedllvm/test/tools/llvm-ml/variable.asm
The file was modifiedllvm/test/tools/llvm-ml/line_continuations.asm
The file was modifiedllvm/test/tools/llvm-ml/builtin_types.asm
The file was modifiedllvm/test/tools/llvm-ml/proc.asm
The file was modifiedllvm/test/tools/llvm-ml/radix.asm
The file was modifiedllvm/test/tools/llvm-ml/ml32-context.asm
The file was modifiedllvm/test/tools/llvm-ml/type_operators.asm
The file was modifiedllvm/test/tools/llvm-ml/proc_frame.asm
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
The file was modifiedllvm/test/tools/llvm-ml/rip-relative-addressing.asm
Commit 043ce4e6bdd376ff460d78446d1a6b94c6e0f18c by gusss
[MLIR][Sparse] Move `buildLattices` into Merger

This allows us to use `buildLattices` in the `Merger` unittests.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D104879
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
Commit d4f4a1ba626d7c3e4442d6f68feb79d56eba9601 by craig.topper
[RISCV] Add DAG combine to detect opportunities to replace (i64 (any_extend (i32 X)) with sign_extend.

If type legalization is going to insert a sign_extend for other users
of X and we can fold the sign_extend into ADDW/MULW/SUBW, it is
better to replace the ANY_EXTEND so we don't end up with a separate
ADD/MUL/SUB instruction for the users of the ANY_EXTEND.

I'm only handling setcc uses right now, but there are other
instructions that force sign_extends like ashr.

There are probably other *W instructions we could use in addition
to ADDW/SUBW/MULW.

My motivating case was a loop terminating compare and a phi use
as seen in the new test file.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D104581
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/aext-to-sext.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb.ll
Commit c8f3f46c6983b5a87a0a6fc9d9bb476883bee801 by saurabh.jhaa
[Docs] Minor fixes with language extension docs

There were some issues in the patch https://reviews.llvm.org/D104198. I also forgot to address one comment. This patch addresses these.

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D104971
The file was modifiedclang/docs/LanguageExtensions.rst
Commit 779d2b0a427316e9f425b0854ed4465791a4d98c by jim
[RISCV][NFC] Combine the control flow for different RetOp of interrupt function

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D104838
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 3255db4919f1b06736f391a0ae670f273c0ba09e by tbaeder
[clang][tests] Specify unwindlib in aix-ld tests

Clang can be configured with a different default unwindlib, for example
gcc. In that case, -lunwind will not be present in the output.

Fix this by explicitly specifying libunwind as the unwindlib.

Differential Revision: https://reviews.llvm.org/D104899
The file was modifiedclang/test/Driver/aix-ld.c
Commit aff57ff24aca5074b427d6bbc2f3246aa97910c5 by Lang Hames
[JITLink][ELF] Add generic ELFLinkGraphBuilder template.

ELFLinkGraphBuilder<ELFT> will hold generic parsing and LinkGraph-building code
that can be shared between JITLink ELF backends for different architectures.

For now it's just a stub. The plan is to incrementally move functionality down
from ELFLinkGraphBuilder_x86_64 into the new template.
The file was addedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
The file was addedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp
Commit 2b9016745d091385f4b41615c171988b527b1939 by llvmgnsyncbot
[gn build] Port aff57ff24aca
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/JITLink/BUILD.gn
Commit 7f369819774d376f043200220f1a2d36d53487a2 by flo
[LV] Adjust trip count based on IsOrdered in widenPHIInstruction (NFC).

Suggested in D104197, avoids the early exit.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 991a88b177311822fa89e6257911be95f3c07c45 by david.green
[ARM] Regenerate big-endian-vector-caller.ll test checks. NFC
The file was modifiedllvm/test/CodeGen/ARM/big-endian-vector-caller.ll
Commit ee3b2c47ce41aeabede85d96e43bee33be73aa2f by mydeveloperday
[clang-format] PR50525 doesn't handle AlignConsecutiveAssignments correctly in some situations

https://bugs.llvm.org/show_bug.cgi?id=50525

AlignConsecutiveAssignments/Declarations cause incorrect alignment in the presence of a DesignatedInitializerPeriod (https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html)

```
static NTSTATUS stg(PLW_STREAM Stream, int identity)
{
     NTSTATUS             status;
     BYTE                 payload[256] = {'l', 'h', 'o', 't', 's', 'e'};
     struct dm_rpc_header header       = {.drh_magic        = DRH_MAGIC,
                                    .drh_op_code      = RPC_OP_ECHO,
                                    .drh_payload_size = sizeof(payload),
                                    .drh_body_size    = sizeof(payload),
                                    .drh_request_id   = 1};
     header.drh_version                = identity;
```

This fix addresses that by ensuring the period isn't ignored

Reviewed By: HazardyKnusperkeks

Differential Revision: https://reviews.llvm.org/D104900
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
Commit 37c2233097ac44697b87228d86eef1fce10ea5c1 by mydeveloperday
[clang-format] [PR50702] Lamdba processing does not respect AfterClass and AfterNamespace

https://bugs.llvm.org/show_bug.cgi?id=50702

I believe {D44609} may be too aggressive with brace wrapping rules which doesn't always apply to Lamdbas

The introduction of BeforeLambdaBody and AllowShortLambdasOnASingleLine has impact on brace handling on other block types, which I suspect we didn't see before as people may not be using the BeforeLambdaBody  style

From what I can tell this can be seen by the unit test I change as its not honouring the orginal LLVM brace wrapping style for the `Fct()` function

I added a unit test from PR50702 and have removed some of the code (which has zero impact on the unit test, which kind of suggests its unnecessary), some additional attempt has been made to try and ensure we'll only break on what is actually a LamdbaLBrace

Reviewed By: HazardyKnusperkeks

Differential Revision: https://reviews.llvm.org/D104222
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 8b7881a084d0bc26499cf93e4ac45b59257a03b3 by mydeveloperday
[clang-format] Add basic support for formatting JSON

I find as I develop I'm moving between many different languages C++,C#,JavaScript all the time. As I move between the file types I like to keep `clang-format` as my formatting tool of choice. (hence why I initially added C# support  in {D58404}) I know those other languages have their own tools but I have to learn them all, and I have to work out how to configure them, and they may or may not have integration into my IDE or my source code integration.

I am increasingly finding that I'm editing additional JSON files as part of my daily work and my editor and git commit hooks are just not setup to go and run [[ https://stedolan.github.io/jq/ | jq ]], So I tend to go to  [[ https://jsonformatter.curiousconcept.com/ | JSON Formatter ]] and copy and paste back and forth. To get nicely formatted JSON. This is a painful process and I'd like a new one that causes me much less friction.

This has come up from time to time:

{D10543}
https://stackoverflow.com/questions/35856565/clang-format-a-json-file
https://bugs.llvm.org/show_bug.cgi?id=18699

I would like to stop having to do that and have formatting JSON as a first class clang-format support `Language` (even if it has minimal style settings at present).

This revision adds support for formatting JSON using the inbuilt JSON serialization library of LLVM, With limited control at present only over the indentation level

This adds an additional Language into the .clang-format file to separate the settings from your other supported languages.

Reviewed By: HazardyKnusperkeks

Differential Revision: https://reviews.llvm.org/D93528
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
The file was addedclang/unittests/Format/FormatTestJson.cpp
The file was modifiedclang/tools/clang-format/clang-format-diff.py
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/tools/clang-format/git-clang-format
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/tools/clang-format/ClangFormat.cpp
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/docs/ClangFormat.rst
The file was modifiedclang/unittests/Format/CMakeLists.txt
Commit b62de201902d7a0924f8d09e2909634a6d3d403d by llvmgnsyncbot
[gn build] Port 8b7881a084d0
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Format/BUILD.gn
Commit 8c2d4621d94ede43fd2309249556b96bf7400fe7 by nikita.ppv
[Verifier] Support masked load/store with opaque pointers
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/Verifier/opaque-ptr.ll
Commit 2887f1463930044a6093f111dc8eba5594144c33 by david.green
[ISel] Port AArch64 SABD and UABD to DAGCombine

This ports the AArch64 SABD and USBD over to DAG Combine, where they can be
used by more backends (notably MVE in a follow-up patch). The matching code
has changed very little, just to handle legal operations and types
differently. It selects from (ABS (SUB (EXTEND a), (EXTEND b))), producing
a ubds/abdu which is zexted to the original type.

Differential Revision: https://reviews.llvm.org/D91937
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 0f83d37a144ad4a9e530703d80e02e18b3b84c02 by david.green
[ARM] MVE vabd

This adds MVE lowering for VABDS/VABDU, using the code parted from
AArch64 in D91937.

Differential Revision: https://reviews.llvm.org/D91938
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vabdus.ll
Commit 81b2f95971edd47a0057ac4a77b674d7ea620c01 by craig.topper
[RISCV] Use zexti32/sexti32 in srliw/sraiw isel patterns to improve usage of those instructions.
The file was modifiedllvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/RISCV/urem-vector-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/div.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64i-exhaustive-w-insts.ll
The file was modifiedllvm/test/CodeGen/RISCV/bswap-ctlz-cttz-ctpop.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbp.ll
The file was modifiedllvm/test/CodeGen/RISCV/copysign-casts.ll
The file was modifiedllvm/test/CodeGen/RISCV/vec3-setcc-crash.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/test/CodeGen/RISCV/alu8.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb-zbp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb.ll
The file was modifiedllvm/test/CodeGen/RISCV/urem-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
Commit 59558129276098d62046c8cda92240d292cbfb1c by david.green
[ARM] Introduce MVETRUNC ISel lowering

Currently, when encountering store(trunc(..)) where the trunc is double
a legal vector lenth in MVE, we spilt the node into two different stores
each performing half of the trunc from the wider type. This works well
for efficiently lowering wider than legal types, else the trunc becomes
a series of individual lane moves. Unfortunately this splitting is
currently one of the first combines attempted, so can happen before any
other combines which might be more preferable.

This patch instead introduces the concept of a MVETRUNC ISel node that
the trunk is initially lowered to, to keep it intact as a single item as
opposed to splitting it up. This allows us to push the store(trunc(..))
combine later, allowing other optimisations to potentially happen on the
trunc first. The store(trunc(..)) splitting can then be done later in
the legalisation period if needed, or else fall back to a buildvector as
before.

This can also be used in the future to lower to loads/stores, as opposed
to the more expensive lane extracts/inserts. Some extra combines are
added to keep all the existing tests happy.

Differential Revision: https://reviews.llvm.org/D91921
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vabdus.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-satmul-loops.ll
Commit d6144c30fb6ae7ac15c82d512f8da7572577c2d2 by mizvekov
[clang] add C++ feature test macro for P2266 simpler implicit move

The feature was implemented in D99005, but we forgot to add the test
macro.

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D104984
The file was modifiedclang/test/Lexer/cxx-features.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 41d8149ee972b8498288b5051a6966cc9e89d57c by david.green
[ARM] Lower MVETRUNC to stack operations

The MVETRUNC node truncates two wide vectors to a single vector with
narrower elements. This is usually lowered to a series of extract/insert
elements, going via GPR registers. This patch changes that to instead
use a pair of truncating stores and a stack reload. This cuts down the
number of instructions at the expense of some stack space.

Differential Revision: https://reviews.llvm.org/D104515
The file was modifiedllvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-scatter-ind8-unscaled.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-scatter-ind16-unscaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-sext.ll
Commit 699d47472c3f7c5799fe75486689545179cfba03 by emaste
[Driver] do not link _p libs for -pg on FreeBSD 14 and later

In FreeBSD 14 the project will deprecate the _p special profiling
libraries.

Support for -pg (i.e., mcount) still exists but libraries compiled
with -pg will not be built by default, so stop linking against them.

Reviewed by: Dimitry Andric
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.llvm.org/D104753
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
The file was modifiedclang/test/Driver/freebsd.cpp
Commit 7a112356e4a19c0e63f533548fa95a03a5537fb9 by craig.topper
[X86] Correct the conversion of VALIGND/Q intrinsics to shufflevector.

We need to mask the immediate to the width of a single vector
rather than 2 vectors. If we use the width of 2 vectors then
any shift larger than the length of 1 vector is going to overflow
the shuffle indices.

Fixes PR50895.
The file was modifiedclang/test/CodeGen/X86/avx512vl-builtins.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit d8678246fcd9fe3a33646afab4251706e2506c51 by alexshap
[docs][llvm-strip] Fix documentation for -s/-S

Fix the command line guide for -g/-s/-S.
In particular, previously it was incorrectly stating that -S is an alias for --strip-all.

Differential revision: https://reviews.llvm.org/D104888
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
Commit 81f6d7c082e8438d81e2b85605458deae71bbab9 by craig.topper
[X86] Tighten up some inline assembly constraint handling.

Don't allow vectors to split into GPRs for 'r' and other scalar
constraints. Prevents assertion in getCopyToPartsVector.

Makes PR50907 give a better error instead of crashing.
The file was addedllvm/test/CodeGen/X86/pr50907.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0813700de1af72173ad18202fcbd3eafce90d184 by springerm
[mlir][NFC] Cleanup: Move helper functions to StaticValueUtils

Reduce code duplication: Move various helper functions, that are duplicated in TensorDialect, MemRefDialect, LinalgDialect, StandardDialect, into a new StaticValueUtils.cpp.

Differential Revision: https://reviews.llvm.org/D104687
The file was modifiedmlir/lib/Dialect/Utils/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Tensor/IR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorOps.cpp
The file was modifiedmlir/include/mlir/Interfaces/ViewLikeInterface.h
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was addedmlir/lib/Dialect/Utils/StaticValueUtils.cpp
The file was modifiedmlir/include/mlir/Interfaces/ViewLikeInterface.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was addedmlir/include/mlir/Dialect/Utils/StaticValueUtils.h
Commit c19a28919fc969a68401079532fafa6b1e44b6f4 by jan.kratochvil
llvm-dwarfdump: Print warnings on invalid DWARF

llvm-dwarfdump was silent even when the format of DWARF was invalid
and/or llvm-dwarfdump did not understand/support some of the constructs.
This can be pretty confusing as llvm-dwarfdump is a tool for DWARF
producers+consumers development.

Review comments also by @dblaikie.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D104271
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug-entry-invalid.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
Commit a7afaf901914aeade4e2b356c608d0f97150d769 by jan.kratochvil
Fix lld testsuite after llvm-dwarfdump now errors on invalid DWARF

D104271 broke buildbots for lld/test/ELF/non-abs-reloc.s .
The file was modifiedlld/test/ELF/non-abs-reloc.s
Commit 0f24ffcdfa9bb2b6380cedbb24f16d4ab9920dd7 by thakis
[lld/mac] Don't fold UNWIND_X86_64_MODE_STACK_IND unwind entries

libunwind uses unwind info to find the function address belonging
to the current instruction pointer. libunwind/src/CompactUnwinder.hpp's
step functions read functionStart for UNWIND_X86_64_MODE_STACK_IND
(and for nothing else), so these encodings need a dedicated entry
per function, so that the runtime can get the stacksize off the
`subq` instrunction in the function's prologue.

This matches ld64.

(CompactUnwinder.hpp from https://opensource.apple.com/source/libunwind/
also reads functionStart in a few more cases if `SUPPORT_OLD_BINARIES` is set,
but it defaults to 0, and ld64 seems to not worry about these additional
cases.)

Related upstream bug: https://crbug.com/1220175

Differential Revision: https://reviews.llvm.org/D104978
The file was modifiedlld/MachO/UnwindInfoSection.cpp
The file was addedlld/test/MachO/compact-unwind-stack-ind.s
Commit f45eee270671ec9440766f15e44e74a2118f2d31 by Stefan Gränitz
[Orc][examples] LLJITWithRemoteDebugger: fix CMake when utils are not built
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
Commit 7414bbebc2895a1ac6c87e4ed83a4c3338fe6911 by spatel
[Analysis] improve function signature checking for calloc

This would crash later if we thought the parameters were
valid for the standard library call as shown in:
https://llvm.org/PR50846
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was addedllvm/test/Transforms/InstCombine/calloc-mismatch.ll
Commit 1729d6be07ff60369d98d0ece0724751b66d0f91 by spatel
[InstCombine][test] add tests for min/max intrinsics with select operand; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select-min-max.ll
Commit f1a64302725cc36e7796f327375b9e939e3a339e by flo
[VPlan] Track both incoming values for first-order recurrence phis.

This patch updates VPWidenPHI recipes for first-order recurrences to
also track the incoming value from the back-edge. Similar to D99294,
which did the same for reductions.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D104197
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
Commit a9129f8964ed8521f7cd0b25a6a6c6c1ce27fe19 by nikita.ppv
[LoadStoreVectorizer] Support opaque pointers

There are remaining redundant bitcasts.
The file was addedllvm/test/Transforms/LoadStoreVectorizer/X86/opaque-ptr.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
Commit 81fcdae68c5ff656c30032fd26c6a21af4c51dbb by nikita.ppv
[MemCpyOpt] Support opaque pointers
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
Commit 153da08a6cd7feea6644b3191019573d70a5bbd3 by spatel
[InstCombine] hoist min/max intrinsics above select with constant op

This is an extension of the handling for unary intrinsics and
follows the logic that we use for binary ops.

We don't canonicalize to min/max intrinsics yet, but this might
help unlock other folds seen in D98152.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select-min-max.ll
Commit f025053977f330152da081b7060a5d9cba0a9e22 by nikita.ppv
[MemCpyOpt] Handle unusual memcpy element type

Apparently, it is legal to use memcpy/memset with pointer types
other than i8*. Prior to 81fcdae68c5ff656c30032fd26c6a21af4c51dbb
this case was silently miscompiled, as the i8 offset calculation
was performed on some other type. Now it would crash due to a
type mismatch. Fix this by inserting an explicit bitcast to i8*.
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit e5a8f230c765aebff34221cb3e084316496fc08e by mydeveloperday
[clang-format] Fix the issue that empty lines being removed at the beginning of namespace

This is a bug fix of https://bugs.llvm.org/show_bug.cgi?id=50116

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D104044
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.h
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 09ac97ce350316b95b8cddb796d52f71b6f68296 by gcmn
[Bazel] Update for 0813700de1

Updates Bazel BUILD files for changes in
https://github.com/llvm/llvm-project/commit/0813700de1

Differential Revision: https://reviews.llvm.org/D104990
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit f00941e061f39646b05fcab93f892fc793845da1 by nikita.ppv
[DSE] Support opaque pointers

For the start shortening optimization, always use a i8 type for
the GEP, as it is a raw offset calculation.

Handling of non-i8* memset/memcpy arguments requires insertion
of casts. These cases were previously miscompiled, as the offset
calculation was performed on the wrong type.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/OverwriteStoreBegin.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit 010f0f000f1f6a5461ac96ad075030a2fd7bb720 by craig.topper
Revert "[RISCV] Use zexti32/sexti32 in srliw/sraiw isel patterns to improve usage of those instructions."

I thought this might help with another optimization I was
thinking about, but I don't think it will. So it just wastes
compile time calling computeKnownBits for no benefit.

This reverts commit 81b2f95971edd47a0057ac4a77b674d7ea620c01.
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
The file was modifiedllvm/test/CodeGen/RISCV/alu8.ll
The file was modifiedllvm/test/CodeGen/RISCV/div.ll
The file was modifiedllvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/RISCV/urem-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/bswap-ctlz-cttz-ctpop.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64i-exhaustive-w-insts.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb.ll
The file was modifiedllvm/test/CodeGen/RISCV/urem-vector-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/copysign-casts.ll
The file was modifiedllvm/test/CodeGen/RISCV/vec3-setcc-crash.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb-zbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
Commit 9aa951e80e72decd95c7d972e1e0dde24260d336 by nikita.ppv
[MemCpyOpt] Preserve address space

Preserve address space when generating the cast to i8*.
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
Commit e81702912e6247c3adeb7e0c8416d6251d3b452a by nikita.ppv
[DSE] Preserve address space

Preserve address space when inserting i8* cast.
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/OverwriteStoreBegin.ll
Commit 4ae0ab095bf97123c2d2a6aa2e82dcc25cf040f1 by nathan
[BitCode] Add noprofile to getAttrFromCode()

After D104475 / D104658, building the Linux kernel with ThinLTO is
broken:

ld.lld: error: Unknown attribute kind (73) (Producer: 'LLVM13.0.0git'
Reader: 'LLVM 13.0.0git')

getAttrFromCode() has never handled this attribute so it is written
during the ThinLTO phase but it cannot be handled during the linking
phase.

Add noprofile to getAttrFromCode() so that disassembly works properly.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D104995
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Bitcode/attributes.ll
Commit 4c92e31dd0f1bd152eda883af20ff7fbcaa14945 by craig.topper
[RISCV] Add tests for __builtin_parity idiom.

We use (and (ctpop X), 1) to represent parity.

The generated code for i32 parity on RV64 has more instructions than
necessary which I hope to improve in a followup patch.

Also add missing test for i64 ctpop.
The file was modifiedllvm/test/CodeGen/RISCV/bswap-ctlz-cttz-ctpop.ll
Commit 1b112c80a68697687189ddf5bb01b2edacb618af by dblaikie
PR37255: DebugInfo: LTO with -g inlined into -gmlt combined with Split DWARF without CU cross-references

A combination of features ^ that lead to a mismatch of expectations
about how a subprogram definition DIE would be produced with/without a
declaration when taking full -g debug info and inlining it into a -gmlt
CU - specifically when using Split DWARF that doesn't support cross-CU
references, so we have to put the -g debug info into the -gmlt CU, which
gets confusing about which mode is respected.

This patch comes down on respecting the CU the debug info is emitted
into, rather than preserving the full debug info when it's emitted into
the gmlt CU.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
The file was addedllvm/test/DebugInfo/X86/split-dwarf-cross-cu-gmlt-g.ll
Commit 5c2ade03ea8722846dff6f87c67630d703c61c09 by dblaikie
PR50708: Update link to Intel SIMD ABI
The file was modifiedllvm/docs/LangRef.rst
Commit 3a6599b7bd0fe4fe579e0abd9bd882ea964dd627 by omair.javaid
Remove XFAIL flag from sanitize-coverage-old-pm.c

This test has started passing consistently on 32bit arm where underlying
core is reported as Armv7 or Thumbv7.
However it still fails intermittently on 32bit AArch32 reported as Armv8l.

https://lab.llvm.org/buildbot/#/builders/190/builds/20
https://lab.llvm.org/buildbot/#/builders/170/builds/41
The file was modifiedclang/test/CodeGen/sanitize-coverage-old-pm.c
Commit 8f43407a07f015ca9a7543c6a0b5bde3918f9a0e by minyihh
[M68k][GloballSel] Formal arguments lowering in IRTranslator

Implementation of formal arguments lowering in the IRTranslator for the
M68k backend

Differential Revision: https://reviews.llvm.org/D104542
The file was modifiedllvm/lib/Target/M68k/GlSel/M68kCallLowering.h
The file was modifiedllvm/lib/Target/M68k/M68kISelLowering.cpp
The file was modifiedllvm/test/CodeGen/M68k/GlobalISel/irtranslator-ret.ll
The file was modifiedllvm/lib/Target/M68k/M68kISelLowering.h
The file was modifiedllvm/lib/Target/M68k/GlSel/M68kCallLowering.cpp
Commit 2ddca686ee8fd73d4b6630b60794be82caa4c311 by omair.javaid
Tag sanitize-coverage-old-pm.c unsupported on arm 32 bit

This test is again failing across multiple bots and passing on others
there is no reliable way to enable it for some of the bots while
disabling for the unsupported ones. Tagging it as unsupported across all
types of Arm 32 bit cores.
The file was modifiedclang/test/CodeGen/sanitize-coverage-old-pm.c
Commit 0f32d0034c7b9751b1ce7a89469328ac932faab8 by omair.javaid
[LLDB] Silence warnings in cli-wrapper-mpxtable.cpp

cli-wrapper-mpxtable.cpp was emitting warnings from printfs of
uint64_t on 32 bit arm build. This patch makes affected printfs
in cli-wrapper-mpxtable.cpp portable accross targets variants.
The file was modifiedlldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp
Commit eb237ffca821839374574b2195c865765ebf5d09 by Jinsong Ji
[PowerPC] Add XL Compat fetch builtins

Prototype
```
unsigned int __fetch_and_add (volatile unsigned int* addr, unsigned int
val);
unsigned long __fetch_and_addlp (volatile unsigned long* addr, unsigned
long val);
```
Ref:
https://www.ibm.com/docs/en/xl-c-and-cpp-linux/16.1.1?topic=functions-fetch

Reviewed By: #powerpc, w2yehia, lkail

Differential Revision: https://reviews.llvm.org/D104991
The file was addedclang/test/CodeGen/builtins-ppc-xlcompat-fetch.c
The file was addedclang/test/CodeGen/builtins-ppc-xlcompat-fetch-error.c
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
Commit 7c73c2ede8088802adb8191d05cad09e3ad88539 by mkazantsev
[LoopDeletion] Benefit from branches by undef conditions when symbolically executing 1st iteration

We can exploit branches by `undef` condition. Frankly, the LangRef says that
such branches are UB, so we can assume that all outgoing edges of such blocks
are dead.

However, from practical perspective, we know that this is not supported correctly
in some other places. So we are being conservative about it.

Branch by undef is treated in the following way:
- If it is a loop-exiting branch, we always assume it exits the loop;
- If not, we arbitrarily assume it takes `true` value.

Differential Revision: https://reviews.llvm.org/D104689
Reviewed By: nikic
The file was modifiedllvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit af03f7fb37bf13ed923f893182fd4e2f6c40bfd2 by mkazantsev
[Test] Add XFAIL test for PR50918
The file was addedllvm/test/Transforms/LoopStrengthReduce/pr50918.ll
Commit d58514d41c3dedc67b9f043d61f160810a64b208 by mkazantsev
[LSR][NFC] Make sure that after the canonicalization the formula is canonical
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Commit 616b998b53d8510c3d538ce34209575140955880 by mkazantsev
Revert "[Test] Add XFAIL test for PR50918"

This reverts commit af03f7fb37bf13ed923f893182fd4e2f6c40bfd2.

Looks like the test is passing in some architectures. Reverting to green.
The file was removedllvm/test/Transforms/LoopStrengthReduce/pr50918.ll
Commit 04242bdca991145548ab70be5e1c6c65390699dd by minyihh
Revert "[M68k][GloballSel] Formal arguments lowering in IRTranslator"

This reverts commit 8f43407a07f015ca9a7543c6a0b5bde3918f9a0e due to
failure on its associated test.
The file was modifiedllvm/lib/Target/M68k/M68kISelLowering.h
The file was modifiedllvm/lib/Target/M68k/GlSel/M68kCallLowering.cpp
The file was modifiedllvm/test/CodeGen/M68k/GlobalISel/irtranslator-ret.ll
The file was modifiedllvm/lib/Target/M68k/M68kISelLowering.cpp
The file was modifiedllvm/lib/Target/M68k/GlSel/M68kCallLowering.h
Commit abe0fa43523502c549ff9394d28f9f29f5be0a3d by ikudrin
[llvm-objdump] Print comments for the disassembled code

LLVM disassembler can generate comments for disassembled instructions.
The patch enables printing these comments for 'llvm-objdump -d'.

Differential Revision: https://reviews.llvm.org/D104699
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AArch64/disassemble-align.s
The file was addedllvm/test/tools/llvm-objdump/ELF/AArch64/disassemble-print-comments.s
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was addedllvm/test/tools/llvm-objdump/X86/disassemble-print-comments.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-align.s
Commit c2e6bcb494c12b138283272e2e0932e13627898e by ikudrin
[llvm-objdump] Prevent variable locations to overlap short comments

For now, the source variable locations are printed at about the same
space as the comments for disassembled code, which can make some ranges
for variables disappear if a line contains comments, for example:

                                        ┠─ bar = W1
0:  add x0, x2, #2, lsl #12     // =8192┃
4:  add z31.d, z31.d, #65280    // =0xff00
8:  nop                                 ┻

The patch shifts the report a bit to allow printing comments up to
approximately 16 characters without interferences.

Differential Revision: https://reviews.llvm.org/D104700
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-wide-chars.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-print-comments.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AArch64/disassemble-print-comments.s
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-objdump.rst
The file was modifiedllvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-dwarf4.s
Commit e7fffa6f032b58d2cf04b05c3992c5195c2dfd56 by ikudrin
[llvm-objdump] Prefix memory operand addresses with '0x'

This helps to avoid ambiguity when the address contains only digits 0..9.

Differential Revision: https://reviews.llvm.org/D104909
The file was modifiedlld/test/MachO/x86-64-reloc-signed.s
The file was modifiedlld/test/MachO/tapi-link.s
The file was modifiedlld/test/MachO/dso-handle.s
The file was modifiedlld/test/MachO/weak-binding.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-align.s
The file was modifiedlld/test/MachO/dylink-ordinal.s
The file was modifiedlld/test/ELF/x86-x32-plt.s
The file was modifiedllvm/test/MC/X86/tlsdesc-x32.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-references.yaml
The file was modifiedlld/test/MachO/tlv-dylib.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-gdtls.s
The file was modifiedlld/test/ELF/symver.s
The file was modifiedllvm/test/MC/X86/tlsdesc-64.s
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedlld/test/ELF/x86-64-gotpc-relax-nopic.s
The file was modifiedlld/test/MachO/static-link.s
The file was modifiedlld/test/ELF/x86-64-gotpc-offset.s
The file was modifiedlld/test/ELF/x86-64-plt.s
The file was modifiedlld/test/ELF/wrap-no-real.s
Commit d25e572421a66270c0ee8d51c96256f2958a6f1d by ikudrin
[llvm-objdump] Print memory operand addresses as regular comments

The patch reuses the common code to print memory operand addresses as
instruction comments. This helps to align the comments and enables using
target-specific comment markers when `evaluateMemoryOperandAddress()` is
implemented for them.

Differential Revision: https://reviews.llvm.org/D104861
The file was modifiedlld/test/MachO/mattrs.ll
The file was modifiedlld/test/MachO/tapi-link.s
The file was modifiedlld/test/MachO/x86-64-reloc-got-load.s
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedlld/test/MachO/dso-handle.s
The file was modifiedlld/test/MachO/tlv-dylib.s
The file was modifiedlld/test/MachO/dylink-ordinal.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-align.s
The file was modifiedlld/test/MachO/weak-binding.s
The file was modifiedlld/test/MachO/tlv.s
The file was modifiedlld/test/MachO/static-link.s
The file was modifiedlld/test/MachO/x86-64-reloc-signed.s
Commit a1c0f09a89690f39683bf22126fe8999e62a6645 by david.green
[ARM] Add an extra fold for f32 extract(vdup(i32))

This adds another small fold for extract of a vdup, between a i32 and a
f32, converting to a BITCAST. This allows some extra folding to happen,
simplifying the resulting code.

Differential Revision: https://reviews.llvm.org/D104857
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
Commit bbf4436a82febeab811af59b20d6928e694b4178 by gysit
[mlir][linalg] Remove the StructuredOp capture mechanism.

After https://reviews.llvm.org/D104109, structured ops support scalar inputs. As a result, the capture mechanism meant to pass non-shaped parameters got redundant. The patch removes the capture semantics after the FillOp migrated to use scalar operands https://reviews.llvm.org/D104121.

Differential Revision: https://reviews.llvm.org/D104785
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/test/mlir-linalg-ods-gen/test-linalg-ods-yaml-gen.yaml
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Generalization.cpp
The file was modifiedmlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
The file was modifiedmlir/include/mlir-c/Dialect/Linalg.h
The file was modifiedmlir/lib/CAPI/Dialect/Linalg.cpp
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/lib/Bindings/Python/DialectLinalg.cpp
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/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
The file was modifiedmlir/python/mlir/dialects/_linalg_ops_ext.py
Commit a49855316251aaa3cfe62b797b5650ae55b09378 by david.spickett
[clang][ARM] Mark sanitize-coverage-old-pm.c unsupported on armv7l

Our v7 Linux bots report the arch as "armv7l", not "armv7".
The file was modifiedclang/test/CodeGen/sanitize-coverage-old-pm.c
Commit 499e39c5983dba35861b5482bd298a8da726f1b6 by whisperity
[clang-tidy] Add 'bugprone-easily-swappable-parameters' check

Finds function definitions where parameters of convertible types follow
each other directly, making call sites prone to calling the function
with swapped (or badly ordered) arguments.

Such constructs are usually the result of inefficient design and lack of
exploitation of strong type capabilities that are possible in the
language.

This check finds and flags **function definitions** and **not** call
sites!

Reviewed By: aaron.ballman, alexfh

Differential Revision: http://reviews.llvm.org/D69560
The file was addedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.h
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len3.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters.c
Commit 26d864b44b9d3326984a7041124aa0f9e8ebc5cb by whisperity
[clang-tidy] Extend 'bugprone-easily-swappable-parameters' with `typedef` and `const &` diagnostics

The base patch only deals with strict (canonical) type equality, which is
merely a subset of all the dangerous function interfaces that we intend to
find.
In addition, in the base patch, canonical type equivalence is not diagnosed in
a way that is immediately apparent to the user.

This patch extends the check with two features:

* Proper typedef diagnostics and explanations to the user.
* "Reference bind power" matching.

Case 2 is a necessary addition because in every case someone encounters a
function `f(T t, const T& tr)`, any expression that might be passed to either
can be passed to both. Thus, such adjacent parameter sequences should be
matched.

Reviewed By: aaron.ballman

Differential Revision: http://reviews.llvm.org/D95736
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
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 961e9e6af65ef097678c57fe5f1c18b825eb723f by whisperity
[clang-tidy] Extend 'bugprone-easily-swappable-parameters' with optionally considering differently qualified types mixable

Adds a relaxation option QualifiersMix which will make the check report for
cases where parameters refer to the same type if they only differ in qualifiers.

This makes cases, such as the following, not warned about by default, produce
a warning.

    void* memcpy(void* dst, const void* src, unsigned size) {}

However, unless people meticulously const their local variables, unfortunately,
even such a function carry a potential swap:

    T* obj = new T; // Not const!!!
    void* buf = malloc(sizeof(T));

    memcpy(obj, buf, sizeof(T));
    //     ^~~  ^~~ accidental swap here, even though the interface "specified" a const.

Reviewed By: aaron.ballman

Differential Revision: http://reviews.llvm.org/D96355
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters.c
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len3.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-qualifiermixing.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
Commit e33d0478831e4a295cb136ce1f58587155309fa2 by whisperity
[clang-tidy] Extend 'bugprone-easily-swappable-parameters' with mixability because of implicit conversions

Adds a relaxation option ModelImplicitConversions which will make the check
report for cases where parameters refer to types that are implicitly
convertible to one another.

Example:

    struct IntBox { IntBox(int); operator int(); };
    void foo(int i, double d, IntBox ib) {}

Implicit conversions are the last to model in the set of things that are
reasons for the possibility of a function being called the wrong way which is
not always immediately apparent when looking at the function (signature or
call).

Reviewed By: aaron.ballman, martong

Differential Revision: http://reviews.llvm.org/D75041
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len3.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.h
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.c
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-qualifiermixing.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicit-qualifiers.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp
Commit b9ece034611239d008ac11d8bb9b3af91313c41f by whisperity
[clang-tidy] Suppress reports to similarly used parameters in 'bugprone-easily-swappable-parameters'

There are several types of functions and various reasons why some
"swappable parameters" cannot be fixed with changing the parameters' types, etc.
The most common example might be int `min(int a, int b)`... no matter what you
do, the two parameters must remain the same type.

The **filtering heuristic** implemented in this patch deals with trying to find
such functions during the modelling and building of the swappable parameter
range.
If the parameter currently scrutinised matches either of the predicates below,
it will be regarded as **not swappable** even if the type of the parameter
matches.

Reviewed By: aaron.ballman

Differential Revision: http://reviews.llvm.org/D78652
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-qualifiermixing.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.h
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-implicits.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicit-qualifiers.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-relatedness.c
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters.c
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-relatedness.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len3.cpp
Commit 0fba450b9756a496224efd06e5ba76c9a61d3e15 by whisperity
[clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters'

While the original check's purpose is to identify potentially dangerous
functions based on the parameter types (as identifier names do not mean
anything when it comes to the language rules), unfortunately, such a plain
interface check rule can be incredibly noisy. While the previous
"filtering heuristic" is able to find many similar usages, there is an entire
class of parameters that should not be warned about very easily mixed by that
check: parameters that have a name and their name follows a pattern,
e.g. `text1, text2, text3, ...`.`

This patch implements a simple, but powerful rule, that allows us to detect
such cases and ensure that no warnings are emitted for parameter sequences that
follow a pattern, even if their types allow for them to be potentially mixed at a call site.

Given a threshold `k`, warnings about two parameters are filtered from the
result set if the names of the parameters are either prefixes or suffixes of
each other, with at most k letters difference on the non-common end.
(Assuming that the names themselves are at least `k` long.)

- The above `text1, text2` is an example of this. (Live finding from Xerces.)
- `LHS` and `RHS` are also fitting the bill here. (Live finding from... virtually any project.)
- So does `Qmat, Tmat, Rmat`. (Live finding from I think OpenCV.)

Reviewed By: aaron.ballman

Differential Revision: http://reviews.llvm.org/D97297
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-qualifiermixing.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicit-qualifiers.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters.c
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len3.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-relatedness.c
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
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-prefixsuffixname.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-relatedness.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
Commit 9061da274898270ed1e06cff6c22510ea74ab01e by llvmgnsyncbot
[gn build] Port 499e39c5983d
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit f3b55a8a06529bee95ed9a1b55c98ce3839b40ea by whisperity
[clang-tidy][NFC] Fix buildbot failures in 'bugprone-easily-swappable-parameters'
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
Commit 8f9db0aeebecc48bdcc1ba7e4443c7a4467159b6 by fmayer
[hwasan] Show sp in register dump.

Reviewed By: hctim, eugenis

Differential Revision: https://reviews.llvm.org/D104787
The file was modifiedcompiler-rt/test/hwasan/TestCases/register-dump-read.c
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit 6942076096e6dcfb0893a351a9a586490beec572 by david.spickett
[lld][MachO] Temporarily require 64 bit build for dead-strip.s

This test has always failed on 32 bit armv8 bots:
https://lab.llvm.org/buildbot/#/builders/178/builds/42

Due to the output order of some symbols changing.
I don't think this is an Arm specific issue so disabling
on 32 bit while it's investigated.
The file was modifiedlld/test/MachO/dead-strip.s
Commit 80aa7e147e2a3a2a0435663ad9171b9ccdcc0178 by flo
[VPlan] Merge predicated-triangle regions, after sinking.

Sinking scalar operands into predicated-triangle regions may allow
merging regions. This patch adds a VPlan-to-VPlan transform that tries
to merge predicate-triangle regions after sinking.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D100260
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/x86-predication.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-predselect.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/small-size.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.h
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/x86-pr39099.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Commit f99672568fda6a9bc1ee4f09d5d84066f4979889 by kerry.mclaughlin
[LoopVectorize] Fix strict reductions where VF = 1

Currently we will allow loops with a fixed width VF of 1 to vectorize
if the -enable-strict-reductions flag is set. However, the loop vectorizer
will not use ordered reductions if `VF.isScalar()` and the resulting
vectorized loop will be out of order.

This patch removes `VF.isVector()` when checking if ordered reductions
should be used. Also, instead of converting the FAdds to reductions if the
VF = 1, operands of the FAdds are changed such that the order is preserved.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D104533
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 1364750dadbb56032ef73b4d0d8cbc88a51392da by james.henderson
[RFC][debuginfo-test] Rename debug-info lit tests for general purposes

Discussion thread:
https://lists.llvm.org/pipermail/llvm-dev/2021-January/148048.html

Move debuginfo-test into a subdirectory of a new top-level directory,
called cross-project-tests. The new name replaces "debuginfo-test" as an
LLVM project enabled via LLVM_ENABLE_PROJECTS.

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

Reviewed by: aprantl
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/Exceptions.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/unreachable.cpp
The file was removeddebuginfo-tests/dexter/dex/builder/scripts/windows/clang-cl_vs2015.bat
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/list_debuggers/Tool.py
The file was removeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
The file was addedcross-project-tests/debuginfo-tests/win_cdb-tests/README.txt
The file was removeddebuginfo-tests/dexter-tests/lit.local.cfg
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/block_var.m
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/test.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/__init__.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/utils.py
The file was removeddebuginfo-tests/dexter/dex/builder/__init__.py
The file was removeddebuginfo-tests/dexter/dexter.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/Version.py
The file was removeddebuginfo-tests/dexter/dex/dextIR/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/llgdb.py
The file was removeddebuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp
The file was removeddebuginfo-tests/dexter-tests/memvars/struct-dse.c
The file was removeddebuginfo-tests/dexter/dex/dextIR/BuilderIR.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_order.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/list_debuggers/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_label_kwarg.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/DextIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/clang-opt-bisect/clang-opt-bisect.cpp
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
The file was removeddebuginfo-tests/llgdb-tests/nrvo-string.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/realigned-frame.cpp
The file was removeddebuginfo-tests/dexter/dex/dextIR/ValueIR.py
The file was removeddebuginfo-tests/dexter-tests/memvars/merged-store.c
The file was removeddebuginfo-tests/dexter/dex/tools/help/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_duplicate_label.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/asan-blocks.c
The file was modifiedllvm/docs/CMake.rst
The file was removeddebuginfo-tests/dexter/dex/utils/Version.py
The file was removeddebuginfo-tests/llgdb-tests/lit.local.cfg
The file was removeddebuginfo-tests/llgdb-tests/sret.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_check_json_step_count.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/unreachable.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/__init__.py
The file was removeddebuginfo-tests/dexter/dex/tools/help/Tool.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_paren.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/ComInterface.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_value.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp
The file was removeddebuginfo-tests/dexter-tests/asan-deque.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/__init__.py
The file was removeddebuginfo-tests/lit.site.cfg.py.in
The file was removeddebuginfo-tests/dexter/dex/command/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/recursive.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_line_mismatch.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/ParserOptions.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/Timer.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/lit.local.cfg.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/test.cfg
The file was removeddebuginfo-tests/dexter/dex/tools/clang_opt_bisect/__init__.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/breakpoint.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_syntax_mline.cpp
The file was addedcross-project-tests/lit.site.cfg.py.in
The file was removeddebuginfo-tests/dexter-tests/memvars/unused-merged-value.c
The file was modifiedllvm/docs/TestingGuide.rst
The file was removeddebuginfo-tests/dexter-tests/deferred_globals.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/unittests/run.test
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/dex_declare_file.cpp
The file was removeddebuginfo-tests/dexter/dex/utils/Exceptions.py
The file was removeddebuginfo-tests/dexter-tests/realigned-frame.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/source/test file.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/unconditional.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/symgroup.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/posix/clang-c.sh
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/mlir-support.gdb
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/nrvo-string.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_syntax_mline.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchValue.py
The file was removeddebuginfo-tests/dexter-tests/memvars/inline-escaping-function.c
The file was removeddebuginfo-tests/llgdb-tests/asan-blocks.c
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_loop.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/bitcast.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/__init__.py
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexLabel.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/run_debugger_internal_/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/ReturnCode.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/stack-var.c
The file was removeddebuginfo-tests/llgdb-tests/asan.c
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/unreachable.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2015.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_overlapping_ranges.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/ExtArgParse.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/vla.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/README.md
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_syntax.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/__init__.py
The file was removeddebuginfo-tests/dexter/dex/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/lit.local.cfg
The file was removeddebuginfo-tests/dexter-tests/optnone-loops.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/LICENSE.txt
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/RootDirectory.py
The file was removeddebuginfo-tests/dexter/dex/tools/no_tool_/__init__.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/sysobjs.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_type.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
The file was removeddebuginfo-tests/dexter-tests/optnone-fastmath.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/nested-struct.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/help/help.test
The file was removeddebuginfo-tests/dexter-tests/vla.c
The file was removeddebuginfo-tests/dexter/dex/tools/list_debuggers/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchType.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_duplicate_label.cpp
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
The file was removeddebuginfo-tests/dexter/dex/debugger/lldb/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_type.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/recursive.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/symgroup.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
The file was removeddebuginfo-tests/dexter/dex/dextIR/ProgramState.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/lit.local.cfg.py
The file was removeddebuginfo-tests/dexter/dex/tools/ToolBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/windows/PrettyOutput.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/lit.local.cfg.py
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py
The file was removeddebuginfo-tests/dexter/dex/builder/scripts/posix/clang-c.sh
The file was removeddebuginfo-tests/dexter/dex/tools/run_debugger_internal_/__init__.py
The file was removeddebuginfo-tests/dexter-tests/hello.c
The file was addedcross-project-tests/debuginfo-tests/README.txt
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/clang-opt-bisect/clang-opt-bisect.cpp
The file was removeddebuginfo-tests/dexter/dex/utils/posix/PrettyOutput.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/const-branch.c
The file was removeddebuginfo-tests/llgdb-tests/static-member.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/ctor.cpp
The file was removeddebuginfo-tests/dexter/dex/tools/test/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/inline-line-gap.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_type.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/symbols.py
The file was removeddebuginfo-tests/dexter/dex/builder/Builder.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/WorkingDirectory.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/ctrl-flow.c
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex
The file was addedcross-project-tests/debuginfo-tests/dexter/.gitignore
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_limit_steps_no_values.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/view/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/run_debugger_internal_/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/FrameIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/Main.py
The file was removeddebuginfo-tests/dexter-tests/optnone-vectors-and-functions.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/asan.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/__init__.py
The file was removeddebuginfo-tests/dexter-tests/memvars/implicit-ptr.c
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
The file was removeddebuginfo-tests/CMakeLists.txt
The file was addedcross-project-tests/debuginfo-tests/dexter/dexter.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/view/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/test.cpp
The file was addedcross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func_external.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2017.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/inline-escaping-function.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/__init__.py
The file was removeddebuginfo-tests/dexter/dex/utils/ReturnCode.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/asan.c
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexUnreachable.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_order.cpp
The file was addedcross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.gdb
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining-dse.c
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
The file was removeddebuginfo-tests/dexter/dex/tools/test/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/view.cpp
The file was removeddebuginfo-tests/dexter-tests/nrvo-string.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_program_state.cpp
The file was addedcross-project-tests/lit.cfg.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
The file was removeddebuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/Environment.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/implicit-ptr.c
The file was removeddebuginfo-tests/dexter/dex/tools/list_debuggers/__init__.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/test.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_order.cpp
The file was removeddebuginfo-tests/llgdb-tests/static-member-2.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2017.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func_external.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/hello.c
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexExpectProgramState.py
The file was removeddebuginfo-tests/dexter/dex/tools/run_debugger_internal_/Tool.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/unconditional.cpp
The file was removeddebuginfo-tests/dexter/dex/utils/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/client.py
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexExpectStepKind.py
The file was removeddebuginfo-tests/dexter/dex/dextIR/LocIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/unittests/run.test
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/global-constant.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/lit.local.cfg
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_check_json_step_count.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/Warning.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/CommandBase.py
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/__init__.py
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
The file was removeddebuginfo-tests/llgdb-tests/nested-struct.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c
The file was removeddebuginfo-tests/llgdb-tests/safestack.c
The file was removeddebuginfo-tests/dexter-tests/memvars/inlining-dse.c
The file was removeddebuginfo-tests/dexter/README.md
The file was removeddebuginfo-tests/dexter/dex/dextIR/FrameIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/deferred_globals.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/windows/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/help/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/lit.local.cfg.py
The file was removeddebuginfo-tests/dexter/dex/builder/ParserOptions.py
The file was removeddebuginfo-tests/llgdb-tests/apple-accel.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/asan-deque.cpp
The file was removeddebuginfo-tests/dexter/dex/utils/ExtArgParse.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_line_mismatch.cpp
The file was addedcross-project-tests/CMakeLists.txt
The file was removeddebuginfo-tests/dexter/dex/tools/clang_opt_bisect/Tool.py
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/apple-accel.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/setup.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/commands.dex
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_label_kwarg.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.py
The file was removeddebuginfo-tests/dexter/dex/tools/Main.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/PrettyOutputBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_type_mline.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/ValueIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/UnitTests.py
The file was removeddebuginfo-tests/dexter/dex/debugger/DebuggerBase.py
The file was removeddebuginfo-tests/dexter-tests/asan.c
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/help/help.test
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/posix/clang.sh
The file was removeddebuginfo-tests/llgdb-tests/block_var.m
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/probe_process.py
The file was removeddebuginfo-tests/llgdb-tests/forward-declare-class.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/static-member-2.cpp
The file was removeddebuginfo-tests/dexter/dex/utils/UnitTests.py
The file was addedcross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
The file was removeddebuginfo-tests/dexter-tests/optnone-simple-functions.cpp
The file was removeddebuginfo-tests/dexter/dex/heuristic/__init__.py
The file was addedcross-project-tests/debuginfo-tests/win_cdb-tests/lit.local.cfg.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_value.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/dbg-arg.c
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
The file was removeddebuginfo-tests/win_cdb-tests/README.txt
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/BuilderIR.py
The file was removeddebuginfo-tests/dexter/dex/utils/Timer.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_value.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/no_tool_/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/posix/PrettyOutput.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/ProgramState.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_same_line_conditional.cpp
The file was removeddebuginfo-tests/dexter/dex/tools/__init__.py
The file was removeddebuginfo-tests/dexter/dex/utils/Environment.py
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp
The file was removeddebuginfo-tests/dexter/dex/command/ParseCommand.py
The file was removeddebuginfo-tests/dexter/dex/utils/windows/PrettyOutput.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_order.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/small_loop.cpp
The file was removeddebuginfo-tests/dexter-tests/nrvo.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/TestToolBase.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/label_another_line.cpp
The file was removeddebuginfo-tests/dexter-tests/ctor.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/setup.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2015.py
The file was removeddebuginfo-tests/dexter/dex/utils/windows/__init__.py
The file was modifiedllvm/CMakeLists.txt
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/test.cfg
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/nrvo.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/Debuggers.py
The file was removeddebuginfo-tests/dexter-tests/memvars/loop.c
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/loop.c
The file was removeddebuginfo-tests/dexter-tests/dbg-arg.c
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_type.cpp
The file was removeddebuginfo-tests/llgdb-tests/asan-deque.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/breakpoint.py
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexExpectWatchValue.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexWatch.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/README.md
The file was removeddebuginfo-tests/dexter/dex/command/CommandBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/source_root_dir.dex
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
The file was removeddebuginfo-tests/dexter/dex/builder/scripts/posix/clang.sh
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_value.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_loop.cpp
The file was removeddebuginfo-tests/README.txt
The file was removeddebuginfo-tests/llgdb-tests/test_debuginfo.pl
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/label_another_line.cpp
The file was removeddebuginfo-tests/dexter/LICENSE.txt
The file was removeddebuginfo-tests/dexter-tests/inline-line-gap.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.cfg
The file was removeddebuginfo-tests/dexter/dex/tools/view/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/commands.dex
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/asan-deque.cpp
The file was removeddebuginfo-tests/dexter-tests/memvars/inlining.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexWatch.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/sysobjs.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/lit.local.cfg
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/hit_count.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/static-member.cpp
The file was removeddebuginfo-tests/llgdb-tests/foreach.m
The file was removeddebuginfo-tests/dexter-tests/namespace.cpp
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_bad_label_ref.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_value.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/optnone-vectors-and-functions.cpp
The file was removeddebuginfo-tests/dexter/dex/heuristic/Heuristic.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/test/__init__.py
The file was removeddebuginfo-tests/win_cdb-tests/lit.local.cfg.py
The file was addedcross-project-tests/debuginfo-tests/dexter/README.md
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_type.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_paren_mline.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_paren_mline.cpp
The file was removeddebuginfo-tests/dexter/dex/dextIR/StepIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_type.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/help/Tool.py
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
The file was removeddebuginfo-tests/dexter/.gitignore
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/ParseCommand.py
The file was removeddebuginfo-tests/dexter-tests/global-constant.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/lit.local.cfg.py
The file was removeddebuginfo-tests/dexter/dex/debugger/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexUnreachable.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/lit.local.cfg.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectProgramState.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/small_loop.cpp
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/safestack.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/lit.local.cfg.py
The file was addedcross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/windows/clang.bat
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/source-root-dir.cpp
The file was removeddebuginfo-tests/lit.cfg.py
The file was removeddebuginfo-tests/dexter-tests/memvars/ctrl-flow.c
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
The file was removeddebuginfo-tests/dexter/dex/dextIR/DebuggerIR.py
The file was removeddebuginfo-tests/dexter/dex/utils/posix/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/source/test file.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/lit.local.cfg
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/Builder.py
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/probe_process.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/StepIR.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/no_tool_/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/heuristic/__init__.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/control.py
The file was removeddebuginfo-tests/dexter/dex/command/StepValueInfo.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_kinds.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/source/test.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/posix/gcc.sh
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/symbols.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_value.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/source_root_dir.dex
The file was removeddebuginfo-tests/dexter/dex/tools/no_tool_/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_overlapping_ranges.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/merged-store.c
The file was removeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/posix/__init__.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_same_line_conditional.cpp
The file was removeddebuginfo-tests/dexter/dex/tools/TestToolBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexLabel.py
The file was removeddebuginfo-tests/dexter/feature_tests/Readme.md
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/foreach.m
The file was removeddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_kinds.cpp
The file was modifiedllvm/docs/GettingStarted.rst
The file was removeddebuginfo-tests/dexter/dex/utils/PrettyOutputBase.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/dex_declare_file.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/windows/clang-cl_vs2015.bat
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/DebuggerIR.py
The file was removeddebuginfo-tests/dexter/dex/utils/RootDirectory.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepKind.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/lit.local.cfg
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/Readme.md
The file was removeddebuginfo-tests/llgdb-tests/llgdb.py
The file was modifiedllvm/projects/CMakeLists.txt
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_type_mline.cpp
The file was removeddebuginfo-tests/dexter/dex/dextIR/DextIR.py
The file was removeddebuginfo-tests/dexter-tests/memvars/bitcast.c
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/namespace.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/dextIR/LocIR.py
The file was removeddebuginfo-tests/dexter-tests/memvars/const-branch.c
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_paren.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/unreachable.cpp
The file was removeddebuginfo-tests/llgdb-tests/blocks.m
The file was removeddebuginfo-tests/dexter/dex/builder/scripts/windows/clang.bat
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/hit_count.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
The file was removeddebuginfo-tests/dexter/dex/tools/view/Tool.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_program_state.cpp
The file was removeddebuginfo-tests/dexter-tests/memvars/ptr-to.c
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_syntax.cpp
The file was removeddebuginfo-tests/dexter/dex/utils/WorkingDirectory.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/lit.local.cfg
The file was removeddebuginfo-tests/dexter/dex/utils/Warning.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/view.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/Commands.md
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/err_limit_steps_no_values.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/ptr-to.c
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/utils/windows/__init__.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/control.py
The file was removeddebuginfo-tests/dexter/Commands.md
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining.c
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/lit.local.cfg.py
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/source-root-dir.cpp
The file was removeddebuginfo-tests/dexter/dex/command/commands/DexExpectWatchType.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/label_offset.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/utils.py
The file was addedcross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_bad_label_ref.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/windows/ComInterface.py
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/source/test.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/test.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/client.py
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/heuristic/Heuristic.py
The file was removeddebuginfo-tests/dexter/feature_tests/subtools/test/label_offset.cpp
The file was addedcross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
The file was addedcross-project-tests/debuginfo-tests/dexter/dex/command/StepValueInfo.py
The file was removeddebuginfo-tests/dexter-tests/stack-var.c
The file was modifiedREADME.md
The file was removeddebuginfo-tests/dexter/dex/builder/scripts/posix/gcc.sh
The file was removeddebuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.cfg
The file was removeddebuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
The file was removeddebuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
The file was addedcross-project-tests/debuginfo-tests/llgdb-tests/blocks.m
Commit 24af0990de255d3862e4c4ed73c00872ba67647e by james.henderson
[cross-project-tests] Rename vars to make sense for new directory name

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

Reviewed by: aprantl
The file was modifiedcross-project-tests/CMakeLists.txt
The file was modifiedcross-project-tests/lit.site.cfg.py.in
The file was modifiedcross-project-tests/lit.cfg.py
Commit 4446a72ad2dc2c268015dea4c649fcf4bca7f619 by james.henderson
[cross-project-tests] Add lld as a dependency if in LLVM_ENABLE_PROJECTS

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

Reviewed by: aprantl
The file was modifiedcross-project-tests/CMakeLists.txt
The file was modifiedcross-project-tests/lit.site.cfg.py.in
The file was modifiedcross-project-tests/lit.cfg.py
Commit 3827600ff3f78b788b910ea1ebc6f86b132b6048 by james.henderson
[cross-project-tests] Make clang optional if not in LLVM_ENABLE_PROJECTS

Also mark debuginfo_tests as UNSUPPORTED if clang can't be found and
remove it from the list of test dependencies if not in
LLVM_ENABLE_PROJECTS.

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

Reviewed by: aprantl
The file was addedcross-project-tests/debuginfo-tests/lit.local.cfg
The file was modifiedcross-project-tests/lit.cfg.py
The file was modifiedcross-project-tests/CMakeLists.txt
Commit 2b9ac789ecdb2f8fd23c5af9be72e05191dbbae2 by james.henderson
[cross-project-tests] Add/update check-* targets for cross-project-tests

This change modifies the existing check-debuginfo target to only run the
debuginfo tests within the cross-project-tests, and adds a new target
(check-cross-project) which runs all the tests. The former has also been
modified to not be included in check-all (since the check-cross-project
target covers them).

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

Reviewed by: aprantl
The file was modifiedcross-project-tests/CMakeLists.txt
Commit ad81dea9f66db61eed1229cd7e62babb6d381257 by david.spickett
[compiler-rt][asan] Disable two tests on Arm Thumb

I can't be sure of the cause but I believe these fail
due to to fast unwinding not working on Thumb.

Whatever the case, they have been failing on our bots
for a long time:
https://lab.llvm.org/buildbot/#/builders/170/builds/46

Require fast-unwinder-works for both.
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/recvfrom.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
Commit 6f3b775c3e9c685f74ecbe2ce1a94af52cc17c2f by gabor.marton
[Analyzer][solver] Add dump methods for (dis)equality classes.

This proved to be very useful during debugging.

Differential Revision: https://reviews.llvm.org/D103967
The file was addedclang/test/Analysis/expr-inspection-printState-eq-classes.c
The file was modifiedclang/test/Analysis/expr-inspection.c
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was addedclang/test/Analysis/expr-inspection-printState-diseq-info.c
Commit 8474bb13c3270d4195a663013b95e6065075ce56 by vsavchenko
[analyzer][solver][NFC] Simplify function signatures

Since RangeSet::Factory actually contains BasicValueFactory, we can
remove value factory from many function signatures inside the solver.

Differential Revision: https://reviews.llvm.org/D105005
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
Commit 20df2c7052c09934ce87ccc409da9d3dc24b7ca0 by Pushpinder.Singh
[AMDGPU][Libomptarget] Collect allocatable memory pools using HSA

The logic is almost similar to that of system.cpp with one change that
instead of adding all the memory pools to a device struct it only
keeps a single pool. The existing approach also always allocated memory on
the first HSA pool found for a GPU.

This depends on D104691. The goal of this series of patches is to remove
_atl_machine global. The next patch will drop g_atl_machine entirely.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D104695
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit 7749b19e9cb19c0cf5f4e026c719f612e9292fb4 by lucas.prates
[NFC] Adding test for clobbering of high registers in Thumb

Prior to the changes from D52010, clobbering Thumb's high registers in
inline asm would cause incorrect code to be generated - or an assertion
failure for debug builds. Now that the issue is no longer reproducible,
this patch adds a MIR test to cover that scenario.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D96335
The file was addedllvm/test/CodeGen/Thumb/high-reg-clobber.mir
Commit 88b1135e72ea15196c87cfcbecac29596d1d3002 by lucas.prates
[Aarch64] Adding support for Armv9-A Realm Management Extension

This adds support for Armv9-A's Realm Management Extension, including
three new system registers - MFAR_EL3, GPCCR_EL3 and GPTBR_EL3 - and
four new TLBI instructions.

The reference for the Realm Management Extension can be found at: https://developer.arm.com/documentation/ddi0615/aa.

Based on patches by Victor Campos.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D104773
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was addedllvm/test/MC/Disassembler/AArch64/armv9a-rme.txt
The file was addedllvm/test/MC/AArch64/armv9a-rme.s
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
Commit 4a6bd8e3e76d60c44fef70ed03f661b0c73fb5c7 by huberjn
[OpenMP] Increase attributor iterations on the GPU

Increase the number of attributor iterations on a GPU target. I forgot to
change this in D104416.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D104920
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit e9396449777f02d573deb25d603ee1b1d6e568c1 by herhut
[mlir][memref] Implement lowering of memref.copy to llvm

This lowering uses a library call to implement copying in the general case, i.e.,
supporting arbitrary rank and strided layouts.
The file was modifiedmlir/include/mlir/ExecutionEngine/CRunnerUtils.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
The file was modifiedmlir/lib/ExecutionEngine/CRunnerUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
Commit 5cf27532fa6f8b01acd0bd5401ce933b2eba0688 by lucas.prates
[NFC] Fixing short title underline in release notes file
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit 22aa3680eaccb9b77ca224711c4da3a354aa2d45 by aaron
[C++20] Support for lambdas in unevaluated context

Partially implement P0315R4.

This patch allow lambda in unevaluated context.
It does not implement temp.deduct/9.
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaCXX/anonymous-struct.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was addedclang/test/SemaCXX/lambda-unevaluated.cpp
Commit f9f5d415453b3fee98817d4f0bd8e5b5415e34cc by brendon.cahoon
[AMDGPU][GlobalISel] Legalize and select G_SBFX and G_UBFX

Adds legalizer, register bank select, and instruction
select support for G_SBFX and G_UBFX. These opcodes generate
scalar or vector ALU bitfield extract instructions for
AMDGPU. The instructions allow both constant or register
values for the offset and width operands.

The 32-bit scalar version is expanded to a sequence that
combines the offset and width into a single register.

There are no 64-bit vgpr bitfield extract instructions, so the
operations are expanded to a sequence of instructions that
implement the operation. If the width is a constant,
then the 32-bit bitfield extract instructions are used.

Moved the AArch64 specific code for creating G_SBFX to
CombinerHelper.cpp so that it can be used by other targets.
Only bitfield extracts with constant offset and width values
are handled currently.

Differential Revision: https://reviews.llvm.org/D100149
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ubfx.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i8.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sbfx.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sbfx.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ubfx.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ubfe.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-sbfx.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-ubfx.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/sdivrem.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ubfx.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement-stack-lower.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.workitem.id.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sbfx.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/ubfx.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/udivrem.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/sbfx.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit 40240877310897ad0643e71dfa0b86a149ca3a61 by huberjn
[OpenMP][NFC] Fix missing argument
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 1dd2d15b50fd471a20ad8b06b349c855f333fa48 by powerman1st
[AVR][test] Add a new test: functions with struct return type

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D99239
The file was addedllvm/test/CodeGen/AVR/struct.ll
Commit fe0e861a4d9946a3e7de1bc95a3ec12fa602b492 by gabor.marton
[Analyzer] Attempt to fix windows bots test failure b/c of new-line
The file was modifiedclang/test/Analysis/expr-inspection-printState-eq-classes.c
The file was modifiedclang/test/Analysis/expr-inspection-printState-diseq-info.c
Commit 13b2fba2398d433a5f5f9534c737c434dfb0c7b3 by huberjn
[OpenMP][NFC] Fix typo in OpenMPOpt
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit ae983de6cce23dfeeb629395f86528e911218ba4 by Reshabhkumar.Sharma
[InferAddressSpaces] NFC: For noop IntToPtr/PtrToInt pair cast to operator instead of PtrToInt

Compiler crashes at an assertion while casting operands to PtrToIntInst at some cases when
ptrtoint is present as an explicit operand to inttoptr. Explicit instruction operator as
operand can not be casted to an Instruction.

This patch replaces cast from PtrToInst to Operator which are later checked for constant
expressions.

Differential Revision: https://reviews.llvm.org/D105002
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was modifiedllvm/test/Transforms/InferAddressSpaces/AMDGPU/noop-ptrint-pair.ll
Commit 8d5c0b8768f729d48e25251755ec12cfd785c934 by fanbo.meng
[libc++] Remove unnecessary reinterpret_cast from typeinfo

In typeinfo there is a reinterpret_cast between a uintptr_t and size_t. These are two integer types and therefore a reinterpret_cast is not right for this situation. It looks like it may have been copied and pasted from above in the file. An implicit cast works in it's place.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D104814
The file was modifiedlibcxx/include/typeinfo
Commit c089e29aa47f8833d4370ac1a87a17f7b3a585cf by bradley.smith
[AArch64][SVE] DAG combine SETCC_MERGE_ZERO of a SETCC_MERGE_ZERO

This helps remove extra comparisons when generating masks for fixed
length masked operations.

Differential Revision: https://reviews.llvm.org/D104910
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-stores.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-loads.ll
Commit 31ef15e0442ac13135717179d32f438af5bd6ab1 by saghir
Teach peephole optimizer to not emit sub-register defs

Peephole optimizer should not be introducing sub-reg definitions
as they are illegal in machine SSA phase. This patch modifies
the optimizer to not emit sub-register definitions.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D103408
The file was modifiedllvm/lib/CodeGen/PeepholeOptimizer.cpp
The file was addedllvm/test/CodeGen/PowerPC/peephole-subreg-def.mir
Commit 0e09d18c6a0a73dc9ed9e45584407a7a44fbbc4a by sander.desmalen
Reland [GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize.

This patch relands https://reviews.llvm.org/D104454, but fixes some failing
builds on Mac OS which apparently has a different definition for size_t,
that caused 'ambiguous operator overload' for the implicit conversion
of TypeSize to a scalar value.

This reverts commit b732e6c9a8438e5204ac96c8ca76f9b11abf98ff.
The file was modifiedllvm/include/llvm/Support/LowLevelTypeImpl.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/unittests/CodeGen/LowLevelTypeTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
Commit 4cf072e7fbb02e77332fa2a6dd26a7160ee4cc2e by zarko
[AIX] Use less than or equal to for some alignment tests on AIX

On AIX the alignment implementation has the storage aligned to the
preferred alignment instead of the alignment of a type. Macro guard
these tests for AIX and have them pass when the "reference alignment" is
less than or equal to the alignment observed. In other words, the
alignment applied is at least as strict as the required alignment.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D104786
The file was modifiedllvm/unittests/Support/AlignOfTest.cpp
Commit 7d6e589fc86d7865fc4bf92c583209700dd32aac by jpienaar
Revert "[mlir][memref] Implement lowering of memref.copy to llvm"

This reverts commit e9396449777f02d573deb25d603ee1b1d6e568c1.

Breaks Windows build.
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
The file was modifiedmlir/include/mlir/ExecutionEngine/CRunnerUtils.h
The file was modifiedmlir/lib/ExecutionEngine/CRunnerUtils.cpp
Commit e5d8cfb2f134fcf0235ec1a35eec875a9cd36b21 by Stefan Gränitz
[Orc][examples] Temporarily disable LLJITWithRemoteDebugging build and test

The underlying TargetProcessControl API changes with D104694. Once it landed I can patch and re-enable the example.
The file was modifiedllvm/test/Examples/lit.local.cfg
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
Commit 35c0ab72fc20fcd47adda07f738338733d2c49e3 by gh
[MLIR] Simplify select to a not

Given a select that returns the logical negation of the condition, replace it with a not of the condition.

Differential Revision: https://reviews.llvm.org/D104966
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit d6cb0143cccedaaddcfa274b25e9696dd1de5ab1 by naromero
[flang][docs] Minor update to Fortran LLVM Tests-suite docs.

Updated Fortran LLVM Test-suite docs to reflect latest changes.

Reviewed By: Meinersbur, xgupta

Differential Revision: https://reviews.llvm.org/D104961
The file was modifiedflang/docs/FortranLLVMTestSuite.md
Commit ef78325c1033ae315bdeeb5dab31d906c8e58d97 by flo
[BasicAA] Add test to cover GetIndexDifference change in D99424.

Precommit test case for a change to GetIndexDifference in D99424.
The file was modifiedllvm/test/Analysis/BasicAA/gep-modulo.ll
Commit 558d9e82283e6b053b18091de6e56a5e208b7036 by david.spickett
[llvm][ARM] Treat xscale arch as an alias of armv5te

Previously xscale was known to everything apart
from the ELF streamer so we would crash as soon
as you tried to output an object file.

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D104776
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
The file was addedllvm/test/MC/ARM/directive-arch-xscale.s
Commit 540b4a5fb31086b6d40735e96e6ec497022107e7 by thakis
Revert "[DebugInfo] Enable variadic debug value salvaging"

This reverts commit adace79652174d126be290cab42b3122569fe15d.
Still breaks things, see comment on https://reviews.llvm.org/D91722
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/test/DebugInfo/salvage-nonconst-binop.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-info.ll
The file was modifiedllvm/test/DebugInfo/salvage-gep.ll
Commit d5402a2fee5d860e20378f819e200865af3a6113 by thakis
Revert "[Analyzer][solver] Add dump methods for (dis)equality classes."

This reverts commit 6f3b775c3e9c685f74ecbe2ce1a94af52cc17c2f.
Test fails flakily, see comments on https://reviews.llvm.org/D103967

Also revert follow-up "[Analyzer] Attempt to fix windows bots test
failure b/c of new-line"
This reverts commit fe0e861a4d9946a3e7de1bc95a3ec12fa602b492.
The file was removedclang/test/Analysis/expr-inspection-printState-eq-classes.c
The file was modifiedclang/test/Analysis/expr-inspection.c
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was removedclang/test/Analysis/expr-inspection-printState-diseq-info.c
Commit 75cacc6775ad8fc3d89c89ff77fc4a3b7de32111 by jay.foad
[AMDGPU] Use opName instead of PseudoName in VOP2 multiclasses. NFC.

This is just for consistency with all other instruction multiclasses
that pass around pseudo names as arguments.
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
Commit cccc7e5aa8088b3b721e1f430c47d199575fae9b by gh
[MLIR] Don't remove memref allocation if stored into another allocation

A canonicalization accidentally will remove a memref allocation if it is only stored into. However, this is incorrect if the allocation is the value being stored, not the allocation being stored into.

Differential Revision: https://reviews.llvm.org/D104947
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/test/Dialect/MemRef/canonicalize.mlir
Commit c3fe847f9d90de5a6a76fd1d5f5823ab4719accc by stefanp
[Clang] Add option to handle behaviour of vector bool/vector pixel.

Added the option `-altivec-src-compat=[mixed,gcc,xl]`. The default at this time is `mixed`.

The default behavior for clang is for all vector compares to return a scalar unless the vectors being
compared are vector bool or vector pixel. In that case the compare returns a
vector. With the gcc case all vector compares return vectors and in the xl case
all vector compares return scalars.

This patch does not change the default behavior of clang.

This option will be used in future patches to implement behaviour compatibility for the vector bool/pixel types.

Reviewed By: bmahjour

Differential Revision: https://reviews.llvm.org/D103615
The file was addedclang/test/CodeGen/vector-compat.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was addedclang/test/CodeGen/vector-compat-ternary.c
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was addedclang/test/CodeGen/vector-compat-pixel-bool-ternary.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/CodeGen/vector-compat-pixel-bool.c
Commit e6450d88e2801373d198bd63af547dbc0a096334 by herhut
[mlir][llvm] Fix windows build

Gate the include of alloca.h behind _WIN32 guard.

Differential Revision: https://reviews.llvm.org/D105036
The file was modifiedmlir/lib/ExecutionEngine/CRunnerUtils.cpp
Commit 44826ecd929bdd33b3c86650198a5f8a57965cc7 by gh
[MLIR] Correct memrefdataflow behavior in the presence of cast and other operations

MemRefDataFlow performs mem2reg style operations for affine load/stores. Unfortunately, it is not presently correct in the presence of external operations such as memref.cast, or function calls. This diff extends the functionality of the pass to remain correct in the presence of such ops.

Differential Revision: https://reviews.llvm.org/D104053
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineScalarReplacement.cpp
The file was modifiedmlir/test/Dialect/Affine/scalrep.mlir
Commit f32f3db9fcbf43b1a603c5da882557ebed62f1c5 by Louis Dionne
[libc++] Split the various iterator types out of <iterator>

Differential Revision: https://reviews.llvm.org/D104669
The file was removedlibcxx/test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.fail.cpp
The file was addedlibcxx/include/__iterator/reverse_iterator.h
The file was addedlibcxx/include/__iterator/wrap_iter.h
The file was modifiedlibcxx/include/span
The file was addedlibcxx/test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.verify.cpp
The file was modifiedlibcxx/include/iterator
The file was addedlibcxx/include/__iterator/back_insert_iterator.h
The file was modifiedlibcxx/include/module.modulemap
The file was addedlibcxx/include/__iterator/ostream_iterator.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/include/__iterator/istreambuf_iterator.h
The file was addedlibcxx/include/__iterator/move_iterator.h
The file was addedlibcxx/include/__iterator/iterator.h
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/include/regex
The file was addedlibcxx/include/__iterator/front_insert_iterator.h
The file was addedlibcxx/include/__iterator/insert_iterator.h
The file was addedlibcxx/include/__iterator/istream_iterator.h
The file was modifiedlibcxx/include/vector
The file was addedlibcxx/include/__iterator/ostreambuf_iterator.h
Commit 931e95687d6df71aa8a33376fd2d566c8153be24 by melanie.blower
[llvm][clang][fpenv] Create new intrinsic llvm.arith.fence to control FP optimization at expression level

This intrinsic blocks floating point transformations by the optimizer.

Author: Pengfei

Reviewed By: LuoYuanke, Andy Kaylor, Craig Topper, kpn

Differential Revision: https://reviews.llvm.org/D99675
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was addedllvm/test/CodeGen/X86/arithmetic_fence.ll
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was addedllvm/test/CodeGen/X86/arithmetic_fence2.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
Commit 2c02b0c3f45414ac6c64583e006a26113c028304 by melanie.blower
[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D104729
The file was modifiedclang/lib/Basic/Targets/SPIR.h
The file was modifiedclang/tools/clang-import-test/clang-import-test.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
Commit 4f1238e44d803b145997fa984677a6c5cdf1f417 by melanie.blower
[clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens

This patch adds a new clang builtin, __arithmetic_fence. The purpose of the
builtin is to provide the user fine control, at the expression level, over
floating point optimization when -ffast-math (-ffp-model=fast) is enabled.
The builtin prevents the optimizer from rearranging floating point expression
evaluation. The new option fprotect-parens has the same effect on
parenthesized expressions, forcing the optimizer to respect the parentheses.

Reviewed By: aaron.ballman, kpn

Differential Revision: https://reviews.llvm.org/D100118
The file was modifiedclang/docs/UsersManual.rst
The file was addedclang/test/Sema/arithmetic-fence-builtin.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/CodeGen/arithmetic-fence-builtin.c
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was addedclang/test/AST/arithmetic-fence-builtin.c
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/Driver/Options.td
Commit 918bb2a9782dc4906784b4f1ecd0f3011dfc38b4 by llvmgnsyncbot
[gn build] Port f32f3db9fcbf
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 3dee1e8a848d56178fc6013c343c1b144efb1425 by aschwaighofer
[coro] Fix rematerializable instruction sinking to coro.suspend blocks

There is a constraint that coro.suspend instructions need to be in their
own blocks. The coro split pass initially creates IR that obeys this constraint
(which is later checked). Sinking rematerializable instructions into these
blocks breaks that constraint.

Instead rematerialize in the predecessor block to the suspend's single
predecessor block.

Differential Revision: https://reviews.llvm.org/D104051
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
Commit 8815ef823c803e98f328068d1abde255296de9c3 by melanie.blower
Revert "[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options"

This reverts commit 2c02b0c3f45414ac6c64583e006a26113c028304.
buildbot fails
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Basic/Targets/SPIR.h
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/tools/clang-import-test/clang-import-test.cpp
Commit c27e5a2a8e34aaa4c6037498cd8d21df0a8e8e70 by melanie.blower
Revert "[clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens"

This reverts commit 4f1238e44d803b145997fa984677a6c5cdf1f417.
Buildbot fails on predecessor patch
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was removedclang/test/Sema/arithmetic-fence-builtin.c
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was removedclang/test/CodeGen/arithmetic-fence-builtin.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was removedclang/test/AST/arithmetic-fence-builtin.c
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit 7bcb3bd169e7f3540601f05932336aac2ea291f6 by sjoerd.meijer
[AArch64] Added tests to neon-truncstore.ll. NFC.
The file was modifiedllvm/test/CodeGen/AArch64/neon-truncstore.ll
Commit 3a7cea2858ff2665c5430ead186a45a7f7a2d112 by sjoerd.meijer
Revert "[AArch64] Custom lower <4 x i8> loads"

This reverts commit 51e434fc2590d1d3ffa6545cd07290a238db2b88 because of a
build bot failure in test-suite::GCC-C-execute-pr60960.test that I need to
investigate.
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vshift.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was addedllvm/test/CodeGen/AArch64/neon-extload.ll
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-load-ext.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
Commit 2dca0b5a1ce431692136b293fd5f9ecadea31750 by anirudh_prasad
[AsmParser][SystemZ][z/OS] Fix hanging scenario in HLASMAsmParser class

- In the caller of the overridden `parseStatement` function (i.e. the `AsmParser::Run()`) in the case of an error **and** if we're not at the start of the statement, we "eat" up until the end of the current statement, so we don't have to process it again.
- However, in the HLASMAsmParser class what's happening is that, if an error occurs at the very start of the statement (for example, you invoke the HLASMAsmParser to parse a gnu directive), we will error out, but we never really progress in terms of the next token in the statement to parse. We simply keep looping processing the same error over and over again (partly because we're at the start of the statement)
- To remedy this, when the `parseAsHLASMLabel` function fails, before returning, we "eat" until the end of the statement function, so we don't process it anymore.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D104869
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
Commit 88d5eba139598b51718b5a10b336e0bc9f51aff4 by herhut
Revert "Revert "[mlir][memref] Implement lowering of memref.copy to llvm""

This reverts commit 7d6e589fc86d7865fc4bf92c583209700dd32aac.

Windows build was unbroken.
The file was modifiedmlir/include/mlir/ExecutionEngine/CRunnerUtils.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/ExecutionEngine/CRunnerUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
Commit a8d1182f661ccecd99efd4e543fddf3172c67a95 by arthur.j.odwyer
[libc++] Remove some _LIBCPP_CXX03_LANG from iostreams headers.

With the STL containers, I didn't enable move operations in C++03 mode
because that would change the overload resolution for things that today
are copy operations. With iostreams, though, the copy operations aren't
present at all, and so I see no problem with enabling move operations
even in (Clang's greatly extended) C++03 mode.

Clang's C++03 mode does not support delegating constructors.

Differential Revision: https://reviews.llvm.org/D104310
The file was modifiedlibcxx/test/std/input.output/string.streams/ostringstream/ostringstream.assign/move.pass.cpp
The file was modifiedlibcxx/include/fstream
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/iostreams.base/is_error_code_enum_io_errc.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/move.pass.cpp
The file was modifiedlibcxx/include/sstream
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/string.streams/istringstream/istringstream.assign/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp
The file was modifiedlibcxx/include/ostream
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.fail.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/string.streams/stringstream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp
The file was modifiedlibcxx/include/istream
The file was modifiedlibcxx/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/include/ios
The file was modifiedlibcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/istream/istream.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/move.pass.cpp
Commit 5d6240b77e7e7199fcf0e89f6dd2f7eea3596a3c by gh
[MLIR][SCF] Inline ExecuteRegion if parent can contain multiple blocks

The executeregionop is used to allow multiple blocks within SCF constructs. If the container allows multiple blocks, inline the region

Differential Revision: https://reviews.llvm.org/D104960
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
Commit 9c5ed8d567924e807a6466b6ad681c8bf395cf58 by kparzysz
[Hexagon] Add patterns to load i1

This fixes https://llvm.org/PR50853
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was addedllvm/test/CodeGen/Hexagon/isel-extload-i1.ll
The file was addedllvm/test/CodeGen/Hexagon/isel/extload-i1.ll
Commit c7676d9993183f7041b1d79cc672ff14961c8777 by rob.suderman
[mlir][tosa] Update Tosa conv verifier to handle IntegerType input

Input/output types can be integers, which represent a quantized convolution.
Update verifier to expect this behavior.

Reviewed By: sjarus

Differential Revision: https://reviews.llvm.org/D104949
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit a4aa705d52e818cf526f5e41cce8e719befd97a6 by Jonas Devlieghere
[lldb] Remove spurious lldb/lldb subdirectory

Remove the lldb/lldb subdirectory which I must have accidentally created
when applying a patch with the wrong prefix number.

Thank you Nico Weber for pointing this out!
The file was removedlldb/lldb/test/Shell/Breakpoint/breakpoint-command.test
Commit 18c3c7784975700ae463bb461487d46e74324a66 by aaron
Add papers adopted by the C++ committee in the June 2021 plenary
The file was modifiedclang/www/cxx_status.html
Commit 2ab27758d5c5e7985cee1a2651bc0a9ee4c2d8c9 by gh
Revert "[MLIR][SCF] Inline ExecuteRegion if parent can contain multiple blocks"

This reverts commit 5d6240b77e7e7199fcf0e89f6dd2f7eea3596a3c.

The commit was mistakenly landed without a PR approval, this will be
reverted now and resubmitted.
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
Commit 355541a1b7a5011f8f4ebadc3e23b25c734f9d27 by Raphael Isemann
[lldb] Avoid using any shell when calling xcrun.

When we run `xcrun` we don't have any user input in our command so relying on
the user's default shell doesn't make a lot of sense. If the user has set the
system shell to a something that isn't supported yet (dash, ash) then we would
run into the problem that we don't know how to escape our command string.

This patch just avoids using any shell at all as xcrun is always at the same
path.

Reviewed By: aprantl, JDevlieghere, kastiglione

Differential Revision: https://reviews.llvm.org/D104653
The file was modifiedlldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
Commit 2a60ab76a796637d49bf1c7191f5b5a0c92f81bc by fmayer
[hwasan] print exact mismatch offset for short granules.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D104463
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/mem-intrinsics.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow-into.c
Commit f85b9d644398767f6b5cb046f952ed7dbd7dfc7a by Akira
[ObjC][ARC] Ignore operand bundle "clang.arc.attachedcall" on a call if
the call's return type is void

Instead of trying hard to prevent global optimization passes such as
deadargelim from changing the return type to void, just ignore the
bundle if the return type is void. clang currently emits calls to
@llvm.objc.clang.arc.noop.use, which consumes the function call result,
immediately after the function call to prevent changes to the return
type, but optimization passes can delete the call to
@llvm.objc.clang.arc.noop.use if the function call doesn't return, which
enables deadargelim to change the return type.

rdar://76671438

Differential Revision: https://reviews.llvm.org/D103062
The file was modifiedllvm/test/Transforms/ObjCARC/contract-rv-attr.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/include/llvm/Analysis/ObjCARCUtil.h
The file was modifiedllvm/test/Verifier/operand-bundles.ll
The file was modifiedllvm/docs/LangRef.rst
Commit 4f5ebfdcd6c9d459e262d1815f49a45bad3cbcfc by muiez
[SystemZ][z/OS][libcxx]: fix libcxx test cases failed on ebcdic mode on z/OS

This patch is to fix 2 libcxx test cases, test cases assumed 'a' > 'A' which is not case in z/OS platform on ebcdic mode, modified test cases to compare between upper letters or lower letters, or digits so ordering will be true for all platform.

Differential Revision: https://reviews.llvm.org/D104748
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/lt.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/lt.pass.cpp
Commit 57e53f013087d68305fe278aca0a92efc9b0e899 by psteinfeld
[flang] Fix conformability for intrinsic procedures

There are situations where the arguments of intrinsics must be
conformable, which is defined in section 3.36.  This means they must
have "the same shape, or one being an array and the other being scalar".
But the check we were actually making was that their ranks were the same.

This change fixes that and adds a test for the UNPACK intrinsic, where
the FIELD argument "shall be conformable with MASK".

Differential Revision: https://reviews.llvm.org/D104936
The file was modifiedflang/lib/Evaluate/intrinsics.cpp
The file was addedflang/test/Semantics/unpack.f90
Commit ad6bee87e6b78881223ebd71e52e5a336ef2a65c by Louis Dionne
[libc++] NFCI: Remove unused Lit parameter sanitizer_library
The file was modifiedlibcxx/test/configs/legacy.cfg.in
The file was modifiedlibcxxabi/test/lit.site.cfg.in
Commit 43fadefb0e77c56de7637c391cf98cf709b27095 by pklausler
[flang] Implement user-defined derived type runtime I/O

With derived type description tables now available to the
runtime library, it is possible to implement the concept
of "child" I/O statements in the runtime and use them to
convert instances of derived type I/O data transfers into
calls to user-defined subroutines when they have been specified
for a type.  (See Fortran 2018, subclauses 12.6.4.8 & 13.7.6).

- Support formatted, list-directed, and NAMELIST
   transfers to internal parent units; support these, and unformatted
   transfers, for external parent units.
- Support nested child defined derived type I/O.
- Parse DT'foo'(v-list) FORMAT data edit descriptors and passes
   their strings &/or v-list values as arguments to the defined
   formatted I/O routines.
- Fix problems with this feature encountered in semantics and
   FORMAT valiation during development and end-to-end testing.
- Convert typeInfo::SpecialBinding from a struct to a class
   after adding a member function.

Differential Revision: https://reviews.llvm.org/D104930
The file was modifiedflang/runtime/io-stmt.h
The file was modifiedflang/include/flang/Common/format.h
The file was modifiedflang/runtime/type-info.h
The file was modifiedflang/runtime/format-implementation.h
The file was modifiedflang/runtime/derived.cpp
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/runtime/unit.cpp
The file was modifiedflang/runtime/descriptor-io.h
The file was modifiedflang/runtime/type-info.cpp
The file was modifiedflang/runtime/io-error.cpp
The file was modifiedflang/runtime/io-stmt.cpp
The file was modifiedflang/runtime/tools.cpp
The file was modifiedflang/runtime/format.h
The file was addedflang/runtime/descriptor-io.cpp
The file was modifiedflang/runtime/unit-map.cpp
The file was modifiedflang/runtime/CMakeLists.txt
The file was modifiedflang/test/Semantics/typeinfo01.f90
The file was modifiedflang/runtime/io-api.cpp
The file was modifiedflang/runtime/io-error.h
The file was modifiedflang/runtime/format.cpp
The file was modifiedflang/runtime/unit.h
Commit 557e1fa02f470bd4f14b7aa4060430007332895a by jezng
[lld-macho] Extend ICF to literal sections

Literal sections can be deduplicated before running ICF. That makes it
easy to compare them during ICF: we can tell if two literals are
constant-equal by comparing their offsets in their OutputSection.

LLD-ELF takes a similar approach.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D104671
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/MachO/Options.td
The file was modifiedlld/MachO/ICF.cpp
The file was modifiedlld/MachO/InputSection.cpp
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/Driver.cpp
The file was addedlld/test/MachO/icf-literals.s
Commit 74d5f30d83f44ff3835a983bcce038f334cdbd6d by jezng
[lld-macho][nfc] Add absolute-vs-non-absolute symbol test for ICF

Make sure we don't wrongly fold two sections that refer to
symbols with the same value if they are not both absolute /
non-absolute.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D104876
The file was modifiedlld/test/MachO/icf.s
Commit bf457919f2db496b8fbca0a3f5f25b33c4e9b8f1 by jezng
[lld-macho][nfc] Remove unnecessary dyn_cast and simplify code
The file was modifiedlld/MachO/UnwindInfoSection.cpp
Commit 280593bd3ff1db6d19ccb8182698dd9c816734e2 by sameer.sahasrabuddhe
[Clang] [NFC] fix CHECK lines for convergent attribute tests
The file was modifiedclang/test/CodeGenCUDA/dft-func-attr-skip-intrinsic.hip
The file was modifiedclang/test/CodeGen/convergent-functions.cpp
The file was modifiedclang/test/CodeGenCUDA/convergent.cu
Commit 614b46e4dcab0d095e05f8b4da45ef935b7b86b4 by kadircet
[clangd] Add a flag to disable formatting of tweak edits

Some tweaks might edit file types not supported by clang-format. This
patch gives them a way to signal that they do not require formatting.

Differential Revision: https://reviews.llvm.org/D105039
The file was modifiedclang-tools-extra/clangd/unittests/ClangdTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
Commit 2dbe1c675fe94eeb7973dcc25b049d25f4ca4fa0 by melanie.blower
[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D104729
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Basic/Targets/SPIR.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/tools/clang-import-test/clang-import-test.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
Commit e837ce2a32369b2e9e8e5d60270c072c7dd63827 by kbobyrev
[clang-tidy] Add -line-filter to run-clang-tidy.py

This patch allows the use of --line-filter in clang-tidy.py from
run-clang-tidy.py

Author: [bansan (Vincent LE GARREC)](https://reviews.llvm.org/p/bansan/)

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D104981
The file was modifiedclang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Commit cd0a1226b50081e86eb75a89d01e8782423971a0 by pklausler
[flang] Fix "non-advancing" I/O, support $ in FORMAT

Non-advancing I/O was failing; ExternalFileUnit was losing
track of what writes had been committed to the file.  Fixed.
Also, support the common extension of $ and \ in a FORMAT
as being equivalent to ADVANCE=NO.

Differential Revision: https://reviews.llvm.org/D105046
The file was modifiedflang/runtime/io-stmt.cpp
The file was modifiedflang/runtime/io-stmt.h
The file was modifiedflang/runtime/connection.h
The file was modifiedflang/runtime/unit-map.cpp
The file was modifiedflang/runtime/io-api.cpp
The file was modifiedflang/runtime/unit.h
The file was modifiedflang/runtime/format.h
The file was modifiedflang/runtime/unit.cpp
The file was modifiedflang/runtime/format-implementation.h
Commit 14a8aa615597ef0aa424ac9545906bf8b9865063 by scott.linder
[ADT] Add makeVisitor to STLExtras.h

Adds a utility to combine multiple Callables into a single Callable.
This is useful to make constructing a visitor for `std::visit`-like
functions more natural; functions like this will be added in future
patches.

Intended to supercede https://reviews.llvm.org/D99560 by
perfectly-forwarding the combined Callables.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D100670
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit 333c0acb9bb36bd89ab75abba3d368da67f7370c by nikita.ppv
[Verifier] Support opaque pointers for global_ctors

Adjust the assertion to allow opaque pointers.
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
Commit 1d85d0879a75b9556b10f55739437af8233c0b64 by melanie.blower
Revert "[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options"

This reverts commit 2dbe1c675fe94eeb7973dcc25b049d25f4ca4fa0.
More buildbot failures
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/tools/clang-import-test/clang-import-test.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/lib/Basic/Targets/SPIR.h
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit 61242c0addb120294211d24a97ed89837418cb36 by scott.linder
Revert "[ADT] Add makeVisitor to STLExtras.h"

This reverts commit 14a8aa615597ef0aa424ac9545906bf8b9865063.

Mistakenly landed this before a patch it should depend on was accepted.
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
Commit b0d27eb069159e21c3b62cdf011937739950eafc by Duncan P. N. Exon Smith
IR: Fix use-list-order round-tripping for br

Fix the use-list-order for br instructions by setting the operands in
order of their index to match the use-list-order prediction. The case
where this matters is when there is a condition but the if-true and
if-false branches are identical.

Bug was found when reviewing failures pointed at by
https://reviews.llvm.org/D104950. Fix is similar to
3cf415c6c367ced43175ebd1dc4bd9582c7f5376.

Differential Revision: https://reviews.llvm.org/D104959
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was addedllvm/test/Assembler/br-single-destination.ll
Commit 6d6f35eb7b92c6dd4478834497752f4e963db16d by scott.linder
[ADT] Add makeVisitor to STLExtras.h

Relands patch reverted by 61242c0addb120294211d24a97ed89837418cb36
The original patch mistakenly included unrelated tests.

Adds a utility to combine multiple Callables into a single Callable.
This is useful to make constructing a visitor for `std::visit`-like
functions more natural; functions like this will be added in future
patches.

Intended to supercede https://reviews.llvm.org/D99560 by
perfectly-forwarding the combined Callables.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D100670
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit 7ac0442fe59dbe0f9127e79e8786a7dd6345c537 by nikita.ppv
[SanitizerCoverage] Support opaque pointers

Pass element type rather than pointer type to some functions, so
we know which type to use for the global variables.
The file was addedllvm/test/Instrumentation/SanitizerCoverage/opaque-ptr.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Commit fe3c425ae01389eb865d7d979e1ae0c53cc92740 by ezhulenev
[mlir] Destroy MLIRContext thread pool when disable multi threading

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D105057
The file was modifiedmlir/lib/IR/MLIRContext.cpp
Commit 5bc9cc1332aa042b68fb5efa9fb50eaaf2d54f79 by jpienaar
[drr] Enable specifying range in NativeCodeCall replacement.

This enables creating a replacement rule where range of positional replacements
need not be spelled out, or are not known (e.g., enable having a rewrite that
forward all operands to a call generically).

Differential Revision: https://reviews.llvm.org/D104955
The file was modifiedmlir/test/mlir-tblgen/rewriter-indexing.td
The file was modifiedmlir/lib/TableGen/Format.cpp
The file was modifiedmlir/docs/DeclarativeRewrites.md
The file was modifiedmlir/include/mlir/TableGen/Format.h
Commit 57ad2e106767f298a0248a5894fcb3581f533f93 by huberjn
[OpenMP] Prevent OpenMPOpt from internalizing uncalled functions

Currently OpenMPOpt will only check if a function is a kernel before deciding not to internalize it. Any uncalled function that gets internalized will be trivially dead in the module so this is unnnecessary.

Depends on D102423

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D104890
The file was modifiedllvm/test/Transforms/OpenMP/remove_globalization.ll
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit a00ad8599045ce7d0b5d2a64a8d22267df37bd14 by ndesaulniers
[Test] rewrite inline_nossp.ll

While adding remark based tests in D104944, I noticed that the tests
that we were passing were passing for the wrong reason. They were
passing because the dynamic allocas were preventing inlining, not the
code I added in D91816.

Rewrite and simplify the test. Add remark based checks to validate we're
preventing inline substitutions for the right reasons.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D104958
The file was modifiedllvm/test/Transforms/Inline/inline_nossp.ll
Commit 8aee282f57f42773570fc5d29f03a03361ff7fb4 by ndesaulniers
[IR] remove assert since always_inline can appear on CallBase

I added an assertion in D91816 (documenting behavior added in D93422)
that callers and callees with mismatched fn attr's related to stack
protectors should not occur unless the callee was attributed
always_inline.

This falls apart when a call, invoke, or callbr (any instruction
inheriting from CallBase) itself has an always_inline attribute. Clang
will emit such attributes on Instructions when __attribute__((flatten))
is used to recursively force inlining from a caller.

Since these assertions only had the caller and callee Functions, and not
the call site (CallBase derived classes), we would have to search the
caller for such instructions to reconstruct the call site information.
But at that point, inlining has already occurred; the call site has
already been removed from the caller.

Remove the assertions, add a unit test for always_inline call sites, and
update the LangRef.

Another curiosity is that the always_inline Attribute on Instructions is
only expanded by the inline pass, not the always_inline pass.

Thanks to @pcc on this report when building Android's RunTime (ART)
interpreter.

Reviewed By: pcc, MaskRay

Differential Revision: https://reviews.llvm.org/D104944
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Transforms/Inline/inline_nossp.ll
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit 357c339ec83c94ec83314174553ef8be2bda3c8b by spatel
[InstCombine][test] add test for potential miscompile with constant expression; NFC (PR50906)
The file was modifiedllvm/test/Transforms/InstCombine/indexed-gep-compares.ll
Commit 9d0bf7699c0292041b65a0c0bac371003e067ef3 by spatel
[InstCombine] don't try to fold a constant expression that can trap (PR50906)

We could use a bigger hammer and bail out on any constant
expression, but there's a regression test that appears to
validly do the transform (although it may not have been
intending to check that optimization).
The file was modifiedllvm/test/Transforms/InstCombine/indexed-gep-compares.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 69046b4a79e2670053362112aa467f89faf9e53e by pifon
[mlir] Skip scalar operands when tiling to linalg.tiled_loop.

We are interested only in tensors/memrefs when creating a TiledLoopOp.

Differential Revision: https://reviews.llvm.org/D105059
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
Commit c9f3240c9d94f8128371358887e8b9e5c10c122a by jhuber6
[OpenMP][Documentation] Add OpenMPOpt optimization section

Add some information about the optimizations currently provided by
OpenMPOpt. Every optimization performed should eventually be listed
here.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D105050
The file was modifiedopenmp/docs/optimizations/OpenMPOpt.rst
Commit 2190c48fdece1712735c507e3f343ae5b872189e by jhuber6
[OpenMP][Documentation] Add FAQ entry for CMake module

This patch adds documentation for using the CMake find module for OpenMP
target offloading provided by LLVM. It also removes the requirement for
AMD's architecture to be set as this isn't necessary for upstream LLVM.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D105051
The file was modifiedopenmp/docs/SupportAndFAQ.rst
The file was modifiedopenmp/tools/Modules/README.rst
The file was modifiedopenmp/tools/Modules/FindOpenMPTarget.cmake
Commit aad87328fabff9382bac0b452c83934515e6d0c8 by nikita.ppv
[AsmWriter] Properly handle uselistorder for global symbols

Currently, AsmWriter will stick uselistorder directives for global
values inside individual functions. This doesn't make a lot of sense,
and interacts badly with D104950, as use list order adjustments will
be performed while still working on a forward reference.

This patch instead always prints uselistorder directives for globals
at the module level. This isn't really compatible with the previously
used implementation approach. Rather than walking through all values
again, use the OrderMap (after stabilizing its order) to go through
all values and compute the use list shuffles for them. Classify them
per-function, or nullptr for globals.

Even independently of D104950, this seems to fix a few
verify-uselistorder failures. Conveniently, there is even a
pre-existing failing test that this fixes.

Differential Revision: https://reviews.llvm.org/D104976
The file was addedllvm/test/Assembler/uselistorder_global.ll
The file was modifiedllvm/test/Bitcode/use-list-order2.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
Commit 8cd35ad854ab4458fd509447359066ea3578b494 by scott.linder
[DebugInfo] Enforce implicit constraints on `distinct` MDNodes

Add UNIQUED and DISTINCT properties in Metadata.def and use them to
implement restrictions on the `distinct` property of MDNodes:

* DIExpression can currently be parsed from IR or read from bitcode
  as `distinct`, but this property is silently dropped when printing
  to IR. This causes accepted IR to fail to round-trip. As DIExpression
  appears inline at each use in the canonical form of IR, it cannot
  actually be `distinct` anyway, as there is no syntax to describe it.
* Similarly, DIArgList is conceptually always uniqued. It is currently
  restricted to only appearing in contexts where there is no syntax for
  `distinct`, but for consistency it is treated equivalently to
  DIExpression in this patch.
* DICompileUnit is already restricted to always being `distinct`, but
  along with adding general support for the inverse restriction I went
  ahead and described this in Metadata.def and updated the parser to be
  general. Future nodes which have this restriction can share this
  support.

The new UNIQUED property applies to DIExpression and DIArgList, and
forbids them to be `distinct`. It also implies they are canonically
printed inline at each use, rather than via MDNode ID.

The new DISTINCT property applies to DICompileUnit, and requires it to
be `distinct`.

A potential alternative change is to forbid the non-inline syntax for
DIExpression entirely, as is done with DIArgList implicitly by requiring
it appear in the context of a function. For example, we would forbid:

    !named = !{!0}
    !0 = !DIExpression()

Instead we would only accept the equivalent inlined version:

    !named = !{!DIExpression()}

This essentially removes the ability to create a `distinct` DIExpression
by construction, as there is no syntax for `distinct` inline. If this
patch is accepted as-is, the result would be that the non-canonical
version is accepted, but the following would be an error and produce a diagnostic:

    !named = !{!0}
    ; error: 'distinct' not allowed for !DIExpression()
    !0 = distinct !DIExpression()

Also update some documentation to consistently use the inline syntax for
DIExpression, and to describe the restrictions on `distinct` for nodes
where applicable.

Reviewed By: StephenTozer, t-tye

Differential Revision: https://reviews.llvm.org/D104827
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was addedllvm/test/Assembler/invalid-diarglist-outside-function.ll
The file was modifiedllvm/include/llvm/IR/Metadata.def
The file was addedllvm/test/Bitcode/DIExpression-is-distinct-upgrade.ll
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was addedllvm/test/Assembler/invalid-diexpression-distinct.ll
The file was modifiedllvm/docs/SourceLevelDebugging.rst
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was addedllvm/test/Bitcode/DIExpression-is-distinct-upgrade.ll.bc
The file was modifiedllvm/include/llvm/AsmParser/LLParser.h
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.cpp
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
Commit 1fa70235856962fae723d97cb39b47da6eb9666e by omair.javaid
[LLDB] dotest.py set selected_platform on remote connection

This patch fixes a bug in dotest.py where lldb.selected_platform was
being set to host platform even after a successful connection to a
remote platform via platform url. This patch fixes this behavior and
sets selected_platform to remote_platform after a successful connection.

This patch also removes target_platform variable from run_suite.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D105060
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit 633ca3ff2f8fc2e2b69001d17abc43f302578fc1 by hoy
[UniqueLinkageName] Use exsiting GlobalDecl object instead of reconstructing one.

C++ constructors/destructors need to go through a different constructor to construct a GlobalDecl object in order to retrieve their linkage type. This causes an assert failure in the default constructor of GlobalDecl. I'm chaning it to using the exsiting GlobalDecl object.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102356
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/CodeGen/unique-internal-linkage-names.cpp
Commit f1969b74a7e70623129872d69caba4759df47fb0 by thakis
[lld/mac] Fix nondeterminism in output section ordering

The two different thread_local_regular sections (__thread_data and
more_thread_data) had nondeterminstic ordering for two reasons:

1. https://reviews.llvm.org/D102972 changed concatOutputSections
   from MapVector to DenseMap, so when we iterate it to make
   output segments, we would add the two sections to the __DATA
   output segment in nondeterministic order.

2. The same change also moved the two stable_sort()s for segments
   and sections to sort(). Since sections with assigned priority
   (such as TLV data) have the same priority for all sections,
   this is incorrect -- we must use stable_sort() so that the
   initial (input-order-based) order remains.

As a side effect, we now (deterministically) put the __common
section in front of __bss (while previously we happened to
put it after it). (__common and __bss are both zerofill so
both have order INT_MAX, but common symbols are added to
inputSections before normal sections are collected.)

Makes lld/test/MachO/tlv.s and lld/test/MachO/tlv-dylib.s pass with
LLVM_ENABLE_EXPENSIVE_CHECKS=ON.

Differential Revision: https://reviews.llvm.org/D105054
The file was modifiedlld/MachO/OutputSegment.cpp
The file was modifiedlld/test/MachO/tlv-dylib.s
The file was modifiedlld/MachO/Writer.cpp
Commit aaad46e6f5f7a16bc6be278d92671f8334156d3a by huberjn
[OpenMP] Run the OpenMPOpt module pass at O1

Now that the OpenMPOpt module pass include important optimizations for removing
globalization from offloading regions it should be run at a lower optimization
level.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D105056
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Commit b608053efb88378900d0f08148662e433aa609db by Stanislav.Mekhanoshin
[IR] Fix replaceUsesWithIf ponetial issue with constants

There can be a use after free in the Value::replaceUsesWithIf()
if two uses point to the same constant. Patch defers handling
of the constants past the iterator scan.

Another potential issue is that handleOperandChange updates all
the uses in a given Constant, not just the one passed to
ShouldReplace. Added a FIXME comment.

Both issues are not currently exploitable as the only use of
this call with constants avoids it.

Differential Revision: https://reviews.llvm.org/D105061
The file was modifiedllvm/lib/IR/Value.cpp
Commit 716d2fedbfc8e67a478f2bee7024729f8f94ca10 by listmail
Precommit miscompile test from D103700
The file was addedllvm/test/Transforms/LoopVectorize/unroll_nonlatch.ll
Commit 8e66fc438463e8cf6fa05e88b51ce29b604ce307 by Lang Hames
[JITLink][ELF] Move ELF section and symbol parsing into ELFLinkGraphBuilder.

Move architecture independent ELF parsing/graph-building code from
ELFLinkGraphBuilder_x86_64 to the ELFLinkGraphBuilder base class template.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/ELF_skip_debug_sections.s
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
Commit 473a21c0e9684b19016fd7367b28cc0ff12e928d by riddleriver
[vscode-mlir] Add support for restarting the server on setting/server changes

This revision adds detection for changes to either the mlir-lsp-server binary or the setting, and prompts the user to restart the server. Whether the user gets prompted or not is a configurable setting in the extension, and this setting may updated based on the user response to the prompt.

Differential Revision: https://reviews.llvm.org/D104501
The file was addedmlir/utils/vscode/src/mlirContext.ts
The file was modifiedmlir/utils/vscode/package.json
The file was modifiedmlir/utils/vscode/src/extension.ts
The file was modifiedmlir/utils/vscode/package-lock.json
The file was addedmlir/utils/vscode/src/config.ts
The file was addedmlir/utils/vscode/src/configWatcher.ts
Commit d77ccfdc72182cf7ca1bbf6b8b47e062766a9f1f by gclayton
Create synthetic symbol names on demand to improve memory consumption and startup times.

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/D104488
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/source/Symbol/Symbol.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
Commit 323bcbdba0e6ffa206a4575ce90e5056e8e77c09 by gclayton
Fix buildbot failure after https://reviews.llvm.org/D104488.
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit ab546ead3bf720b1789ddb2e093c398409ec3679 by gclayton
Fix a case where multiple symbols with zero size would cause duplicate entries in gsym files.

Symbol tables can have symbols with no size in mach-o files that were failing to get combined into a single entry. This resulted in many duplicate entries for the same address and made gsym files larger.

Differential Revision: https://reviews.llvm.org/D105068
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
Commit 0d6e4199e32a3a5942f920bf13c0a0ddf10d2579 by thomasraoux
[mlir][vector] Order parallel indices before transposing the input in multireductions

The current code does not preserve the order of the parallel
dimensions when doing multi-reductions and thus we can end
up in scenarios where the result shape does not match the
desired shape after reduction.

This patch fixes that by ensuring that the parallel indices
are in order and then concatenates them to the reduction dimensions
so that the reduction dimensions are innermost.

Differential Revision: https://reviews.llvm.org/D104884
The file was modifiedmlir/test/Dialect/Vector/vector-multi-reduction-lowering.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit a8a6e5b094aac642f436390294ec837400c521bb by thakis
[lld-macho] Preserve alignment for non-deduplicated cstrings

Fixes PR50637.

Downstream bug: https://crbug.com/1218958

Currently, we split __cstring along symbol boundaries with .subsections_via_symbols
when not deduplicating, and along null bytes when deduplicating. This change splits
along null bytes unconditionally, and preserves original alignment in the non-
deduplicated case.

Removing subsections-section-relocs.s because with this change, __cstring
is never reordered based on the order file.

Differential Revision: https://reviews.llvm.org/D104919
The file was modifiedlld/MachO/Writer.cpp
The file was removedlld/test/MachO/subsections-section-relocs.s
The file was modifiedlld/MachO/InputSection.cpp
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was addedlld/test/MachO/dead-strip-align.s
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/InputSection.h
Commit 31eb696fc4cd3b1ed8054d88af54f214c0f92989 by lxfind
[Coroutines] Remove CoroElide from O0 pipeline

CoroElide pass works only when a post-split coroutine is inlined into another post-split coroutine.
In O0, there is no inlining after CoroSplit, and hence no CoroElide can happen.
It's useless to put CoroElide pass in the O0 pipeline and it will never be triggered (unless I miss anything).

Differential Revision: https://reviews.llvm.org/D105066
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/Coroutines/smoketest.ll
The file was modifiedclang/test/CodeGenCoroutines/coro-newpm-pipeline.cpp
Commit e818eface8034040fbea7ce2f05761944b2d53b1 by michael.hliao
[MIRParser] Add machine metadata.

- Add standalone metadata parsing support so that machine metadata nodes
  could be populated before and accessed during MIR is parsed.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D103282
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was addedllvm/test/CodeGen/MIR/X86/machine-metadata.mir
The file was modifiedllvm/include/llvm/CodeGen/MIRParser/MIParser.h
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err2.mir
The file was addedllvm/test/CodeGen/MIR/AMDGPU/machine-metadata.mir
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err7.mir
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was addedllvm/test/CodeGen/MIR/AArch64/machine-metadata-error.mir
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err1.mir
The file was addedllvm/test/CodeGen/MIR/AMDGPU/machine-metadata-error.mir
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err0.mir
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err4.mir
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err6.mir
The file was addedllvm/test/CodeGen/MIR/AArch64/machine-metadata.mir
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err8.mir
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.h
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err5.mir
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.cpp
The file was addedllvm/test/CodeGen/MIR/Generic/machine-metadata-err3.mir
The file was addedllvm/test/CodeGen/MIR/X86/machine-metadata-error.mir
Commit 948308ef34dc7da8bb741a85eb9941cc2b05d227 by michael.hliao
Fix `-Wunused-variable` warning. NFC.
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit 42c05ed8beb264ccae0b471ca67ad3d7a6aeaa0c by gclayton
Fix failing tests after https://reviews.llvm.org/D104488.

Synthetic names no longer have the shared library name appended to the end.
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/symtab.test
The file was modifiedlldb/test/Shell/ObjectFile/ELF/eh_frame-symbols.yaml
Commit ae79854e1c597962b74cb13293fcd5d31a2ca9bc by lkail
[AIX][compiler-rt] Deliver libatomic.a at top level library directory

Install libatomic.a in top level library directory so that compiler can find it in search directories.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D104908
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTAIXUtils.cmake
Commit c94c8d8b5d999c97ea424b35a1cb540d2a1d3bc6 by ben.shi
[AVR][clang] Fix wrong calling convention in functions return struct type

According to AVR ABI (https://gcc.gnu.org/wiki/avr-gcc), returned struct value
within size 1-8 bytes should be returned directly (via register r18-r25), while
larger ones should be returned via an implicit struct pointer argument.

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D99237
The file was addedclang/test/CodeGen/avr/struct.c
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 6d234a6908646cbdefcbbb4c0ea1ff2cf4a5482f by xiang1.zhang
[X86] Zero some outputs of Kelocker intrinsics in error case

Reviewed By: WangPengfei

Differential Revision: https://reviews.llvm.org/D104766
The file was modifiedclang/lib/Headers/keylockerintrin.h
The file was modifiedclang/test/CodeGen/X86/keylocker.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit c94cf97b53566a26245c54ea0c41b0dc83daf8a0 by alexshap
[llvm-objcopy][MachO] Minor code cleanup

Remove unnecessary template in MachOReader.cpp. NFC.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
Commit e1b8fde1cbfc031d67d9b316f1b4ac3ab9c8801f by dblaikie
Revert "[Clang] Add option to handle behaviour of vector bool/vector pixel."

This reverts commit c3fe847f9d90de5a6a76fd1d5f5823ab4719accc.

Tests fail in non-asserts builds because they assume named IR, by the
looks of it (testing for the "entry" label, for instance). I don't know
enough about the update_cc_test_checks.py stuff to know how to manually
fix these tests, so reverting for now.
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was removedclang/test/CodeGen/vector-compat.c
The file was removedclang/test/CodeGen/vector-compat-ternary.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was removedclang/test/CodeGen/vector-compat-pixel-bool-ternary.c
The file was removedclang/test/CodeGen/vector-compat-pixel-bool.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 487f74a6c4151d13d3a7b54ee4ab7beaf3e87487 by sivachandra
[libc][Obvious] Fix typo in implementation of aarch64 clearExcept.

Instead of reading and updating the status word, control word was being
updated.
The file was modifiedlibc/utils/FPUtil/aarch64/FEnv.h
Commit d15663710c91204e5987279c517a10f653efa2d9 by pifon
Revert "[mlir] Skip scalar operands when tiling to linalg.tiled_loop."

This reverts commit 69046b4a79e2670053362112aa467f89faf9e53e. It did not
really break anything, but it was decided to allow scalars and other
non-shaped operands for tiled_loop.
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit a2a4bc561ddf61bd5104674072c79fede3380ab1 by gysit
[mlir][linalg] All StructuredOp parameters are inputs or outputs.

Adapt the StructuredOp verifier to ensure all operands are either in the input or the output group. The change is possible after adding support for scalar input operands (https://reviews.llvm.org/D104220).

Differential Revision: https://reviews.llvm.org/D104783
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
Commit d8faf03807ac059f669ddea8742dd540e58e45be by tianqing.wang
[X86] Add -mgeneral-regs-only support.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D103943
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/Driver/x86-mgeneral-regs-only.c
The file was addedclang/test/CodeGen/attr-target-general-regs-only-x86.c
Commit dcfc2c3fac980b137415c17f2f19c06c3e2bd7fb by david.sherwood
[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable

Avoid creating a IRBuilder stack variable with the same name as the
class member.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 6229369e5089b295203424a077c60a7449aab803 by alexshap
Revert "[llvm-objcopy][MachO] Minor code cleanup"

This reverts commit c94cf97b53566a26245c54ea0c41b0dc83daf8a0
since it appears to have broken linaro-clang-armv7-quick build bot
and needs further investigation.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
Commit 51d969dc27a80704038b653537fc12a31f4c31f0 by james.henderson
[DebugInfo] Bug 41152 - Improve dumping of empty location expressions

Fixes PR41152 (https://bugs.llvm.org/show_bug.cgi?id=41152).

Reviewed by: jhenderson, dblaikie, SouraVX

Differential Revision: https://reviews.llvm.org/D103502
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
The file was addedllvm/test/DebugInfo/X86/dwarf-empty-expression.s
The file was modifiedllvm/test/MC/X86/dwarf-size-field-overflow.test
Commit 91fa3565da16f77e07270e5323874abc22661cb0 by flo
[BasicAA] Be more careful with modulo ops on VariableGEPIndex.

(V * Scale) % X may not produce the same result for any possible value
of V, e.g. if the multiplication overflows. This means we currently
incorrectly determine NoAlias in some cases.

This patch updates LinearExpression to track whether the expression
has NSW and uses that to adjust the scale used for alias checks.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D99424
The file was modifiedllvm/include/llvm/Analysis/BasicAliasAnalysis.h
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/test/Analysis/BasicAA/gep-modulo.ll
Commit b8bac6b33c576dec88add0e6a68e96219e278c8a by diana.picus
[flang] Add runtime interface for SYSTEM_CLOCK

SYSTEM_CLOCK may take up to 3 optional parameters, all of which are
INTENT(OUT). The COUNT and COUNT_MAX parameters are integer scalars,
while COUNT_RATE may be a real or integer scalar.

This patch breaks up the interface into 3 different functions, one for
each parameter. All 3 return integers. It is up to lowering to convert
the results to the preferred type.

Differential Revision: https://reviews.llvm.org/D104851
The file was modifiedflang/runtime/time-intrinsic.h
Commit 4d8871a898b30f11c905b27954c18d826c0953c9 by jeroen.dobbelaere
PR50767: clear non-distinct debuginfo for function with nodebug definition after undecorated declaration

Fix suggested by Yuanfang Chen:

Non-distinct debuginfo is attached to the function due to the undecorated declaration. Later, when seeing the function definition and `nodebug` attribute, the non-distinct debuginfo should be cleared.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D104777
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was addedclang/test/CodeGen/attr-nodebug2.c
Commit 6178ddcd2b70e6a187e1960f00f5985c390a80a0 by tianqing.wang
[X86] Add a test to reveal a bug in CMOV conversion.

CMOV conversion first rewrites all CMOVs with memory load to branches.
Then runs a second pass to convert other CMOVs in loops if profitable.
But the first pass doesn't add new basic blocks to MachineLoopInfo,
CMOVs in these blocks are ignored in the subsequent pass.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D104692
The file was modifiedllvm/test/CodeGen/X86/x86-cmov-converter.ll
Commit fe1874dd2dd99c9811db515a2957e2a42f9f6868 by medismail.bennani
[lldb/Interpreter] Add setting to set session transcript save directory

This patch introduces a new interpreter setting
`interpreter.save-session-directory` so the user can specify a directory
where the session transcripts will be saved.

If not set, the session transcript are saved on a temporary file.

rdar://72902842

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/test/API/commands/session/save/TestSessionSave.py
The file was modifiedlldb/source/Interpreter/InterpreterProperties.td
Commit d6b64612bd92cda8b53ef348fb578983124c600f by medismail.bennani
[lldb/Interpreter] Fix session-save-on-quit when using ^D

Previously, when `interpreter.save-session-on-quit` was enabled, lldb
would save the session transcript only when running the `quit` command.

This patch changes that so the transcripts are saved when the debugger
object is destroyed if the setting is enabled.

rdar://72902650

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Commands/CommandObjectQuit.cpp
The file was modifiedlldb/test/API/commands/session/save/TestSessionSave.py
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Core/Debugger.cpp
Commit 78d309ce197c30593450e792b0c2dc7a575f0050 by olemarius.strohm
[OpenCL] Fix qualifiers check on binding references to temporaries

Fix the qualifiers check from PR49733.

Fixes: PR49733

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D103962
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit 159024ce231502d4d68825c35c3548a14577f0fd by vsavchenko
[analyzer] Implement getType for SVal

This commit adds a function to the top-class of SVal hierarchy to
provide type information about the value.  That can be extremely
useful when this is the only piece of information that the user is
actually caring about.

Additionally, this commit introduces a testing framework for writing
unit-tests for symbolic values.

Differential Revision: https://reviews.llvm.org/D104550
The file was addedclang/unittests/StaticAnalyzer/SValTest.cpp
The file was modifiedclang/unittests/StaticAnalyzer/CMakeLists.txt
The file was modifiedclang/lib/StaticAnalyzer/Core/SVals.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Commit fc6a5d85ea2e18886f352f1ac5f9399ddeede336 by llvmgnsyncbot
[gn build] Port 159024ce2315
The file was modifiedllvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Commit c76fe67a7be02c7a44fb8cb64586cc4417321190 by llvmgnsyncbot
[gn build] Port 9b02a9b40150
The file was modifiedllvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Commit b2842298cebf420ecb3750bf309021a7f37870c1 by vsavchenko
[analyzer] Fix SValTest for LocAsInt test
The file was modifiedclang/unittests/StaticAnalyzer/SValTest.cpp
Commit 371ee32e01a788a6dfc62cb7b10a94b80fe28425 by david.green
[ARM] Fold extract of ARM_BUILD_VECTOR

This adds a small fold for extract (ARM_BUILD_VECTOR) to fold to the
original node. This can help simplify the resulting codegen in some
cases.

Differential Revision: https://reviews.llvm.org/D104860
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shuffle.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmull-splat.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
The file was modifiedllvm/test/CodeGen/ARM/big-endian-vector-callee.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-soft-float-abi.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst3.ll
The file was modifiedllvm/test/CodeGen/ARM/big-endian-vector-caller.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld3.ll
Commit 7dec20dbb6ae4a095e586c94eca59008506b5de5 by chiahungduan
[mlir-reduce] Add doc for usage of mlir-reduce

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D103683
The file was addedmlir/docs/Tools/mlir-reduce.md
Commit 6cf6f6f65fde9638a2ca64cd8013d0d0ab1d473c by lebedev.ri
[NFC][InstCombine] foldAggregateConstructionIntoAggregateReuse(): cast to Instruction eagerly

In all of these, the value must be an instruction for us to succeed anyway,
so change it to maybe hopefully make further changes more straight-forward.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit 293064222a013055cda9240647110f5bcf8e1f31 by ivan.butygin
[mlir] Add MemoryEffects::Allocate to memref::CloneOp

Without it BufferDeallocationPass process only CloneOps created during pass itself and ignore all CloneOps that were already present in IR.

For our specific usecase:

```
func @dealloc_existing_clones(%arg0: memref<?x?xf64>, %arg1: memref<?x?xf64>) -> memref<?x?xf64> {
  return %arg0 : memref<?x?xf64>
}
```

Input arguments will be freed immediately after return from function and we want to prolong lifetime for the returned argument.
To achieve this we explicitly add clones to all input memrefs and expect that BufferDeallocationPass will add correct deallocs to them (unnessesary clone+dealloc pairs will be canonicalized away later).

Differential Revision: https://reviews.llvm.org/D104973
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/test/Transforms/buffer-deallocation.mlir
Commit 303b6d5e981947cff7e12626669c1fbeef046f18 by david.sherwood
[LoopVectorize] Add support for scalable vectorization of invariant stores

Previously in setCostBasedWideningDecision if we encountered an
invariant store we just assumed that we could scalarize the store
and called getUniformMemOpCost to get the associated cost.
However, for scalable vectors this is not an option because it is
not currently possibly to scalarize the store. At the moment we
crash in VPReplicateRecipe::execute when trying to scalarize the
store.

Therefore, I have changed setCostBasedWideningDecision so that if
we are storing a scalable vector out to a uniform address and the
target supports scatter instructions, then we should use those
instead.

Tests have been added here:

  Transforms/LoopVectorize/AArch64/sve-inv-store.ll

Differential Revision: https://reviews.llvm.org/D104624
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/sve-inv-store.ll
Commit 400509238a0ff71f62fbf3a5d0cb576bc163b4b8 by fmayer
Revert "[hwasan] print exact mismatch offset for short granules."

Broke x86 LAM bot.

This reverts commit 2a60ab76a796637d49bf1c7191f5b5a0c92f81bc.
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow-into.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/mem-intrinsics.c
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit b458bb8c04cd5ed025884d424f386a00c9c6857e by fmayer
[hwasan] Display causes in order of probability.

A heap or global buffer that is far away from the faulting address is
unlikely to be the cause, especially if there is a potential
use-after-free as well, so we want to show it after the other
causes.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D104781
The file was modifiedcompiler-rt/test/hwasan/TestCases/global.c
The file was addedcompiler-rt/test/hwasan/TestCases/use-after-free-and-overflow.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/stack-oob.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/thread-uaf.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/stack-uar.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-free.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow.c
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit 2098c5dfbd621f5d51eba90810da083c1eb407fc by a.bataev
[InstCombine]Add a test for reductions after shuffles, NFC.
The file was addedllvm/test/Transforms/InstCombine/reduction-shufflevector.ll
Commit 47215e1c6250298aa9db59b3b06f832fcd23be01 by flo
[LV] Fix crash when target instruction for sinking is dead.

This patch fixes a crash when the target instruction for sinking is
dead. In that case, no recipe is created and trying to get the recipe
for it results in a crash. To ensure all sink targets are alive, find &
use the first previous alive instruction.

Note that the case where the sink source is dead is already handled.

Found by
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35320

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D104603
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
Commit 355216380b9c11e5d7a16ac20619cf16b1c0151c by zinenko
[mlir] Remove SDBM

This data structure and algorithm collection is no longer in use.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D105102
The file was removedmlir/lib/Dialect/SDBM/CMakeLists.txt
The file was removedmlir/lib/Dialect/SDBM/SDBMExprDetail.h
The file was removedmlir/lib/Dialect/SDBM/SDBMDialect.cpp
The file was removedmlir/include/mlir/Dialect/SDBM/SDBM.h
The file was modifiedmlir/unittests/CMakeLists.txt
The file was removedmlir/unittests/SDBM/CMakeLists.txt
The file was removedmlir/test/SDBM/CMakeLists.txt
The file was modifiedmlir/test/lit.cfg.py
The file was removedmlir/unittests/SDBM/SDBMTest.cpp
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was removedmlir/lib/Dialect/SDBM/SDBMExpr.cpp
The file was modifiedmlir/test/CMakeLists.txt
The file was removedmlir/include/mlir/Dialect/SDBM/SDBMDialect.h
The file was removedmlir/include/mlir/Dialect/SDBM/SDBMExpr.h
The file was removedmlir/test/SDBM/lit.local.cfg
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was removedmlir/lib/Dialect/SDBM/SDBM.cpp
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was removedmlir/test/SDBM/sdbm-api-test.cpp
Commit 8ca04b05133b9fc1b891585e9dfd6e30790998ba by zinenko
[mlir] Add support for LLVM's dso_local attr

This patch brings support for setting runtime preemption specifiers of
LLVM's GlobalValues. In LLVM semantics, if the `dso_local` attribute
is not explicitly requested, then it is inferred based on linkage and
visibility. We model this same behavior with a UnitAttribute: if it is
present, then we explicitly request the GlobalValue to marked as
`dso_local`, otherwise we rely on the GlobalValue itself to make this
decision.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D104983
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/test/Target/LLVMIR/llvmir.mlir
Commit 8a3365fba2e9f4489780c9c9a6c356748b72e8c1 by david.sherwood
Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable"

This reverts commit dcfc2c3fac980b137415c17f2f19c06c3e2bd7fb.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 1092357ccdc9b12e1b129bf34819d16dbe14532f by flo
[SCCP] Add tests with urem/srem with 2 constant operands.

Reduced test case for PR49731.
The file was modifiedllvm/test/Transforms/SCCP/binaryops-range-special-cases.ll
Commit c82957e79236f9f5ef2598ab86138d43fd987932 by Tim Northover
ARM: fix vacuously true assertion to actually check what it should. NFC.
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
Commit aed0a08c69cfb274a1e005e3bd9865ac15c2dfb7 by thakis
[lld/mac] Make symbol table order deterministic

SymtabSection::emitStabs() writes the symbol table in the order
of externalSymbols, which has the order of symtab->getSymbols(),
which is just the order symbols are added to the symbol table.

In practice, symbols in the symbol files of input .o files are
sorted, but since that's not guaranteed we sort them in
ObjFile::parseSymbols(). To make sure several symbols with the same
address keep the order they're in the input file, we have to use
stable_sort().

In practice, std::sort() on already-sorted inputs won't change the order
of just adjacent elements, and while in theory std::sort() could use a
random pivot, in practice the code should be deterministic as it was
previously too.

But now lld/test/MachO/stabs.s passes with LLVM_ENABLE_EXPENSIVE_CHECKS=ON
(the last test that was failing with that set).

Fixes a regression from D99972.

While here, remove an empty section in stabs.s and move
.subsections_via_symbols to the end where it usually is (this part no
behavior change).

Differential Revision: https://reviews.llvm.org/D105071
The file was modifiedlld/test/MachO/stabs.s
The file was modifiedlld/MachO/InputFiles.cpp
Commit b661d9f9c35e5d5689ec20b825de203c08404c9a by nicolas.vasilache
[mlir][Linalg] NFC - Drop AliasInfo::existsNonDominatingRead

The case where a non-dominating read can be found is captured by slightly generalizing `AliasInfo::wouldCreaateReadAfterWriteInterference`.

This simplification will make it easier to implement bufferization across function call.

APIs are also simplified were possible.

Differential revision: https://reviews.llvm.org/D104845
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit 9dde51416209a5552156384b9c2b08b676818d70 by david.sherwood
[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable

Avoid creating a IRBuilder stack variable with the same name as the
class member.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit f0d6c9156b129597f2215b4123ebaae8a3eb57a3 by llvm-dev
[X86] Add cmov i33 sgt test case

Suggested on D101074 - add a 'icmp sgt i64 %0, -2147483649' comparison that can fold to 'icmp sge i64 %0, -2147483648' on D101074 allowing i32 immediate folding
The file was modifiedllvm/test/CodeGen/X86/cmov.ll
Commit c85175c5f6a96e44b3b343fa7b26d66bbc0b4973 by powerman1st
[AVR] Fix a bug in prologue of ISR

The r1 register should be cleared in prologue of ISR as it is used
as constant zero.

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D99467
The file was modifiedllvm/lib/Target/AVR/AVRFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AVR/interrupts.ll
Commit 010108bb2c88511f7bb4f432b9c365e6aef81468 by jeremy.morse
[DebugInstrRef][3/3] Follow DBG_PHI instructions through LiveDebugValues

This patch reads machine value numbers from DBG_PHI instructions (marking
where SSA PHIs used to be), and matches them up with DBG_INSTR_REF
instructions that refer to them. Essentially they are two separate parts of
a DBG_VALUE: the place to read the value (register and program position),
and where the variable is assigned that value.

Sometimes these DBG_PHIs can be duplicated, usually by tail duplication.
This corresponds to the SSA structure of the program being destroyed, and
the original PHI being split. When this happens: run LLVMs standard
SSAUpdater utility, to work out what values should appear in which blocks.
The majority of this patch is boilerplate to make use of SSAUpdater.

If there are any additional PHIs on the path between multiple DBG_PHIs and
their using DBG_INSTR_REF, their existance is validated, just in case a
value gets clobbered along the way (see dbg-phis-with-loops.mir for
several examples).

Differential Revision: https://reviews.llvm.org/D86814
The file was addedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-with-loops.mir
The file was addedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-in-ldv.mir
The file was addedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-merging-in-ldv.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit c3d3defd11a73d86f2ec0a5e1d8af36c5486be49 by Dylan.Fleming
[SVE] Added CodeGen support for inserting an element into a predicate vector

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D104722
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-element.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 9de63367d8a7ab9e2588de4eae5a5df6a1abd90f by david.sherwood
Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable"

This reverts commit 9dde51416209a5552156384b9c2b08b676818d70.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 3dae01911b6902f00e80eb7ebdc2f55bb28f173e by balazs.benics
[analyzer] Make CheckerManager::hasPathSensitiveCheckers() complete again

It turns out that the CheckerManager::hasPathSensitiveCheckers() missed
checking for the BeginFunctionCheckers.
It seems like other callbacks are also missing:
- ObjCMessageNilCheckers
- BeginFunctionCheckers
- NewAllocatorCheckers
- PointerEscapeCheckers
- EndOfTranslationUnitCheckers

In this patch, I wanted to use a fold-expression, but until C++17
arrives we are left with the old-school method.

When I tried to write a unittest I observed an interesting behavior. I
subscribed only to the BeginFunction event, it was not fired.
However, when I also defined the PreCall with an empty handler, suddenly
both fired.
I could add this test demonstrating the issue, but I don't think it
would serve much value in a long run. I don't expect regressions for
this.

However, I think it would be great to enforce the completeness of this
list in a runtime check.
I could not come up with a solution for this though.

PS: Thank you @Szelethus for helping me debugging this.

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

Reviewed by: vsavchenko
The file was modifiedclang/lib/StaticAnalyzer/Core/CheckerManager.cpp
Commit a33e12801279a947c74fdee2655b24480941fb39 by johannes
[InstCombine] Gracefully handle an alloca outside the alloca-AS

While we might eventually want to disallow allocas that do not have the
alloca-AS set, it seems undesirable to crash on them. Add a cast when
required so that we can support such allocas (at least here).

Differential Revision: https://reviews.llvm.org/D104866
The file was addedllvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
Commit 8dc9bb6d85ac04a07bab1a3309702c7bf7944e1e by johannes
[Attributor][NFC] Clang format
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 457bd5c8d52a110fac43d538a03e30ef49099974 by johannes
[Attributor] Teach AAPotentialValues about constant select conditions

There was a TODO but now we actually check if the select condition is
assumed constant and only look at the relevant operand.
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit dcbe58d94c843e443113bff5f60fbcccc4168714 by johannes
[Attributor][NFCI] Remove unneeded namespace
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 7af91a2b8f06cfa603eff1514c8ee38bdf1811f1 by johannes
[Attributor][NFCI] Make the state of AAValueSimplify explicit

As we have done with other states we want the AAValueSimplify state to
be explicit to use it more easily in our helpers.
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 bc8bb3df35223afeea62170b32f8ce9bd04255d4 by johannes
Revert "[omp] Fix build without ITT after D103121 changes"

This reverts commit eab1fd389b61d236bf8df4d09f62dd18253a10bc.

This commit fixed a problem with 25073a4ecfc9 (D103121) which is the one
we actually need to revert to unblock non-X86 builds of OpenMP. Can be
reapplied, or merged into, D103121 as it goes in again.
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
Commit 4eb90e893f82314def571f7129dfd88bd098208b by johannes
Revert "[OpenMP] Add Two-level Distributed Barrier"

This reverts commit 25073a4ecfc9b2e3cb76776185e63bfdb094cd98.

This breaks non-x86 OpenMP builds for a while now. Until a solution is
ready to be upstreamed we revert the feature and unblock those builds.
See:
  https://reviews.llvm.org/rG25073a4ecfc9b2e3cb76776185e63bfdb094cd98#1005821
and
  https://reviews.llvm.org/rG25073a4ecfc9b2e3cb76776185e63bfdb094cd98#1005821

The currently proposed fix (D104788) seems not to be ready yet:
  https://reviews.llvm.org/D104788#2841928
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/src/kmp_atomic.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.cpp
The file was modifiedopenmp/runtime/src/z_Windows_NT_util.cpp
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was modifiedopenmp/runtime/test/barrier/omp_barrier.c
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/kmp_global.cpp
The file was removedopenmp/runtime/src/kmp_barrier.h
The file was modifiedopenmp/runtime/src/kmp_str.cpp
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
The file was modifiedopenmp/runtime/src/kmp_str.h
The file was modifiedopenmp/runtime/src/kmp_os.h
The file was modifiedopenmp/runtime/src/kmp_stats.h
Commit bf9dcb4cd21513a2b90db8af4f7f0e6769afe205 by zinenko
[mlir] silence -Wunused-variable in Linalg comprehensive bufferize
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit e63b18bc84a27718266f5c838a572ba423f70a2c by jeremy.morse
Catch an extremely obvious memory leak, thanks asan

https://lab.llvm.org/buildbot/#/builders/5/builds/9208

(dbg-phis-merging-in-ldv.mir and dbg-phis-with-loops.mir in the asan
check stage)
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit 7756216547e5cb5eca429e9d7d467058a1472a48 by Louis Dionne
[libc++] NFCI: Remove code duplication and obsolete declarations in wrap_iter

Differential Revision: https://reviews.llvm.org/D105040
The file was modifiedlibcxx/include/__algorithm/inplace_merge.h
The file was modifiedlibcxx/include/__iterator/wrap_iter.h
Commit 58a230455bbc680fc12641d9231dce5dfb907e91 by Louis Dionne
[libc++] Serialize Lit parameters to make them available to from-scratch configs

Before this patch, Lit parameters that were set as a result of CMake
options were not made available to from-scratch configs. This patch
serializes those parameters into the generated lit config file so that
they are available to all configs.

Differential Revision: https://reviews.llvm.org/D105047
The file was modifiedlibunwind/test/libunwind/test/config.py
The file was modifiedlibcxx/test/CMakeLists.txt
The file was modifiedlibcxx/test/configs/libcxx-trunk-static.cfg.in
The file was modifiedlibcxx/test/configs/libcxx-trunk-shared.cfg.in
The file was modifiedlibcxx/test/configs/legacy.cfg.in
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was modifiedlibcxxabi/test/lit.site.cfg.in
The file was modifiedlibunwind/test/CMakeLists.txt
The file was modifiedlibcxxabi/test/CMakeLists.txt
Commit c33ebad73516ffcf7b00821a430aa6a0199941f0 by v.g.vassilev
Print default template argument if manually specified in typedef declaration.

If a default template type argument is manually specified to be of the default
type, then it is committed when printing the template.

Differential revision: https://reviews.llvm.org/D103040
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/test/SemaTemplate/default-arguments-ast-print.cpp
The file was modifiedclang/test/SemaTemplate/class-template-id.cpp
Commit e49d65f36d66e247c148601f59edeb2e0b44d8dd by listmail
[LV] Fix bug when unrolling (only) a loop with non-latch exit

If we unroll a loop in the vectorizer (without vectorizing), and the cost model requires a epilogue be generated for correctness, the code generation must actually do so.

The included test case on an unmodified opt will access memory one past the expected bound.  As a result, this patch is fixing a latent miscompile.

Differential Revision: https://reviews.llvm.org/D103700
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/unroll_nonlatch.ll
Commit bd4bfe0e0c3342c613a23a6b2911a97c267a3f99 by flo
[SCCP] Extend tests added 1092357ccdc9 in with UREM/SREM by 0.

Add additional coverage for computing UREM/SREM C, 0.
The file was modifiedllvm/test/Transforms/SCCP/binaryops-range-special-cases.ll
Commit e88ac7295fa298c336cb57d65bdcc72b45dbc0b0 by ezhulenev
[perf] Fix a data race in the PerfJITEventListener

Concurrent JIT compilation + PerfJITEventListener triggers tsan error

Reviewed By: cota

Differential Revision: https://reviews.llvm.org/D104977
The file was modifiedllvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
Commit d03aa7d6b66fd741db2d937c18a6c6675037b888 by Louis Dionne
[libc++] NFCI: Remove __functional/search.h

The __search helper function was once split into __functional for circular
dependency reasons, however this is not an issue anymore now that we have
finer grained headers.
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/__algorithm/search.h
The file was modifiedlibcxx/include/regex
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/include/functional
The file was modifiedlibcxx/include/experimental/functional
The file was removedlibcxx/include/__functional/search.h
Commit 2a063173c159cf80ebb0b8ee6f1b3db519c0f111 by llvmgnsyncbot
[gn build] Port d03aa7d6b66f
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit aaf6a7ac344c62e26903161ea3daa4b52c423369 by david.green
[ARM] Extra test for gep immediate costs. NFC
The file was addedllvm/test/CodeGen/ARM/gep-imm.ll
Commit f38a8b54ea31d6c915e2d6e259ebc083883e6f6d by Piotr Sobczak
[AMDGPU] Fix 224-bit spills

Related to D104622.

Differential Revision: https://reviews.llvm.org/D105109
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/spill224.mir
Commit 56fa49878b71a1d92b9a93b586cff26829abe157 by gbreynoo
[llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers

llvm-objdump had some missing coverage that is fixed by this change:
- A test specifically for --print-imm-hex, and coverage of --no-print-imm-hex
- section-headers.test checks the aliases --headers or --section-headers
- A test for the use of --private-headers for ELF that checks the output
- A test for ELF program headers

Differential Revision: https://reviews.llvm.org/D103974
The file was modifiedllvm/test/tools/llvm-objdump/section-headers.test
The file was addedllvm/test/tools/llvm-objdump/X86/print-imm-hex.s
The file was addedllvm/test/tools/llvm-objdump/ELF/private-headers.test
The file was addedllvm/test/tools/llvm-objdump/ELF/program-headers.test
Commit a37f558682e479686cf1644a6aa70b8f46fa1b6a by gbreynoo
[llvm-objdump] Add --no-print-imm-hex to the command guide

The option --no-print-imm-hex was not included in the command guide for
llvm-objdump but appears in the help text. This commit adds it to the
command guide.

Differential Revision: https://reviews.llvm.org/D104717
The file was modifiedllvm/docs/CommandGuide/llvm-objdump.rst
Commit a8f819c6d85e1990954d8846dac769bb789d2ba9 by ezhulenev
[mlir:Async] Remove async operations if it is statically known that the parallel operation has a single compute block

Depends On D104850

Add a test that verifies that canonicalization removes all async overheads if it is statically known that the scf.parallel operation will be computed using a single block.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D104891
The file was modifiedmlir/include/mlir/Dialect/Async/IR/Async.h
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was addedmlir/test/Dialect/Async/async-parallel-for-canonicalize.mlir
The file was modifiedmlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir
Commit 6088f86a2e1ce3ab6fe9573e26fc63a5cf338fa9 by ezhulenev
[mlir:Async] Convert AsyncParallelFor pass to ModuleOp pass

Depends On D104891

Outlining scf.parallel body as a function requires async-parallel-for pass to be a ModuleOp pass

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D104998
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
Commit 9ccdaac8f9d5b06c35a18180c517342c435d75a1 by ezhulenev
[mlir:Async] Fix a bug in automatic refence counting around function calls

Depends On D104998

Function calls "transfer ownership" to the callee and it puts additional constraints on the reference counting optimization pass

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D104999
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncRuntimeRefCountingOpt.cpp
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/CMakeLists.txt
The file was modifiedmlir/test/Dialect/Async/async-runtime-ref-counting-opt.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
Commit 287847dace4408a0e4e4bfbed7db4a4d1f3eba29 by arthur.j.odwyer
[libc++] Update ABI docs. NFCI.

Differential Revision: https://reviews.llvm.org/D103160
The file was modifiedlibcxx/docs/DesignDocs/ABIVersioning.rst
Commit 3b6dfa381edfc66864cfd6dbc2769ba645858120 by craig.topper
[RISCV] Protect the SHL/SRA/SRL handlers in LowerOperation against being called for an illegal i32 shift amount.

It seems it is possible for DAG combine to create a shl with an
i64 result type and an i32 shift amount. This is ok before type
legalization since the type don't need to match in SelectionDAG.
This results in type legalization calling LowerOperation to
legalize just the amount. We weren't expecting this so we
asserted for not finding a fixed vector shift.

To fix this, I've added a check for the fixed vector case and
returned SDValue() to get the default type legalizer. I've
factored all shifts together and added a fixed vector specific
handler to avoid repeating similar code for each in
LowerOperation.

The particular case I found was exposed by D104581, but the bad
shift is created after that patch triggers.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/aext-to-sext.ll
Commit c00032321a6ae26f9c8056d024e262abf342631e by Raphael Isemann
[lldb] Skip TestPairFromStdModule for now

I didn't get around to fix this change and the original commit itself seems
fine, so this looks like an existing LLDB/Clang bug that was just uncovered
by this change. Skipping while I'm investigating.
The file was modifiedlldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py
Commit 5d933c0b0c741767f2af8218d55581557903a254 by llvm-project
[Flang][test] Fix Windows buildbot after D104930.

Add

    REQUIRES: shell

to the unpack.f90 test that executes a UNIX shell script.
The file was modifiedflang/test/Semantics/unpack.f90
Commit 129ae515fba022353050e0f313b32595de9e4b39 by a.bataev
[INSTCOMBINE] Transform reduction(shuffle V, poison, unique_mask) to reduction(V).

After SLP + LTO we may have have reduction(shuffle V, poison,
mask). This can be simplified to just reduction(V) if the mask is only
for single vector and just all elements from this vector are permuted,
  without reusing, replacing with undefs and/or other values, etc.

Differential Revision: https://reviews.llvm.org/D105053
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/reduction-shufflevector.ll
Commit 952944c12c0aa917e97805e929b5cd4e40866f91 by Akira
[ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if
the call already has the operand bundle

This bug was causing the call to `replaceAllUsesWith` to crash because
the old call instruction and the new call instruction were the same.

rdar://74957948

Differential Revision: https://reviews.llvm.org/D97824
The file was addedclang/test/CodeGenObjCXX/arc-rv-attr.mm
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
Commit aaba37187fda7f5a7fdc4c1e6129cbaaa1bbf709 by melanie.blower
[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D104729
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Basic/Targets/SPIR.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedclang/tools/clang-import-test/clang-import-test.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit 3999dcae5e763adceb2c3bc1dbc8f2c005c808ef by ndesaulniers
[Inline] prevent inlining on noprofile mismatch

Similar to
commit bc044a88ee3c ("[Inline] prevent inlining on stack protector mismatch")

The noprofile function attribute is meant to prevent compiler
instrumentation from being inserted into a function. Inlining may defeat
the developer's intent. If the caller and callee don't either BOTH have
the attribute or BOTH lack the attribute, suppress inline substitution.

This matches behavior being proposed in GCC:
https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573511.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223

Add LangRef entry for noprofile fn attr, similar to text added in D93422
and D104944.

Reviewed By: MaskRay, melver, phosek

Differential Revision: https://reviews.llvm.org/D104810
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/Transforms/Inline/inline_noprofile.ll
The file was modifiedllvm/include/llvm/IR/Attributes.td
Commit a562853a511b078912f3a9fccb4a27220ce75e9e by Louis Dionne
[libc++] NFC: Fix return-by-const-value and pass-by-const-value typos

While we can debate on the value of passing by const value, there is no
arguing that it's confusing to do so in some circumstances, such as when
marking a pointer parameter as being const (did you mean a pointer-to-const?).
This commit fixes a few issues along those lines.
The file was modifiedlibcxx/include/vector
The file was modifiedlibcxx/src/string.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
Commit 71be4db05bbdcc8a9bbe01f54cf273b530327ec7 by Jonas Devlieghere
[lldb] Check for the mangled symbol name for objc_copyRealizedClassList_nolock

When we check whether the Objective-C SPI is available, we need to check
for the mangled symbol name. Unlike `objc_copyRealizedClassList`, which
is C exported, the `nolock` variant is not.

Differential revision: https://reviews.llvm.org/D105136
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Commit 913229983633cd4c19b9e5534018f9a42e274b30 by craig.topper
[LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization.

We were trying to expand these if they were going to be expanded
in op legalization so that we generated the minimum number of
operations. We failed to take into account that NVT could be
promoted to another legal type in op legalization.

Hoping this fixes the issue on the VE target reported as a follow
up to D96681. The check line changes were taken from before
1e46b6f4012399a2fef5fbbb4ed06fc919835414 so this patch does
appear to improve some cases that had previously regressed.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/VE/Scalar/bitreverse.ll
Commit f8aaec19e674c44bfffd2b31611ad1eecc4698bd by nikita.ppv
[OpaquePtr] Support forward references in textual IR

Currently, LLParser will create a Function/GlobalVariable forward
reference based on the desired pointer type and then modify it when
it is declared. With opaque pointers, we generally do not know the
correct type to use until we see the declaration.

Solve this by creating the forward reference with a dummy type, and
then performing a RAUW with the correct Function/GlobalVariable when
it is declared. The approach is adopted from
https://github.com/TNorthover/llvm-project/commit/b5b55963f62038319fa7a8b1b232226ba1d8ef3c.

This results in a change to the use list order, which is why we see
test changes on some module passes that are not stable under use list
reordering.

Differential Revision: https://reviews.llvm.org/D104950
The file was modifiedllvm/test/Transforms/FunctionSpecialization/function-specialization4.ll
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/function-weak.ll
The file was modifiedllvm/test/Transforms/OpenMP/parallel_deletion_remarks.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/icall-branch-funnel.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/add-prototypes-conflict.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/Transforms/FunctionSpecialization/function-specialization3.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
Commit 7b639f50959d046dbfe6b8d4aa9e1071594ca361 by jacobhegna
[NFC] clang-format on InlineCost.cpp and InlineAdvisor.h.
The file was modifiedllvm/include/llvm/Analysis/InlineAdvisor.h
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
Commit 69937a8080bc4828f0b317cd54a03ed2704b661a by i
[llvm-objcopy][MachO] Support ARM64_RELOC_ADDEND

An ARM64_RELOC_ADDEND relocation reuses the symbol field for the addend value.
We should pass through such relocations.

Reviewed By: alexander-shaposhnikov

Differential Revision: https://reviews.llvm.org/D104967
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/arm64-relocs.s
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
Commit c4de78e91c9341b5b1abf927da15e0956a484b79 by nikita.ppv
[SanitizerCoverage] Fix global type check with opaque pointers

The code was previously relying on the fact that an incorrectly
typed global would result in the insertion of a BitCast constant
expression. With opaque pointers, this is no longer the case, so
we should check the type explicitly.
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/stack-depth-variable-declared-by-user.ll
Commit a9854045f6b657ea1658d3518ac88b5eb45e2eeb by i
[test] Change -t to --syms and -s to -S for llvm-readobj RUN lines

-s and -t will be changed to improve consistency with llvm-readelf.
The inconsistency issue regularly contributes to confusion using the two tools.
The file was modifiedllvm/test/MC/AMDGPU/elf-lds.s
The file was modifiedllvm/test/MC/AMDGPU/hsa-gfx10.s
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-relocs.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-reloc-symb.mir
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-lower-comm.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdpal-elf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa.ll
The file was modifiedllvm/test/MC/ELF/section-relro.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
Commit c4a00ed85192b31b1fe9c5c3e94f96f826937825 by leonardchan
[NFC][compiler-rt][hwasan] Move GetCurrentThread to hwasan.cpp

We can reuse the same implementation for getting the current thread on fuchsia.

Differential Revision: https://reviews.llvm.org/D104824
The file was modifiedcompiler-rt/lib/hwasan/hwasan_linux.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan.cpp
Commit d4dcb55c7050fd908af2378fa551078d859d994f by i
[llvm-readobj] Make -s and -t match llvm-readelf

llvm-readobj is an internal testing tool for binary formats. Its output and
command line options do not need to be stable. It isn't supposed to be part of a
build process.

llvm-readelf was created as a user-facing utility and its interface intends to
be compatible with GNU readelf (unless there are good reasons not to).

The two tools have mostly compatible options. -s and -t are noticeable
exceptions due to history. I think the cost of keeping the inconsistency
overweighs the little history-compatible benefit and hinders transition from
cl::opt to OptTable, so let's change it.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D105055
The file was modifiedllvm/test/tools/llvm-readobj/ELF/symbols.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/duplicate-symbol-names.yaml
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/test/tools/llvm-readobj/ELF/merged.test
The file was modifiedllvm/docs/CommandGuide/llvm-readobj.rst
The file was modifiedllvm/test/tools/llvm-readobj/basic.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/sections.test
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
Commit 8e74668e96da5c38c7fabb1881a6510d6a09112d by leonardchan
[NFC][compiler-rt][hwasan] Re-use ring buffer size calculation

Users can call HwasanThreadList::GetRingBufferSize rather than RingBufferSize
to prevent having to do the calculation in RingBufferSize. This will be useful
for Fuchsia where we plan to initialize the stack ring buffer separately from
the rest of thread initialization.

Differential Revision: https://reviews.llvm.org/D104823
The file was modifiedcompiler-rt/lib/hwasan/hwasan_thread_list.h
Commit 90dfd059198ed94334f9b1ccfd29b566feb75e8b by stefanp
[Clang] Add option to handle behaviour of vector bool/vector pixel.

Added the option `-altivec-src-compat=[mixed,gcc,xl]`. The default at this time is `mixed`.

The default behavior for clang is for all vector compares to return a scalar unless the vectors being
compared are vector bool or vector pixel. In that case the compare returns a
vector. With the gcc case all vector compares return vectors and in the xl case
all vector compares return scalars.

This patch does not change the default behavior of clang.

This option will be used in future patches to implement behaviour compatibility for the vector bool/pixel types.

Reviewed By: bmahjour

Differential Revision: https://reviews.llvm.org/D103615
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was addedclang/test/CodeGen/vector-compat-pixel-bool-ternary.c
The file was addedclang/test/CodeGen/vector-compat.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/CodeGen/vector-compat-pixel-bool.c
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was addedclang/test/CodeGen/vector-compat-ternary.c
Commit a77524cd2c20f4d0aa4ddd164f12f7af64b5bfc8 by nicolas.vasilache
[mlir][Linalg] Add a ComprehensiveModuleBufferizePass and support for CallOp analysis(9/n)

This revision adds the minimal plumbing to create a simple ComprehensiveModuleBufferizePass that can behave conservatively in the presence of CallOps.

A topological sort of caller/callee is performed and, if the call-graph is cycle-free, analysis can proceed.

Differential revision: https://reviews.llvm.org/D104859
The file was addedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
The file was addedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
Commit f57b2420b2235eca00d5c085a7ef084433140452 by ezhulenev
[mlir:Async] Add an async reference counting pass based on the user defined policy

Depends On D104999

Automatic reference counting based on the liveness analysis can add a lot of reference counting overhead at runtime. If the IR is known to be constrained to few particular "shapes", it's much more efficient to provide a custom reference counting policy that will specify where it is required to update the async value reference count.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D105037
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncRuntimeRefCounting.cpp
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
The file was addedmlir/test/Dialect/Async/async-runtime-policy-based-ref-counting.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.h
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
Commit c1194c2ec35029f96ce75ab54555dccf2b7e8681 by ezhulenev
[mlir:Async] Change async-parallel-for block size/count calculation

Depends On D105037

Avoid creating too many tasks when the number of workers is large.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D105126
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
Commit bb2cfca2f3237d7f722e95d4cab9f3d71f728c9c by stilis
Revert D104488 and friends since it broke the windows bot

Reverts commits:
"Fix failing tests after https://reviews.llvm.org/D104488."
"Fix buildbot failure after https://reviews.llvm.org/D104488."
"Create synthetic symbol names on demand to improve memory consumption and startup times."

This series of commits broke the windows lldb bot and then failed to fix all of the failing tests.
The file was modifiedlldb/source/Symbol/Symbol.cpp
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/symtab.test
The file was modifiedlldb/test/Shell/ObjectFile/ELF/eh_frame-symbols.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit 485cc55edfb875628e19bb6d9de4706af2865d3e by stellaraccident
[mlir] Generare .cpp.inc files for dialects.

* Previously, we were only generating .h.inc files. We foresee the need to also generate implementations and this is a step towards that.
* Discussed in https://llvm.discourse.group/t/generating-cpp-inc-files-for-dialects/3732/2
* Deviates from the discussion above by generating a default constructor in the .cpp.inc file (and adding a tablegen bit that disables this in case if this is user provided).
* Generating the destructor started as a way to flush out the missing includes (produces a link error), but it is a strict improvement on its own that is worth doing (i.e. by emitting key methods in the .cpp file, we root vtables in one translation unit, which is a non-controversial improvement).

Differential Revision: https://reviews.llvm.org/D105070
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/ArmNeon/IR/ArmNeonDialect.cpp
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/examples/toy/Ch2/include/toy/CMakeLists.txt
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantOps.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/examples/toy/Ch3/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/Dialect.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/AMX/IR/AMXDialect.cpp
The file was modifiedmlir/include/mlir/TableGen/Dialect.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
The file was modifiedmlir/lib/Dialect/Math/IR/MathDialect.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was modifiedmlir/examples/toy/Ch4/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
The file was modifiedmlir/include/mlir/Dialect/OpenMP/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
The file was modifiedmlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
The file was modifiedmlir/lib/IR/BuiltinDialect.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/examples/toy/Ch4/include/toy/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch3/include/toy/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/Complex/IR/ComplexDialect.cpp
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/Dialect/X86Vector/IR/X86VectorDialect.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
The file was modifiedmlir/examples/toy/Ch7/include/toy/CMakeLists.txt
The file was modifiedmlir/lib/TableGen/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch5/include/toy/CMakeLists.txt
The file was modifiedmlir/examples/standalone/lib/Standalone/StandaloneDialect.cpp
The file was modifiedmlir/lib/Dialect/EmitC/IR/EmitC.cpp
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/examples/toy/Ch2/mlir/Dialect.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/include/mlir/IR/CMakeLists.txt
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
Commit ae6648cee01bc5c390b74dacd1851cf5df74599b by jianzhouzh
[dfsan] Expose dfsan_get_track_origins to get origin tracking status

This allows application code checks if origin tracking is on before
printing out traces.

-dfsan-track-origins can be 0,1,2.
The current code only distinguishes 1 and 2 in compile time, but not at runtime.
Made runtime distinguish 1 and 2 too.

Reviewed By: browneee

Differential Revision: https://reviews.llvm.org/D105128
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
The file was addedcompiler-rt/test/dfsan/dfsan_get_track_origins.c
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/basic.ll
The file was modifiedcompiler-rt/include/sanitizer/dfsan_interface.h
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedcompiler-rt/lib/dfsan/done_abilist.txt
Commit 9952d591ccc49cbcbf9c89d5191e6111c44703a6 by stilis
[lldb] Fix globals-bss.cpp which was broken in https://reviews.llvm.org/D105055

-S replaced -s, so the test needs to be updated to use the new option
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/globals-bss.cpp
Commit 58af0d567d88eb5a7eec436886da066308d7a39e by sivachandra
[libc] Allow target architecture independent configs

Previously, we required entrypoints.txt for every target architecture
supported by a target OS. With this change, we allow architecture
independent config for a target OS. That is, if an architecture specific
entrypoints.txt is missing, then a generic entrypoints.txt for that
target OS will be used.

Reviewed By: caitlyncano

Differential Revision: https://reviews.llvm.org/D105147
The file was modifiedlibc/CMakeLists.txt
Commit 2240b41ee4f30fe938975677a0a5a2c5c26d271b by Dhruva.Chakrabarti
[libomptarget] [amdgpu] Fix default setting of max flat workgroup size

When max flat workgroup size is not specified, it is set to the default
workgroup size. This prevents kernel launch with a workgroup size larger
than the default. The fix is to ignore a size of 0 and treat it as
unspecified.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D105073
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit c8a9c78e170e3b972041b301a50d0456afe83d10 by stilis
[lldb] Fix debug_loc.s which was broken after https://reviews.llvm.org/D103502

An empty location is now printed as <empty>
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s
Commit 6d72845a8517eea6a69a493351fb4f03f3c10c21 by alexshap
[llvm-objcopy][MachO] Code cleanup

1. Remove unnecessary templates.
2. Fix potentially unaligned reads inside constructSection.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D105089
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
Commit ac2bec5addd2f96e976242bc8e0d93725fe3d2fd by Duncan P. N. Exon Smith
OpaquePtr: Support i32** with --force-opaque-pointers

4506f614cb6983a16d117cf77a968608e66d7a5c fixed parsing of textual IR to
reject `ptr*`, but broke the auto-conversion of `i32**` to `ptr` with
`--force-opaque-pointers`.

Get that working again by refactoring LLParser::parseType to only send
`ptr`-spelled pointers into the type suffix logic when it's the return
of a function type. This also rejects `ptr addrspace(3) addrspace(2)`,
which 1e6303e60ca5af4fbe7ca728572fd65666a98271 invadvertently started
accepting. Just the default top-level error message for the
double-addrspace since I had trouble thinking of something nice;
probably it's fine as is (it doesn't look valid the way that `ptr*`
does).

Differential Revision: https://reviews.llvm.org/D105146
The file was addedllvm/test/Assembler/invalid-opaque-ptr-double-addrspace.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Assembler/opaque-ptr.ll
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
Commit 8d21d5472501460933e78aead04cf59579025ba4 by Akira
[CodeGen] Stop creating fake FunctionDecls when generating IR for
functions implicitly generated by the compiler

These fake functions would cause clang to crash if the changes proposed
in https://reviews.llvm.org/D98799 were made.
The file was modifiedclang/test/CodeGenObjC/nontrivial-c-struct-exception.m
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/CGNonTrivialStruct.cpp
The file was modifiedclang/test/CodeGen/constructor-attribute.c
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/test/CodeGen/debug-info-oslog.c
Commit 49fa6abf7472022d7bf1fb05df3033a7bd1ff0de by Matthew.Arsenault
Revert "GlobalISel: Use MMO helper for getting the size in bits"

This reverts commit dc98adfb448bdb845605185bb173e99614a17790.

This should still be done, but this is currently causing some commit
ordering issues.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
Commit 990278d026d680942c859be70836ad34a9a716f7 by Matthew.Arsenault
CodeGen: Store LLT instead of uint64_t in MachineMemOperand

GlobalISel is relying on regular MachineMemOperands to track all of
the memory properties of accesses. Just the raw byte size is
insufficent to disambiguate all situations. For example, if we need to
split an unaligned extending load, we need to know the number of bits
in the original source value and can't infer it from the result
type. This is also a problem for extending vector loads.

This does decrease the maximum representable size from the full
uint64_t bytes to a maximum of 16-bits. No in tree testcases hit this,
other than places using UINT64_MAX for unknown sizes. This may be an
issue for G_MEMCPY and co., although they can just use unknown size
for large static sizes. This also has potential for backend abuse by
relying on the type when it really shouldn't be relevant after
selection.

This does not include the necessary MIR printer/parser changes to
represent this.
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/lib/CodeGen/LowLevelType.cpp
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp