Changes

Summary

  1. [mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td. (details)
  2. [NFC][clang] Inclusive language: rename master variable to controller in debug-info tests (details)
  3. Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td." (details)
  4. [AMDGPU] Allow VOP3 source modifiers in fpow expansion (details)
  5. [NFC][llvm] Inclusive language: replace master with main in 2007-04-02-RegScavengerAssert.ll (details)
  6. [PowerPC] [Clang] Enable Intel intrinsics support on FreeBSD (details)
  7. [flang] Move IsCoarray() to fix shared library build (details)
  8. [compiler-rt] Explicitly set dependency on libcxx for MemProfUnitTest (details)
  9. [gn build] Port 8e2fd879e6f9 (details)
  10. [lldb] Load the fblldb module automatically (details)
  11. [formatters] Add a libstdcpp formatter for  for unordered_map, unordered_set, unordered_multimap, unordered_multiset (details)
  12. Revert "[lldb] Load the fblldb module automatically" (details)
  13. [HWASan] Move LTO test to separate file. (details)
  14. [ThreadPool] Support returning futures with results. (details)
  15. [llvm-diff] Implement diff of PHI nodes (details)
  16. [MLIR] Fix incorrect removal of source loop in loop fusion (details)
  17. [memprof] Remove the "Live on exit:" print for text format. (details)
  18. [mlir] FlatAffineConstraint parsing for unit tests (details)
  19. [Driver] Default to libc++ on FreeBSD (details)
  20. [mlir][memref] Fix expanded shape ops memref.cast folding with changed type (details)
  21. [ELF] Simplify a condition with config->copyRelocs. NFC (details)
  22. [openmp][amdgpu] Make plugin robust to presence of explicit implicit arguments (details)
  23. [MachO] Fix struct size assertion (details)
  24. [flang] Remove typo that affected complex namelist input (details)
  25. [InstCombine] Enable fold select into operand for FAdd,  FMul, FSub and FDiv. (details)
  26. [formatters] Add a formatter for libstdc++ optional (details)
  27. [flang] Correct the argument keyword for AIMAG(Z=...) (details)
  28. Attempt to fix e3dea5cf0e326366ab95a49d167fde8b0816e292 (details)
  29. [mlir][linalg][bufferize][NFC] Clean up headers and function visibility (details)
  30. [mlir][linalg][bufferize][NFC] Remove special casing of CallOps (details)
  31. [mlir][linalg][bufferize][NFC] Move helper function to op interface (details)
  32. [mlir][linalg][bufferize] Limited support for scf.execute_region (details)
  33. [llvm] Use range-based for loops (NFC) (details)
  34. [mlir] Refactoring a few Parser APIs (details)
  35. [mlir][Vector] Add a vblendps-based impl for transpose8x8 (both intrin and inline_asm) (details)
  36. [COFF] [ARM64] Create symbols with regular intervals for relocations against temporary symbols (details)
  37. [LLD] [COFF] Interpret the immediate in ARM64 adr/adrp relocations as signed 21 bit (details)
  38. [AArch64] [COFF] Move jump tables back to the readonly section (details)
  39. [LLD] [COFF] Omit section symbols and IMAGE_SYM_CLASS_LABEL from the PE symbol table (details)
  40. [ARM] Add an test for showing the incorrect aliasing info around masked loads/stores. NFC (details)
  41. [X86] Regenerate X86/vmaskmov-offset.ll check lines as per new mir format. NFC (details)
  42. [PowerPC] Implement more fusion types for Power10 (details)
  43. [SDAG] Use UnknownSize for masked load/store MMO size (details)
  44. Revert "Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td."" (details)
  45. [ThreadPool] Do not return shared futures. (details)
  46. [DSE][NFC] Introduce "doesn't overwrite" return code for isOverwrite (details)
  47. [clang-format] [PR52527] can join * with /* to form an outside of comment error C4138 (details)
  48. [clang-format] [NFC] build clang-format with -Wall (details)
  49. tsan: new runtime (v3) (details)
  50. [AMDGPU] Fix the name of a test case (details)
  51. [lldb] Fix lookup for global constants in namespaces (details)
  52. [fir] Set !fir.len_param_index conversion to unimplemented (details)
  53. [mlir][linalg][bufferize][NFC] Specify bufferize traversal in `bufferize` (details)
  54. [mlir][Vector] Thread 0-d vectors through ExtractElementOp. (details)
  55. [mlir][Vector] Thread 0-d vectors through InsertElementOp. (details)
  56. Revert "The _Float16 type is supported on x86 systems with SSE2 enabled." (details)
  57. [ARM] Expand rev.ll test with more triples. NFC (details)
  58. [libc++] Tidy up how %T and %t are created during configuration checks (details)
  59. [InstCombine] add tests for logical select; NFC (details)
  60. [InstCombine] enhance bitwise select matching (details)
  61. [PowerPC] Remove FreeBSD test in mm-malloc.c due to cross-compilation limitation (details)
  62. [HIP] Add HIP scope atomic operations (details)
  63. [Analyzer][Core] Better simplification in SimpleSValBuilder::evalBinOpNN (details)
  64. [VP] Canonicalize macros of VPIntrinsics.def (details)
  65. Fix warning due to default switch label (details)
  66. [NFC] Let Microsoft mangler accept GlobalDecl (details)
  67. [AMDGPU] Enable fneg and fabs divergence-driven instruction selection. (details)
  68. [PS4][TLI] Remove redundant line (details)
  69. [llvm] Use range-based for loops (NFC) (details)
  70. [lldb] Deflake TestTsanBasic.py (details)
  71. tsan: disable signal_sync2.cpp test on powerpc64 (details)
  72. [unroll] Use early return in shouldFullUnroll [nfc] (details)
  73. [HIP] Fix device stub name for Windows (details)
  74. profi - a flow-based profile inference algorithm: Part I (out of 3) (details)
  75. [unroll] Remove two dead variable assignments [nfc] (details)
  76. Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)" (details)
  77. [LAA] Turn aggregate type check into assertion (NFCI). (details)
  78. [PowerPC] Add BCD add/sub/cmp builtins (details)
  79. [indvars] Fix lftr crash when preheader is terminated by switch (details)
  80. [compiler-rt/profile] Include __llvm_profile_get_magic in module signature (details)
  81. [llvm][NFC] Inclusive language: Reword replace uses of sanity in llvm/lib/Transform comments and asserts (details)
  82. [ELF] Support non-RAX/non-adjacent R_X86_64_GOTPC32_TLSDESC/R_X86_64_TLSDESC_CALL (details)
  83. [mlir][sparse] Moving integration tests that merely use the Python API (details)
  84. profi - a flow-based profile inference algorithm: Part I (out of 3) (details)
  85. [NFC][llvm] Inclusive language: remove instance of master in LiveRangeUtils.h (details)
  86. [gn build] Port 884b6dd31142 (details)
  87. [InstCombine] Add test cases for D114339; NFC (details)
  88. [mlir][Linalg] Add pad vectorization patterns into LinalgStrategyVectorize passes. (details)
  89. Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)" (details)
  90. [gn build] Port 1392b654ff65 (details)
  91. [mlir][tosa] Separate tosa.transpose_conv decomposition and added stride support (details)
  92. [mlir][tosa] Materialize tosa.pad value and fold noop pads (details)
  93. [InstSimplify] add tests for xor logic fold; NFC (details)
  94. [NFC][sanitizer] Move StackStore::Allocated into cpp file (details)
  95. [NFC][sanitizer] Early return for empty StackTraces (details)
  96. [lldb] Move create_relative_symlink function up in CMake hierarchy (details)
  97. [NFC][sanitizer] Add StackStoreTest (details)
  98. [SampleFDO] Recompute BFI if the sample loader changes BPI (details)
  99. [NFC][sanitizer] Extract StackTraceHeader struct (details)
  100. [NFC][sanitizer] Make method const (details)
  101. [InstSimplify] fold xor logic of 2 variables (details)
  102. Improve optional formatter (details)
  103. Make some libstd++ formatters safer (details)
  104. [formatters] Capping size limitation avoidance for the libcxx and libcpp bitset data formatters. (details)
  105. Move dependency llvm:AllTargetsAsmParsers from Translation to ExecutionEngine. (details)
  106. [formatters] List and forward_list capping_size determination and application (details)
  107. Fix a48501150b9ef64fd61d24f8cef2645237facc44 (details)
  108. [LAA] Move visitPointers up in file (NFC). (details)
  109. PrologEpilogInserter: Use explicit control for scavenge slot placement (details)
  110. [PowerPC] Allow scalars for asm constraint "v" with VSX (details)
  111. [sanitizer] Add DenseMap::forEach (details)
  112. [NFC][sanitizer] Reuse forEach for operator== (details)
  113. [stack-safety] Check SCEV constraints at memory instructions. (details)
  114. [hwasan] support python3 in hwasan_sanitize (details)
  115. [mlir][spirv] Add math to OpenCL conversion (details)
  116. [AMDGPU] Remove a no-op check in the gfx90a hazard recognizer (details)
  117. [NFC][sanitizer] Test for b80affb8a149 (details)
  118. [NFC][sanitizer] Limit StackStore stack size/tag to 1 byte (details)
  119. [LLDB][NativePDB] Allow find functions by full names (details)
  120. Update fir.insert_on_range syntax to make the range more explicit (NFC) (details)
  121. Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values.""""" (details)
  122. Revert "[Taildup] Don't tail-duplicate loop header with multiple successors as its latches" (details)
  123. [mlir][sparse] Adding wrappers for constantOverheadTypeEncoding (details)
  124. [MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name (details)
  125. Revert "tsan: new runtime (v3)" (details)
  126. Accept symmetric sparse matrix in Matrix Market Exchange Format. (details)
  127. [sanitizer] Fail instead of crash without real_pthread_create (details)
  128. [ELF] Support the "read-only" memory region attribute (details)
  129. [AMDGPU] Check for unneeded shift mask in shift PatFrags. (details)
  130. [sanitizer] Add Abs<T> (details)
  131. [clang-tidy] performance-unnecessary-copy-initialization: Fix false negative. (details)
  132. [mlir][scf] Canonicalize scf.while with unused results (details)
  133. [LoopVectorize] Add vector reduction support for fmuladd intrinsic (details)
  134. [LoopVectorize] Propagate fast-math flags for VPInstruction (details)
  135. [LoopVectorize] Print fast-math flags for VPReductionRecipe (details)
  136. [LoopVectorize][CostModel] Update cost model for fmuladd intrinsic (details)
  137. [lldb/gdb-remote] Remove more non-stop mode remnants (details)
  138. [llvm-reduce] Add parallel chunk processing. (details)
  139. [mlir][linalg][bufferize][NFC] Move tensor interface impl to new build target (details)
  140. [clang-format] NFC - recent changes caused clang-format to no longer be clang-formatted. (details)
  141. [ARM] Add fma and update fadd/fmul predicated select tests. NFC (details)
  142. tsan: extend mmap test (details)
  143. [ARM] Fold floating point select(binop) patterns (details)
  144. [DebugInfo][InstrRef] Avoid crash when values optimised out late in sdag (details)
  145. [NFC] Tidy up SelectionDAGBuilder::visitIntrinsicCall to use existing sdl debug loc (details)
  146. [mlir][linalg][bufferize][NFC] Move vector interface impl to new build target (details)
  147. [ARM] Fold (fadd x, (vselect c, y, -1.0)) into (vselect c, (fadd x, y), x) (details)
  148. [AMDGPU] Only allow implicit WQM in pixel shaders (details)
  149. [LLDB/test] lldbutil check_breakpoint() - check target instance (details)
  150. [AMDGPU] Only select VOP3 forms of VOP2 instructions (details)
  151. [AMDGPU] Implement widening multiplies with v_mad_i64_i32/v_mad_u64_u32 (details)
  152. [DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl (details)
  153. [DebugInfo] Check both instr-ref and DBG_VALUE modes of sdag tests (details)
  154. Clean up clang-format tech debt. (details)
  155. sanitizer_common: remove SANITIZER_USE_MALLOC (details)
  156. tsan: add another fork deadlock test (details)
  157. [DebugInfo] Adjust x86 location-list tests for instruction referencing (details)
  158. [PowerPC] Provide XL-compatible vec_round implementation (details)
  159. [llvm-dwarfdump][Statistics] Handle LTO cases with cross CU referencing (details)
  160. [InstSimplify] add tests for xor logic; NFC (details)
  161. [InstSimplify] fold xor logic of 2 variables, part 2 (details)
  162. [X86] Add D113970 tests cases for or-lea with no common bits. (details)
  163. [X86] Add BMI test coverage for for or-lea with no common bits tests (details)
  164. [LV] Use patterns in some induction tests, to make more robust. (NFC) (details)
  165. Revert "[DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl" (details)
  166. [AArch64][SVE] Recognize all ones mask during fixed mask generation (details)
  167. [VPlan] Remove unused VPInstruction constructor. (NFC) (details)
  168. [libc] Fix wrong type for load/store of Repeated elements (details)
  169. [X86][Costmodel] `getReplicationShuffleCost()`: promote 1 bit-wide elements to 32 bit when have AVX512DQ (details)
  170. [X86][MS] Add test cases to show wrong alignment in vector variable arguments. NFC (details)
  171. [lldb] Move GetSupportedArchitectureAtIndex to PlatformDarwin (details)
  172. Have yaml2obj describe all options in --help (details)
  173. [NFC][X86] Inclusive language: Rename master label in x86-shrink-wrapping.ll (details)
  174. [clang-tidy] Add unit tests for `DeclRefExprUtils`. (details)
  175. [gn build] Port 3b7244808405 (details)
  176. [LoopAccessAnalysis][SVE] Bail out for scalable vectors (details)
  177. [mlir][Vector] NFC - Apply some clangd suggested fixes. (details)
  178. tsan: lock internal allocator around fork (details)
  179. tsan: include internal allocator into deadlock detection (details)
  180. Fixed use of -o and -k in LLDB under Windows when statically compiled with vcruntime. (details)
  181. [clang][AST] Check context of record in structural equivalence. (details)
  182. [NFC][LAA] Precommit tests for forked pointers (details)
  183. [AArch64] Add regression test for D114354 (details)
  184. [DebugInfo] Reflect switched variable order from instruction referencing (details)
  185. [DebugInfo][InstrRef] Ignore SP clobbers on call instructions even more (details)
  186. [ASan] Moved __asan_test_only_reported_buggy_pointer to ReportGenericError, which is needed for shared optimzied callback tests. (details)
  187. [NFC][AIX]Disable precompiled module file tests on AIX (details)
  188. [mlir][Linalg] Remove alloc/dealloc pair as a callback. (details)
  189. [PowerPC] Add missed clang portion of c933c2eb3346 (details)
  190. Revert "[ThreadPool] Do not return shared futures." (details)
  191. [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test (details)
  192. [mlir][linalg] Update failure conditions for padOperandToSmallestStaticBoundingBox. (details)
  193. Revert "[InstCombine] (~(a | b) & c) | ~(c | (a ^ b)) -> ~((a | b) & (c | (b ^ a)))" (details)
  194. [mlir][linalg] Add makeComposedPadHighOp. (details)
  195. [NFC][clang]Inclusive language: remove remaining uses of sanity (details)
  196. [mlir][linalg] Simplify padding test (NFC). (details)
  197. [DebugInfo][InstrRef] Cope with win32 calls changing SP in LiveDebugValues (details)
  198. [LV] Use OrigLoop instead of induction to get function. (NFC) (details)
  199. cfi: fix more -Wformat warnings (details)
  200. Headers: exclude `#include_next <stdatomic.h>` on MSVC (details)
  201. [SLP]Improve analysis/emission of vector operands for alternate nodes. (details)
  202. Move some tests from instcombine to phase ordering. NFC. (details)
  203. [ConstraintElimination] Add additional tests. (details)
  204. [libc++] Fix two tests that were failing in freestanding mode (details)
  205. [libc++] Handle armv7m in two architecture dependent tests (details)
  206. [CVP] Add a cl::opt for canonicalization of signed relational comparisons (details)
  207. [libc++] Fix backdeployment annotations for std::filesystem (details)
  208. DWARFVerifier: Don't parse all units twice (details)
  209. [LLVM][NFC]Inclusive language: remove occurances of sanity check/test from llvm (details)
  210. [libc++] Value-initialize unique_ptr's deleter_type (details)
  211. [mlir][spirv] Change the return type for {Min|Max}VersionBase (details)
  212. Promote readability by factoring out creation of min/max operation. Remove unnecessary divisions. (details)
  213. [mlir][linalg][bufferize][NFC] Move arith interface impl to new build target (details)
  214. GlobalISel: remove assert that memcpy Src and Dst addrspace must be identical (details)
  215. [NFC] Improve debug message in getAsIntegerSet (details)
  216. [mlir][SCF] Fix off-by-one bug in affine analysis (details)
  217. [mlir][SCF] Further simplify affine maps during `for-loop-canonicalization` (details)
  218. [MLIR] Rename test/python/dialects/math.py -> math_dialect.py (details)
  219. [ELF] Remove unneeded DF_STATIC_TLS for EM_386 local-exec TLS (details)
  220. [ELF] Rename hasStaticTlsModel to hasTlsIe (details)
  221. [ELF] Emit DF_STATIC_TLS only for -shared (details)
  222. [lldb] Fix TestFileHandle.py (details)
  223. Revert "[clang][AST] Check context of record in structural equivalence." (details)
  224. [clang-format] [PR47936] AfterControlStatement: MultiLine breaks AllowShortFunctionsOnASingleLine (details)
  225. [mlir][interfaces] Add insideMutuallyExclusiveRegions helper (details)
  226. [mlir][spirv] Float atomics should not imply Shader (details)
  227. [clangd] Disable hicpp-invalid-access-moved inside clangd (details)
  228. [mlir][spirv] arith::RemSIOp OpenCL lowering (details)
  229. [clang][driver] Add -fplugin-arg- to pass arguments to plugins (details)
  230. Revert "[mlir][SCF] Further simplify affine maps during `for-loop-canonicalization`" (details)
  231. [mlir][linalg][bufferize][NFC] Move SCF interface impl to new build target (details)
  232. [SDAG] Allow Unknown sizes when refining MMO alignments. NFC (details)
  233. [clangd] Add ObjC method support to prepareCallHierarchy (details)
  234. [mlir][linalg] Add backward slice filtering in hoist padding. (details)
  235. [mlir][linalg] Limit hoist padding to constant paddings. (details)
  236. [mlir][linalg] Perform checks early in hoist padding. (details)
  237. [mlir][linalg] Cleanup hoisting test (NFC). (details)
  238. [mlir] Move memref.[tensor_load|buffer_cast|clone] to "bufferization" dialect. (details)
  239. [clang-format] [PR52595] clang-format does not recognize rvalue references to array (details)
  240. [clang-format]NFC improve the comment to match the code (details)
  241. [DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl (REAPPLIED) (details)
  242. [lldb/gdb-remote] Remove initial pipe-draining workaround (details)
  243. [lldb/gdb-remote] Ignore spurious ACK packets (details)
  244. [clang-format] [C++20] [Module] clang-format couldn't recognize partitions (details)
  245. [clangd] Move IncludeCleaner tracer to the actual computation (details)
  246. [NFC][llvm] Inclusive language: reword uses of sanity test and check (details)
  247. [MLIR] [docs] Fix misguided examples in memref.subview operation. (details)
  248. Revert "[SLP]Improve analysis/emission of vector operands for alternate nodes." (details)
  249. [PowerPC/ Regenerate fp128-bitcast-after-operation test checks (details)
  250. Don't store nullptrs in mlir::FuncOp::getAll*Attrs' result (details)
  251. [clang][OpenMP][DebugInfo] Debug support for private variables inside an OpenMP task construct (details)
  252. [ARM] Add fptosi.sat variants of the fixed point vcvt tests. NFC (details)
  253. [DebugInfo][InstrRef] Track variable assignments in out-of-scope blocks (details)
  254. [llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions.cmake but use old option name (details)
  255. [ARM] Convert fptoi.sat to fixed point multiply (details)
  256. tsan: enable -msse4 when compiling tests (details)
  257. tsan: add a test for vector memory accesses (details)
  258. tsan: add a benchmark for vector memory accesses (details)
  259. tsan: fix Java heap block begin in reports (details)
  260. tsan: fix another potential deadlock in fork (details)
  261. [libc++] Fix constraints for string_view's iterator/sentinel constructor (details)
  262. [libc++] Avoid overload resolution in path comparison operators (details)
  263. [llvm] Use range-based for loops (NFC) (details)
  264. [NFC][clang-tools-extra] Inclusive language: replace master with main (details)
  265. Revert "[ThreadPool] Support returning futures with results." (details)
  266. tsan: new runtime (v3) (details)
  267. [CMake] Add new cmake option to control adding comments in GenDAGISel (details)
  268. [libc++] Fix ssize test that made an assumption about ptrdiff_t being 'long' (details)
  269. [LLDB] Provide target specific directories to libclang (details)
  270. [NFC][llvm] Inclusive language: replace master with main in dbg-call-site-spilled-arg.mir (details)
  271. [PowerPC] Prevent the optimizer from producing wide vector types in IR. (details)
  272. [MLIR] NFC. Rename MLIR CAPI ExecutionEngine target for consistency (details)
  273. [NFC][compiler-rt] Inclusive language: replace master/slave with primary/secondary (details)
  274. [clang-format] NFC update LLVM overall clang-formatted status (details)
  275. [NFC][llvm] Inclusive language: replace master in llvm docs (details)
  276. [clang-format] Extend AllowShortBlocksOnASingleLine for else blocks (details)
  277. Recommit [ThreadPool] Support returning futures with results. (details)
  278. [AIX] Disable unsupported offloading gpu tests (details)
  279. [mlir][Vector] Support 0-D vectors in `VectorPrintOpConversion` (details)
  280. [ThreadPool] Use auto again for future with ENABLE_THREADS=Off. (details)
  281. [libunwind] Fix testing with sanitizers enabled (details)
  282. [DebugInfo][InstrRef] Avoid some quadratic behaviour in LiveDebugVariables (details)
  283. [NFC][flang] Inclusive language: remove instances of master (details)
  284. [NFC] Inclusive language: rename master flag to main flag (details)
  285. [clang][NFC] Inclusive terms: rename AccessDeclContextSanity to AccessDeclContextCheck (details)
  286. [DebugInfo][InstrRef] Add extra indirection for NRVO tests (details)
  287. [ELF] Simplify DynamicSection content computation. NFC (details)
  288. [ELF] Simplify GnuHashSection::write. NFC (details)
  289. [ELF] Remove redundant part.dynSymTab creation. NFC (details)
  290. Fix link to the other docs from the Bufferization dialect (details)
  291. [mlir][linalg][bufferize][NFC] Move Affine interface impl to new build target (details)
  292. [ELF] Rename OutputSection::sectionCommands to commands. NFC (details)
  293. [ELF] Make ExprValue smaller. NFC' (details)
  294. [mlir][linalg][bufferize][NFC] Extract func boundary bufferization (details)
  295. [mlir][linalg][bufferize][NFC] Allow returning arbitrary memrefs (details)
  296. [mlir][linalg][bufferize] Compose dialect-specific bufferization state (details)
  297. [mlir][linalg][bufferize][NFC] Pass BufferizationState to PostAnalysisStep (details)
  298. [NFC] Fix typo in 95875d246acb (details)
  299. [ELF] Rename BaseCommand to SectionCommand. NFC (details)
  300. [AMDGPU] Make vector superclasses allocatable (details)
  301. [llvm] Use range-based for loops (NFC) (details)
  302. tsan: check stack in atexit4.cpp test (details)
  303. tsan: add test for __cxa_atexit (details)
  304. tsan: add a test for on_exit (details)
  305. tsan: remember and print function that installed at_exit callbacks (details)
  306. [mlir][Vector] Minor formatting fixes in Vector.md (details)
  307. [clang][AST] Check context of record in structural equivalence. (details)
  308. [mlir][linalg] Simplify the hoist padding tests. (details)
  309. [CodeGen] Add scalable vector support for lowering of llvm.get.active.lane.mask (details)
  310. [clang] Change ordering of PreableCallbacks to make sure PP can be referenced in them (details)
  311. [ARM] Add some vctp from setcc tests. NFC (details)
  312. [clang] Fix crash on broken parameter declarators (details)
  313. [libcxx] Implement three-way comparison for std::reverse_iterator (details)
  314. [lldb] Fix 'memory write' to not allow specifying values when writing file contents (details)
  315. [DAG] SimplifyDemandedVectorElts - attempt to handle ADD(x,x) as single use (details)
  316. [ARM] Generate VCTP from SETCC (details)
  317. [AArch64][SVE] Generate ASRD instructions for power of 2 signed divides (details)
  318. [clang][deps] NFC: Remove else after early return (details)
  319. [clang][deps] NFC: Clean up wording (ignored vs minimized) (details)
  320. [LoopVectorize] When tail-folding, don't always predicate uniform loads (details)
  321. [GlobalISel] Fold or of shifts to funnel shift. (details)
  322. [AMDGPU] Add SIMemoryLegalizer comments to clarify bit usage (details)
  323. [libunwind][ARM] Handle end of stack during unwind (details)
  324. Defines new PDLInterp operations needed for multi-root matching in PDL. (details)
  325. [Docs] Removed /Zd flag still mentioned in documentation (details)
  326. [AArch64][SVEIntrinsicOpts] Fix: predicated SVE mul/fmul are not commutative (details)
  327. Introduced iterative bytecode execution. (details)
  328. Implementation of the root ordering algorithm (details)
  329. Multi-root PDL matching using upward traversals. (details)
  330. Added line numbers to the debug output of PDL bytecode. (details)
  331. [clang][deps] NFC: Extract function (details)
  332. [tsan] Relax atexit5.cpp a bit more so it's not as dependent on the standard library implementation (details)
  333. [PDL] fix unused variable warning in Release builds (details)
  334. Provide a definition for OperationPosition::kDown (details)
  335. [clangd] Record information about non self-contained headers in IncludeStructure (details)
  336. [mlir][linalg][bufferize][NFC] InsertSliceOp no-copy detection as PostAnalysis (details)
  337. [SCEV] Turn check in createSimpleAffineAddRec to assertion. (NFC) (details)
  338. [Bug 49018][lldb] Fix incorrect help text for 'memory write' command (details)
  339. [SLP][NFC]Add a test for gathered instructions in loop, NFC. (details)
  340. [mlir][OpenMP] Add support for SIMD modifier (details)
  341. [pstl] Fix incorrect usage of std::invoke_result (details)
  342. [SLP]Improve analysis/emission of vector operands for alternate nodes. (details)
  343. [clangd] IncludeCleaner: Attribute symbols from non self-contained headers to their parents (details)
  344. Revert "Reland "[lldb] Remove non address bits when looking up memory regions"" (details)
  345. [libc++] Add missing __format__ attributes (details)
  346. [libc++] Properly handle errors happening during Lit configuration (details)
  347. [LLVM][llvm-cov] Inclusive language: rename option -name-whitelist to -name-allowlist (details)
  348. [MLIR] Simplex::pivot: also update the redundant rows when pivoting (details)
  349. [Target] Use range-based for loops (NFC) (details)
  350. [libc] Make string entrypoints mutualy exclusive. (details)
  351. [llvm-cov][NFC] Add missing character to fix docs buildbot break. (details)
  352. [MLIR] Simplex: fix a bug when rolling back a Simplex with no solutions (details)
  353. [mlir][Standard] Support 0-D vectors in `SplatOp` (details)
  354. [mlir][Vector] Support 0-D vectors in `BroadcastOp` (details)
  355. [libc++] Trigger rebuild of the Docker image so we get a new nightly Clang (details)
  356. [MLIR] Allow `Idempotent` trait to be applied to binary ops. (details)
  357. [DAG] Pull out repeated isLittleEndian() calls. NFC. (details)
  358. [ELF] Rename fetch to extract (details)
  359. [MLIR] Prevent creation of buggy affine map after linearizing collapsed dimensions of source map (details)
  360. [MLIR] Avoid creation of buggy affine maps when incorrect values of number of dimensions and number of symbols are provided. (details)
  361. [ELF][PPC64] Make --power10-stubs/--no-power10-stubs proper aliases for --power10-stubs={auto,no} (details)
  362. [SCEV] Fix and validate ValueExprMap/ExprValueMap consistency (details)
  363. [DAG] Restore dropped condition (details)
  364. [mlir] Fix a warning (details)
  365. [flang] Fix reversed comparison in RESHAPE() runtime (details)
  366. [InstSimplify] baseline tests for icmp of lshr/udiv fold (NFC) (details)
  367. Revert "[SCEV] Fix and validate ValueExprMap/ExprValueMap consistency" (details)
  368. [compiler-rt][CMake] Support powerpc32 on Linux (details)
  369. [compiler-rt][CMake] Support powerpcspe build (details)
  370. [InstSimplify] Fold X {lshr,udiv} C <u X --> true for nonzero X, non-identity C (details)
  371. [sanitizer] Switch StackStore to 8 MiB blocks (details)
  372. [ELF] Simplify Symbol::extract. NFC (details)
  373. [libcxx][NFC] Add tests for associative containers key_comp and value_comp (details)
  374. [ELF][test] Test that .o definition does not inherit .so STV_PROTECTED (details)
  375. Fixed broken build under GCC 5.4. (details)
  376. [Target] Use range-based for loops (NFC) (details)
  377. [RISCV] Emit DWARF location expression for RVV stack objects. (details)
  378. [test] Use -passes syntax when specifying pipeline in some more tests (details)
  379. [test] Use -passes in lit tests for the UpdateTestChecks tool (details)
  380. [test] Use -passes syntax in Feature/OperandBundles lit tests (details)
  381. [ARM] implement support for ALU/LDR PC-relative group relocations (details)
  382. Reland [SCEV] Fix and validate ValueExprMap/ExprValueMap consistency (details)
  383. [NVPTX][AsmPrinter] Avoid removing globals before calling AsmPrinter::doFinalization() (details)
  384. [DSE] Optimize defining access of defs while walking upwards. (details)
  385. [ARM] Extra testing for v2i1 types. NFC (details)
  386. [SCEV] Simplify invalidation after BE count calculation (NFCI) (details)
  387. [SCEV] Simplify forgetSymbolicName() (NFCI) (details)
  388. [DwarfCompileUnit] Set parent DIE right after creating a local entity (details)
  389. [PowerPC] Regenerate ppc64-P9-vabsd.ll tests (details)
  390. [ARM] Fold away unnecessary CSET/CMPZ (details)
  391. [Target] Use range-based for loops (NFC) (details)
  392. [ARM] CSINC/CSINV patterns from CMOV (details)
  393. [mlir] Enable MLIRDialectUtilsTests (details)
  394. [sanitizer] Switch StackStore from pointers to 32bit IDs (details)
  395. NFC: Simplify sve-widen-phi.ll by unrolling once. (details)
  396. [LV] Fix incorrectly marking a pointer indvar as 'scalar'. (details)
  397. [sanitizer] Remove storeIds and use padding of StackDepotNode (details)
  398. [libc++][format] Adds formatting benchmarks. (details)
  399. [SCEV] Turn validity check in getExistingSCEV into assert (NFC). (details)
  400. [libc++] Remove support for Clang 9 and older. (details)
  401. [libc++] Add myself to the credits. (details)
  402. [InstCombine] reduce code duplication; NFC (details)
  403. [InstCombine] use decomposeBitTestICmp to make icmp (trunc X), C more consistent (details)
  404. [ARM] Add testing for various fptosi.sat patterns. NFC (details)
  405. [clang] Fix -Wreturn-type false positive in @try statements (details)
  406. [llvm] Use range-based for loops (NFC) (details)
  407. [LV] Move code from widenGEP to VPWidenGEPRecipe (NFC). (details)
  408. [ELF] Simplify assignFileOffsets. NFC (details)
  409. [ELF] -z separate-*: Use max-page-size instead of common-page-size for text/non-SHF_ALLOC transition and writeTrapInstr (details)
  410. [DSE] Use MapVector for IOLs (details)
  411. [AArch64] Avoid crashing on invalid -Wa,-march= values (details)
  412. [mlir] NFC - Move invalid.mlir tests to the proper dialects (details)
  413. [ELF] Simplify assignFileOffsets (details)
  414. [ELF] Fix out-of-bounds write in memset(&Out::first, ...) (details)
  415. [ELF] Simplify OutputSection::sectionIndex assignment. NFC (details)
  416. [ELF] Replace one make_unique from r316378 with a stack object. NFC (details)
  417. [Driver] Support PowerPC SPE musl dynamic linker name ld-musl-powerpc-sf.so.1 (details)
  418. [ELF] Inline InputSection::getOffset into callers and remove it. NFC (details)
  419. [ELF] Remove unneeded getOutputSectionVA. NFC (details)
  420. Compilation Database: Point Bazel users to a solution (details)
  421. [ELF] Simplify/remove LinkerScript::output and advance. NFC (details)
  422. [mlir][python] Normalize asm-printing IR behavior. (details)
  423. [llvm] Use range-based for loops (NFC) (details)
  424. test: add a lit configuration for Windows subdirectory (details)
  425. [ELF][test] --oformat binary: Check that SIZEOF_HEADERS==0 (details)
  426. [ELF] Support --oformat= beside Separate --oformat (details)
  427. [AIX] Disable empty.ll test using unsupported split dwarf (details)
  428. [ELF] Simplify/remove LinkerScript::switchTo. NFC (details)
  429. [ELF] Simplify some ctx->outSec with sec. NFC (details)
  430. [ELF] Decrease InputSectionBase::entsize to uint32_t (details)
  431. [analyzer][doc] Add user documenation for taint analysis (details)
  432. [ELF] Speed up/simplify removeUnusedSyntheticSections. NFC (details)
  433. [ELF] Avoid std::stable_partition which may allocate memory. NFC (details)
  434. [flang] Return true in IsSymplyContiguous for allocatables (details)
  435. [CodeGen][SVE] Use whilelo instruction when lowering @llvm.get.active.lane.mask (details)
  436. Fix cppcoreguidelines-virtual-base-class-destructor in macros (details)
  437. [libtooling][clang-tidy] Fix crashing on rendering invalid SourceRanges (details)
  438. [clang-tidy] Fix crashing altera-struct-pack-align on invalid RecordDecls (details)
  439. [clang-tidy] Ignore narrowing conversions in case of bitfields (details)
  440. [fir] Add base for runtime builder unittests (details)
  441. [LV] Move code from widenInstruction to VPWidenRecipe. (NFC) (details)
  442. [fir] Add fir transformational intrinsic builder (details)
  443. [fir] Add assignment runtime API builder (details)
  444. [analyzer][NFC] Refactor AnalysisConsumer::getModeForDecl() (details)
  445. [fir] Add data flow optimization pass (details)
  446. [X86][Costmodel] Now that `getReplicationShuffleCost()` is good, update `getInterleavedMemoryOpCostAVX512()` (details)
  447. [AArch64][SVE] Mark fixed-type FP extending/truncating loads/stores as custom (details)
  448. Use a deterministic order when updating the DominatorTree (details)
  449. fix typos in comments (details)
  450. [NFC][X86][LV][Costmodel] Add most basic test for masked interleaved load (details)
  451. Don't consider 'LinkageSpec' when calculating DeclContext 'Encloses' (details)
  452. [CodeGen][AArch64] Bail out in performConcatVectorsCombine for scalable vectors (details)
  453. [clang-format] regressed default behavior for operator parentheses (details)
  454. Reapply 'Implement target_clones multiversioning' (details)
  455. [mlir][memref] Fix bug in verification of memref.collapse_shape (details)
  456. [X86] Add vector test coverage for or with no common bits tests (details)
  457. [AMDGPU] Fix "must generated" typo in docs (details)
  458. [AMDGPU] Fix list indentation in docs (details)
  459. [AMDGPU][GlobalISel] Transform (fadd (fmul x, y), z) -> (fma x, y, z) (details)
  460. [AMDGPU][GlobalISel] Transform (fadd (fpext (fmul x, y)), z) -> (fma (fpext x), (fpext y), z) (details)
  461. [AMDGPU][GlobalISel] Transform (fadd (fma x, y, (fmul u, v)), z) -> (fma x, y, (fma u, v, z)) (details)
  462. [AMDGPU][GlobalISel] Transform (fadd (fma x, y, (fpext (fmul u, v))), z) -> (fma x, y, (fma (fpext u), (fpext v), z)) (details)
  463. [AMDGPU][GlobalISel] Transform (fsub (fmul x, y), z) -> (fma x, y, -z) (details)
  464. [AMDGPU][GlobalISel] Transform (fsub (fneg (fmul, x, y)), z) -> (fma (fneg x), y, (fneg z)) (details)
  465. [AMDGPU][GlobalISel] Transform (fsub (fpext (fmul x, y)), z) -> (fma (fpext x), (fpext y), (fneg z)) (details)
  466. [AMDGPU][GlobalISel] Transform (fsub (fpext (fneg (fmul x, y))), z) -> (fneg (fma (fpext x), (fpext y), z)) (details)
  467. [X86][Costmodel] `getInterleavedMemoryOpCostAVX512()`: masked load can not be folded into a shuffle (details)
  468. [fir] Get rid of the global option in FIRBuilder (details)
  469. [HWASan] Disable LTO test on aarch64. (details)
  470. [SCEV] Remove incorrect assert (details)
  471. [InstCombine] Fold (~A | B) ^ A --> ~(A & B) (details)
  472. [llvm] Use range-based for loops (NFC) (details)
  473. [mlir] Handle an edge case when folding reshapes with multiple trailing 1 dimensions (details)
  474. [LLDB][NativePDB] fix find-functions.cpp failure on windows bots (details)
  475. [NFC][AIX]Disable unsupported hip test on AIX (details)
  476. [libc++] Fix incorrect REQUIRES on a locale-dependent test (details)
  477. OpenMP: Start calling setTargetAttributes for generated kernels (details)
  478. [LLDB][NativePDB] fix find-functions.cpp failure on windows bots (2) (details)
  479. [HIP] Add atomic load, atomic store and atomic cmpxchng_weak builtin support in HIP-clang (details)
  480. [NFC][clang]Increase the number of driver diagnostics (details)
  481. [InstCombine] (~(a | b) & c) | ~(c | (a ^ b)) -> ~((a | b) & (c | (b ^ a))) (details)
  482. [InstCombine] add tests for or with mul operand; NFC (details)
  483. [LICM] Regenerate test checks (NFC) (details)
  484. [mlir][sparse] some leftover cleanup from migration to bufferization dialect (details)
  485. Revert "OpenMP: Start calling setTargetAttributes for generated kernels" (details)
  486. [DebugInfo][InstrRef][NFC] Test changes: DBG_VALUE to DBG_INSTR_REF (details)
  487. Update unit test API usage (NFC) (details)
  488. OpenMP: Correctly query location for amdgpu-arch (details)
  489. [DAG] Add tests for fpsti.sat for various architectures. NFC (details)
  490. [DebugInfo][InstrRef] Preserve properties of restored variables (details)
  491. [InstCombine] try to fold 'or' into 'mul' operand (details)
  492. [ELF] --cref: If -Map is specified, print to the map file (details)
  493. [unroll] Split full exact and full bound unroll costing [NFC] (details)
  494. [DebugInfo][InstrRef] Add indirection from dbg.declare in SelectionDAG (details)
  495. [unroll] Reduce scope of UnrollFactor variable in computeUnrollCount [NFC] (details)
  496. [unroll] Use early return in shouldPartialUnroll [nfc] (details)
  497. [DebugInfo][InstrRef][NFC] "Final" x86 test cleanup (details)
  498. [SCEVExpander] Drop poison generating flags when reusing instructions (details)
  499. [CVP] Remove ashr of -1 or 0 (details)
  500. [DebugInfo][InstrRef] Terminate overlapping variable fragments (details)
  501. [clang-tidy] Fix pr48613: "llvm-header-guard uses a reserved identifier" (details)
  502. [openmp][devicertl] Add a missing loader_uninitialized attribute (details)
  503. [lldb][NFC] Format lldb/include/lldb/Symbol/Type.h (details)
  504. [NFC][Regalloc] Split canEvictInterference into hint and general (details)
  505. [Demangle] Add support for D simple single qualified names (details)
  506. [Demangle] Add support for multiple identifiers in D qualified names (details)
  507. [Demangle] Add support for D anonymous symbols (details)
  508. Tests for D112754 (details)
  509. X86: Fold masked-merge when and-not is not available (details)
  510. [mlir][sparse] generalize sparse tensor output implementation (details)
  511. Add missing header (details)
  512. Revert "[lldb][NFC] Format lldb/include/lldb/Symbol/Type.h" (details)
  513. [sanitizer] Add Leb128 encoding/decoding (details)
  514. [NFC] Header comment in X86RegisterBanks.td referred to Aarch64 (details)
  515. [RISCV] Add a test case to show the bug in RISCVFrameLowering. (details)
  516. [RISCV] Fix a bug in RISCVFrameLowering. (details)
  517. [NFC][sanitizer] Track progress of populating the block (details)
  518. [RISCV] Promote f16 log/pow/exp/sin/cos/etc. to f32 libcalls. (details)
  519. [TwoAddressInstructionPass] Create register mapping for registers with multiple uses in the current MBB (details)
  520. [AMDGPU] Enable copy between VGPR and AGPR classes during regalloc (details)
  521. [DebugInfo] Do not replace existing nodes from DICompileUnit (details)
  522. [mlir][python] Add pyi stub files to enable auto completion. (details)
  523. [mlir][python] Implement more SymbolTable methods. (details)
  524. [mlir][python] Audit and fix a lot of the Python pyi stubs. (details)
  525. [X86][clang] Enable floating-point type for -mno-x87 option on 32-bits (details)
  526. [ELF] Move GOT/PLT relocation code closer. NFC (details)
  527. [clang-tidy] Warn on functional C-style casts (details)
  528. [ARM] create new pseudo t2LDRLIT_ga_pcrel for stack guards (details)
  529. [X86][LoopVectorize] "Fix" `X86TTIImpl::getAddressComputationCost()` (details)
  530. [llvm-profgen] Compute and show profile density (details)
  531. [PR52549][clang-cl] Predefine _MSVC_EXECUTION_CHARACTER_SET (details)
  532. [RISCV] Decode vtype with reserved fields to raw immediate (details)
  533. [ELF] Move ObjFile<ELFT>::{getLocalSymbols,getGlobalSymbols} to non-template ELFFileBase. NFC (details)
  534. [mlir][OpDSL] Fix OpDSL tests after https://reviews.llvm.org/D114680. (details)
  535. [mlir] Move bufferization-related passes to `bufferization` dialect. (details)
  536. [clangd] Make std symbol generation script python3 friendly (details)
  537. [mlir] Decompose Bufferization Clone operation into Memref Alloc and Copy. (details)
  538. [clang][ARM] PACBTI-M assembly support (details)
  539. [AMDGPU] Update docs for nontemporal store (details)
  540. [GlobalISel] Add matchers for constant splat. (details)
  541. [lldb] Remove 'extern "C"' from the lldb-swig-python interface (details)
  542. [Analyzer][solver] Do not remove the simplified symbol from the eq class (details)
  543. [Analyzer][Core] Make SValBuilder to better simplify svals with 3 symbols in the tree (details)
  544. [LV] Move code from widenSelectInstruction to VPWidenSelectRecipe. (NFC) (details)
  545. [DebugInfo][InstrRef] "final final" test cleanups for x86 tests (details)
  546. [libc] Add memmove benchmarks (details)
  547. [libc] Add a reasonably optimized version for bcmp (details)
  548. [libc++][ABI BREAK] Do not use the C++03 emulation for std::nullptr_t by default (details)
  549. [DAG] Create fptosi.sat from clamped fptosi (details)
  550. [DebugInfo][InstrRef] Avoid dropping fragment info during PHI elimination (details)
  551. [AMDGPU][NFC] Remove unused defvar in AMDGPUInstructions.td. (details)
  552. [DebugInfo][InstrRef][X86] Instrument expanded DYN_ALLOCAs (details)
  553. [mlir] Fix BufferizationToMemRef build. (details)
  554. [mlir] Add bazel build for BufferizationToMemRef. (details)
  555. [DebugInfo][InstrRef] Pre-land on-by-default-for-x86 changes (details)
  556. [fir] Add array value copy pass (details)
  557. [gn build] (semimanually) port 25a7e4b9f7c6 (details)
  558. [lldb] Inline Platform::LoadCachedExecutable into its (single) caller (details)
  559. [lldb] Introduce PlatformQemuUser (details)
  560. [X86] Add mulh test coverage for extension to illegal type (details)
  561. [DebugInfo] Turn instruction referencing on by default for x86 (details)
  562. [BuildLibCalls] Add memset_chk test. (details)
  563. [DSE] Add memset_chk tests. (details)
  564. Test commit (details)
  565. Revert "[DAG] Create fptosi.sat from clamped fptosi" (details)
  566. [clang][dataflow] Add base types for building dataflow analyses (details)
  567. [MC][ELF] Fix accepting abbreviated form with Type change (details)
  568. [fir] Add fir reduction builder (details)
  569. [lld-macho] Mark dylib symbols coming from -weak_framework as weak-ref. (details)
  570. [mlir][linalg] Run CSE after every CodegenStrategy transformation. (details)
  571. [OpenMP] Add RTL function to externalization RAII (details)
  572. [mlir][linalg] Fix windows build issue in hoist padding. (details)
  573. [DAG] Create fptosi.sat from clamped fptosi (details)
  574. [mlir][linalg] Use top down traversal for padding. (details)
  575. [clang][dataflow] Fix broken build in ClangStaticAnalyzer (details)
  576. [mlir][linalg] Support the empty anchor op string when padding. (details)
  577. [DSE] Use optimized access if available for redundant store elimination. (details)
  578. Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible. (details)
  579. [mlir][linalg] Adapt the decompose patterns to use a filter (NFC). (details)
  580. [mlir][linalg] Add decompose to CodegenStrategy. (details)
  581. [fir] Remove unused fct recordTypeCanBeMemCopied (details)
  582. Revert "[fir] Add fir reduction builder" (details)
  583. Code quality: Combine V_RSQ (details)
  584. Fix file extension of alignment-assumption-ignorelist.cppp test (details)
  585. [LV] Remove unneeded cast to Operator [NFC] (details)
  586. [clang][dataflow] Make header parse (details)
  587. [PS4][DWARF] Explicitly set default DWARF version to 4 (details)
  588. [CSSPGO] Sorting nodes in a cycle of profiled call graph. (details)
  589. [JITLink][ELF] Add support for reading extended table (details)
  590. [JITLink][ELF] Don't skip sections of size 0 (details)
  591. [SCEV] Track and invalidate ValuesAtScopes users (details)
  592. [RegionPass] Added check for -filter-print-funcs option to the region IR dumps. (details)
  593. Revert "Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible." (details)
  594. [SLP][NFC]Move static function to make it visible in member function, (details)
  595. [InstSimplify] add tests for 'or' logic folds; NFC (details)
  596. [InstSimplify] add tests for 'or' with logic ops; NFC (details)
  597. [InstSimplify] refactor 'or' logic folds; NFC (details)
  598. [InstSimplify] adjust tests for 'or' of logic ops; NFC (details)
  599. [InstSimplify] reduce code duplication for 'or' logic fold; NFC (details)
  600. [SLP]Improve isFixedVectorShuffle and its use. (details)
  601. Typo fix (details)
  602. [flang] Address TODO from previous changes to IsSaved() (details)
  603. [memprof] Extend llvm-profdata to display MemProf profile summaries. (details)
  604. [gn build] Port 7cca33b40f77 (details)
  605. [ELF] Change -z unknown from error to warning (details)
  606. [InstSimplify] make 'or' test names more descriptive; NFC (details)
  607. [InstSimplify] reduce code duplication for 'or' logic folds; NFC (details)
  608. [InstSimplify] add logic fold for 'or' (details)
  609. [lldb] Search PrivateFrameworks when using an internal SDK (details)
  610. [lldb] Fix indentation in builders/darwin.py (details)
  611. [ELF][PPC64] Remove unneeded PPC64PCRelLongBranchThunk (details)
  612. [memprof] Fix unit test build after refactoring shared header. (details)
  613. [libc][clang-tidy] fix namespace check for externals (details)
  614. fix inverted logic for HideUnrelatedOptions (details)
  615. [mlir][tosa] Add tosa.conv2d as fully_connected canonicalization (details)
  616. [memprof] Disable pedantic warnings, suppress variadic macro warning. (details)
  617. [NFC][Clang]Inclusive language: Replace uses of whitelist in clang/test (details)
  618. [clang][docs] Inclusive language: remove use of sanity check in option description (details)
  619. [SCEV] Verify integrity of ValuesAtScopes and users (NFC) (details)
  620. [memprof] Disallow memprof profile reader tests on non-x86 archs. (details)
  621. AArch64 GIsel: legalize lshr operands, even if it is poison (details)
  622. [mlir][MemRef] Fix SubViewOp canonicalization when a subset of unit-dims are dropped. (details)
  623. [mlir][tensor] InsertSliceOp verification. (details)
  624. [lldb] Mark TestTsanBasic and TestUbsanBasic as "no debug info" tests (details)
  625. [lldb] Fix TypeError: argument of type 'NoneType' is not iterable (details)
  626. [flang] Fix usage & catch errors for MAX/MIN with keyword= arguments (details)
  627. [lldb] Fix broken skipUnlessUndefinedBehaviorSanitizer decorator (details)
  628. [clang-repl][NFC] Fix calling convention mismatch in test (details)
  629. [flang] Re-fold bounds expressions in DATA implied DO loops (details)
  630. [mlir][sparse] refine simply dynamic sparse tensor outputs (details)
  631. [flang] Correct INQUIRE(POSITION= & PAD=) (details)
  632. [NFC] Refactor symbol table parsing. (details)
  633. [InstCombine] Allow fake vector insert folding to bit-logic only if the insert element is integer type (details)
  634. [NFC][sanitizer] Fail test quickly (details)
  635. [ADT] Remove 0-width Asserts in APInt.getZExtValue (details)
  636. [flang] Define & implement a lowering support API IsContiguous() in runtime (details)
  637. [OpenMP][libomp][doc] Add environment variables documentation (details)
  638. [TSan][Darwin] Avoid crashes due to interpreting non-zero shadow content as a pointer (details)
  639. Big-endian version of vpermxor (details)
  640. [NFC][regalloc] Factor accesses to ExtraRegInfo (details)
  641. [Clang] Add option to disable -mconstructor-aliases with -mno-constructor-aliases (details)
  642. Revert "[MLIR] Update Vector To LLVM conversion to be aware of assume_alignment" (details)
  643. [flang] Rearrange prototype & code placement of IsCoarray() (details)
  644. [mlir][sparse] fix typos in integration tests (details)
  645. [runtimes][openmp] Change to not treat ARCH-unknown-linux-gnu as errors (details)
  646. [FS-AFDO][llvm-profgen] Generate profile with FS-AFDO discriminator (details)
  647. [ObjectYAML/obj2yaml/yaml2obj][MachO] Support indirect symbol table (details)
  648. [llvm-profgen] Truncate the context with zero probe ID (details)
  649. [mlir][sparse] added sparse out element wise mult integration test (details)
  650. [NFC][sanitizer] Add entry point for compression (details)
  651. [test] Avoid dumping .o in source tree (expand-pseudos.ll) (details)
  652. Add toggling for -fnew-infallible/-fno-new-infallible (details)
  653. [libcxx][doc] Document recent spaceship projects progress (details)
  654. [RISCV] Teach RISCVTargetLowering::shouldSinkOperands to handle udiv/sdiv/urem/srem. (details)
  655. [sanitizer] Add compress_stack_depot flag (details)
  656. [mlir] Update accessors prefixed form (NFC) (details)
  657. [X86] Pre-commit tests to show the problem of SQRT when `RefinementSteps` = 0. NFC (details)
  658. [lldb] Temporarily skip TestTsanBasic on Darwin (details)
  659. [memprof] Align each rawprofile section to 8b. (details)
  660. [sanitizer] Add delta compression stack depot (details)
  661. [Legalizer] Avoid expansion to BR_CC if illegal (details)
  662. [clang-offload-bundler] Reuse original file extension for device archive member (details)
  663. [mlir] Make sure linearizeCollapsedDims doesn't drop input map dims (details)
  664. Revert "[mlir] Make sure linearizeCollapsedDims doesn't drop input map dims" (details)
  665. [mlir] Make sure linearizeCollapsedDims doesn't drop input map dims (details)
  666. [NPM] Fix LoopNestPasses in -print-pipeline-passes (details)
  667. [fir] Add fir reduction builder (details)
  668. [Coroutines] Make suspend_always in test noexcept (NFC) (details)
  669. [Flang] Replace notifyMatchFailure with TODO hard failures (details)
  670. [libc] Add _64 element to aarch64 (details)
  671. [DSE] Allow DSE to optimize MemorySSA by default. (details)
  672. [mlir] Add a helper for TiledLoopOp to get an operand tied to the bbArg. (details)
  673. Add 'LLVM_DEFAULT_TARGET_TRIPLE' to the documented list of CMake variables (details)
  674. [SCEV] Track backedge taken count users (NFCI) (details)
  675. [LoopUnrollRuntime] Remove unnecessary pointer BECount check (NFC) (details)
  676. [OpenMP][IRBuilder] Fix createSections (details)
  677. [mlir][linalg][bufferize] CallOps do not bufferize to memory writes (details)
  678. [Sema] check PseudoObject when rebuilding CXXOperatorCallExpr in template instantiation (details)
  679. [ARM] Fix some identing in ARMAsmPrinter::emitInstruction, NFC (details)
  680. [BuildLibCalls] Add argmemonly, writeonly, nounwind to memset_chk. (details)
  681. Revert "[Sema] check PseudoObject when rebuilding CXXOperatorCallExpr in template instantiation" (details)
  682. Fix clang-format bug when handling conflict markers. (details)
  683. [ARM] Teach getIntImmCostInst about the cost of saturating fp converts (details)
  684. [clang][ARM] PACBTI-M frontend support (details)
  685. [IR] Assert on getPointerElementType() on opaque pointer (NFC) (details)
  686. [clang][ARM] emit PACBTI-M feature defines (details)
  687. [ARM] add common parts for PACBTI-M support in the backend (details)
  688. [IR] Remove deprecated GetElementPtrInst constructors (details)
  689. [IRBuilder] Remove deprecated methods (details)
  690. Fix segfault in clang-format. (details)
  691. [ARM] emit PACBTI-M build attributes (details)
  692. [ARM] Strengthen fpclamptosat.ll triple to attempt to fix buildbot errors. NFC (details)
  693. [DAG] Apply clang-format to visitMSTORE + visitMLOAD. NFC. (details)
  694. [DAGCombiner] When combining REM ensure optimized div nodes are unique (details)
  695. [LICM] Support opaque pointers in scalar promotion (details)
  696. [X86] Add some basic fptosi/fptoui saturate vector tests (details)
  697. [clang][ARM] removing branch protection error cmdline test (details)
  698. Fixed a memory leak in the PDLToPDLInterp RootOrderingTest. (details)
  699. [LICM] Hoist LOAD without sinking the STORE (details)
  700. Revert "[LICM] Hoist LOAD without sinking the STORE" (details)
  701. [ARM] Implement BTI placement pass for PACBTI-M (details)
  702. [gn build] Port f5f28d5b0ce7 (details)
  703. [Dexter] Add DexDeclareAddress command and address function (details)
  704. [libcxx][test][NFC] Extend get_allocator() testing for containers (details)
  705. Fix a violated precondition in clang-format. (details)
  706. [gn build] (manually) port 94d5f2afbef0 (details)
  707. [clang-cl] Set _MSVC_LANG to 202002L with /std:c++20 (details)
  708. [VE] Make VE official (details)
  709. [Dexter] Fix address_printing test by requiring lldb (details)
  710. [BasicAA] Add strncpy libfunc tests. (details)
  711. [BasicAA] Add memset_chk libfunc tests. (details)
  712. [SLP][NFC]Add a test for inserting into constant undef vector, NFC. (details)
  713. Revert "[Flang] Replace notifyMatchFailure with TODO hard failures" (details)
  714. [LV] Move code from vectorizeMemoryInstruction to recipe's execute(). (details)
  715. Revert "[ARM] Teach getIntImmCostInst about the cost of saturating fp converts" (details)
  716. [mlir][linalg] Disable tensor-matmul test under asan (details)
  717. [Verifier] Make matrix intrinsic verification compatible with opaque pointers (details)
  718. [SLP]Improve vectorization of cmp instructions sequences. (details)
  719. [AArch64][SVE] Duplicate FP_EXTEND/FP_TRUNC -> LOAD/STORE dag combines (details)
  720. [SLP]Introduce isUndefVector function to check for undef vectors. (details)
  721. [PowerPC][AIX] Add toc-data support for 64-bit AIX small code model. (details)
  722. [libc++] Fix `uniform_int_distribution` for 128-bit result type (details)
  723. [SLP]Improve cost model for the shuffled extracts. (details)
  724. [VE][NFC] Use POSIX-compatible stream redirection (details)
  725. [VE] Remove switch with only default case statement to fix MSVC warning. NFC. (details)
  726. [X86] combinePMULH - recognise 'cheap' trunctions via PACKS/PACKUS as well as SEXT/ZEXT (details)
  727. [OpenMP][FIX] SPMDzation guarding needs to account for all reaching kernels (details)
  728. [mlir][Vector] Thread 0-d vectors through vector.transfer ops (details)
  729. [libc++][format][1/6] Reduce binary size. (details)
  730. [llvm][stlextras] Add const methods to concat_range and enumerator (details)
  731. [mlir][ods] AttrOrTypeGen uses Class (details)
  732. Revert "tsan: new runtime (v3)" (details)
  733. [SelectionDAG] Add pattern to haveNoCommonBitsSet (details)
  734. [Clang][VE] Fix toolchain test when -DCLANG_DEFAULT_LINKER=lld in use (details)
  735. [AArch64] Fix unused variable warning with NDEBUG, NFC (details)
  736. [runtimes] Remove support for GCC-style 32 bit multilib builds (details)
  737. [runtimes] Move WARNING to FATAL_ERROR for folks using FOO_BUILD_32_BITS (details)
  738. [Clang] Fix nesting of discarded and immediate contexts. (details)
  739. [ASan] Fixed include order. (details)
  740. [VE][NFC] Fix use-after-free in VEInstrInfo (details)
  741. [mlir][ods][nfc] fix gcc-5 build (details)
  742. [NFC][Clang] Fix some comments in clang (details)
  743. Revert "[lldb] Temporarily skip TestTsanBasic on Darwin" (details)
  744. [Support] replace check with assert in known bits of mul calculation; NFC (details)
  745. Disable issues / pull requests via templates in preparation with migration (details)
  746. [Clang] Remove bogus "REQUIRES arm-registered-target" from SVE ACLE tests. (details)
  747. [mlir][ods][nfc] fixing test cases (details)
  748. Revert "[sanitizer] Add delta compression stack depot" (details)
  749. [flang] Adjust names in Semantics that imply too much (NFC) (details)
  750. [RISCV] Add inline expansion for vector ftrunc/fceil/ffloor. (details)
  751. [InstrProf][NFC] Refactor ProfileDataMap usage (details)
  752. [libcxx][NFC] Make sequence containers slightly more SFINAE-friendly during CTAD. (details)
  753. [libc++] [test] C++03-friendly MAKE_STRING macro. (details)
  754. [libc++] [test] C++14/17-friendly `TEST_IS_CONSTANT_EVALUATED` macro. (details)
  755. [libc++] [test] Refactor string_view comparison tests for comprehensiveness. (details)
  756. [GlobalOpt] Simplify CleanupConstantGlobalUsers() (details)
  757. Fix false positives in `fuchsia-trailing-return` check involving deduction guides (details)
  758. [DSE] Add libcall tests for functions only available on Darwin. (details)
  759. [TLI checker] Update for post-commit review comments (details)
  760. AMDGPU/GlobalISel: Fix constant bus restriction errors for med3 (details)
  761. [libcxx][modularisation] modularises <numeric> header (details)
  762. [gn build] Port a0efb1750065 (details)
  763. [TLI] Add memset_pattern4, memset_pattern8 lib functions. (details)
  764. [Analyzer][solver] Simplification: Do a fixpoint iteration before the eq class merge (details)
  765. [flang] Don't close stderr in runtime (fixes STOP output) (details)
  766. [mlir] Remove extractVectorTypeFromShapedValue (details)
  767. [NFC][sanitizer] constexpr in sanitizer_dense_map_info (details)
  768. [libc++] Make __wrap_iter constexpr (details)
  769. [sanitizer] Implement MprotectReadOnly and MprotectNoAccess (details)
  770. [libcxx][test][NFC] Various tests for std::vector (details)
  771. profi - a flow-based profile inference algorithm: Part I (out of 3) (details)
  772. [gn build] Port 7cc2493daaf5 (details)
  773. [Cloning] Clone metadata on function declarations (details)
  774. [llvm-reduce] Assert that the number of chunks does not change with reductions (details)
  775. [TSan][Darwin] Mark test unsupported (details)
  776. [llvm] [Support] Add HTTP Client Support library. (details)
  777. [gn build] Port 170783f991fa (details)
  778. [clang-tidy] Use `hasCanonicalType()` matcher in `bugprone-unused-raii` check (details)
  779. [lldb] Split TestCxxChar8_t (details)
  780. [TSan][Darwin] Prevent inlining of functions in tests (details)
  781. Revert "[sanitizer] Add compress_stack_depot flag" (details)
  782. [unroll] Fix a functional change in an NFC patch (details)
  783. Revert "[VE] Make VE official" (details)
  784. [mlir][linalg][bufferize] Bufferization of tensor.insert (details)
  785. [tests] Precommit tests for writeonly argument attribute inference (details)
  786. [lldb] Fix DYLD_INSERT_LIBRARIES on AS (details)
  787. [NFC][sanitizer] Fix "not used" warning in test (details)
  788. [libc++] Implement P1989R2: range constructor for string_view (details)
  789. [AMDGPU] Add a regclass flag for scalar registers (details)
  790. [mlir][drr] Simple heuristic to reduce chance of accidental nullptr dereference (details)
  791. [ELF] Prevent internalizing used comdat symbol (details)
  792. [lldb] Skip test_launch_scripted_process_stack_frames with ASan (details)
  793. [X86] Insert FMUL for estimated non reciprocal SQRT when `RefinementSteps` = 0 (details)
  794. [X86][FP16] Only generate approximate rsqrt when Reciprocal is true for half type (details)
  795. [AMDGPU][clang] Fix  __builtin_nontemporal_store() failure on AMDGPU (details)
  796. [AMDGPU] Set most sched model resource's BufferSize to one (details)
  797. [ORC] Hold ResourceTracker in MaterializationResponsibility. (details)
  798. [ORC] Only use JITDylib::GeneratorsMutex while running generators. (details)
  799. [ORC] Add support for removing JITDylibs. (details)
  800. [ARM] Teach getIntImmCostInst about the cost of saturating fp converts (details)
  801. [openmp][amdgpu] Disable three tests in preparation for new runtime (details)
  802. [NFC][sanitizer] Check &real_pthread_join (details)
  803. [clang-format] Add better support for co-routinues (details)
  804. [GlobalOpt] Add test for PR39751 (NFC) (details)
  805. [llvm-c] Make LLVMAddAlias opaque pointer compatible (details)
  806. [fir] Add fir numeric intrinsic runtime call builder (details)
  807. [clangd] IncludeClenaer: Don't mark forward declarations of a class if it's declared in the main file (details)
  808. [ORC] Fix ambiguous call to overloaded function. (details)
  809. [VE][NFC] Fix use-after-free in PVFMK expansion (details)
  810. [BuildLibCalls] Add additional attrs to memcpy_chk. (details)
  811. [ELF] Discard input .note.gnu.build-id even with default --build-id=none (details)
  812. [InferAttrs] Add memset_pattern{4,8} declarations to test. (details)
  813. Revert "Revert "[VE] Make VE official"" (details)
  814. [Flang] Replace notifyMatchFailure with TODO hard failures (details)
  815. [ARM] Add additional postinc distribute tests and regenerate tests. NFC (details)
  816. Use cc/c++ instead of gcc/g++ on FreeBSD. (details)
  817. [GlobalOpt] Fix assertion failure during instruction deletion (details)
  818. [BuildLibCalls] Add support for memset_pattern{4,8}. (details)
  819. [llvm-readobj] Add support for machine-independent NetBSD ELF core notes. (details)
  820. [ARM] Correct range in isLegalAddressImm (details)
  821. [LICM] Adding the test as a precommit for the D113289 (details)
  822. [DAG][PowerPC] Enable initial ISD::BITCAST SimplifyDemandedBits/SimplifyMultipleUseDemandedBits big-endian handling (details)
  823. [BasicAA] Add tests for memset_pattern{4,8,16}. (details)
  824. Reland "[LICM] Hoist LOAD without sinking the STORE" (details)
  825. [VE][Clang][NFC] Disable VE toolchain tests on Windows (details)
  826. [AArch64][SVE] Enable bf16 vector.insert (details)
  827. Expand testing of necessary features for print-changed=dot-cfg. (details)
  828. [fir] Declare test function inline (details)
  829. Add new clang-tidy check for string_view(nullptr) (details)
  830. Fix documentation for `forEachLambdaCapture` and `hasAnyCapture` (details)
  831. [HIPSPV] Add CUDA->SPIR-V address space mapping (details)
  832. [flang] GettingInvolved: update LLVM Alias Analysis Technical Call info (details)
  833. [gn build] Port 6a9487df73e9 (details)
  834. [MemoryLocation] Support memset_chk in getForArgument. (details)
  835. [PatternMatch] create and use matcher for 'not' that excludes undef elements (details)
  836. [libc] Fix a bug in MPFRUtils making ULP values off by 2^(-mantissaWidth). (details)
  837. [MemoryLocation] Support strncpy in getForArgument. (details)
  838. [VE][NFC] Cleanup redundant namespace wrapper (details)
  839. [AMDGPU] Test for in-order waitcnt insertion for bvh instructions (details)
  840. [AMDGPU] Add support for in-order bvh in waitcnt pass (details)
  841. [SLP][NFC]Add a test for extractelements with many uses vectorization, NFC. (details)
  842. [clang-tidy] Fix build broken by commit 6a9487df73e917c4faf5e060f2bb33c6ade3f967 (D113148) (details)
  843. [AnnotationRemarks] Support generating annotation remarks with -O0. (details)
  844. [Clang] Fix LTO pipeline test after 770a50b28c00211f9a. (details)
  845. [clangd] cleanup of header guard names (details)
  846. [InstCombine] add tests for icmp with mul op; NFC (details)
  847. [OpenMP] Make the new device runtime the default (details)
  848. [TLI checker] Add more tests (details)
  849. [clang] Do not duplicate "EnableSplitLTOUnit" module flag (details)
  850. Revert "[TLI checker] Add more tests" (details)
  851. [lld][WebAssembly] Fix for debug relocations against undefined function symbols (details)
  852. tsan: fix false positives in dynamic libs with static tls (details)
  853. [SLP]Improve registering and merging of compatible shuffles. (details)
  854. tsan: tolerate munmap with invalid arguments (details)
  855. Reapply "[TLI checker] Add more tests" (details)
  856. [clang-cl] Define _MSVC_LANG for -std=c++2b (details)
  857. [ARM] Introduce i8neg and i8pos addressing modes (details)
  858. [SLP]Outline and fix code for finding common insertelement vectors. (details)
  859. [llvm] Fix "unused variable" warnings (details)
  860. [llvm] Use range-based for loops (NFC) (details)
  861. [OpenMP] Remove the new runtime default for AMDGPU (details)
  862. [DSE] Read after strcpy test. (details)
  863. [BasicAA] Add tests for strcat/strncat/strcpy. (details)
  864. [bazel][mlgo] Remove the mlgo-related build excludes (details)
  865. [lldb] Skip two lldb tests on Windows because they are flaky (details)
  866. [sanitizer] DEFINE_REAL_PTHREAD_FUNCTIONS for hwasan, lsan, msan (details)
  867. [ELF] Fix driver.test after 8c3641d0 when cwd is readonly (details)
  868. [sanitizer] Add compress_stack_depot flag (details)
  869. [sanitizer] Add delta compression stack depot (details)
  870. [SLP]Fix reused extracts cost. (details)
  871. [mlir][bufferization] fixed typo in to_memref doc (details)
  872. profi - a flow-based profile inference algorithm: Part II (out of 3) (details)
  873. [lld-macho] Remove old macho darwin lld (details)
  874. [Bazel] Remove old MachO LLD from the Bazel build (details)
  875. Simplify the libcxx std::string_view gdb pretty printer (details)
  876. [asan] Remove confusing workaround (details)
  877. [Bazel] Remove old macho lld port (details)
  878. [sanitizer] Start background thread once (details)
  879. [compiler-rt] Fix incorrect variable names used (details)
  880. [NFC][sanitizer] Use more bytes of sanitizer_stack_store_test pointers (details)
  881. Reapply "OpenMP: Start calling setTargetAttributes for generated kernels" (details)
  882. [ELF] Hint -z nostart-stop-gc for __start_ undefined references (details)
  883. [gn build] (manually) port 9e3552523ebd (no more old mach-o lld) (details)
  884. profi - a flow-based profile inference algorithm: Part III (out of 3) (details)
  885. [libc++][NFC] Update namespace comments in include/ (details)
  886. xfail: reduction_implicit_map.cpp after reapply of Start calling setTargetAttributes (details)
  887. [ASan] Fixed asan_mapping.h format. (details)
  888. Revert "xfail: reduction_implicit_map.cpp after reapply of Start calling setTargetAttributes" (details)
  889. [llvm] [Support] Add CURL HTTP Client. (details)
  890. xfail: libomptarget reduction_implicit_map.cpp after reapply of Start calling setTargetAttributes (details)
  891. [gn build] (manually) port e0b259f22c003ffe9 (details)
  892. [NFC][sanitizer] Rename RssLimitExceeded -> IsRssLimitExceeded (details)
  893. Restric xfail on openmp/libomptarget/test/mapping/reduction_implicit_map.cpp to amdgcn-amd-amdhsa (details)
  894. [OPENMP]Fix error emission for dependent expressions in iterators for depend clauses. (details)
  895. [funcattrs] Infer writeonly argument attribute (details)
  896. [mlir][ods] fix defgen on empty files (details)
  897. [OPENMP]Fix PR51327: Range based for loop not working if range's type is a template. (details)
  898. [LTO] Specify triple to address unknown binary format assertion (details)
  899. Implement division merging (details)
  900. Update docs for mergeLocalIds (details)
  901. Update mergeLocalIds docs (details)
  902. Move division representation to a common function (details)
  903. Address arjun's comments (details)
  904. Update tests for mergeLocalIds (details)
  905. Update docs (details)
  906. Fix clang-format errors (details)
  907. Fix asserts as suggested by Arjun (details)
  908. Addressed more comments (details)
  909. Address more comments. (details)
  910. Fix doc comment for mergeLocalIds. (details)
  911. Addressed comments (details)
  912. Address bondhugula's comments (details)
  913. [PowerPC] Fix load/store selection infrastructure when load/store intrinsics are used on P10. (details)
  914. [OPENMP]Fix PR50733: unexpected final value of list-item in linear clause in loop construct. (details)
  915. Revert changes that should have been sent as a patch (details)
  916. [MLIR][FlatAffineConstraints] Remove duplicate divisions while merging local ids (details)
  917. [clang-tidy] Allow disabling support for NOLINTBEGIN/NOLINTEND blocks. (details)
  918. [TLI checker] Follow good practice with -COUNT directives (details)
  919. libcxx pretty printers: remove non-lazy_string fallback (details)
  920. [NFC][sanitizer] Reorder functions in cpp file (details)
  921. [NFC][sanitizer] Remove SetSoftRssLimitExceededCallback (details)
  922. [MLIR] Use a shared uniquer for affine maps and integer sets. (details)
  923. AMDGPU: Sanitized functions require implicit arguments (details)
  924. [ELF][PPC32] Make R_PPC32_PLTREL retain .got (details)
  925. [analyzer]Skip unstable CSA tests failing on several platforms (details)
  926. [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals. (details)
  927. [mlir][ods] update attr/type def format docs (details)
  928. Include extra input contents on this test so we can see why lldb-arm-ubuntu buildbot is failing. (details)
  929. [CostModel][AMDGPU] Fix instructions costs estimation for vector types. (details)
  930. [Bazel] Add LLVM_ENABLE_CURL to Bazel llvm-config.h.cmake for e0b259f2 (details)
  931. Run update_test_checks.py on test cases. (details)
  932. [bazel] Update static analyzer unit test deps for clangTesting (details)
  933. [clang][Darwin] Remove old lld implementation handling (details)
  934. [Bazel] Set the right default for LLVM_WINDOWS_PREFER_FORWARD_SLASH on Windows (details)
  935. Using make_unique instead of `new` (NFC) (details)
  936. [CSSPGO] Turn on Profi by default (details)
  937. [libc++][ranges] Implement [special.mem.concepts]. (details)
  938. [gn build] (manually) port 9c4d194f44c4 (details)
  939. [lsan] Deflake fork_and_leak test (details)
  940. [gn build] (manually) port 9c4d194f44c4 better (details)
  941. Simplify logic to identify dyld_sim in Simulator debugging on macos (details)
  942. [gn build] Port 2d9efcfeec24 (details)
  943. [gn build] Port aba8f320cc13 (details)
  944. [llvm][Inline] Add FunctionSimplificationPipeline to module inliner pipeline (details)
  945. [ASan] Changed intrisic implemenation to use PLT safe registers. (details)
  946. [lldb] add fallback for LLDB_PYTHON_RELATIVE_PATH (details)
  947. [clangd] Show parameters for construct. (details)
  948. [Coroutines] Handle InvokeInst in SalvageDebugInfo (details)
  949. [NFC] move GNUELFDumper::printEnum() into a common header for reuse. (details)
  950. [AArch64][NFC] Fix ComplexPattern types conflicting with uses (details)
  951. [AMDGPU][NFC] Alter ComplexPattern types to be consistent with their uses (details)
  952. [AArch64][NFC] Alter ComplexPattern types to be consistent with their uses (details)
  953. [TableGen][SelectionDAG] Use ComplexPattern type for non-leaf nodes (details)
  954. [flang] Return arrays in Transfer runtime with SIZE argument (details)
  955. [mlir][linalg][bufferize] Op interface implementation for Bufferization dialect ops (details)
  956. tsan: disable munmap_invalid.cpp test on darwin (details)
  957. [clangd] IncludeCleaner: Do not require forward declarations of RecordDecls when definition is available (details)
  958. [MemoryLocation] strcat/strncat/strcpy read/write after their args. (details)
  959. [mlir][Vector] Add some missing tests for `broadcast` and `splat` (details)
  960. [mlir][Vector] Support 0-D vectors in `BitCastOp` (details)
  961. [SCEV] Fix ValuesAtScopesUsers consistency (details)
  962. [MemoryLocation] Move DSE's logic to new MemLoc::getForDest helper (NFC). (details)
  963. Fix typos in FPUtil README (details)
  964. [Clang] Mutate bulitin names under IEEE128 on PPC64 (details)
  965. [PowerPC] [Clang] Fix alignment adjustment of single-elemented float128 (details)
  966. [llvm-dwarfdump] Do not print preceding :: for local types (details)
  967. [fir] Add fircg.ext_embox conversion (details)
  968. [mlir][linalg][bufferize][NFC] Move BufferizationOptions to op interface (details)
  969. [fir] TargetRewrite: Rewrite fir.address_of(func) (details)
  970. [flang] Add missing LABEL in test. NFC (details)
  971. [RISCV][VP] Add RVV codegen for vp.select (details)
  972. [mlir][linalg][bufferize] Allow unbufferizable ops in input (details)
  973. [mlir][linalg][bufferize][NFC] Move FuncOp boundary bufferization to ModuleBufferization (details)
  974. [mlir] support recursive type conversion of named LLVM structs (details)
  975. AMDGPU/GlobalISel: Do not fcanonicalize const splat padded with undef (details)
  976. AMDGPU/GlobalISel: Add floating point med3 combine (details)
  977. AMDGPU/GlobalISel: Add clamp combine (details)
  978. [PowerPC] Add non-constant fcopysign f128 test coverage (details)
  979. [mlir][NFC] Use const reference for loop variables. (details)
  980. [libc][NFC] Fix typo in CMakeLists documentation (details)
  981. [MemoryLocation] Use None instead of {}. (NFC) (details)
  982. [SelectionDAG] Add newline to a debug message (details)
  983. [mlir][linalg][bufferize][NFC] Provide default implementation of getAliasingOpOperand (details)
  984. [AMDGPU] Add some more GFX10 GlobalISel test coverage (details)
  985. [fir] Add fir derived type runtime builder (details)
  986. [fir] Add fir character builder (details)
  987. [AMDGPU] Add some more GFX10 test coverage (details)
  988. [ARM] Make MVE v2i1 predicates legal (details)
  989. [mlir][linalg][bufferize][NFC] Map only tensors in BufferizationState (details)
  990. [InstSimplify] Add test case for logic 'or' fold; NFC (details)
  991. [OPENMP]Fix PR52117: Crash caused by target region inside of task construct. (details)
  992. [lldb-vscode] Report supportsModulesRequest=true (details)
  993. [TrivialDeadness] Introduce API separating two different usages (details)
  994. [PowerPC] Handle base load with reservation mnemonic (details)
  995. [libc] Fix bugs with negative and mixed normal/denormal inputs in hypot implementation. (details)
  996. [ARM] Use v2i1 for MVE and CDE intrinsics (details)
  997. [DebugInfo] Attempt to preserve more information during tail duplication (details)
  998. [clang-tidy][docs][NFC] Improve documentation of bugprone-unhandled-exception-at-new (details)
  999. [libc] Select FPUtils implementations via code instead of build (details)
  1000. [MemoryLocation] Move DSE intrinsic handling to MemoryLocation. (NFC) (details)
  1001. [gn build] Build with Fission on non-mac non-win when using lld (details)
  1002. [libc] Fix invalid include for SqrtLongDouble.h (details)
  1003. [ARM] Replace if's with a switch, NFC (details)
  1004. [ARM] Separate ARM autoupgrade code into a separate function (details)
  1005. [LLDB] XFAIL on Arm/Linux minidebuginfo-set-and-hit-breakpoint.test (details)
  1006. [IR][AutoUpgrade] Merge x86 mask load intrinsic upgrades. NFC. (details)
  1007. [funcattrs] Fix a bug in recently introduced writeonly argument inference (details)
  1008. [DAG] PromoteIntRes_FunnelShift - rename shift Amount variable to Amt to prevent line overflow. NFC. (details)
  1009. [AMDGPU] Kill def when folding immediate in two-addr pass (details)
  1010. [AMDGPU] Fixed incomplete definitions in twoaddr-fma.mir. NFC. (details)
  1011. [HWASan] Try 'google' prefixed apex directories in symbolizer. (details)
  1012. [CFG] Handle calls with funclet bundle (details)
  1013. [libunwind] Fix unwind_leaffunction test (details)
  1014. [msan] Don't block SIGSYS in ScopedBlockSignals (details)
  1015. CodeGen: Strip exception specifications from function types in CFI type names. (details)
  1016. [Passes] Improve opt-pipeline-vector-passes.ll test. (details)
  1017. [Passes] Adjust SLPVectorizer placement in test. (details)
  1018. [Sanitizer] Use CreateDirectoryA for report dirs (details)
  1019. [sanitizer] Support IsRssLimitExceeded in all sanitizers (details)
  1020. [NFC][sanitizer] Iterator adaptors for Leb128 encoding (details)
  1021. [sanitizer] Add Lempel–Ziv–Welch encoder/decoder (details)
  1022. [test-release.sh] Do not run chrpath on AIX. (details)
  1023. [DebugInfo] Check DIEnumerator bit width when comparing for equality (details)
  1024. ThreadPool: grow the pool only as needed (details)
Commit 3028bca6a987e424365ca67f6dc29e037e52ea11 by pifon
[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td.

Remove the interface from op defs in MemRefOps.td and make it an external model.

This is the first PR of many that will move bufferization-related ops, interfaces, passes to Dialect/Bufferize.
RFC: https://llvm.discourse.group/t/rfc-dialect-for-bufferization-related-ops/4712
It is still debated if the comprehensive bufferization has to be moved there as well, so for now I am just moving the "gradual" bufferization.

Differential Revision: https://reviews.llvm.org/D114147
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was addedmlir/lib/Dialect/Bufferization/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/lib/Transforms/BufferDeallocation.cpp
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/Bufferization/CMakeLists.txt
The file was addedmlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
The file was addedmlir/lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp
Commit ad501054f1b5ce0aca47c931aa03a22706e4ff8d by quinn.pham
[NFC][clang] Inclusive language: rename master variable to controller in debug-info tests

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with controller in these tests.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D114108
The file was modifiedclang/test/CodeGenObjC/debug-info-block-helper.m
The file was modifiedcross-project-tests/debuginfo-tests/llgdb-tests/blocks.m
Commit de18b7dee6a81e5e790c8e8060065b1ef72d13ed by pifon
Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td."

This reverts commit 3028bca6a987e424365ca67f6dc29e037e52ea11.
For some reason using FallbackModel works with CMake and does not work
with bazel. Using `ExternalModel` works. I will check what's going on
and resubmit tomorrow.
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was removedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was removedmlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
The file was removedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
The file was removedmlir/include/mlir/Dialect/Bufferization/CMakeLists.txt
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was removedmlir/lib/Dialect/Bufferization/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was removedmlir/lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp
The file was removedmlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/BufferDeallocation.cpp
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
Commit 44a3916f78b0a0842e7b4c3827a48b4a44cb3a60 by jay.foad
[AMDGPU] Allow VOP3 source modifiers in fpow expansion

Differential Revision: https://reviews.llvm.org/D114353
The file was modifiedllvm/test/CodeGen/AMDGPU/fpow.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit 592504aa26ebe917174e9dd07ecf816a5030a121 by quinn.pham
[NFC][llvm] Inclusive language: replace master with main in 2007-04-02-RegScavengerAssert.ll

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with main in `2007-04-02-RegScavengerAssert.ll`.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114276
The file was modifiedllvm/test/CodeGen/ARM/2007-04-02-RegScavengerAssert.ll
Commit 8e2fd879e6f91b1e4fdf6217a667079aaeaece99 by Jinsong Ji
[PowerPC] [Clang] Enable Intel intrinsics support on FreeBSD

This enables Intel intrinsics support on FreeBSD.

Thanks to @pkubaj who noticed this feature was missing

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D113451
The file was addedclang/lib/Driver/ToolChains/PPCFreeBSD.cpp
The file was modifiedclang/test/CodeGen/ppc-pmmintrin.c
The file was addedclang/lib/Driver/ToolChains/PPCFreeBSD.h
The file was modifiedclang/lib/Headers/ppc_wrappers/smmintrin.h
The file was modifiedclang/test/CodeGen/ppc-tmmintrin.c
The file was modifiedclang/test/CodeGen/ppc-smmintrin.c
The file was modifiedclang/test/CodeGen/ppc-xmmintrin.c
The file was modifiedclang/lib/Headers/ppc_wrappers/emmintrin.h
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/CodeGen/ppc-mmintrin.c
The file was modifiedclang/lib/Headers/ppc_wrappers/xmmintrin.h
The file was modifiedclang/lib/Headers/ppc_wrappers/tmmintrin.h
The file was modifiedclang/lib/Headers/ppc_wrappers/pmmintrin.h
The file was modifiedclang/test/CodeGen/ppc-mm-malloc.c
The file was modifiedclang/lib/Headers/ppc_wrappers/mmintrin.h
The file was modifiedclang/lib/Driver/CMakeLists.txt
The file was modifiedclang/lib/Headers/ppc_wrappers/mm_malloc.h
Commit 42bfd059bf80c9b61b263747bfa31d97ac38b0c7 by pklausler
[flang] Move IsCoarray() to fix shared library build

The predicate IsCoarray() needs to be in libFortranEvaluate so that
IsSaved() can call it without breaking the shared library build.

Pushed without pre-commit review as I'm moving code around and
the fix to the shared build is confirmed.
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/include/flang/Evaluate/tools.h
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Evaluate/tools.cpp
Commit 692131f41aa1a8b4e1f7606546d206201ae2e55c by haowei
[compiler-rt] Explicitly set dependency on libcxx for MemProfUnitTest

MemProfUnitTest now depends on libcxx but the dependency is not
explicitly expressed in build system, causing build races. This patch
addresses this issue.

Differential Revision: https://reviews.llvm.org/D114267
The file was modifiedcompiler-rt/lib/memprof/tests/CMakeLists.txt
Commit 65b82b928ee5860a976c26d7efa93b7bae5c6183 by llvmgnsyncbot
[gn build] Port 8e2fd879e6f9
The file was modifiedllvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
Commit 2e6a0a8b81d7be948491ce39d241695dc1385429 by walter erquinigo
[lldb] Load the fblldb module automatically

Summary:
```
// Facebook only:
// We want to load automatically the fblldb python module as soon as lldb or
// lldb-vscode start. This will ensure that logging and formatters are enabled
// by default.
//
// As we want to have a mechanism for not triggering this by default, if the
// user is starting lldb disabling .lldbinit support, then we also don't load
// this module. This is equivalent to appending this line to all .lldbinit
// files.
//
// We don't have the fblldb module on windows, so we don't include it for that
// build.
```

Test Plan:
the fbsymbols module is loaded automatically

```
./bin/lldb
(lldb) help fbsymbols
Facebook {mini,core}dump utility.  Expects 'raw' input (see 'help raw-input'.)
```

Reviewers: wanyi

Reviewed By: wanyi

Subscribers: mnovakovic, serhiyr, phabricatorlinter

Differential Revision: https://phabricator.intern.facebook.com/D29372804

Tags: accept2ship

Signature: 29372804:1624567770:07836e50e576bd809124ed80a6bc01082190e48f

[lldb] Load fblldbinit instead of fblldb

Summary: Once accepted, it'll merge it with the existing commit in our branch so that we keep the commit list as short as possible.

Test Plan: https://www.internalfb.com/diff/D30293094

Reviewers: aadsm, wanyi

Reviewed By: aadsm

Subscribers: mnovakovic, serhiyr

Differential Revision: https://phabricator.intern.facebook.com/D30293211

Tags: accept2ship

Signature: 30293211:1628880953:423e2e543cade107df69da0ebf458e581e54ae3a
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
Commit fcd288b52aa708e061ad633c8efa1183a7e6b926 by walter erquinigo
[formatters] Add a libstdcpp formatter for  for unordered_map, unordered_set, unordered_multimap, unordered_multiset

This diff adds a data formatter and tests for libstdcpp's unordered_map, unordered_set, unordered_multimap, unordered_multiset

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D113760
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile
Commit 91f78eb5cf93e80a0e9679b98bca81291e97e1e1 by walter erquinigo
Revert "[lldb] Load the fblldb module automatically"

This reverts commit 2e6a0a8b81d7be948491ce39d241695dc1385429.

It was pushed by mistake..
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
Commit 615ecd8afc43b3ac5aa54053bff26002a0ce7ce6 by mascasa
[HWASan] Move LTO test to separate file.

The test fails on Android for an unknown reason but is still worth
having for x86.
The file was addedcompiler-rt/test/hwasan/TestCases/lto.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/global.c
Commit 6149e57dc1313d32c85524f8009a1249e0b8f4d1 by flo
[ThreadPool] Support returning futures with results.

This patch adjusts ThreadPool::async to return futures that wrap
the result type of the passed in callable.

To do so, ThreadPool::asyncImpl first creates a shared promise. The
result of the promise is set in a new callable that first executes the
task. The callable is added to the task queue.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D114183
The file was modifiedllvm/unittests/Support/ThreadPool.cpp
The file was modifiedllvm/lib/Support/ThreadPool.cpp
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
Commit 2975f37d8d4ffb8fd2b0950d6851c5fab93b4a19 by morbo
[llvm-diff] Implement diff of PHI nodes

Implement diff of PHI nodes

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114211
The file was modifiedllvm/tools/llvm-diff/lib/DifferenceEngine.cpp
The file was addedllvm/test/tools/llvm-diff/phinode.ll
Commit 98daa4e425b02a0c27d53992e80510bda65809c5 by groverkss
[MLIR] Fix incorrect removal of source loop in loop fusion

This patch fixes a bug in loop fusion pass where the source loop was removed
even when the fused loop did not cover all iterations of the source loop.

This was because the fast hueristic check for checking if source loop and
fused loop have same iterations did not take into account steps in loop.

Reviewed By: dcaballe, bondhugula

Differential Revision: https://reviews.llvm.org/D114164
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/test/Transforms/loop-fusion-4.mlir
Commit a4b92d61580d9a1ef9f4946ffe8d0bb6949596a8 by snehasishk
[memprof] Remove the "Live on exit:" print for text format.

We dropped the printing of live on exit blocks in rG1243cef245f6 -
the commit changed the insertOrMerge logic. Remove the message since it
is no longer needed (all live blocks are inserted into the hashmap)
before serializing/printing the profile. Furthermore, the original
intent was to capture evicted blocks so it wasn't entirely correct.

Also update the binary format test invocation to remove the redundant
print_text directive now that it is the default.

Differential Revision: https://reviews.llvm.org/D114285
The file was modifiedcompiler-rt/test/memprof/TestCases/memprof_profile_dump.cpp
The file was modifiedcompiler-rt/lib/memprof/memprof_allocator.cpp
Commit f6718fc6d30219816a20235984e84db2e1f96fd8 by groverkss
[mlir] FlatAffineConstraint parsing for unit tests

This patch adds functionality to parse FlatAffineConstraints from a
StringRef with the intention to be used for unit tests. This should
make the construction of FlatAffineConstraints easier for testing
purposes.

The patch contains an example usage of the functionality in a unit test that
uses FlatAffineConstraints.

Reviewed By: bondhugula, grosser

Differential Revision: https://reviews.llvm.org/D113275
The file was addedmlir/unittests/Analysis/AffineStructuresParserTest.cpp
The file was modifiedmlir/lib/Parser/AffineParser.cpp
The file was addedmlir/unittests/Analysis/AffineStructuresParser.h
The file was modifiedmlir/include/mlir/Parser.h
The file was addedmlir/unittests/Analysis/AffineStructuresParser.cpp
The file was modifiedmlir/unittests/Analysis/AffineStructuresTest.cpp
The file was modifiedmlir/unittests/Analysis/CMakeLists.txt
Commit 2dec2aa3ad083dbde838809f0e8c7ae31110e111 by emaste
[Driver] Default to libc++ on FreeBSD

All supported FreeBSD releases use libc++, so default to it if the
target's major version is not specified.

Reviewed by: dim, emaste
Differential Revision: https://reviews.llvm.org/D77776
The file was modifiedclang/test/Driver/freebsd.cpp
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
Commit 966b72098363d44adf2882b9c34fcdbe344ff913 by benny.kra
[mlir][memref] Fix expanded shape ops memref.cast folding with changed type

`memref.expand_shape` has verification logic to make sure
result dim must be static if all the collapsing src dims are static.

This can be relaxed once expand_shape supports more dynamism.

Differential Revision: https://reviews.llvm.org/D114391
The file was modifiedmlir/test/Dialect/MemRef/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
Commit 7aafe467d2aa6307d34c5762b8c3bf843d713737 by i
[ELF] Simplify a condition with config->copyRelocs. NFC
The file was modifiedlld/ELF/InputFiles.cpp
Commit ae5348a38eb1668cd9042d9a5207dc32bc4edb87 by jonathanchesterfield
[openmp][amdgpu] Make plugin robust to presence of explicit implicit arguments

OpenMP (compiler) does not currently request any implicit kernel
arguments. OpenMP (runtime) allocates and initialises a reasonable guess at
the implicit kernel arguments anyway.

This change makes the plugin check the number of explicit arguments, instead
of all arguments, and puts the pointer to hostcall buffer in both the current
location and at the offset expected when implicit arguments are added to the
metadata by D113538.

This is intended to keep things running while fixing the oversight in the
compiler (in D113538). Once that patch lands, and a following one marks
openmp kernels that use printf such that the backend emits an args element
with the right type (instead of hidden_node), the over-allocation can be
removed and the hardcoded 8*e+3 offset replaced with one read from the
.offset of the corresponding metadata element.

Reviewed By: estewart08

Differential Revision: https://reviews.llvm.org/D114274
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/internal.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
Commit 2f5d6a0ea51b8c9ac3d241dbdd05f96e35193a26 by smeenai
[MachO] Fix struct size assertion

std::vector can have different sizes depending on the STL's debug level,
so account for its size separately. (You could argue that we should be
accounting for all the other members separately as well, but that would
be very unergonomic, and std::vector is the only one that's caused
problems so far.)
The file was modifiedlld/MachO/InputSection.cpp
Commit d02b318af636a887e85741a5fe699fe3852d1199 by pklausler
[flang] Remove typo that affected complex namelist input

A recent patch to real/complex formatted input included what must
have been an editing hiccup: "++ ++p" instead of "++p".  This
compiles, and it broke the consumption of the trailing ')' of a
complex value in namelist input by skipping over the character.

Extend existing test to cover this case.

Differential Revision: https://reviews.llvm.org/D114297
The file was modifiedflang/unittests/Runtime/NumericalFormatTest.cpp
The file was modifiedflang/runtime/edit-input.cpp
Commit 9cd7c534e27c2558ef16e14d4440bd838320334b by huihuiz
[InstCombine] Enable fold select into operand for FAdd,  FMul, FSub and FDiv.

For FAdd, FMul, FSub and FDiv, fold select into one of the operands to enable
further optimizations, i.e., floating-point reduction detection.

Turn code:
  %C = fadd %A, %B
  %D = select %cond, %C, %A

into:
  %C = select %cond, %B, -0.000000e+00
  %D = fadd %A, %C

Alive2 verification (with --disable-undef-input), timed out otherwise.
FAdd - https://alive2.llvm.org/ce/z/eUxN4Y
FMul - https://alive2.llvm.org/ce/z/5SWZz4
FSub - https://alive2.llvm.org/ce/z/Dhj8dU
FDiv - https://alive2.llvm.org/ce/z/Yj_NA2

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D113442
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/AArch64/hoisting-sinking-required-for-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop.ll
Commit e3dea5cf0e326366ab95a49d167fde8b0816e292 by walter erquinigo
[formatters] Add a formatter for libstdc++ optional

Besides adding the formatter and the summary, this makes the libcxx
tests also work for this case.

This is the polished version of https://reviews.llvm.org/D114266,
authored by Danil Stefaniuc.

Differential Revision: https://reviews.llvm.org/D114403
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/main.cpp
The file was modifiedlldb/source/API/SBValue.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/optional/TestDataFormatterLibcxxOptional.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/optional/main.cpp
The file was modifiedlldb/bindings/interface/SBValue.i
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile
The file was modifiedlldb/include/lldb/API/SBValue.h
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
Commit bb0d8e4bd9bc9426a5092368f086f52293dcc186 by pklausler
[flang] Correct the argument keyword for AIMAG(Z=...)

It was X= in the intrinsics table.

Differential Revision: https://reviews.llvm.org/D114296
The file was modifiedflang/lib/Evaluate/intrinsics.cpp
Commit a2c76312ed0acd9cb8a1ac03c94c1464a2dbb208 by walter erquinigo
Attempt to fix e3dea5cf0e326366ab95a49d167fde8b0816e292

https://lab.llvm.org/buildbot/#/builders/17/builds/13728 found an issue
in the optional formatter.
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
Commit b1083830d609cd984eee189c6dffccbc25df0408 by springerm
[mlir][linalg][bufferize][NFC] Clean up headers and function visibility

Differential Revision: https://reviews.llvm.org/D113964
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
Commit 8d0994ed21b2fa063bc530ece580109d55593d29 by springerm
[mlir][linalg][bufferize][NFC] Remove special casing of CallOps

Differential Revision: https://reviews.llvm.org/D113966
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.h
Commit 26c0dd83ab0d1dc408856e50a80ca8d186e634cc by springerm
[mlir][linalg][bufferize][NFC] Move helper function to op interface

This is in preparation of changing the op traversal during bufferization.

Differential Revision: https://reviews.llvm.org/D114040
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit fb99686bfd82061d07877228e4737f98fa4e83d4 by springerm
[mlir][linalg][bufferize] Limited support for scf.execute_region

Add support for analysis only.

Differential Revision: https://reviews.llvm.org/D114055
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
Commit d5b73a70a0611fc6c082e20acb6ce056980c8323 by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCExpandAtomicPseudoInsts.cpp
The file was modifiedllvm/lib/Target/Sparc/LeonPasses.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenInsert.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCBranchSelector.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCCTRLoops.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
The file was modifiedllvm/lib/Target/Sparc/DelaySlotFiller.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcFrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
Commit e5a8c8c883f1f3f91f40c883dd4f613aca0f7105 by joker.eph
[mlir] Refactoring a few Parser APIs

Refactored two new parser APIs parseGenericOperationAfterOperands and
parseCustomOperationName out of parseGenericOperation and parseCustomOperation.

Motivation: Sometimes an op can be printed in a special way if certain criteria
is met. While parsing, we need to handle all the versions.
`parseGenericOperationAfterOperands` is handy in situation where we already
parsed the operands and decide to fall back to default parsing.

`parseCustomOperationName` is useful when we need to know details (dialect,
operation name etc.) about a parsed token meant to be an mlir operation.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D113719
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was addedmlir/test/IR/pretty_printed_region_op.mlir
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
Commit b2729fda60dbda595e7b5974279d8f860bce75ab by nicolas.vasilache
[mlir][Vector] Add a vblendps-based impl for transpose8x8 (both intrin and inline_asm)

This revision follows up on the conversation titled:

```[llvm-dev] Understanding and controlling some of the AVX shuffle emission paths```

The revision adds a vblendps-based implementation for transpose8x8 and further distinguishes between and intrinsics and an inline_asm implementation.

This results in roughly 20% fewer cycles as reported by llvm-mca:

After this revision (intrinsic version, resolves to virtually identical assembly as per the llvm-dev discussion, no vblendps instruction is emitted):
```
Iterations:        100
Instructions:      5900
Total Cycles:      2415
Total uOps:        7300

Dispatch Width:    6
uOps Per Cycle:    3.02
IPC:               2.44
Block RThroughput: 24.0

Cycles with backend pressure increase [ 89.90% ]
Throughput Bottlenecks:
  Resource Pressure       [ 89.65% ]
  - SKXPort1  [ 0.04% ]
  - SKXPort2  [ 12.42% ]
  - SKXPort3  [ 12.42% ]
  - SKXPort5  [ 89.52% ]
  Data Dependencies:      [ 37.06% ]
  - Register Dependencies [ 37.06% ]
  - Memory Dependencies   [ 0.00% ]
```

After this revision (inline_asm version, vblendps instructions are indeed emitted):
```
Iterations:        100
Instructions:      6300
Total Cycles:      2015
Total uOps:        7700

Dispatch Width:    6
uOps Per Cycle:    3.82
IPC:               3.13
Block RThroughput: 20.0

Cycles with backend pressure increase [ 83.47% ]
Throughput Bottlenecks:
  Resource Pressure       [ 83.18% ]
  - SKXPort0  [ 14.49% ]
  - SKXPort1  [ 14.54% ]
  - SKXPort2  [ 19.70% ]
  - SKXPort3  [ 19.70% ]
  - SKXPort5  [ 83.03% ]
  - SKXPort6  [ 14.49% ]
  Data Dependencies:      [ 39.75% ]
  - Register Dependencies [ 39.75% ]
  - Memory Dependencies   [ 0.00% ]
```

An accessible copy of the conversation is available [here](https://gist.github.com/nicolasvasilache/68c7f34012584b0e00f335bcb374ede0).

Differential Revision: https://reviews.llvm.org/D114393
The file was modifiedutils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
The file was modifiedmlir/test/lib/Dialect/Vector/CMakeLists.txt
The file was addedmlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm-vector.mlir
The file was modifiedmlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp
The file was modifiedmlir/test/Dialect/Vector/vector-transpose-lowering.mlir
The file was modifiedmlir/include/mlir/Dialect/X86Vector/Transforms.h
The file was modifiedmlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
Commit 06d0d449d8555ae5f1ac33e8d4bb4ae40eb080d3 by martin
[COFF] [ARM64] Create symbols with regular intervals for relocations against temporary symbols

For relocations against temporary symbols (that don't persist in
the object file), we normally adjust them to reference the start of
the section.

For adrp relocations, the immediate offset from the referenced
symbol is stored in the opcode as the 21 bit signed immediate; this
means that the symbol referenced must be within +/- 1 MB from the
referenced symbol.

Create label symbols with regular intervals (1 MB intervals). For
relocations against temporary symbols, pick the preceding added
offset symbol and make the relocation against that instead of
against the start of the section.

This should fix the root issue behind
https://bugs.llvm.org/show_bug.cgi?id=52378.

Differential Revision: https://reviews.llvm.org/D114340
The file was modifiedllvm/lib/MC/WinCOFFObjectWriter.cpp
The file was addedllvm/test/MC/AArch64/coff-relocations-offset.s
Commit 7c15da67614eca9272553ecfe8c1a0f6f68c134b by martin
[LLD] [COFF] Interpret the immediate in ARM64 adr/adrp relocations as signed 21 bit

This matches how MS link.exe interprets this relocation.

Differential Revision: https://reviews.llvm.org/D114347
The file was modifiedlld/COFF/Chunks.cpp
The file was modifiedlld/test/COFF/arm64-relocs-imports.test
Commit 4e5488afb27a64d12a76b770cc86bab8074e9c57 by martin
[AArch64] [COFF] Move jump tables back to the readonly section

This essentially reverts f5884d255e78305d41c28c6e001a460ff83981d8
(D57277).

That commit was made as a workaround since LLVM back then didn't
support cross-section relative relocations (IMAGE_REL_ARM64_REL32)
in COFF for ARM64. Support for this was implemented later,
in d5c5cf5ce8d921fc8c5e1b608c298a1ffa688d37 (D99572) and
382c505d9cfca8adaec47aea2da7bbcbc00fc05c (D102217).

The commit that moved jump tables to the function section noted
that it woud be ideal to utilize IMAGE_REL_ARM64_REL32.

Differential Revision: https://reviews.llvm.org/D113576
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/AArch64/win64-jumptable.ll
Commit d703b922961e0d02a5effdd4bfbb23ad50a3cc9f by martin
[LLD] [COFF] Omit section symbols and IMAGE_SYM_CLASS_LABEL from the PE symbol table

The section symbols aren't of much practical use when looking at
a linked image. This shrinks one observed mingw style unstripped
binary by 14%.

IMAGE_SYM_CLASS_LABEL is in spirit the same as a temporary assembler
label that isn't emitted on the object file level at all.

Differential Revision: https://reviews.llvm.org/D113866
The file was modifiedlld/test/COFF/symtab.test
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/test/COFF/strtab-size.s
Commit dc79d73605305f9dfaa7eb777b6ed317363bdb04 by david.green
[ARM] Add an test for showing the incorrect aliasing info around masked loads/stores. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-masked-store-mmo.ll
Commit 8ea3e70fb02e59ddfd6a050344c7d177b11104f7 by david.green
[X86] Regenerate X86/vmaskmov-offset.ll check lines as per new mir format. NFC
The file was modifiedllvm/test/CodeGen/X86/vmaskmov-offset.ll
Commit 59f4b3d3081535b61609f12ea5f638905616fcbc by qiucofan
[PowerPC] Implement more fusion types for Power10

This implements the rest of Power10 instruction fusion pairs, according
to user manual, including 'wide immediate', 'load compare', 'zero move'
and 'SHA3 assist'.

Only 'SHA3 assist' is enabled by default.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D112912
The file was modifiedllvm/test/CodeGen/PowerPC/macro-fusion.mir
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMacroFusion.def
The file was modifiedllvm/lib/Target/PowerPC/PPCMacroFusion.cpp
Commit 32b6c17b29079e7d2ac61cdc90b10983ee97d78d by david.green
[SDAG] Use UnknownSize for masked load/store MMO size

A masked load or store will load a potentially unknown number of bytes
from a memory location - that is not generally known at compile time.
They do not necessarily load/store the entire vector width, and treating
them as such can lead to incorrect aliasing information (for example, if
the underlying object is smaller than the size of the vector).

This makes sure that the MMO is given an unknown size to represent this.
which is less accurate that "may load/store from up to 16 bytes", but
less incorrect that "will load/store from 16 bytes".

Differential Revision: https://reviews.llvm.org/D113888
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store-mmo.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/test/CodeGen/X86/masked_compressstore.ll
The file was modifiedllvm/test/CodeGen/X86/vmaskmov-offset.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
Commit c7cc70c8f87789ba04a8610162de4ad135d99e16 by pifon
Revert "Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td.""

This reverts and fixes commit de18b7dee6a81e5e790c8e8060065b1ef72d13ed.
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/Bufferization/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/BufferDeallocation.cpp
The file was addedmlir/lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
The file was addedmlir/lib/Dialect/Bufferization/CMakeLists.txt
The file was addedmlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
Commit a5fff58781f30ff3fd7a3f56948552cf7b8842bb by flo
[ThreadPool] Do not return shared futures.

The only users of returned futures from ThreadPool is llvm-reduce after
D113857.

There should be no cases where multiple threads wait on the same future,
so there should be no need to return std::shared_future<>. Instead return
plain std::future<>.

If users need to share a future between multiple threads, they can share
the futures themselves.

Reviewed By: Meinersbur, mehdi_amini

Differential Revision: https://reviews.llvm.org/D114363
The file was modifiedmlir/include/mlir/IR/Threading.h
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
Commit 47e2644c89b3be6faa0f5cc4c70ef96ec295da9a by ybrevnov
[DSE][NFC] Introduce "doesn't overwrite" return code for isOverwrite

Add OR_None code to indicate that there is no overwrite. This has no any effect for current uses but will be used in one of the next patches building support for PHI translation.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D105098
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit e7cb3283c8032d89e81b3958b0fd73064ed5e839 by mydeveloperday
[clang-format] [PR52527] can join * with /* to form an outside of comment error C4138

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

The follow patch ensures there is always a space between * and /* to prevent transforming
```
void foo(* /* comment */)(int bar);
```
into
```
void foo(*/* comment */)(int bar);
```

Differential Revision: https://reviews.llvm.org/D114142
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 1cb3cfd932a0f26e5bfc5d944f63239242fa8ec3 by mydeveloperday
[clang-format] [NFC] build clang-format with -Wall

When building clang-format with -Wall on Visual Studio 20119 we see the following, prevent this the only -Wall error
```
..FormatTokenLexer.cpp(45) : warning C4868: compiler may not enforce left-to-right evaluation order in braced initializer list
```
Reviewed By: HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D113844
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
Commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28 by dvyukov
tsan: new runtime (v3)

This change switches tsan to the new runtime which features:
- 2x smaller shadow memory (2x of app memory)
- faster fully vectorized race detection
- small fixed-size vector clocks (512b)
- fast vectorized vector clock operations
- unlimited number of alive threads/goroutimes

Differential Revision: https://reviews.llvm.org/D112603
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_stack_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h
The file was modifiedcompiler-rt/test/tsan/memcmp_race.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_shadow.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
The file was modifiedcompiler-rt/test/tsan/free_race2.c
The file was modifiedcompiler-rt/test/tsan/bench_threads.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/test/tsan/memcpy_race.cpp
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was removedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp
The file was modifiedcompiler-rt/lib/tsan/check_analyze.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_flags_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
Commit 5ee625bf6b5ee6dcbe4b3eea4d41894a35b58fa8 by jay.foad
[AMDGPU] Fix the name of a test case
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.mulo.ll
Commit f66b69a3925c547b1ee8ea93800f4bf7e31f407b by weratt
[lldb] Fix lookup for global constants in namespaces

LLDB uses mangled name to construct a fully qualified name for global
variables. Sometimes DW_TAG_linkage_name attribute is missing from
debug info, so LLDB has to rely on parent entries to construct the
fully qualified name.

Currently, the fallback is handled when the parent DW_TAG is either
DW_TAG_compiled_unit or DW_TAG_partial_unit, which may not work well
for global constants in namespaces. For example:

  namespace ns {
    const int x = 10;
  }

may produce the following debug info:

  <1><2a>: Abbrev Number: 2 (DW_TAG_namespace)
     <2b>   DW_AT_name        : (indirect string, offset: 0x5e): ns
  <2><2f>: Abbrev Number: 3 (DW_TAG_variable)
     <30>   DW_AT_name        : (indirect string, offset: 0x61): x
     <34>   DW_AT_type        : <0x3c>
     <38>   DW_AT_decl_file   : 1
     <39>   DW_AT_decl_line   : 2
     <3a>   DW_AT_const_value : 10

Since the fallback didn't handle the case when parent tag is
DW_TAG_namespace, LLDB wasn't able to match the variable by its fully
qualified name "ns::x". This change fixes this by additional check
if the parent is a DW_TAG_namespace.

Reviewed By: werat, clayborg

Differential Revision: https://reviews.llvm.org/D112147
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
The file was modifiedlldb/test/API/lang/cpp/global_variables/main.cpp
Commit cdc476ab2f7d4aaabdd220f94c6446afdb6a339d by diana.picus
[fir] Set !fir.len_param_index conversion to unimplemented

This patch is part of the upstreaming effort from fir-dev.

The conversion of len_param_index in fir-dev is incomplete, so for now
we're marking this as unimplemented until we can settle on a design for
the runtime support of LEN parameters.

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

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
The file was modifiedflang/test/Fir/convert-to-llvm-invalid.fir
Commit f24d9313cc9fe9f6cd70f606c1dc8f8213587468 by springerm
[mlir][linalg][bufferize][NFC] Specify bufferize traversal in `bufferize`

The interface method `bufferize` controls how (and it what order) nested ops are traversed. This simplifies bufferization of scf::ForOps and scf::IfOps, which used to need special rules in scf::YieldOp.

Differential Revision: https://reviews.llvm.org/D114057
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
Commit e7026aba004934cad5487256601af7690757d09f by nicolas.vasilache
[mlir][Vector] Thread 0-d vectors through ExtractElementOp.

This revision starts making concrete use of 0-d vectors to extend the semantics of
ExtractElementOp.
In the process a new VectorOfAnyRank Tablegen OpBase.td is added to allow progressive transition to supporting 0-d vectors by gradually opting in.

Differential Revision: https://reviews.llvm.org/D114387
The file was modifiedmlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit 3ff4e5f2a4a6a0e124356b2ad8793270ebbb16c1 by nicolas.vasilache
[mlir][Vector] Thread 0-d vectors through InsertElementOp.

This revision makes concrete use of 0-d vectors to extend the semantics of
InsertElementOp.

Reviewed By: dcaballe, pifon2a

Differential Revision: https://reviews.llvm.org/D114388
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit fd759d42c9f84d16efa99a59620cbb3e6836fed4 by zahira.ammarguellat
Revert "The _Float16 type is supported on x86 systems with SSE2 enabled."

This reverts commit 6623c02d70c3732dbea59c6d79c69501baf9627b.
The change seems to be breaking build of compiler-rt on Debian.
The file was removedclang/test/CodeGen/X86/Float16-arithmetic.c
The file was removedclang/test/CodeGen/X86/fp16-complex.c
The file was modifiedclang/test/SemaCXX/Float16.cpp
The file was addedclang/test/CodeGen/X86/avx512fp16-abi.c
The file was addedclang/test/CodeGen/X86/avx512fp16-complex.c
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/test/Sema/conversion-target-dep.c
The file was removedclang/test/CodeGen/X86/fp16-abi.c
The file was modifiedclang/test/Sema/Float16.c
Commit 871418c5b0d0b6b61c24e3523bcb176c4c571217 by david.green
[ARM] Expand rev.ll test with more triples. NFC

Useful in showing Thumb2 and Thumb1 rev instructions as well as the arm
already tested, as well as testing the more canonical llvm.bswap.i16
form.
The file was modifiedllvm/test/CodeGen/ARM/rev.ll
Commit 13fa4fcfe70eaf5fdef6f8520fe134ac1d9955b1 by Louis Dionne
[libc++] Tidy up how %T and %t are created during configuration checks

Instead of having ad-hoc cleanup in various places, handle all creation
and removal of temporary files and directories inside _makeConfigTest.

As a fly-by, also remove testPrefix since we don't keep any source file
around anymore. Setting a prefix for the files is hence not useful anymore.

Differential Revision: https://reviews.llvm.org/D114390
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
Commit e6cd157407a24f7be1c15dbf949bac98400ff96d by spatel
[InstCombine] add tests for logical select; NFC
The file was modifiedllvm/test/Transforms/InstCombine/logical-select.ll
Commit 430ad9697d143b4c408acf0d0d01c17830ac2bb3 by spatel
[InstCombine] enhance bitwise select matching

I noticed that adding a seemingly unrelated fold for xor caused
regressions on similar patterns, and this is one of the
underlying causes.

This could also be a variation for code as seen in:
https://llvm.org/PR34047
...although that exact example should be fixed after:
D113035 / c36b7e21bd8f

The vector test shows that we are actually missing a potential
canonicalization for bitcast-of-sext-of-not or the inverse.
The scalar test shows that even if we had that canonicalization,
it would still be possible to see this pattern due to extra uses.

https://alive2.llvm.org/ce/z/y2BAgi
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/logical-select.ll
Commit b0784d1d14246e5d662172e9af6e85776b81fdf0 by Jinsong Ji
[PowerPC] Remove FreeBSD test in mm-malloc.c due to cross-compilation limitation

Fix failures on powerpc BE buildbots
https://lab.llvm.org/buildbot/#/builders/93/builds/6031
https://lab.llvm.org/buildbot/#/builders/100/builds/10836
https://lab.llvm.org/buildbot/#/builders/52/builds/12719
The file was modifiedclang/test/CodeGen/ppc-mm-malloc.c
Commit e13246a2ec3dfc13838d43099ca9111c780d2c5e by Yaxun.Liu
[HIP] Add HIP scope atomic operations

Add an AtomicScopeModel for HIP and support for OpenCL builtins
that are missing in HIP.

Patch by: Michael Liao

Revised by: Anshil Ghandi

Reviewed by: Yaxun Liu

Differential Revision: https://reviews.llvm.org/D113925
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/include/clang/Basic/SyncScope.h
The file was addedclang/test/CodeGenCUDA/atomic-ops.cu
The file was modifiedclang/include/clang/AST/Expr.h
Commit 12887a202404471ddf77f9fae658700573cbebe8 by gabor.marton
[Analyzer][Core] Better simplification in SimpleSValBuilder::evalBinOpNN

Make the SValBuilder capable to simplify existing
SVals based on a newly added constraints when evaluating a BinOp.

Before this patch, we called `simplify` only in some edge cases.
However, we can and should investigate the constraints in all cases.

Differential Revision: https://reviews.llvm.org/D113753
The file was addedclang/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
Commit 1e65b93f3ac9974672402111cf2e06bf0901dbc9 by simon.moll
[VP] Canonicalize macros of VPIntrinsics.def

Usage and naming of macros in VPIntrinsics.def has been inconsistent. Rename all property macros to VP_PROPERTY_<name>.  Use BEGIN/END scope macros to attach properties to vp intrinsics and SDNodes (instead of specifying either directly with the property macro).
A follow-up patch has documentation on how the macros are (intended) to be used.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D114144
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/include/llvm/IR/VPIntrinsics.def
The file was modifiedllvm/unittests/IR/VPIntrinsicTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit aa9b90ca441d09969cab5555158f1db6341de3c1 by Yaxun.Liu
Fix warning due to default switch label

Fix warning due to default label in switch which covers all enumeration values
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit b472bd855ed85691d0d03ef1808c82b780d23721 by Yaxun.Liu
[NFC] Let Microsoft mangler accept GlobalDecl

This is a follow up of https://reviews.llvm.org/D75700
where support of GlobalDecl with Microsoft mangler
is incomplete.

Reviewed by: Artem Belevich, Reid Kleckner

Differential Revision: https://reviews.llvm.org/D113490
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
Commit 9e03e8c99ec57e91cd146dfaa6c5cadde4600d32 by Alexander Timofeev
[AMDGPU] Enable fneg and fabs divergence-driven instruction selection.

Detailed description: We currently have a set of patterns to select ISD::FNEG and ISD::FABS to the bitwise operations.  We need to make them predicated to select the VALU or SALU bitwise operation variant according to the SDNode divergence bit.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D114257
The file was modifiedllvm/test/CodeGen/AMDGPU/fabs.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-fabs.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was addedllvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg.f64.ll
Commit c075566c8df081c965b690997a06020e1abec962 by paul.robinson
[PS4][TLI] Remove redundant line
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
Commit d45cb1d7ea911f43922c7f07e2c819cc8592a70d by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonStoreWidening.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenInsert.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
Commit a114f151930d29967963fd22f328a906638a2818 by dvyukov
[lldb] Deflake TestTsanBasic.py

The test flaked on bots:
http://green.lab.llvm.org/green/job/lldb-cmake/38666/
The test expects that tsan will detect a single race
with concurrent memory accesses. TSan doesn't do this reliably.
Run 100 iterations of the racing threads, which should
make the race much more likely to be detected.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114444
The file was modifiedlldb/test/API/functionalities/tsan/basic/main.c
Commit d75ed9864acb15d1543e839fe4627c9b1d867c22 by dvyukov
tsan: disable signal_sync2.cpp test on powerpc64

Fails 1 out of 10 runs on powerpc bots:
https://lab.llvm.org/buildbot/#/builders/121/builds/13391

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D114426
The file was modifiedcompiler-rt/test/tsan/signal_sync2.cpp
Commit 5c77aa2b917c5b21b3f9c6d355ca2f9a0a81b95d by listmail
[unroll] Use early return in shouldFullUnroll [nfc]
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 38211bbab1d949f682271abba0171424a5a335ab by Yaxun.Liu
[HIP] Fix device stub name for Windows

This is a follow up of https://reviews.llvm.org/D68578
where device stub name is changed for Itanium
mangling but not Microsoft mangling.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D113491
The file was modifiedclang/include/clang/AST/GlobalDecl.h
The file was modifiedclang/test/CodeGenCUDA/kernel-stub-name.cu
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
Commit b00fc198224efa038a7469e068dd920b3f1aba75 by hoy
profi - a flow-based profile inference algorithm: Part I (out of 3)

The benefits of sampling-based PGO crucially depends on the quality of profile
data. This diff implements a flow-based algorithm, called profi, that helps to
overcome the inaccuracies in a profile after it is collected.

Profi is an extended and significantly re-engineered classic MCMF (min-cost
max-flow) approach suggested by Levin, Newman, and Haber [2008, Complementing
missing and inaccurate profiling using a minimum cost circulation algorithm]. It
models profile inference as an optimization problem on a control-flow graph with
the objectives and constraints capturing the desired properties of profile data.
Three important challenges that are being solved by profi:
- "fixing" errors in profiles caused by sampling;
- converting basic block counts to edge frequencies (branch probabilities);
- dealing with "dangling" blocks having no samples in the profile.

The main implementation (and required docs) are in SampleProfileInference.cpp.
The worst-time complexity is quadratic in the number of blocks in a function,
O(|V|^2). However a careful engineering and extensive evaluation shows that
the running time is (slightly) super-linear. In particular, instances with
1000 blocks are solved within 0.1 second.

The algorithm has been extensively tested internally on prod workloads,
significantly improving the quality of generated profile data and providing
speedups in the range from 0% to 5%. For "smaller" benchmarks (SPEC06/17), it
generally improves the performance (with a few outliers) but extra work in
the compiler might be needed to re-tune existing optimization passes relying on
profile counts.

Reviewed By: wenlei, hoy

Differential Revision: https://reviews.llvm.org/D109860
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was addedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was addedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was addedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
The file was addedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 18086186ab5ac7698db0fbc45c58cff2a7747da6 by listmail
[unroll] Remove two dead variable assignments [nfc]

These variables are not out-params, and we immediately return after assigning them.  Thus, the assignments are dead and just confusing.

I believe these used to be out-params, but they're not any more.
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 065f777d2740653fac79fe44cda121bce11013b8 by listmail
Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)"

This reverts commit b00fc198224efa038a7469e068dd920b3f1aba75.  This change fails to build (link) on ubuntu x86,
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was removedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was removedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was removedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was removedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
Commit 0a00d64e322f28f5f65f5b2d507d12757883478a by flo
[LAA] Turn aggregate type check into assertion (NFCI).

getPtrStride should not be called with aggregate access types. There's
also an old TODO.

Turn the check into an assertion.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit c933c2eb334660c131f4afc9d194fafb0cec0423 by nemanja.i.ibm
[PowerPC] Add BCD add/sub/cmp builtins

Support for builtins that use bcdadd./bcdsub. to add/subtract
Binary Coded Decimal values as well as to determine validity
and compare BCD values.

Differential revision: https://reviews.llvm.org/D114088
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/PowerPC/bcd-intrinsics.ll
The file was modifiedllvm/lib/Target/PowerPC/P10InstrResources.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
The file was modifiedllvm/lib/Target/PowerPC/P9InstrResources.td
Commit 03d8bc184a3129f0e519bf08ef45f0349cfa1f90 by listmail
[indvars] Fix lftr crash when preheader is terminated by switch

This was found by oss-fuzz.  The switch will get canonicalized to a branch, but if it hasn't been when we run LFTR, we crashed on an unneeded assert.
The file was modifiedllvm/test/Transforms/IndVarSimplify/lftr.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 1df7289af66c630480a676e2a5347dca5a3ede15 by pirama
[compiler-rt/profile] Include __llvm_profile_get_magic in module signature

The INSTR_PROF_RAW_MAGIC_* number in profraw files should match during
profile merging.  This causes an error with 32-bit and 64-bit variants
of the same code.  The module signatures for the two binaries are
identical but they use different INSTR_PROF_RAW_MAGIC_* causing a
failure when profile-merging is used.  Including it when computing the
module signature yields different signatures for the 32-bit and 64-bit
profiles.

Differential Revision: https://reviews.llvm.org/D114054
The file was modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
Commit 0d3add216f04b99ed1db1a05c39975d4a9c83e6b by zarko
[llvm][NFC] Inclusive language: Reword replace uses of sanity in llvm/lib/Transform comments and asserts

Reworded some comments and asserts to avoid usage of `sanity check/test`

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114372
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Utils/GuardUtils.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Commit 38ed1db7e8740fce236d1893ff9e20cc22ef0ada by i
[ELF] Support non-RAX/non-adjacent R_X86_64_GOTPC32_TLSDESC/R_X86_64_TLSDESC_CALL

The current TLSDESC optimization code assumes:
```
leaq x@tlsdesc(%rip), %rax
call *x@tlscall(%rax)       # adjacent
```

From https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665 , it seems that the
two instructions may not be adjacent in GCC 10's output:
```
leaq x@tlsdesc(%rip), %rax
something else
call *x@tlscall(%rax)
```

This patch supports the case. While here, support non-RAX registers for
R_X86_64_GOTPC32_TLSDESC, in case the compiler generates inefficient:

```
leaq x@tlsdesc(%rip), %rcx  # or %rdx, %rbx, %rdi, ...
movq %rcx, %rax
call *x@tlscall(%rax)       # GNU ld/gold error for non-RAX
```

Differential Revision: https://reviews.llvm.org/D114416
The file was modifiedlld/test/ELF/x86-64-tlsdesc-gd.s
The file was modifiedlld/test/ELF/invalid/x86-64-tlsdesc-gd.s
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/ELF/Arch/X86_64.cpp
Commit 286248db2c320e4b4f30dbddbeba3db993ca6e5d by 2998727+wrengr
[mlir][sparse] Moving integration tests that merely use the Python API

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114192
The file was addedmlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
The file was removedmlir/test/python/dialects/sparse_tensor/test_SpMM.py
Commit 884b6dd311422bbfac62b8a90fbfff8e77ba8121 by hoy
profi - a flow-based profile inference algorithm: Part I (out of 3)

The benefits of sampling-based PGO crucially depends on the quality of profile
data. This diff implements a flow-based algorithm, called profi, that helps to
overcome the inaccuracies in a profile after it is collected.

Profi is an extended and significantly re-engineered classic MCMF (min-cost
max-flow) approach suggested by Levin, Newman, and Haber [2008, Complementing
missing and inaccurate profiling using a minimum cost circulation algorithm]. It
models profile inference as an optimization problem on a control-flow graph with
the objectives and constraints capturing the desired properties of profile data.
Three important challenges that are being solved by profi:
- "fixing" errors in profiles caused by sampling;
- converting basic block counts to edge frequencies (branch probabilities);
- dealing with "dangling" blocks having no samples in the profile.

The main implementation (and required docs) are in SampleProfileInference.cpp.
The worst-time complexity is quadratic in the number of blocks in a function,
O(|V|^2). However a careful engineering and extensive evaluation shows that
the running time is (slightly) super-linear. In particular, instances with
1000 blocks are solved within 0.1 second.

The algorithm has been extensively tested internally on prod workloads,
significantly improving the quality of generated profile data and providing
speedups in the range from 0% to 5%. For "smaller" benchmarks (SPEC06/17), it
generally improves the performance (with a few outliers) but extra work in
the compiler might be needed to re-tune existing optimization passes relying on
profile counts.

Reviewed By: wenlei, hoy

Differential Revision: https://reviews.llvm.org/D109860
The file was addedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was addedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was addedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was addedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
Commit 1345bc5e16c06a5d42102ba555f2bab09be6838a by quinn.pham
[NFC][llvm] Inclusive language: remove instance of master in LiveRangeUtils.h

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with primary in `LiveRangeUtils.h`.

Reviewed By: MatzeB

Differential Revision: https://reviews.llvm.org/D114191
The file was modifiedllvm/lib/CodeGen/LiveRangeUtils.h
Commit 791e71a799d8afb1179007450519825796b3c308 by llvmgnsyncbot
[gn build] Port 884b6dd31142
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit 165a5c62de1b085b1b9ca0430aa46e7026d0a82c by mehrnoosh.heidarpour
[InstCombine] Add test cases for D114339; NFC

Adding test cases for XOR logic folds with base result.
Differential Revision: https://reviews.llvm.org/D114436
The file was modifiedllvm/test/Transforms/InstCombine/xor.ll
Commit b57e2f071a2e47147a57c52a6a8c6aa062230cd8 by ravishankarm
[mlir][Linalg] Add pad vectorization patterns into LinalgStrategyVectorize passes.

Add an option to control whether these patterns are added to the
pattern list or not.

Differential Revision: https://reviews.llvm.org/D114290
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
Commit 1392b654ff6573ca2dba4101f72e990822539c7d by joker.eph
Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)"

This reverts commit 884b6dd311422bbfac62b8a90fbfff8e77ba8121.
The windows build is broken with a linker error.
The file was removedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was removedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was removedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was removedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
Commit 44bb69b1e012bdc905aa679008ee7ed3d71061b1 by llvmgnsyncbot
[gn build] Port 1392b654ff65
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit 54eec7cafc396f3d1444aacf4f1ed71fceb4e503 by rob.suderman
[mlir][tosa] Separate tosa.transpose_conv decomposition and added stride support

Transpose convolution decomposition is now performed in a separate pass. This
allows padding / constant propagation to be performed at the TOSA level. It
also adds support for striding when there is no dilation.

Differential Revision: https://reviews.llvm.org/D114409
The file was modifiedmlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was addedmlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
The file was addedmlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
Commit 0f1e52afa92fd6b687f4d69203b72e99a9228edb by rob.suderman
[mlir][tosa] Materialize tosa.pad value and fold noop pads

Padding now can explicitly specify the padding value when non-zero is wanted.
This also includes bypassing pads when the pad does nothing.

Differential Revision: https://reviews.llvm.org/D113611
The file was modifiedmlir/test/Dialect/Tosa/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
Commit 14d743457c3d5c8154644375bac1094481ab4eaf by spatel
[InstSimplify] add tests for xor logic fold; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll
Commit cdc80a6017076daea28e62a9efb0b3d8a53d8fce by Vitaly Buka
[NFC][sanitizer] Move StackStore::Allocated into cpp file
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
Commit b80affb8a1494560c83c6d2bf1164ff8fe031401 by Vitaly Buka
[NFC][sanitizer] Early return for empty StackTraces

Current callers should filter them out anyway,
but with this patch we don't need rely on that assumption.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
Commit b5a927b972b2c07b4597e93ed0b57803bfc0e6ae by dimitry
[lldb] Move create_relative_symlink function up in CMake hierarchy

Configuring lldb with `LLDB_ENABLE_PYTHON=OFF` and `LLDB_ENABLE_LUA=ON` results in a CMake error:

    CMake Error at lldb/bindings/lua/CMakeLists.txt:47 (create_relative_symlink):
      Unknown CMake command "create_relative_symlink".
    Call Stack (most recent call first):
      lldb/CMakeLists.txt:117 (finish_swig_lua)

This is because the CMake function `create_relative_symlink` only exists in `lldb/bindings/python/CMakeLists.txt`, and not in `lldb/bindings/lua/CMakeLists.txt`.

Move the function to `lldb/bindings/CMakeLists.txt`, so it is available for all language bindings.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D114465
The file was modifiedlldb/bindings/python/CMakeLists.txt
The file was modifiedlldb/bindings/CMakeLists.txt
Commit 67a1c45def8a75061203461ab0060c75c864df1c by Vitaly Buka
[NFC][sanitizer] Add StackStoreTest

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D114463
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
The file was addedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp
Commit bf1138491a2ba12dce0c3ff2ad6a18f093428539 by xur
[SampleFDO] Recompute BFI if the sample loader changes BPI

The MIR sample loader changes the branch probability but not BFI.
Here we force a recompute of BFI if the branch probabilities are
changed.

Also register the MIR FSAFDO passes properly.

Differential Revision: https://reviews.llvm.org/D114400
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was addedllvm/test/CodeGen/X86/fsafdo_test3.ll
The file was modifiedllvm/lib/CodeGen/MIRSampleProfile.cpp
Commit abd86619cf5e389995e8cb325ddb570d86a0715f by Vitaly Buka
[NFC][sanitizer] Extract StackTraceHeader struct
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
Commit b1a68b170c44e8d5298800a080444c0b82366e51 by Vitaly Buka
[NFC][sanitizer] Make method const
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
Commit 892648b18a8cc3b8a08528112adfa74bdd432f8b by spatel
[InstSimplify] fold xor logic of 2 variables

(a & b) ^ (~a | b) --> ~a

I was looking for a shortcut to reduce some of the complex logic
folds that are currently up for review (D113216
and others in that stack), and I found this missing from
instcombine/instsimplify.

There is a trade-off in putting it into instsimplify: because
we can't create new values here, we need a strict 'not' op (no
undef elements). Otherwise, the fold is not valid:
https://alive2.llvm.org/ce/z/k_AGGj

If this was in instcombine instead, we could create the proper
'not'. But having the fold here benefits other passes like GVN
that use instsimplify as an analysis.

There is a related fold where 'and' and 'or' are swapped, and
that is planned as a follow-up commit.

Differential Revision: https://reviews.llvm.org/D114462
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 4ba5da8e3d38f38ed7845c22baadd8908729c520 by walter erquinigo
Improve optional formatter

As suggested by @labath in https://reviews.llvm.org/D114403, we should
make the formatter more resilient to corrupted data. The Libcxx version
explicitly checks for engaged = 1, so we can do that as well for safety.

Differential Revision: https://reviews.llvm.org/D114450
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
Commit a48501150b9ef64fd61d24f8cef2645237facc44 by walter erquinigo
Make some libstd++ formatters safer

We need to add checks that ensure that some core variables are valid, so
that we avoid printing out garbage data. The worst that could happen is
that an non-initialized variable is being printed as something with
123123432 children instead of 0.

Differential Revision: https://reviews.llvm.org/D114458
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/main.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
Commit 193bf2e820520dd4a2d5ed0e7d50ee45e8127071 by walter erquinigo
[formatters] Capping size limitation avoidance for the libcxx and libcpp bitset data formatters.

This diff is avoiding the size limitation introduced by the capping size for the libcxx and libcpp bitset data formatters.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D114461
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
Commit 4961fcfbcf688e5cd9580578b1e4eadce1dfc42e by jurahul
Move dependency llvm:AllTargetsAsmParsers from Translation to ExecutionEngine.

- Fixes a minor issue in https://reviews.llvm.org/D114338, which seems incorrectly
  added the llvm:AllTargetsAsmParsers dependency to Translation in bazel build files.

Differential Revision: https://reviews.llvm.org/D114471
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 9a9d9a9b00af5b60514ab9ada09ba02dfb86945e by walter erquinigo
[formatters] List and forward_list capping_size determination and application

This diff is adding the capping_size determination for the list and forward list, to limit the number of children to be displayed. Also it modifies and unifies tests for libcxx and libstdcpp list data formatter.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D114433
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile
The file was modifiedlldb/source/API/SBTarget.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
The file was modifiedlldb/bindings/interface/SBTarget.i
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp
The file was modifiedlldb/include/lldb/API/SBTarget.h
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
Commit 877433ad453cd1bd77497ec47828074b6e010edb by walter erquinigo
Fix a48501150b9ef64fd61d24f8cef2645237facc44

Issue in https://lab.llvm.org/buildbot/#/builders/96/builds/14682.

Making the test deterministic.
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/main.cpp
Commit 73a05cc8dfa114e29cd4d463c77a5577571c8c56 by flo
[LAA] Move visitPointers up in file (NFC).

This allows easier re-use in earlier functions.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit 273a0c8bc9c774aa0d5982c23dc3d62b68ef4338 by Matthew.Arsenault
PrologEpilogInserter: Use explicit control for scavenge slot placement

AMDGPU is unusual in that the both stack is indexed in the same
direction as stack growth (up). We therefore always need the emergency
stack slots placed as low as possible to ensure they are in range of
load/store instruction immediate offsets. The existing logic is mostly
OK, but failed if we required stack realignment.

I don't understand what the existing control isFPCloseToIncomingSP is
supposed to mean, but can only be used to stop placing the scavenge
slots earlier. Make this explicit so that targets can opt-in rather
than opt-out only.
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-offset-calculation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-gfx9.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-carry-out.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsFrameLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/load-hi16.ll
Commit c9cb8edc519e4fa80b28fb4e0cc2bd8423742d21 by nemanja.i.ibm
[PowerPC] Allow scalars for asm constraint "v" with VSX

Similarly to what GCC does, we should allow scalars with
the "v" constraint rather than introducing unnecessary
new constraints for scalars in Altivec registers.

Differential revision: https://reviews.llvm.org/D113635
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll
Commit 09256fe980ddc46be36ab4460ae1850aa46f094e by Vitaly Buka
[sanitizer] Add DenseMap::forEach
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_dense_map.h
Commit 4058637f7ac6c0c44c90604b041dafa6b24e641b by Vitaly Buka
[NFC][sanitizer] Reuse forEach for operator==
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_dense_map.h
Commit 6c06d8e310bd926f8c9ed63118c38b28075f4de3 by fmayer
[stack-safety] Check SCEV constraints at memory instructions.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D113160
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/memintrin.ll
Commit 26d1edfb105bdc857733c3bb8697a9f73828bde7 by fmayer
[hwasan] support python3 in hwasan_sanitize

Verified no diff exist between previous version, new version python 2, and python 3 for an example stack.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D114404
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
Commit 75a1bee05db7ca4277cf93545834110409c75bc9 by ivan.butygin
[mlir][spirv] Add math to OpenCL conversion

Differential Revision: https://reviews.llvm.org/D113780
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVOCLOps.td
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/test/Target/SPIRV/ocl-ops.mlir
The file was modifiedmlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-glsl-spirv.mlir
The file was removedmlir/test/Conversion/MathToSPIRV/math-to-spirv.mlir
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
Commit 661a232e34845a89789c4d617b9c764eded002a1 by Stanislav.Mekhanoshin
[AMDGPU] Remove a no-op check in the gfx90a hazard recognizer

Also rename helper function accordingly.

Differential Revision: https://reviews.llvm.org/D114289
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Commit 402a406323194e0eaecfb793416e8c7528befc29 by Vitaly Buka
[NFC][sanitizer] Test for b80affb8a149
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp
Commit 6889592ebcdea168f9e7a5dc91b8549527e4dbf7 by Vitaly Buka
[NFC][sanitizer] Limit StackStore stack size/tag to 1 byte

Nothing uses more than 8bit now. So the rest of the headers can store other data.
kStackTraceMax is 256 now, but all sanitizers by default store just 20-30 frames here.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
Commit 22ced33a2f769815834efdd0eb0b25172c6f8a61 by zequanwu
[LLDB][NativePDB] Allow find functions by full names

I don't see a reason why not to. If we allows lookup functions by full names,
I can change the test case in D113930 to use `lldb-test symbols --find=function --name=full::name --function-flags=full ...`,
though the duplicate method decl prolem is still there for `lldb-test symbols --dump-ast`.
That's a seprate bug, we can fix it later.

Differential Revision: https://reviews.llvm.org/D114467
The file was addedlldb/test/Shell/SymbolFile/NativePDB/find-functions.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Commit 8ec0f221843c51096cf3e7a479e780be371388a8 by joker.eph
Update fir.insert_on_range syntax to make the range more explicit (NFC)

Also replace ArrayAttr with IndexElementsAttr to model subscript dimensions.
An array of attribute is a sparse inefficient storage, with an API that
requires to unpack/repack integers at every call site.
Instead we can store dense array of integer as IndexElementsAttr.

Reviewed By: clementval, kiranchandramohan

Differential Revision: https://reviews.llvm.org/D112899
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td
The file was modifiedflang/test/Fir/convert-to-llvm.fir
The file was modifiedflang/test/Fir/fir-ops.fir
The file was modifiedflang/test/Fir/invalid.fir
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
Commit 07333810caee48e94587891191a970be8a117fcf by JunMa
Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values."""""

This reverts commit c93f93b2e3f28997f794265089fb8138dd5b5f13.
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 17eb6b61de4b4d7a35680254a59118a0e3fa8dc9 by JunMa
Revert "[Taildup] Don't tail-duplicate loop header with multiple successors as its latches"

This reverts commit 1f9fa549841a2ec55aa5a131bfaf83f0383c4713.
The file was modifiedllvm/lib/CodeGen/TailDuplicator.cpp
The file was modifiedllvm/test/CodeGen/X86/tail-dup-multiple-latch-loop.ll
Commit d7d7ffe254d53cf0860126ab4c3f5db18c927892 by 2998727+wrengr
[mlir][sparse] Adding wrappers for constantOverheadTypeEncoding

Minor code cleanup

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114392
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
Commit 8bd08a9fd705dce07d7cd76711532432b575ed78 by uday
[MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name

Remove duplicate `Pass` suffix from view-op-graph pass class name. The
extra suffix would lead to methods like registerViewOpGraphPassPass
being generated.

Differential Revision: https://reviews.llvm.org/D114459
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
Commit 1150f02c77b81adca4d0c67afdef23321e93db89 by rtrieu
Revert "tsan: new runtime (v3)"

This reverts commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28.
This was causing unexpected behavior in programs.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was addedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc
The file was modifiedcompiler-rt/test/tsan/memcpy_race.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_stack_test.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/test/tsan/free_race2.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/check_analyze.sh
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_shadow.h
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
The file was modifiedcompiler-rt/test/tsan/bench_threads.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/test/tsan/memcmp_race.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_flags_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h
Commit 02710413a32afbd6eeeff0fd56c960f4c4e21629 by bixia
Accept symmetric sparse matrix in Matrix Market Exchange Format.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114402
The file was addedmlir/test/Integration/data/test_symmetric.mtx
The file was modifiedmlir/lib/ExecutionEngine/SparseTensorUtils.cpp
The file was modifiedmlir/test/CMakeLists.txt
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
Commit 55792b5ac44e4c0d3a8feb8a793d60d58e38cf20 by Vitaly Buka
[sanitizer] Fail instead of crash without real_pthread_create
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Commit 8cdf1c1edb937b192d162f299127fad8d9dc0faa by ikudrin
[ELF] Support the "read-only" memory region attribute

The attribute 'r' allows (or disallows for the negative case) read-only
sections, i.e. ones without the SHF_WRITE flag, to be assigned to the
memory region. Before the patch, lld could put a section in the wrong
region or fail with "error: no memory region specified for section".

Differential Revision: https://reviews.llvm.org/D113771
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/LinkerScript.h
The file was addedlld/test/ELF/linkerscript/memory-attr.test
The file was modifiedlld/ELF/ScriptParser.cpp
Commit 078da26b1ce3e509b9705bba95686e4ef8b8e480 by abinav.puthanpurayil
[AMDGPU] Check for unneeded shift mask in shift PatFrags.

The existing constrained shift PatFrags only dealt with masked shift
from OpenCL front-ends. This change copies the
X86DAGToDAGISel::isUnneededShiftMask() function to AMDGPU and uses it in
the shift PatFrag predicates.

Differential Revision: https://reviews.llvm.org/D113448
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
The file was modifiedllvm/test/CodeGen/AMDGPU/ashr.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/constrained-shift.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-lowbits.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lshr.v2i16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/shl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/imm16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sra.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
Commit b9fd7247a71d7ab652c3e827b7018d6ea446024e by Vitaly Buka
[sanitizer] Add Abs<T>
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
Commit ba4411e7c6a5879ce8acf246b0cd03ec738d9d6b by courbet
[clang-tidy] performance-unnecessary-copy-initialization: Fix false negative.

`isConstRefReturningMethodCall` should be considering
`CXXOperatorCallExpr` in addition to `CXXMemberCallExpr`. Clang considers
these to be distinct (`CXXOperatorCallExpr` derives from `CallExpr`, not
`CXXMemberCallExpr`), but we don't care in the context of this
check.

This is important because of
`std::vector<Expensive>::operator[](size_t) const`.

Differential Revision: https://reviews.llvm.org/D114249
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization-excluded-container-types.cpp
Commit 7f5d9bf13a7d872dc173d09598743c006f59d6b8 by ivan.butygin
[mlir][scf] Canonicalize scf.while with unused results

Differential Revision: https://reviews.llvm.org/D114291
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
Commit c2441b6b89bfe52a16f6c5ed5a0a49c9a02daf2a by rosie.sumpter
[LoopVectorize] Add vector reduction support for fmuladd intrinsic

Enables LoopVectorize to handle reduction patterns involving the
llvm.fmuladd intrinsic.

Differential Revision: https://reviews.llvm.org/D111555
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/IVDescriptors.h
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop.ll
Commit 991074012a6c9a294c5c64cf51502934a8e9bb36 by rosie.sumpter
[LoopVectorize] Propagate fast-math flags for VPInstruction

In-loop vector reductions which use the llvm.fmuladd intrinsic involve
the creation of two recipes; a VPReductionRecipe for the fadd and a
VPInstruction for the fmul. If the call to llvm.fmuladd has fast-math flags
these should be propagated through to the fmul instruction, so an
interface setFastMathFlags has been added to the VPInstruction class to
enable this.

Differential Revision: https://reviews.llvm.org/D113125
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/IR/Operator.cpp
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-printing.ll
Commit 2d33327f9d4c154e7454c2d830c1caa8e6850f4f by rosie.sumpter
[LoopVectorize] Print fast-math flags for VPReductionRecipe
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-printing.ll
Commit df32a39dd0f68383a1685a4571715edb70664969 by rosie.sumpter
[LoopVectorize][CostModel] Update cost model for fmuladd intrinsic

This patch updates the cost model for ordered reductions so that a call
to the llvm.fmuladd intrinsic is modelled as a normal fmul instruction
plus the cost of an ordered fadd reduction.

Differential Revision: https://reviews.llvm.org/D111630
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd-cost.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 6f82264dbb02028d4ec4940aeb6d716dded6e879 by pavel
[lldb/gdb-remote] Remove more non-stop mode remnants

The read thread handling is completely dead code now that non-stop mode
no longer exists.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
Commit 8ef460fc5137816c0bcc9ec471e7d60d3cc2f5ee by flo
[llvm-reduce] Add parallel chunk processing.

This patch adds parallel processing of chunks. When reducing very large
inputs, e.g. functions with 500k basic blocks, processing chunks in
parallel can significantly speed up the reduction.

To allow modifying clones of the original module in parallel, each clone
needs their own LLVMContext object. To achieve this, each job parses the
input module with their own LLVMContext. In case a job successfully
reduced the input, it serializes the result module as bitcode into a
result array.

To ensure parallel reduction produces the same results as serial
reduction, only the first successfully reduced result is used, and
results of other successful jobs are dropped. Processing resumes after
the chunk that was successfully reduced.

The number of threads to use can be configured using the -j option.
It defaults to 1, which means serial processing.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D113857
The file was modifiedllvm/test/tools/llvm-reduce/operands-skip.ll
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp
Commit bb273a35a02a00dbba8549e858df310f4b6a32b1 by springerm
[mlir][linalg][bufferize][NFC] Move tensor interface impl to new build target

This makes ComprehensiveBufferize entirely independent of the tensor dialect.

Differential Revision: https://reviews.llvm.org/D114217
The file was addedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.h
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was addedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
Commit 93fc91610f427f42b77fa36a65a70b9b86225c37 by mydeveloperday
[clang-format] NFC - recent changes caused clang-format to no longer be clang-formatted.

The following 2 commits caused files in clang-format to no longer be clang-formatted.

we would lose our "clean" status https://releases.llvm.org/13.0.0/tools/clang/docs/ClangFormattedStatus.html

c2271926a4fc  - Make clang-format fuzz through Lexing with asserts enabled (https://github.com/llvm/llvm-project/commit/c2271926a4fc )

84bf5e328664 - Fix various problems found by fuzzing. (https://github.com/llvm/llvm-project/commit/84bf5e328664)

Reviewed By: HazardyKnusperkeks, owenpan

Differential Revision: https://reviews.llvm.org/D114430
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
The file was modifiedclang/lib/Format/SortJavaScriptImports.cpp
The file was modifiedclang/lib/Format/TokenAnalyzer.cpp
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 734e2386ffb34e5ab5fbdc1063fd11e6a2a632ce by david.green
[ARM] Add fma and update fadd/fmul predicated select tests. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-selectop2.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-selectop3.ll
Commit 764b35d89f57a9052d84898422a865dc2e08edca by dvyukov
tsan: extend mmap test

Test size larger than clear_shadow_mmap_threshold,
which is handled differently.

Depends on D114348.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D114366
The file was modifiedcompiler-rt/test/tsan/ignored-interceptors-mmap.cpp
Commit d9af9c2c5a53c9ba6aa0255240a2a40e8bea27aa by david.green
[ARM] Fold floating point select(binop) patterns

Similar to D84091 which added extra predicated folds for integer operations
using the identity element of the operation, this adds them for floating
point operations for the form `BinOp(x, select(p, y, Identity))`. They are
folded back to predicated versions of the operator, with fadd having the
identity -0.0, fsub using the identity 0.0 and fmul using 1.0.

Differential Revision: https://reviews.llvm.org/D113574
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-selectop3.ll
Commit b8f68ad9cdb11d585acc6c38ad124b32efb6178a by jeremy.morse
[DebugInfo][InstrRef] Avoid crash when values optimised out late in sdag

It appears that we can emit all the instructions for a function, including
debug instructions, and then optimise some of the values out late.
Specifically, in the attached test case, an argument gets optimised out
after DBG_VALUE / DBG_INSTR_REFs are created. This confuses
MachineFunction::finalizeDebugInstrRefs, which expects to be able to find a
defining instruction, and crashes instead.

Fix this by identifying when there's no defining instruction, and
translating that instead into a DBG_VALUE $noreg.

Differential Revision: https://reviews.llvm.org/D114476
The file was addedllvm/test/DebugInfo/X86/instr-ref-sdag-empty-vreg.ll
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
Commit cf40ca026f9193c46c3db1f3cb2ac0dff5f2b695 by david.sherwood
[NFC] Tidy up SelectionDAGBuilder::visitIntrinsicCall to use existing sdl debug loc

In quite a few places we were calling getCurSDLoc() to get the debug
location, but this is already a local variable `sdl`.

Differential Revision: https://reviews.llvm.org/D114447
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit ca9d149e07551257813a7c9913efdfbbc23774a1 by springerm
[mlir][linalg][bufferize][NFC] Move vector interface impl to new build target

This makes ComprehensiveBufferize entirely independent of the vector dialect.

Differential Revision: https://reviews.llvm.org/D114218
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was addedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/VectorInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
The file was addedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/VectorInterfaceImpl.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 581f837355b9523bd3217fb05eed3d577d51b95d by david.green
[ARM] Fold (fadd x, (vselect c, y, -1.0)) into (vselect c, (fadd x, y), x)

This is similar to D113574, but as a DAG combine, not tablegen patterns.
Doing the fold as a DAG combine allows the fadd to be folded with a
fmul, finally producing a predicated vfma. It performs the same fold of
fadd(x, vselect(p, y, -0.0)) to vselect p, (fadd x, y), x) using -0.0 as
the identity value of a fadd.

Differential Revision: https://reviews.llvm.org/D113584
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-selectop3.ll
Commit 976f3b3c9eba0835d5ab7d191bd2e88ceda86ebe by carl.ritson
[AMDGPU] Only allow implicit WQM in pixel shaders

Implicit derivatives are only valid in pixel shaders,
hence only implicitly enable WQM for pixel shaders.
This avoids unintended WQM in other shader types (e.g. compute)
when image sampling instructions are used.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D114414
The file was modifiedllvm/test/CodeGen/AMDGPU/memory_clause.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
Commit c52ff0cfcbf46b81d3df868a259d94910cd15c9a by georgiev
  [LLDB/test] lldbutil check_breakpoint() - check target instance

Check test.target instance type before we attempt to get the breakpoint.
This fix is suggested by 'clayborg'.
Ref: https://reviews.llvm.org/D111899#inline-1090156
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
Commit 8a52bd82e36855b3ad842f2535d0c78a97db55dc by jay.foad
[AMDGPU] Only select VOP3 forms of VOP2 instructions

Change VOP_PAT_GEN to default to not generating an instruction selection
pattern for the VOP2 (e32) form of an instruction, only for the VOP3
(e64) form. This allows SIFoldOperands maximum freedom to fold copies
into the operands of an instruction, before SIShrinkInstructions tries
to shrink it back to the smaller encoding.

This affects the following VOP2 instructions:
v_min_i32
v_max_i32
v_min_u32
v_max_u32
v_and_b32
v_or_b32
v_xor_b32
v_lshr_b32
v_ashr_i32
v_lshl_b32

A further cleanup could simplify or remove VOP_PAT_GEN, since its
optional second argument is never used.

Differential Revision: https://reviews.llvm.org/D114252
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-lowbits.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sext-in-reg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ssubsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ashr.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-asm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ctpop16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/bfe-patterns.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/test/CodeGen/AMDGPU/select-constant-xor.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8s.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-realign.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/commute-shifts.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lshr.v2i16.ll
Commit d7e03df719464354b20a845b7853be57da863924 by jay.foad
[AMDGPU] Implement widening multiplies with v_mad_i64_i32/v_mad_u64_u32

Select SelectionDAG ops smul_lohi/umul_lohi to
v_mad_i64_i32/v_mad_u64_u32 respectively, with an addend of 0.
v_mul_lo, v_mul_hi and v_mad_i64/u64 are all quarter-rate instructions
so it is better to use one instruction than two.

Further improvements are possible to make better use of the addend
operand, but this is already a strict improvement over what we have
now.

Differential Revision: https://reviews.llvm.org/D113986
The file was modifiedllvm/test/CodeGen/AMDGPU/bypass-div.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/mul_int24.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/udiv.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul_uint24-amdgcn.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad_64_32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.mulo.ll
Commit 3cf4a2c6203b5777d56f0c04fb743b85a041d6f9 by llvm-dev
[DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl

If we only demand bits from one half of a rotation pattern, see if we can simplify to a logical shift.

For the ARM rev16 patterns, I had to drop a fold to prevent srl(bswap()) -> rotr(bswap) -> srl(bswap) infinite loops. I've replaced this with an isel PatFrag which should do the same task.

https://alive2.llvm.org/ce/z/iroxki (rol -> shl by amt iff demanded bits has at least as many trailing zeros as the shift amount)
https://alive2.llvm.org/ce/z/4ez_U- (ror -> shl by revamt iff demanded bits has at least as many trailing zeros as the reverse shift amount)
https://alive2.llvm.org/ce/z/cD7dR- (ror -> lshr by amt iff demanded bits has at least as many leading zeros as the shift amount)
https://alive2.llvm.org/ce/z/_XGHtQ (rol -> lshr by revamt iff demanded bits has at least as many leading zeros as the reverse shift amount)

Differential Revision: https://reviews.llvm.org/D114354
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-512.ll
The file was modifiedllvm/test/CodeGen/X86/rotate_vec.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb.td
Commit 2191d502a8576c5d46f8771d5f0d353eb525b9b9 by jeremy.morse
[DebugInfo] Check both instr-ref and DBG_VALUE modes of sdag tests

In these test updates for instruction referencing, I've added specific
instr-ref RUN lines, and kep thte DBG_VALUE-based variable location check
lines too. This is because argument handling is really fiddly, and I figure
it's worth duplicating the testing to ensure it's definitely correct.

There's also dbg-value-superreg-copy2.mir, a dtest for where varaible
locations go when virtual registers are coalesced together. I don't think
there's an instruction referencing specific test for this, so have
duplicated that to for instruction referencing.

Differential Revision: https://reviews.llvm.org/D114262
The file was addedllvm/test/CodeGen/X86/dbg-value-superreg-copy2.mir
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-funcarg.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-funcarg2.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-arg-movement.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-funcarg3.ll
Commit 1b5a43ac3f1113cd0512752e021fc70740726698 by klimek
Clean up clang-format tech debt.

Make all code go through FormatTokenSource instead of going around it, which
makes changes to TokenSource brittle.

Add LLVM_DEBUG in FormatTokenSource to be able to follow the token stream.
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
Commit 06677d6a9faef9f57c3b3c79906e4bba18ebee8a by dvyukov
sanitizer_common: remove SANITIZER_USE_MALLOC

It was introduced in:
9cffc9550b75 tsan: allow to force use of __libc_malloc in sanitizer_common
and used in:
512a18e51819 tsan: add standalone deadlock detector
and later used for Go support.
But now both uses are gone. Nothing defines SANITIZER_USE_MALLOC.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114514
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator.cpp
Commit a68b52e0a33382f241a250c1d67bed1141727447 by dvyukov
tsan: add another fork deadlock test

The test tries to provoke internal allocator to be locked during fork
and then force the child process to use the internal allocator.
This test sometimes deadlocks with the new tsan runtime.

Depends on D114514.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114515
The file was addedcompiler-rt/test/tsan/Linux/fork_multithreaded4.cpp
Commit f911c397dc9ee5849dff265b872b8df7458bf1e0 by jeremy.morse
[DebugInfo] Adjust x86 location-list tests for instruction referencing

This patch updates location lists in various x86 tests to reflect what
instruction referencing produces. There are two flavours of change:
* Not following a register copy immediately, because instruction
   referencing can make some slightly smarter decisions,
* Extended ranges, due to having additional information.

The register changes aren't that interesting, it's just a choice between
equally legitimate registers that instr-ref does differently. The extended
ranges are largely due to following stack restores better.

Differential Revision: https://reviews.llvm.org/D114362
The file was modifiedllvm/test/DebugInfo/X86/pieces-3.ll
The file was modifiedllvm/test/DebugInfo/COFF/pieces.ll
The file was modifiedllvm/test/DebugInfo/COFF/register-variables.ll
The file was modifiedllvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-5.ll
The file was modifiedllvm/test/DebugInfo/X86/live-debug-values-remove-range.ll
The file was modifiedllvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-4.ll
The file was modifiedllvm/test/DebugInfo/X86/sdag-combine.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-nospill.ll
Commit b7bf937bbee38c2db0c0640176ef618d9c746538 by nemanja.i.ibm
[PowerPC] Provide XL-compatible vec_round implementation

The XL implementation of vec_round for vector double uses
"round-to-nearest, ties to even" just as the vector float
`version does. However clang and gcc use "round-to-nearest-away"
for vector double and "round-to-nearest, ties to even"
for vector float.

The XL behaviour is implemented under the __XL_COMPAT_ALTIVEC__
macro similarly to other instances of incompatibility.

Differential revision: https://reviews.llvm.org/D113642
The file was modifiedllvm/test/CodeGen/PowerPC/read-set-flm.ll
The file was modifiedclang/test/CodeGen/builtins-ppc-xlcompat.c
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/lib/Headers/altivec.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit e3d8ebe158562fb945d473319f4f5c2de25a9a02 by djordje.todorovic
[llvm-dwarfdump][Statistics] Handle LTO cases with cross CU referencing

With link-time optimizations enabled, resulting DWARF mayend up containing
cross CU references (through the DW_AT_abstract_origin attribute).
Consider the following example:

// sum.c
__attribute__((always_inline)) int sum(int a, int b)
{
     return a + b;
}
// main.c
extern int sum(int, int);
int main()
{
     int a = 5, b = 10, c = sum(a, b);
     return 0;
}

Compiled as follows:

$ clang -g -flto -fuse-ld=lld main.c sum.c -o main

Results in the following DWARF:

-- sum.c CU: abstract instance tree
...
0x000000b0:   DW_TAG_subprogram
                DW_AT_name ("sum")
                DW_AT_decl_file ("sum.c")
                DW_AT_decl_line (1)
                DW_AT_prototyped (true)
                DW_AT_type (0x000000d3 "int")
                DW_AT_external (true)
                DW_AT_inline (DW_INL_inlined)

0x000000bc:     DW_TAG_formal_parameter
                  DW_AT_name ("a")
                  DW_AT_decl_file ("sum.c")
                  DW_AT_decl_line (1)
                  DW_AT_type (0x000000d3 "int")

0x000000c7:     DW_TAG_formal_parameter
                  DW_AT_name ("b")
                  DW_AT_decl_file ("sum.c")
                  DW_AT_decl_line (1)
                  DW_AT_type (0x000000d3 "int")
...
-- main.c CU: concrete inlined instance tree
...
0x0000006d:     DW_TAG_inlined_subroutine
                  DW_AT_abstract_origin (0x00000000000000b0 "sum")
                  DW_AT_low_pc (0x00000000002016ef)
                  DW_AT_high_pc (0x00000000002016f1)
                  DW_AT_call_file ("main.c")
                  DW_AT_call_line (5)
                  DW_AT_call_column (0x19)

0x00000081:       DW_TAG_formal_parameter
                    DW_AT_location (DW_OP_reg0 RAX)
                    DW_AT_abstract_origin (0x00000000000000bc "a")

0x00000088:       DW_TAG_formal_parameter
                    DW_AT_location (DW_OP_reg2 RCX)
                    DW_AT_abstract_origin (0x00000000000000c7 "b")
...

Note that each entry within the concrete inlined instance tree in
the main.c CU has a DW_AT_abstract_origin attribute which
refers to a corresponding entry within the abstract instance
tree in the sum.c CU.
llvm-dwarfdump --statistics did not properly report
DW_TAG_formal_parameters/DW_TAG_variables from concrete inlined
instance trees which had 0% location coverage and which
referred to a different CU, mainly because information about abstract
instance trees and their parameters/variables was stored
locally - just for the currently processed CU,
rather than globally - for all CUs.
In particular, if the concrete inlined instance tree from
the example above was to look like this
(i.e. parameter b has 0% location coverage, hence why it's missing):

0x0000006d:     DW_TAG_inlined_subroutine
                  DW_AT_abstract_origin (0x00000000000000b0 "sum")
                  DW_AT_low_pc (0x00000000002016ef)
                  DW_AT_high_pc (0x00000000002016f1)
                  DW_AT_call_file ("main.c")
                  DW_AT_call_line (5)
                  DW_AT_call_column (0x19)

0x00000081:       DW_TAG_formal_parameter
                    DW_AT_location (DW_OP_reg0 RAX)
                    DW_AT_abstract_origin (0x00000000000000bc "a")

llvm-dwarfdump --statistics would have not reported b as such.

Patch by Dimitrije Milosevic.

Differential revision: https://reviews.llvm.org/D113465
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/X86/LTO_CCU_zero_loc_cov.ll
Commit 823fc8aa0681a861d1b74790ba77fd1f591c90b5 by spatel
[InstSimplify] add tests for xor logic; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll
Commit b326c058146fbd5d89f7c8ce9fb932b3851200d7 by spatel
[InstSimplify] fold xor logic of 2 variables, part 2

(~a & b) ^ (a | b) --> a

This is the swapped and/or (Demorgan?) sibling fold for
the fold added with D114462 ( 892648b18a8c ).

This case is easier to specify because we are returning
a root value, not a 'not':
https://alive2.llvm.org/ce/z/SRzj4f
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll
Commit 19be7f9702547c35224960f1a846e344576f8e31 by llvm-dev
[X86] Add D113970 tests cases for or-lea with no common bits.

Added tests are permutations of the pattern: (X & ~M) or (Y & M).

Differential Revision: https://reviews.llvm.org/D114078
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit 73fd36963cc62931d695c9fda2026664962df754 by llvm-dev
[X86] Add BMI test coverage for for or-lea with no common bits tests

Ensure D113970 handles andnot patterns as well.
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit a7648eb2aaf848e903dca46bb9efb75809570ef1 by flo
[LV] Use patterns in some induction tests, to make more robust. (NFC)
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-printing.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/induction_plus.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/induction.ll
Commit d32787230d52af709d67a0583a15727054231a0a by benny.kra
Revert "[DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl"

This reverts commit 3cf4a2c6203b5777d56f0c04fb743b85a041d6f9.

It makes llc hang on the following test case.
```
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-unknown-linux-gnu"

define dso_local void @_PyUnicode_EncodeUTF16() local_unnamed_addr #0 {
entry:
  br label %while.body117.i

while.body117.i:                                  ; preds = %cleanup149.i, %entry
  %out.6269.i = phi i16* [ undef, %cleanup149.i ], [ undef, %entry ]
  %0 = load i16, i16* undef, align 2
  %1 = icmp eq i16 undef, -10240
  br i1 %1, label %fail.i, label %cleanup149.i

cleanup149.i:                                     ; preds = %while.body117.i
  %or130.i = call i16 @llvm.bswap.i16(i16 %0) #2
  store i16 %or130.i, i16* %out.6269.i, align 2
  br label %while.body117.i

fail.i:                                           ; preds = %while.body117.i
  ret void
}

; Function Attrs: nofree nosync nounwind readnone speculatable willreturn
declare i16 @llvm.bswap.i16(i16) #1

attributes #0 = { "target-features"="+neon,+v8a" }
attributes #1 = { nofree nosync nounwind readnone speculatable willreturn }
attributes #2 = { mustprogress nofree norecurse nosync nounwind readnone uwtable willreturn "frame-pointer"="non-leaf" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="generic" "target-features"="+neon,+v8a" }
```
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-512.ll
The file was modifiedllvm/test/CodeGen/X86/rotate_vec.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 080ef0b6a698e41bbc356f5d96eb550f248642e2 by bradley.smith
[AArch64][SVE] Recognize all ones mask during fixed mask generation

Differential Revision: https://reviews.llvm.org/D114431
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-fixed-length-mask-opt.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
Commit 8b86752c60f1d18f367fdd29f47bc3bd8646bbd2 by flo
[VPlan] Remove unused VPInstruction constructor. (NFC)

VPInstruction inherits from VPValue, so the constructor taking
ArrayRef<VPValue*> covers all cases that would be covered by the removed
constructor.
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
Commit 408c0cc4eb6099d06cbd51fd4e205c2b39b2c8af by gchatelet
[libc] Fix wrong type for load/store of Repeated elements
The file was modifiedlibc/src/string/memory_utils/elements.h
Commit cd8d219536912b5ea04961af3a38955d8333bb3e by lebedev.ri
[X86][Costmodel] `getReplicationShuffleCost()`: promote 1 bit-wide elements to 32 bit when have AVX512DQ

I believe, this effectively completes `X86TTIImpl::getReplicationShuffleCost()`
for AVX512, other than the question of handling plain AVX512F,
where we end up with some really ugly "shuffles",
but then is there any CPU's that support AVX512, but not AVX512DQ/AVX512BW?

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D114315
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-replication-i1.ll
Commit 5ba795c6e88519e84c0f7232a494a820ed4dfc52 by pengfei.wang
[X86][MS] Add test cases to show wrong alignment in vector variable arguments. NFC
The file was modifiedllvm/test/CodeGen/X86/vaargs-win32.ll
Commit 96beb30fbbcea87a3da7e984ba34951b0fa6deb5 by pavel
[lldb] Move GetSupportedArchitectureAtIndex to PlatformDarwin

All other platforms use GetSupportedArchitectures now.
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
The file was modifiedlldb/source/Target/RemoteAwarePlatform.cpp
The file was modifiedlldb/unittests/Target/RemoteAwarePlatformTest.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/include/lldb/Target/Platform.h
The file was modifiedlldb/source/Target/Platform.cpp
Commit f3bfe1b41876add39d080067b504baa2ace97ecf by paul.robinson
Have yaml2obj describe all options in --help

Differential Revision: https://reviews.llvm.org/D114538
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
Commit 6ee69c0dea1e75d94015b2a794cd28c35c84f050 by quinn.pham
[NFC][X86] Inclusive language: Rename master label in x86-shrink-wrapping.ll

[NFC] As part of using inclusive language within the llvm project, this patch
renames the master label in `x86-shrink-wrapping.ll` to main.

Reviewed By: ZarkoCA

Differential Revision: https://reviews.llvm.org/D113940
The file was modifiedllvm/test/CodeGen/X86/x86-shrink-wrapping.ll
Commit 3b72448084052785b79566fa5bd374feb8ae3907 by courbet
[clang-tidy] Add unit tests for `DeclRefExprUtils`.

In preparation for D114539.
The file was modifiedclang-tools-extra/unittests/clang-tidy/CMakeLists.txt
The file was addedclang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
Commit a12192c755e32db74cd3ce73cfadb6797de9ce15 by llvmgnsyncbot
[gn build] Port 3b7244808405
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/BUILD.gn
Commit 787b66eb5f747a8e0c650cd17a1977080c4f5b9e by peter.waller
[LoopAccessAnalysis][SVE] Bail out for scalable vectors

The supplied test case, reduced from real world code, crashes with a
'Invalid size request on a scalable vector.' error.

Since it's similar in spirit to an existing LAA test, rename the file to
generalize it to both.

Differential Revision: https://reviews.llvm.org/D114155
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was addedllvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
The file was removedllvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll
Commit 1cfa9b4d70fa71672e61943bf4c63b109f9bb4e2 by nicolas.vasilache
[mlir][Vector] NFC - Apply some clangd suggested fixes.
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit 348389263ca545f0dd71aea505c595331d2a07c5 by dvyukov
tsan: lock internal allocator around fork

There is a small chance that the internal allocator is locked
during fork and then the new process is created with locked
internal allocator and any attempts to use it will deadlock.
For example, if detected a suppressed race in the parent during fork
and then another suppressed race after the fork.
This becomes much more likely with the new tsan runtime
as it uses the internal allocator for more things.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114531
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
Commit 6f85d68e6ab29e544b301d7ac84de2819b8d4b7a by dvyukov
tsan: include internal allocator into deadlock detection

Now that we lock the internal allocator around fork,
it's possible it will create additional deadlocks.
Add a fake mutex that substitutes the internal allocator
for the purposes of deadlock detection.

Depends on D114531.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114532
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
Commit f23b829a2635a6d833bdc81a12d6217b52ae9e45 by david.spickett
Fixed use of -o and -k in LLDB under Windows when statically compiled with vcruntime.

Right now if the LLDB is compiled under the windows with static vcruntime library, the -o and -k commands will not work.

The problem is that the LLDB create FILE* in lldb.exe and pass it to liblldb.dll which is an object from CRT.
Since the CRT is statically linked each of these module has its own copy of the CRT with it's own global state and the LLDB should not share CRT objects between them.

In this change I moved the logic of creating FILE* out of commands stream from Driver class to SBDebugger.
To do this I added new method: SBError SBDebugger::SetInputStream(SBStream &stream)

Command to build the LLDB:
cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lldb;libcxx"  -DLLVM_USE_CRT_RELEASE="MT" -DLLVM_USE_CRT_MINSIZEREL="MT" -DLLVM_USE_CRT_RELWITHDEBINFO="MT" -DP
YTHON_HOME:FILEPATH=C:/Python38 -DCMAKE_C_COMPILER:STRING=cl.exe -DCMAKE_CXX_COMPILER:STRING=cl.exe ../llvm

Command which will fail:
lldb.exe -o help

See discord discussion for more details: https://discord.com/channels/636084430946959380/636732809708306432/854629125398724628
This revision is for the further discussion.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D104413
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/test/API/python_api/default-constructor/sb_debugger.py
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/include/lldb/API/SBDebugger.h
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/bindings/interface/SBDebugger.i
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/test/API/python_api/file_handle/TestFileHandle.py
Commit 6b96b2a0bf65ff838d4dbf909a5120d4d1083e29 by 1.int32
[clang][AST] Check context of record in structural equivalence.

The AST structural equivalence check did not differentiate between
a struct and a struct with same name in different namespace. When
type of a member is checked it is possible to encounter such a case
and wrongly decide that the types are similar. This problem is fixed
by check for the namespaces of a record declaration.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D113118
The file was modifiedclang/unittests/AST/StructuralEquivalenceTest.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
Commit dee810e117ad442c426a1213277faa8b028751d5 by graham.hunter
[NFC][LAA] Precommit tests for forked pointers

Precommit for https://reviews.llvm.org/D108699
The file was addedllvm/test/Transforms/LoopVectorize/forked-pointers.ll
The file was addedllvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll
Commit f93520349695e121088382f4c8639b295dcabcd7 by llvm-dev
[AArch64] Add regression test for D114354
The file was modifiedllvm/test/CodeGen/AArch64/arm64-rev.ll
Commit eb00e79bd97446c2dd16f9937c299ef7919ecb60 by jeremy.morse
[DebugInfo] Reflect switched variable order from instruction referencing

Enabling instruction referencing causes a few variable locations to switch
order -- i.e., they switch position in the output DWARF, or sometimes the
order of DBG_VALUEs. Update a few tests to reflect this.

Differential Revision: https://reviews.llvm.org/D114261
The file was modifiedllvm/test/DebugInfo/X86/pieces-4.ll
The file was modifiedllvm/test/DebugInfo/X86/constant-loclist.ll
The file was modifiedllvm/test/DebugInfo/X86/float_const_loclist.ll
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
Commit 133e25f946f87916da0e165855298c5f3394b752 by jeremy.morse
[DebugInfo][InstrRef] Ignore SP clobbers on call instructions even more

Avoid un-necessarily recreating DBG_VALUEs on call instructions.

In LiveDebugvalues we choose to ignore any clobbers of SP by call
instructions, as they're irrelevant to our model of the machine. We
currently do so for tracking register values (MTracker); do the same for
tracking variable locations (TTracker).

Test modified to endure that a duplicate DBG_VALUE is not created after the
call in struction in this test.

Differential Revision: https://reviews.llvm.org/D114365
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit a489d6c5e0158eb92025b27bce958595c20d3ecf by kstoimenov
[ASan] Moved __asan_test_only_reported_buggy_pointer to ReportGenericError, which is needed for shared optimzied callback tests.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D114486
The file was modifiedcompiler-rt/lib/asan/asan_rtl.cpp
The file was modifiedcompiler-rt/lib/asan/asan_report.cpp
Commit 06d4a76309cd97e25859770b3da29006ccac421a by wanyu9511
[NFC][AIX]Disable precompiled module file tests on AIX

The PCH reader looks for `__clangast` section in the precompiled module file, which is not present in the file on AIX, and we don't support writing this custom section in XCOFF yet.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D114481
The file was modifiedclang/test/PCH/debug-info-pch-path.c
The file was modifiedclang/test/ClangScanDeps/modules-pch.c
The file was modifiedclang/test/ClangScanDeps/modules-pch-common-submodule.c
The file was modifiedclang/test/ClangScanDeps/modules-pch-common-via-submodule.c
Commit 0a58982b082df3b0b995a19f2cbed34228fda73d by ravishankarm
[mlir][Linalg] Remove alloc/dealloc pair as a callback.

The alloc dealloc pair generation callback is really central to the
bufferization algorithm, it modifies the state in a way that affects
correctness. This is not really a configurable option. Moving it to
BufferizationState removes what was probably the reason it was added
as a callback.

Differential Revision: https://reviews.llvm.org/D114417
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
Commit dc1aa8eacd1e0e554f206cc15d730f37ea90c4ea by nemanja.i.ibm
[PowerPC] Add missed clang portion of c933c2eb3346

The clang portion of c933c2eb3346 was missed as I made
some kind of mistake squashing the commits with git.
This patch just adds those.

The original review: https://reviews.llvm.org/D114088
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/Headers/altivec.h
The file was modifiedclang/test/CodeGen/builtins-ppc-p8vector.c
Commit fb46e64a013a2c7457db3312da07db1b25ad5219 by flo
Revert "[ThreadPool] Do not return shared futures."

This reverts commit a5fff58781f30ff3fd7a3f56948552cf7b8842bb.

The offending commit broke building with LLVM_ENABLE_THREADS=OFF.
The file was modifiedmlir/include/mlir/IR/Threading.h
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp
Commit c79345fb7b149d9c952f8506c9e6c6317a5b4cd8 by zarko
[NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test

Part of work to use more inclusive terms in clang/llvm.
The file was modifiedclang/test/Analysis/malloc-sizeof.cpp
The file was modifiedclang/test/SemaCXX/warn-thread-safety-analysis.cpp
The file was modifiedclang/test/Analysis/comparison-implicit-casts.cpp
The file was modifiedclang/test/CodeGen/attr-nodebug.c
The file was modifiedclang/unittests/Sema/ExternalSemaSourceTest.cpp
The file was modifiedclang/test/SemaCXX/dllimport.cpp
The file was modifiedclang/test/Analysis/reference.cpp
The file was modifiedclang/test/Sema/dllexport.c
The file was modifiedclang/test/SemaObjC/arc-repeated-weak.mm
The file was modifiedclang/test/Modules/target-features.m
The file was modifiedclang/test/SemaCXX/coroutines-exp-namespace.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-attrs.mm
The file was modifiedclang/test/Analysis/bitwise-ops.c
The file was modifiedclang/test/Analysis/retain-release.m
The file was modifiedclang/test/Modules/framework-name.m
The file was modifiedclang/test/Analysis/derived-to-base.cpp
The file was modifiedclang/test/PCH/cxx11-statement-attributes.cpp
The file was modifiedclang/test/Modules/va_list.m
The file was modifiedclang/test/Rewriter/instancetype-test.mm
The file was modifiedclang/test/CodeGenObjCXX/arc.mm
The file was modifiedclang/test/SemaObjC/instancetype.m
The file was modifiedclang/test/SemaObjC/warn-retain-cycle.m
The file was modifiedclang/test/SemaCXX/dllexport.cpp
The file was modifiedclang/test/Analysis/dtor.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TokensTest.cpp
The file was modifiedclang/unittests/Analysis/CFGDominatorTree.cpp
The file was modifiedclang/test/SemaObjCXX/instancetype.mm
The file was modifiedclang/test/Sema/dllimport.c
The file was modifiedclang/test/Driver/clang-g-opts.c
The file was modifiedclang/test/SemaCXX/coroutines.cpp
The file was modifiedclang/test/Rewriter/rewrite-foreach-in-block.mm
The file was modifiedclang/test/Analysis/expr-inspection.cpp
The file was modifiedclang/test/SemaObjC/conversion.m
The file was modifiedclang/test/Sema/predef.c
The file was modifiedclang/test/Analysis/plist-html-macros.c
The file was modifiedclang/test/Analysis/additive-folding.cpp
The file was modifiedclang/unittests/AST/ASTImporterFixtures.h
The file was modifiedclang/test/Driver/arm-target-as-march-mcpu.s
The file was modifiedclang/test/Analysis/ctor.mm
Commit a4fd8cb76f8169e26f17e04d9a265a28531e4520 by gysit
[mlir][linalg] Update failure conditions for padOperandToSmallestStaticBoundingBox.

Change the failure condition of padOperandToSmallestStaticBoundingBox to never fail if the operand is already statically sized.

In particular:
- if the padding value computation fails -> return failure if the operand shape is dynamic and success if it is static.
- if there is no extract slice op -> return failure if the operand shape is dynamic and success if it is static.

The latter change prevents padding from failure if the output operand passed by iteration argument is statically sized since in this case the extract / insert slice pairs are removed by canonicalization.

Depends On D114153

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114161
The file was modifiedmlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
The file was modifiedmlir/test/Dialect/Linalg/pad.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
Commit 9300b133c80dfc1a15135f9fb9c5afaf8a6805f8 by Stanislav.Mekhanoshin
Revert "[InstCombine] (~(a | b) & c) | ~(c | (a ^ b)) -> ~((a | b) & (c | (b ^ a)))"

This reverts commit c407769f5e6c81d56de0b251aed5750a16a7651c.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/and-xor-or.ll
Commit 86f186efea7b5f542ef3d9fa2e63fd485475e011 by gysit
[mlir][linalg] Add makeComposedPadHighOp.

Add the makeComposedPadHighOp method which creates a new PadTensorOp if necessary. If the source to pad is actually the result of a sequence of padded LinalgOps, the method checks if padding is needed or if we can use the padded result of the padded LinalgOp sequence directly.

Example:
```
%0 = tensor.extract_slice %arg0 [%iv0, %iv1] [%sz0, %sz1]
%1 = linalg.pad_tensor %0 low[0, 0] high[...] { linalg.yield %cst }
%2 = linalg.matmul ins(...) outs(%1)
%3 = tensor.extract_slice %2 [0, 0] [%sz0, %sz1]
```
when padding %3 return %2 instead of introducing
```
%4 = linalg.pad_tensor %3 low[0, 0] high[...] { linalg.yield %cst }
```

Depends On D114161

Reviewed By: nicolasvasilache, pifon2a

Differential Revision: https://reviews.llvm.org/D114175
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/test/Dialect/Linalg/pad.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit d42a6432aa37a6b9aa7e4f5209e9679c8a4c2fbb by zarko
[NFC][clang]Inclusive language: remove remaining uses of sanity

Missed some uses of sanity check in previous commits.
The file was modifiedclang/utils/TableGen/ASTTableGen.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CoreEngine.cpp
The file was modifiedclang/utils/check_cfc/check_cfc.py
Commit b6e7b1be732d2b35c1452731883de812a818ff2a by gysit
[mlir][linalg] Simplify padding test (NFC).

The padding tests previously contained the tile loops. This revision removes the tile loops since padding itself does not consider the loops. Instead the induction variables are passed in as function arguments which promotes them to symbols in the affine expressions. Note that the pad-and-hoist.mlir test still exercises padding in the context of the full loop nest.

Depends On D114175

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114227
The file was modifiedmlir/test/Dialect/Linalg/pad.mlir
Commit bfadc5dcbfa81da00b58de5e62b569faf24538e7 by jeremy.morse
[DebugInfo][InstrRef] Cope with win32 calls changing SP in LiveDebugValues

Almost all of the time, call instructions don't actually lead to SP being
different after they return. An exception is win32's _chkstk, which which
implements stack probes. We need to recognise that as modifying SP, so
that copies of the value are tracked as distinct vla pointers.

This patch adds a target frame-lowering hook to see whether stack probe
functions will modify the stack pointer, store that in an internal flag,
and if it's true then scan CALL instructions to see whether they're a
stack probe. If they are, recognise them as defining a new stack-pointer
value.

The added test exercises this behaviour: two calls to _chkstk should be
considered as producing two different values.

Differential Revision: https://reviews.llvm.org/D114443
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
The file was addedllvm/test/DebugInfo/MIR/InstrRef/win32-chkctk-modifies-esp.mir
Commit 2897b67665d1fa1177531e78cc93b3704c5aea12 by flo
[LV] Use OrigLoop instead of induction to get function. (NFC)

Upcoming changes will result in Induction not being set/used in some
cases. Use OrigLoop to get the function instead.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 187d9979f22e9e285d501b53c0978c1e80856fa1 by dimitry
cfi: fix more -Wformat warnings

Building cfi with recent clang on a 64-bit system results in the
following warnings:

    compiler-rt/lib/cfi/cfi.cpp:233:64: warning: format specifies type 'void *' but the argument has type '__sanitizer::uptr' (aka 'unsigned long') [-Wformat]
        VReport(1, "Can not handle: symtab > strtab (%p > %zx)\n", symtab, strtab);
                                                     ~~            ^~~~~~
                                                     %lu
    compiler-rt/lib/sanitizer_common/sanitizer_common.h:231:46: note: expanded from macro 'VReport'
        if ((uptr)Verbosity() >= (level)) Report(__VA_ARGS__); \
                                                 ^~~~~~~~~~~
    compiler-rt/lib/cfi/cfi.cpp:253:59: warning: format specifies type 'void *' but the argument has type '__sanitizer::uptr' (aka 'unsigned long') [-Wformat]
        VReport(1, "Can not handle: symtab %p, strtab %zx\n", symtab, strtab);
                                           ~~                 ^~~~~~
                                           %lu
    compiler-rt/lib/sanitizer_common/sanitizer_common.h:231:46: note: expanded from macro 'VReport'
        if ((uptr)Verbosity() >= (level)) Report(__VA_ARGS__); \
                                                 ^~~~~~~~~~~

Since `__sanitizer::uptr` has the same size as `size_t`, consistently
use `%z` as a printf specifier.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D114466
The file was modifiedcompiler-rt/lib/cfi/cfi.cpp
Commit 1ad7de9e92bc2977698e5f6d6493202b50c912d5 by Saleem Abdulrasool
Headers: exclude `#include_next <stdatomic.h>` on MSVC

The 14.31.30818 toolset has the following in the `stdatomic.h`:
~~~
#ifndef __cplusplus
#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
#endif
~~~

This results in clang failing to build existing code which relied on
`stdatomic.h` in C mode on Windows.  Simply fallback to the clang header
until that header is available as a complete implementation.
The file was modifiedclang/lib/Headers/stdatomic.h
Commit 496254cf802a21e1967b61dec48017b8ec831574 by a.bataev
[SLP]Improve analysis/emission of vector operands for alternate nodes.

Compiler has an analysis for perfect diamond matching but it does not
support nodes with main/alternate opcodes. The problem is that the
scalars themselves are different and might not match directly with other
nodes, but operands and main/alternate opcodes might match and compiler
might reuse some previously emitted vector instructions. Need to include
this analysis in the cost model and actual vector instructions emission
process.

Differential Revision: https://reviews.llvm.org/D114101
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_alternate.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 7e1dc12f440b2d4aef71d790be94c65d7e2b86a2 by Stanislav.Mekhanoshin
Move some tests from instcombine to phase ordering. NFC.

Tests from D113216 are now handled by Reassociate, GVN and BDCE
passes after D114462. Moving into phase ordering instead of
instcombine.
The file was addedllvm/test/Transforms/PhaseOrdering/reassociate-gvn-bdce.ll
The file was modifiedllvm/test/Transforms/InstCombine/and-xor-or.ll
Commit 175d68dd8db5fd9d892be3db46c9a8dc601ed968 by flo
[ConstraintElimination] Add additional tests.
The file was addedllvm/test/Transforms/ConstraintElimination/and-implied-by-operands.ll
The file was addedllvm/test/Transforms/ConstraintElimination/uses-in-different-blocks.ll
The file was addedllvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition-ub-in-use-blocks.ll
Commit 3a183a49f26df2f94f985ba0790d2d89cdcdad15 by Louis Dionne
[libc++] Fix two tests that were failing in freestanding mode

We were defining `main()` but never returning from it.
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_Y.pass.cpp
The file was addedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.deprecated.verify.cpp
The file was removedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.deprecated.fail.cpp
Commit f244166c475dd3d2f9ea1be9979c1ab1a4a5ddcc by Louis Dionne
[libc++] Handle armv7m in two architecture dependent tests
The file was modifiedlibcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
Commit aa60d169ea62ee375910e684d20932519fe3f64f by apilipenko
[CVP] Add a cl::opt for canonicalization of signed relational comparisons

This canonicalization breaks the ability to discard checks in some cases.
Add a command line option to disable it. This option is on by default,
so the change is NFC.

See for details:
https://reviews.llvm.org/D112895#3149487
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 7a0584fe3fd6b342d56251e92acc437961c8d29d by Louis Dionne
[libc++] Fix backdeployment annotations for std::filesystem

In 1fa27f2a10e8, we made <filesystem>'s iterator types model concepts
from <ranges>, but we forgot to add the appropriate availability
annotations. This broke back-deployment to platforms that don't have
<filesystem> for which we have availability annotations.

For some reason, this wasn't caught by our back-deployment CI.
I believe this is due to the fact that we use a slightly older
compiler in the CI, and perhaps that compiler does not honour
our `#pragma clang attribute push` properly.

Differential Revision: https://reviews.llvm.org/D114456
The file was modifiedlibcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_bidirectional_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_forward_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_input_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp
The file was modifiedlibcxx/include/filesystem
The file was modifiedlibcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_random_access_iterator.compile.pass.cpp
Commit cd93ab8947a88470b3e1ef738a2947c0bfda667f by dblaikie
DWARFVerifier: Don't parse all units twice

Introduced/discussed in https://reviews.llvm.org/D38719

The header validation logic was also explicitly building the DWARFUnits
to validate. But then other calls, like "Units.getUnitForOffset" creates
the DWARFUnits again in the DWARFContext proper - so, let's avoid
creating the DWARFUnits twice by walking the DWARFContext's units rather
than building a new list explicitly.

This does reduce some verifier power - it means that any unit with a
header parsing failure won't get further validation, whereas the
verifier-created units were getting some further validation despite
invalid headers. I don't think this is a great loss/seems "right" in
some ways to me that if the header's invalid we should stop there.

Exposing the raw DWARFUnitVectors from DWARFContext feels a bit
sub-optimal, but gave simple access to the getUnitForOffset to keep the
rest of the code fairly similar.
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_ranges.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_stmt_list.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_lexical_block_ranges.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_debug_info.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_cu_ref.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_strp.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_cu_ranges.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_lexical_block_ranges.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_die_range.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_rnglists.yaml
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_ref_addr.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_function_ranges.yaml
The file was modifiedllvm/test/DebugInfo/X86/skeleton-unit-verify.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_invalid_ref_addr_between.yaml
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_curanges_incomplete.yaml
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_unit_header_chain.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_die_ranges.yaml
Commit 95875d246acbb47a58e621dcc54610a4a3035381 by zarko
[LLVM][NFC]Inclusive language: remove occurances of sanity check/test from llvm

Part of work to use more inclusive language in clang/llvm. Rewording
some comments and change function and variable names.
The file was modifiedllvm/lib/MCA/InstrBuilder.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/Analysis/Lint.h
The file was modifiedllvm/lib/CodeGen/TwoAddressInstructionPass.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/include/llvm/Support/RWMutex.h
The file was modifiedllvm/lib/InterfaceStub/ELFObjHandler.cpp
The file was modifiedllvm/lib/MCA/Stages/ExecuteStage.cpp
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
The file was modifiedllvm/include/llvm/Support/Mutex.h
The file was modifiedllvm/lib/IR/PassTimingInfo.cpp
The file was modifiedllvm/lib/Analysis/PHITransAddr.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h
The file was modifiedllvm/include/llvm/MCA/HardwareUnits/Scheduler.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/include/llvm/IR/Verifier.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/CodeGen/DeadMachineInstructionElim.cpp
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/IR/SafepointIRVerifier.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
Commit 68e2231f8724eec26c9fcf5c5330fae897f9435f by Louis Dionne
[libc++] Value-initialize unique_ptr's deleter_type

According to the C++ standard, the stored pointer and the stored deleter
should be value-initialized.

Differential Revision: https://reviews.llvm.org/D113612
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/default.pass.cpp
The file was modifiedlibcxx/test/support/deleter_types.h
The file was modifiedlibcxx/include/__memory/unique_ptr.h
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/nullptr.pass.cpp
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/pointer.pass.cpp
Commit cb395f66ac3ce60427ca2b99580e716ac6dd551a by antiagainst
[mlir][spirv] Change the return type for {Min|Max}VersionBase

For synthesizing an op's implementation of the generated interface
from {Min|Max}Version, we need to define an `initializer` and
`mergeAction`. The `initializer` specifies the initial version,
and `mergeAction` specifies how version specifications from
different parts of the op should be merged to generate a final
version requirements.

Previously we use the specified version enum as the type for both
the initializer and thus the final return type. This means we need
to perform `static_cast` over some hopefully not used number (`~0u`)
as the initializer. This is quite opaque and sort of not guaranteed
to work. Also, there are ops that have an enum attribute where some
values declare version requirements (e.g., enumerant `B` requires
v1.1+) but some not (e.g., enumerant `A` requires nothing). Then a
concrete op instance with `A` will still declare it implements the
version interface (because interface implementation is static for
an op) but actually theirs no requirements for version.

So this commit changes to use an more explicit `llvm::Optional`
to wrap around the returned version enum.  This should make it
more clear.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D108312
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.td
Commit 7bd87a03fdf1559569db1820abb21b6a479b0934 by ezhulenev
Promote readability by factoring out creation of min/max operation. Remove unnecessary divisions.

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D110680
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
Commit d3bb4fec2a5a698773b6b4a3758f166113aa2b8c by springerm
[mlir][linalg][bufferize][NFC] Move arith interface impl to new build target

This makes ComprehensiveBufferize entirely independent of the arith dialect.

Differential Revision: https://reviews.llvm.org/D114219
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was addedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ArithInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
The file was addedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ArithInterfaceImpl.cpp
Commit 0332d105b9ad7f1f0ffca7e78b71de8b3a48f158 by vtjnash
GlobalISel: remove assert that memcpy Src and Dst addrspace must be identical

The LangRef does not require these arguments to have the same type.

Differential Revision: https://reviews.llvm.org/D93154
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memmove.mir
Commit 23d505571d5180e497b88bde6719d6f2e9879f1a by uday
[NFC] Improve debug message in getAsIntegerSet

Improve debug message in getAsIntegerSet. Add missing trailing new line
and position info.

Differential Revision: https://reviews.llvm.org/D114511
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
Commit 8a8c655fe7c37665471d06b3e8cdff74f6b8ed3e by springerm
[mlir][SCF] Fix off-by-one bug in affine analysis

This change is NFC. There were two issues when passing/reading upper bounds into/from FlatAffineConstraints that negate each other, so the bug was not apparent. However, it made debugging harder because some constraints in the FlatAffineConstraints were off by one when dumping all constraints.

Differential Revision: https://reviews.llvm.org/D114137
The file was modifiedmlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
Commit ee1bf186723abb933b2c337e589c5958167f3cbe by springerm
[mlir][SCF] Further simplify affine maps during `for-loop-canonicalization`

* Implement `FlatAffineConstraints::getConstantBound(EQ)`.
* Inject a simpler constraint for loops that have at most 1 iteration.
* Taking into account constant EQ bounds of FlatAffineConstraint dims/symbols during canonicalization of the resulting affine map in `canonicalizeMinMaxOp`.

Differential Revision: https://reviews.llvm.org/D114138
The file was modifiedmlir/include/mlir/Analysis/AffineStructures.h
The file was modifiedmlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/test/Dialect/SCF/for-loop-canonicalization.mlir
Commit 25d173499effd978435e433196003f964293f8d9 by uday
[MLIR] Rename test/python/dialects/math.py -> math_dialect.py

Rename test/python/dialects/math.py -> math_dialect.py to avoid a
collision with a Python standard package of the same name. These test
scripts are run by path and are not part of a package. Python apparently
implicitly adds the containing directory to its PYTHONPATH. As such,
test scripts with common names run the risk of conflicting with global
names and resolution of an import for the latter happens to the former.

Differential Revision: https://reviews.llvm.org/D114568
The file was removedmlir/test/python/dialects/math.py
The file was addedmlir/test/python/dialects/math_dialect.py
Commit 371290dfd400c5c26843b9c127ae13968cafdf2e by i
[ELF] Remove unneeded DF_STATIC_TLS for EM_386 local-exec TLS

which is also untested.
The file was modifiedlld/ELF/Arch/X86.cpp
Commit 5922dd91f8db24c29d6ae3b1fd57d8b836e521bd by i
[ELF] Rename hasStaticTlsModel to hasTlsIe

and remove unneeded atomic.
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Arch/X86_64.cpp
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Arch/RISCV.cpp
The file was modifiedlld/ELF/Arch/X86.cpp
The file was modifiedlld/ELF/Arch/Hexagon.cpp
Commit 6ca8fde226e907db13bc538e721af8724f0e92d0 by i
[ELF] Emit DF_STATIC_TLS only for -shared

This matches GNU ld and saves 2 words for executables.
The file was modifiedlld/test/ELF/i386-tls-opt-iele-nopic.s
The file was modifiedlld/test/ELF/x86-64-tls-ie.s
The file was modifiedlld/test/ELF/x86-64-static-tls-model.s
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit c0e3bb4d4ba3064c42fb8e1ee9f001235d9af04c by pavel
[lldb] Fix TestFileHandle.py

- remove the decorator which is no longer available in main
- remove dependence on revision number, which are not available in all
  builds
The file was modifiedlldb/test/API/python_api/file_handle/TestFileHandle.py
Commit 8804d08e9921b86eb96e993af5d753f63f3c8829 by 1.int32
Revert "[clang][AST] Check context of record in structural equivalence."

Revert commit 6b96b2a0bf65ff838d4dbf909a5120d4d1083e29 because Windows
test failure.
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/unittests/AST/StructuralEquivalenceTest.cpp
Commit 72e4f4a2a117f97118692857d91210fc62c066b0 by mydeveloperday
[clang-format] [PR47936] AfterControlStatement: MultiLine breaks AllowShortFunctionsOnASingleLine

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

Using the MultiLine setting for BraceWrapping.AfterControlStatement appears to disable AllowShortFunctionsOnASingleLine, even in cases without any control statements

Reviewed By: HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D114521
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
Commit a5c2f7828796ce9c3e19e78fbd783fb0206b971d by springerm
[mlir][interfaces] Add insideMutuallyExclusiveRegions helper

Add a helper function to ControlFlowInterfaces for checking if two ops
are in mutually exclusive regions according to RegionBranchOpInterface.

Utilize this new helper in Linalg ComprehensiveBufferize. This makes the
analysis independent of the SCF dialect and generalizes it to other ops
that implement RegionBranchOpInterface.

Differential Revision: https://reviews.llvm.org/D114220
The file was addedmlir/unittests/Interfaces/ControlFlowInterfacesTest.cpp
The file was modifiedmlir/include/mlir/Interfaces/ControlFlowInterfaces.h
The file was modifiedmlir/lib/Interfaces/ControlFlowInterfaces.cpp
The file was modifiedmlir/unittests/Interfaces/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
Commit 467acf3b6ba27858801e8a7865a315455b92c0ee by ivan.butygin
[mlir][spirv] Float atomics should not imply Shader

Differential Revision: https://reviews.llvm.org/D114551
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
Commit cdd37e2e47f757d2130f741d8e720098bf920c40 by kadircet
[clangd] Disable hicpp-invalid-access-moved inside clangd
The file was modifiedclang-tools-extra/clangd/TidyProvider.cpp
Commit 8dae0b6b6c9a0256908820b9ef4bc04f0119666b by ivan.butygin
[mlir][spirv] arith::RemSIOp OpenCL lowering

Differential Revision: https://reviews.llvm.org/D114524
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-glsl-spirv.mlir
The file was modifiedmlir/lib/Conversion/ArithmeticToSPIRV/ArithmeticToSPIRV.cpp
The file was modifiedmlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
Commit 3e67cf21a19a0e8917bdbab6f0cecd4880f3fbe2 by tbaeder
[clang][driver] Add -fplugin-arg- to pass arguments to plugins

From GCC's manpage:
-fplugin-arg-name-key=value
   Define an argument called key with a value of value for the
   plugin called name.

Since we don't have a key-value pair similar to gcc's plugin_argument
struct, simply accept key=value here anyway and pass it along as-is to
plugins.

This translates to the already existing '-plugin-arg-pluginname arg'
that clang cc1 accepts.

There is an ambiguity here because in clang, both the plugin name
as well as the option name can contain dashes, so when e.g. passing

-fplugin-arg-foo-bar-foo

it is not clear whether the plugin is foo-bar and the option is foo,
or the plugin is foo and the option is bar-foo. GCC solves this by
interpreting all dashes as part of the option name. So dashes can't be
part of the plugin name in this case.

Differential Revision: https://reviews.llvm.org/D113250
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/docs/ClangPlugins.rst
The file was modifiedclang/docs/ReleaseNotes.rst
The file was addedclang/test/Driver/plugin-driver-args.cpp
The file was modifiedclang/test/Frontend/plugin-call-super.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/examples/CallSuperAttribute/CallSuperAttrInfo.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 3c228573bcb8833019ab443b6ef738514688c20a by pifon
Revert "[mlir][SCF] Further simplify affine maps during `for-loop-canonicalization`"

This reverts commit ee1bf186723abb933b2c337e589c5958167f3cbe.

It breaks IREE lowering. Reverting the commit for now while we
investigate what's going on.
The file was modifiedmlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
The file was modifiedmlir/test/Dialect/SCF/for-loop-canonicalization.mlir
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/include/mlir/Analysis/AffineStructures.h
Commit 48107eaa07e26f9bc5b24af2d5351793cc64db46 by springerm
[mlir][linalg][bufferize][NFC] Move SCF interface impl to new build target

This makes ComprehensiveBufferize entirely independent of the SCF dialect.

Differential Revision: https://reviews.llvm.org/D114221
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was addedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.cpp
The file was addedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
Commit 3a700cabdcbadb2a1a5961fd380a103cd7f867b3 by david.green
[SDAG] Allow Unknown sizes when refining MMO alignments. NFC

The changes in D113888 / 32b6c17b29079e7d altered the memory size of a
masked store, as it will store an unknown number of bytes not the full
vector size. We can have situations where the masked stores is legalized
and then turned to a normal store, as the mask is known to be all ones.
This creates a store with an unknown size MMO that was hitting this
assert.

The store created can be given a better size in a followup patch. This
currently adjusts the assert to handle unknown sizes.
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
Commit e2cad4df22a6a411e7f7fcbc9bff0bd789545136 by kadircet
[clangd] Add ObjC method support to prepareCallHierarchy

This fixes "textDocument/prepareCallHierarchy" in clangd for ObjC methods. Details at https://github.com/clangd/vscode-clangd/issues/247.

clangd uses Decl::isFunctionOrFunctionTemplate to check if the decl given in a prepareCallHierarchy request is eligible for prepareCallHierarchy. We change to use isFunctionOrMethod which includes functions and ObjC methods.

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D114058
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CallHierarchyTests.cpp
Commit ed7c1fb9b099193f0edafb58df2b2a91f561d6c2 by gysit
[mlir][linalg] Add backward slice filtering in hoist padding.

Adapt hoist padding to filter the backward slice before cloning the packing loop nest. The filtering removes all operations that are not used to index the hoisted pad tensor op and its extract slice op. The filtering is needed to support the more complex loop nests created after fusion. For example, fusing the producer of an output operand can added linalg ops and pad tensor ops to the backward slice. These operations have regions and currently prevent hoisting.

The following example demonstrates the effect of the newly introduced `dropNonIndexDependencies` method that filters the backward slice:
```
%source = linalg.fill(%cst, %arg0)
scf.for %i
  %unrelated = linalg.fill(%cst, %arg1)    // not used to index %source!
  scf.for %j (%arg2 = %unrelated)
    scf.for %k                             // not used to index %source!
      %ubi = affine.min #map(%i)
      %ubj = affine.min #map(%j)
      %slice = tensor.extract_slice %source [%i, %j] [%ubi, %ubj]
      %padded_slice = linalg.pad_tensor %slice
```
dropNonIndexDependencies(%padded_slice, %slice)
removes [scf.for %k, linalg.fill(%cst, %arg1)] from backwardSlice.

Depends On D114175

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114420
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
The file was modifiedmlir/test/Dialect/Linalg/pad-and-hoist.mlir
Commit fd723eaa9254c2cdad2afade2e3bf0c4064675c6 by gysit
[mlir][linalg] Limit hoist padding to constant paddings.

Limit hoist padding to pad tensor ops that depend only on a constant value. Supporting arbitrary padding values that depend on computations part of the backward slice to hoist require complex analysis to ensure the computation can be hoisted.

Depends On D114420

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114428
The file was modifiedmlir/test/Dialect/Linalg/pad-and-hoist.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
Commit 4b03906346a89b8c7e96b5ffe762183fb0fff7cd by gysit
[mlir][linalg] Perform checks early in hoist padding.

Instead of checking for unexpected operations (any operation with a region except for scf::For and `padTensorOp` or operations with a memory effect) while cloning the packing loop nest perform the checks early. Update `dropNonIndexDependencies` to check for unexpected operations. Additionally, check all of these operations have index type operands only.

Depends On D114428

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114438
The file was modifiedmlir/test/Dialect/Linalg/pad-and-hoist.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
Commit 43dc6d5d57d7e24d6d965ceac9fa9d292322d922 by gysit
[mlir][linalg] Cleanup hoisting test (NFC).

Rename the check prefixes to HOIST21 and HOIST32 to clarify the different flag configurations.

Depends On D114438

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114442
The file was modifiedmlir/test/Dialect/Linalg/pad-and-hoist.mlir
Commit 57470abc412520762ca35c6c34c235e548e7d0a6 by pifon
[mlir] Move memref.[tensor_load|buffer_cast|clone] to "bufferization" dialect.

https://llvm.discourse.group/t/rfc-dialect-for-bufferization-related-ops/4712

Differential Revision: https://reviews.llvm.org/D114552
The file was modifiedmlir/test/Dialect/MemRef/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Arithmetic/Transforms/Passes.td
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/conversion_sparse2dense.mlir
The file was modifiedmlir/test/Transforms/buffer-deallocation.mlir
The file was modifiedmlir/docs/Bufferization.md
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/TensorConstantBufferize.cpp
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
The file was modifiedmlir/lib/Dialect/SCF/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefBase.td
The file was modifiedmlir/test/Transforms/finalizing-bufferize.mlir
The file was modifiedmlir/test/Dialect/SCF/bufferize.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cast.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/Bufferize.cpp
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was addedmlir/test/Dialect/Bufferization/canonicalize.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_lower.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_vector_ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/Transforms/Passes.td
The file was modifiedmlir/test/Dialect/Linalg/bufferize.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Vector/VectorTransferPermutationMapRewritePatterns.cpp
The file was modifiedmlir/lib/Dialect/Tensor/Transforms/PassDetail.h
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions.mlir
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was modifiedmlir/test/Dialect/Arithmetic/bufferize.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/FuncBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
The file was modifiedmlir/docs/BufferDeallocationInternals.md
The file was addedmlir/test/Dialect/Bufferization/ops.mlir
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/test/Dialect/Shape/bufferize.mlir
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_mm_fusion.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_scalars.mlir
The file was modifiedmlir/lib/Transforms/BufferDeallocation.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/PassDetail.h
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
The file was modifiedmlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_nd.mlir
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/Transforms/Passes.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
The file was modifiedmlir/test/Dialect/Standard/bufferize.mlir
The file was modifiedmlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRef.h
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/PassDetail.h
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/lib/Transforms/Bufferize.cpp
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_vector_chain.mlir
The file was modifiedmlir/test/Dialect/Standard/tensor-constant-bufferize.mlir
The file was addedmlir/lib/Dialect/Bufferization/IR/BufferizationDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/Passes.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_int_ops.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matrix_ops.mlir
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/lib/Dialect/Arithmetic/Transforms/PassDetail.h
The file was modifiedmlir/test/Dialect/MemRef/ops.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_perm.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_quantized_matmul.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
The file was modifiedmlir/lib/Dialect/SCF/Transforms/PassDetail.h
The file was modifiedmlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/Bufferization.h
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_1d.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
The file was modifiedmlir/test/Dialect/Tensor/bufferize.mlir
The file was modifiedmlir/lib/Dialect/SCF/Transforms/Bufferize.cpp
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_affine.mlir
The file was addedmlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_3d.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
The file was modifiedmlir/test/Dialect/Standard/func-bufferize.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_2d.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/dense.mlir
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_perm_lower.mlir
The file was modifiedmlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_kernels.mlir
The file was modifiedmlir/lib/Dialect/Shape/Transforms/PassDetail.h
The file was modifiedmlir/test/Dialect/Linalg/lower-pad-tensor.mlir
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/lib/Dialect/Arithmetic/Transforms/Bufferize.cpp
Commit c94667a810e44c44fd355f9f014ffe161d75d761 by mydeveloperday
[clang-format] [PR52595] clang-format does not recognize rvalue references to array

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

missing space between `T(&&)` but not between `T (&` due to && being incorrectly thought of as `UnaryOperator`  rather than `PointerOrReference`

```
int operator()(T (&)[N]) { return 0; }
int operator()(T(&&)[N]) { return 1; }
```

Existing Unit tests are changed because actually I think they are originally incorrect, and are inconsistent with the (&) cases that are 4 or 5 lines above them.

Reviewed By: curdeius

Differential Revision: https://reviews.llvm.org/D114519
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit d44f2a6db2c71be04a588431a8ffb80d2d9e76f1 by mydeveloperday
[clang-format]NFC improve the comment to match the code

Missing from {D114519}
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 63b1e58f0738cc9977b47f947679ef5544808b73 by llvm-dev
[DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl (REAPPLIED)

If we only demand bits from one half of a rotation pattern, see if we can simplify to a logical shift.

For the ARM/AArch64 rev16/32 patterns, I had to drop a fold to prevent srl(bswap()) -> rotr(bswap) -> srl(bswap) infinite loops. I've replaced this with an isel PatFrag which should do the same task.

Reapplied with fix for AArch64 rev patterns to matching the ARM fix.

https://alive2.llvm.org/ce/z/iroxki (rol -> shl by amt iff demanded bits has at least as many trailing zeros as the shift amount)
https://alive2.llvm.org/ce/z/4ez_U- (ror -> shl by revamt iff demanded bits has at least as many trailing zeros as the reverse shift amount)
https://alive2.llvm.org/ce/z/cD7dR- (ror -> lshr by amt iff demanded bits has at least as many leading zeros as the shift amount)
https://alive2.llvm.org/ce/z/_XGHtQ (rol -> lshr by revamt iff demanded bits has at least as many leading zeros as the reverse shift amount)

Differential Revision: https://reviews.llvm.org/D114354
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb.td
The file was modifiedllvm/test/CodeGen/X86/rotate_vec.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-512.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
Commit a6fedbf20c8f87061f333169120790e2c6f22806 by pavel
[lldb/gdb-remote] Remove initial pipe-draining workaround

This code, added in rL197579 (Dec 2013) is supposed to work around what
was presumably a qemu bug, where it would send unsolicited stop-reply
packets after the initial connection.

At present, qemu does not exhibit such behavior. Also, the 10ms delay
introduced by this code is sufficient to mask bugs in other stubs, but
it is not sufficient to *reliably* mask those bugs. This resulted in
flakyness in one of our stubs, which was (incorrectly) sending a +
packet at the start of the connection, resulting in a small-but-annoying
number of dropped connections.

Differential Revision: https://reviews.llvm.org/D114529
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 165545c7a431aa3682fd9468014771c1c5228226 by pavel
[lldb/gdb-remote] Ignore spurious ACK packets

Although I cannot find any mention of this in the specification, both
gdb and lldb agree on sending an initial + packet after establishing the
connection.

OTOH, gdbserver and lldb-server behavior is subtly different. While
lldb-server *expects* the initial ack, and drops the connection if it is
not received, gdbserver will just ignore a spurious ack at _any_ point
in the connection.

This patch changes lldb's behavior to match that of gdb. An ACK packet
is ignored at any point in the connection (except when expecting an ACK
packet, of course). This is inline with the "be strict in what you
generate, and lenient in what you accept" philosophy, and also enables
us to remove some special cases from the server code. I've extended the
same handling to NAK (-) packets, mainly because I don't see a reason to
treat them differently here.

(The background here is that we had a stub which was sending spurious
+ packets. This bug has since been fixed, but I think this change makes
sense nonetheless.)

Differential Revision: https://reviews.llvm.org/D114520
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteCommunicationTest.cpp
Commit c2fe2b5a63bb7ec82d0a221bd144f6ce04661f90 by mydeveloperday
[clang-format] [C++20] [Module] clang-format couldn't recognize partitions

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

clang-format is butchering modules, this could easily become a barrier to entry for modules given clang-formats wide spread use.

Prevent the following from adding spaces around the  `:`  (cf was considering the ':' as an InheritanceColon)

Reviewed By: HazardyKnusperkeks, owenpan, ChuanqiXu

Differential Revision: https://reviews.llvm.org/D114151
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.h
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
Commit 59e4a6708152b42a55653bd8a44a6e0781fd4caf by kbobyrev
[clangd] Move IncludeCleaner tracer to the actual computation

This way we won't get results with 0 ms for all the users with disabled
IncludeCleaner.
The file was modifiedclang-tools-extra/clangd/IncludeCleaner.cpp
Commit 7f7dac712694ed661b2e774573b9ee1f99208882 by zarko
[NFC][llvm] Inclusive language: reword uses of sanity test and check

Part of continuing work to use more inclusive language. Reworded uses
of sanity check and sanity test in llvm/test/
The file was modifiedllvm/test/CodeGen/ARM/returned-ext.ll
The file was modifiedllvm/test/CodeGen/RISCV/compress-float.ll
The file was modifiedllvm/test/Transforms/Mem2Reg/PromoteMemToRegister.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll
The file was modifiedllvm/test/Transforms/Inline/last-callsite.ll
The file was modifiedllvm/test/tools/llvm-readobj/COFF/arm64-win-error2.s
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/minimal-throw-catch.ll
The file was modifiedllvm/test/tools/llvm-symbolizer/relativenames.s
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/minimal.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest4.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll
The file was modifiedllvm/test/CodeGen/X86/codegen-prepare-replacephi.mir
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/tail-merged-string-tables.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/invalid-e_shoff.test
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest3.ll
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hex-dump.test
The file was modifiedllvm/test/CodeGen/RISCV/rv32i-rv64i-half.ll
The file was modifiedllvm/test/ThinLTO/X86/guid_collision.ll
The file was modifiedllvm/test/Transforms/InstCombine/gep-inbounds-null.ll
The file was modifiedllvm/test/CodeGen/X86/codegen-prepare-replacephi2.mir
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/no-strip-all.test
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/single-function-call.ll
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/phi.ll
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-sections.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-unneeded-all-symbols.test
The file was modifiedllvm/test/CodeGen/X86/statepoint-stackmap-format.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/returned.ll
The file was modifiedllvm/test/CodeGen/X86/setuge.ll
The file was modifiedllvm/test/Transforms/SCCP/apfloat-basictest.ll
The file was modifiedllvm/test/CodeGen/RISCV/compress.ll
The file was modifiedllvm/test/MC/RISCV/rv32e-invalid.s
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest.ll
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/invalid-e_phoff.test
The file was modifiedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/Bitcode/function-encoding-rel-operands.ll
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-symbols.test
The file was modifiedllvm/test/CodeGen/RISCV/rv32i-rv64i-float-double.ll
The file was modifiedllvm/test/CodeGen/X86/cmov-into-branch.ll
The file was modifiedllvm/test/Analysis/MemorySSA/function-mem-attrs.ll
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/shared-strtab-shstrtab.s
The file was modifiedllvm/test/Transforms/SCCP/sccptest.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest2.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll
The file was modifiedllvm/test/MC/X86/AlignedBundling/single-inst-bundling.s
The file was modifiedllvm/test/tools/dsymutil/X86/reproducer.test
The file was modifiedllvm/test/Transforms/Inline/cgscc-update.ll
The file was modifiedllvm/test/CodeGen/X86/mmx-arith.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/loop-predication.ll
The file was modifiedllvm/test/tools/llvm-nm/format-bsd.test
The file was modifiedllvm/test/MC/RISCV/rv32e-valid.s
The file was modifiedllvm/test/Transforms/DeadStoreElimination/atomic.ll
The file was modifiedllvm/test/Transforms/FunctionImport/funcimport_resolved.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-calling-conv.ll
The file was modifiedllvm/test/tools/llvm-ar/full-path-option.test
The file was modifiedllvm/test/Transforms/DeadStoreElimination/atomic-todo.ll
Commit 35c1e6ac1af0f3c61c756cb30a2c99d8775da4c6 by aqjune
[MLIR] [docs] Fix misguided examples in memref.subview operation.

The examples in `memref.subview` operation are misguided in that subview's strides operands mean "memref-rank number of strides that compose multiplicatively with the base memref strides in each dimension.".
So the below examples should be changed from `Strides: [64, 4, 1]` to `Strides: [1, 1, 1]`

Before changes
```
// Subview with constant offsets, sizes and strides.
%1 = memref.subview %0[0, 2, 0][4, 4, 4][64, 4, 1]
  : memref<8x16x4xf32, (d0, d1, d2) -> (d0 * 64 + d1 * 4 + d2)> to
    memref<4x4x4xf32, (d0, d1, d2) -> (d0 * 64 + d1 * 4 + d2 + 8)>
```

After changes
```
// Subview with constant offsets, sizes and strides.
%1 = memref.subview %0[0, 2, 0][4, 4, 4][1, 1, 1]
  : memref<8x16x4xf32, (d0, d1, d2) -> (d0 * 64 + d1 * 4 + d2)> to
    memref<4x4x4xf32, (d0, d1, d2) -> (d0 * 64 + d1 * 4 + d2 + 8)>
```

Also I fixed some syntax issues in docs related with memref layout map and added detailed explanation in subview rank reducing case.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D114500
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
Commit 4675a1654cb3a3a528ceb4021d94c6cbe143b64a by a.bataev
Revert "[SLP]Improve analysis/emission of vector operands for alternate nodes."

This reverts commit 496254cf802a21e1967b61dec48017b8ec831574 to fix
compiler crashes reported in D114101#3152982.
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_alternate.ll
Commit a25e08dd3ca265c0150a7b49537fee26b269c446 by llvm-dev
[PowerPC/ Regenerate fp128-bitcast-after-operation test checks
The file was modifiedllvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
Commit 6eca1957eeee0a0c12c4b7156f58b184630e2118 by tpopp
Don't store nullptrs in mlir::FuncOp::getAll*Attrs' result

These methods for results and arguments would create an ArrayRef full
of nullptrs when there were no argument attributes. This is problematic
because this result could not be passed to the FuncOp::build creator
without causing a segfault. Now the list will have empty attributes.

Differential Revision: https://reviews.llvm.org/D114358
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
Commit 36cb7477d1d43de1d97a4c2b4ba0eb5ae29cbafd by AlokKumar.Sharma
[clang][OpenMP][DebugInfo] Debug support for private variables inside an OpenMP task construct

Currently variables appearing inside private/firstprivate/lastprivate
clause of openmp task construct are not visible inside lldb debugger.
This is because compiler does not generate debug info for it.

Please consider the testcase debug_private.c attached with patch.

```
   28   #pragma omp task shared(res) private(priv1, priv2) firstprivate(fpriv)
   29       {
   30         priv1 = n;
   31         priv2 = n + 2;
   32         printf("Task n=%d,priv1=%d,priv2=%d,fpriv=%d\n",n,priv1,priv2,fpriv);
   33
-> 34         res = priv1 + priv2 + fpriv + foo(n - 1);
   35       }
   36   #pragma omp taskwait
   37       return res;
(lldb) p priv1
error: <user expression 0>:1:1: use of undeclared identifier 'priv1'
priv1
^
(lldb) p priv2
error: <user expression 1>:1:1: use of undeclared identifier 'priv2'
priv2
^
(lldb) p fpriv
error: <user expression 2>:1:1: use of undeclared identifier 'fpriv'
fpriv
^
```

After the current patch, lldb is able to show the variables

```
(lldb) p priv1
(int) $0 = 10
(lldb) p priv2
(int) $1 = 12
(lldb) p fpriv
(int) $2 = 14
```

Reviewed By: djtodoro

Differential Revision: https://reviews.llvm.org/D114504
The file was addedclang/test/OpenMP/debug_private.c
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit e6cca3125dec12fd4d2ac2cd8081a9b7654dbc93 by david.green
[ARM] Add fptosi.sat variants of the fixed point vcvt tests. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcvt-float-to-fixed.ll
Commit 102d2a8a99057b2f54ca97661f862e33d055171a by jeremy.morse
[DebugInfo][InstrRef] Track variable assignments in out-of-scope blocks

DBG_INSTR_REF's and  DBG_VALUE's can end up in blocks that aren't in the
lexical scope of their variable. It's arguable as to what we should do
about this, however VarLocBasedLDV permits such variable locations to be
propagated, so let's allow it in InstrRefBasedLDV.

It's necessary for the modified test to work.

Differential Revision: https://reviews.llvm.org/D114578
The file was modifiedllvm/test/DebugInfo/X86/stack-value-dwarf2.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit 890e3c55b5d4900eadda98b7a20c74cdd0fa4507 by zarko
[llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions.cmake but use old option name

Retry at https://reviews.llvm.org/D113689, this time with using the old option name
to support older versions of clang.

Reviewed By: bjope

Differential Revision: https://reviews.llvm.org/D114033
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
The file was addedllvm/utils/sanitizers/ubsan_ignorelist.txt
The file was removedllvm/utils/sanitizers/ubsan_blacklist.txt
Commit fbb61adb70a36c95568dd9d6ebf464c432767eff by david.green
[ARM] Convert fptoi.sat to fixed point multiply

This is a very small addition to the existing MVE fixed point vcvt code
to also create them from FP_TO_SINT_SAT and FP_TO_UINT_SAT nodes, which
should be equally valid for native saturating converts under MVE.

Differential Revision: https://reviews.llvm.org/D114360
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcvt-float-to-fixed.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
Commit d841086ae62118408e4211685c3e2f5fff0021b5 by dvyukov
tsan: enable -msse4 when compiling tests

Vector SSE accesses make compiler emit __tsan_[unaligned_]read/write16 callbacks.
Make it possible to test these.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114591
The file was modifiedcompiler-rt/test/tsan/CMakeLists.txt
Commit 5cac2b956bcf42495a2253443502fb73dbb43c3d by dvyukov
tsan: add a test for vector memory accesses

Add a basic test that checks races between vector/non-vector
read/write accesses of different sizes/offsets in different orders.
This gives coverage of __tsan_read/write16 callbacks.

Depends on D114591.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114592
The file was addedcompiler-rt/test/tsan/vector_race.cpp
The file was modifiedcompiler-rt/test/tsan/test.h
Commit debac0ef37d865d3a61d9abacdd096a676f1819d by dvyukov
tsan: add a benchmark for vector memory accesses

Depends on D114592.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114593
The file was modifiedcompiler-rt/test/tsan/bench_memory_access.cpp
Commit b584741d06ef01b7497d58776e225aa189528968 by dvyukov
tsan: fix Java heap block begin in reports

We currently use a wrong value for heap block
(only works for C++, but not for Java).
Use the correct value (we already computed it before, just forgot to use).

Depends on D114593.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114595
The file was modifiedcompiler-rt/test/tsan/java_symbolization.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit 976bb4724c04ef7570d49a0639bba270128bd72c by dvyukov
tsan: fix another potential deadlock in fork

Linux/fork_deadlock.cpp currently hangs in debug mode in the following stack.
Disable memory access handling in OnUserAlloc/Free around fork.

1  0x000000000042c54b in __sanitizer::internal_sched_yield () at sanitizer_linux.cpp:452
2  0x000000000042da15 in __sanitizer::StaticSpinMutex::LockSlow (this=0x57ef02 <__sanitizer::internal_allocator_cache_mu>) at sanitizer_mutex.cpp:24
3  0x0000000000423927 in __sanitizer::StaticSpinMutex::Lock (this=0x57ef02 <__sanitizer::internal_allocator_cache_mu>) at sanitizer_mutex.h:32
4  0x000000000042354c in __sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::GenericScopedLock (this=this@entry=0x7ffcabfca0b8, mu=0x1) at sanitizer_mutex.h:367
5  0x0000000000423653 in __sanitizer::RawInternalAlloc (size=size@entry=72, cache=cache@entry=0x0, alignment=8, alignment@entry=0) at sanitizer_allocator.cpp:52
6  0x00000000004235e9 in __sanitizer::InternalAlloc (size=size@entry=72, cache=0x1, cache@entry=0x0, alignment=4, alignment@entry=0) at sanitizer_allocator.cpp:86
7  0x000000000043aa15 in __sanitizer::SymbolizedStack::New (addr=4802655) at sanitizer_symbolizer.cpp:45
8  0x000000000043b353 in __sanitizer::Symbolizer::SymbolizePC (this=0x7f578b77a028, addr=4802655) at sanitizer_symbolizer_libcdep.cpp:90
9  0x0000000000439dbe in __sanitizer::(anonymous namespace)::StackTraceTextPrinter::ProcessAddressFrames (this=this@entry=0x7ffcabfca208, pc=4802655) at sanitizer_stacktrace_libcdep.cpp:36
10 0x0000000000439c89 in __sanitizer::StackTrace::PrintTo (this=this@entry=0x7ffcabfca2a0, output=output@entry=0x7ffcabfca260) at sanitizer_stacktrace_libcdep.cpp:109
11 0x0000000000439fe0 in __sanitizer::StackTrace::Print (this=0x18) at sanitizer_stacktrace_libcdep.cpp:132
12 0x0000000000495359 in __sanitizer::PrintMutexPC (pc=4802656) at tsan_rtl.cpp:774
13 0x000000000042e0e4 in __sanitizer::InternalDeadlockDetector::Lock (this=0x7f578b1ca740, type=type@entry=2, pc=pc@entry=4371612) at sanitizer_mutex.cpp:177
14 0x000000000042df65 in __sanitizer::CheckedMutex::LockImpl (this=<optimized out>, pc=4) at sanitizer_mutex.cpp:218
15 0x000000000042bc95 in __sanitizer::CheckedMutex::Lock (this=0x600001000000) at sanitizer_mutex.h:127
16 __sanitizer::Mutex::Lock (this=0x600001000000) at sanitizer_mutex.h:165
17 0x000000000042b49c in __sanitizer::GenericScopedLock<__sanitizer::Mutex>::GenericScopedLock (this=this@entry=0x7ffcabfca370, mu=0x1) at sanitizer_mutex.h:367
18 0x000000000049504f in __tsan::TraceSwitch (thr=0x7f578b1ca980) at tsan_rtl.cpp:656
19 0x000000000049523e in __tsan_trace_switch () at tsan_rtl.cpp:683
20 0x0000000000499862 in __tsan::TraceAddEvent (thr=0x7f578b1ca980, fs=..., typ=__tsan::EventTypeMop, addr=4499472) at tsan_rtl.h:624
21 __tsan::MemoryAccessRange (thr=0x7f578b1ca980, pc=4499472, addr=135257110102784, size=size@entry=16, is_write=true) at tsan_rtl_access.cpp:563
22 0x000000000049853a in __tsan::MemoryRangeFreed (thr=thr@entry=0x7f578b1ca980, pc=pc@entry=4499472, addr=addr@entry=135257110102784, size=16) at tsan_rtl_access.cpp:487
23 0x000000000048f6bf in __tsan::OnUserFree (thr=thr@entry=0x7f578b1ca980, pc=pc@entry=4499472, p=p@entry=135257110102784, write=true) at tsan_mman.cpp:260
24 0x000000000048f61f in __tsan::user_free (thr=thr@entry=0x7f578b1ca980, pc=4499472, p=p@entry=0x7b0400004300, signal=true) at tsan_mman.cpp:213
25 0x000000000044a820 in __interceptor_free (p=0x7b0400004300) at tsan_interceptors_posix.cpp:708
26 0x00000000004ad599 in alloc_free_blocks () at fork_deadlock.cpp:25
27 __tsan_test_only_on_fork () at fork_deadlock.cpp:32
28 0x0000000000494870 in __tsan::ForkBefore (thr=0x7f578b1ca980, pc=pc@entry=4904437) at tsan_rtl.cpp:510
29 0x000000000046fcb4 in syscall_pre_fork (pc=1) at tsan_interceptors_posix.cpp:2577
30 0x000000000046fc9b in __sanitizer_syscall_pre_impl_fork () at sanitizer_common_syscalls.inc:3094
31 0x00000000004ad5f5 in myfork () at syscall.h:9
32 main () at fork_deadlock.cpp:46

Depends on D114595.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114597
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Commit 68e7e76a9be022427e572101cde4e00203c9af46 by joeloser93
[libc++] Fix constraints for string_view's iterator/sentinel constructor

The `string_view` constructor taking an iterator/sentinel uses concepts
instead of type traits like the Standard states. Using `same_as` instead
of `is_same_v` should be harmless. Prefer `std::is_same_v` instead which is
cheaper to compile. Replace `convertible_to` with `is_convertible_v` as
well.

This observation came up while working on
https://reviews.llvm.org/D113161

Differential Revision: https://reviews.llvm.org/D114561
The file was modifiedlibcxx/include/string_view
Commit 3e7452a812fa06c5eaae7d089891489222417e92 by joeloser93
[libc++] Avoid overload resolution in path comparison operators

Rework `std::filesystem::path::operator==` and friends to avoid overload
resolution and atomic constraint caching issues shown from
https://reviews.llvm.org/D113161.

Always call `__compare(string_view)` from the comparison operators which avoids
overload resolution.

Differential Revision: https://reviews.llvm.org/D114570
The file was modifiedlibcxx/include/filesystem
Commit bfd5dd1568430a6c1500ed400c4de6028f6a2f3d by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/lib/CodeGen/LocalStackSlotAllocation.cpp
The file was modifiedllvm/lib/CodeGen/CriticalAntiDepBreaker.cpp
The file was modifiedllvm/lib/CodeGen/LiveRangeEdit.cpp
The file was modifiedllvm/lib/CodeGen/DeadMachineInstructionElim.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit c3dc6b081da6ba503e67d260033f81f61eb38ea3 by quinn.pham
[NFC][clang-tools-extra] Inclusive language: replace master with main

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with main in `SubModule2.h`.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D114100
The file was modifiedclang-tools-extra/test/modularize/SubModule2.h
Commit 71a7c55f0f021b04b9a7303d0cd391b9161cf303 by Daniel.McIntosh
Revert "[ThreadPool] Support returning futures with results."

This reverts commit 6149e57dc1313d32c85524f8009a1249e0b8f4d1.

The offending commit broke building with LLVM_ENABLE_THREADS=OFF.
The file was modifiedllvm/lib/Support/ThreadPool.cpp
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
The file was modifiedllvm/unittests/Support/ThreadPool.cpp
Commit 66d4ce7e26a5ab00f7e4946b6e1bac8f805010fa by dvyukov
tsan: new runtime (v3)

This change switches tsan to the new runtime which features:
- 2x smaller shadow memory (2x of app memory)
- faster fully vectorized race detection
- small fixed-size vector clocks (512b)
- fast vectorized vector clock operations
- unlimited number of alive threads/goroutimes

Depends on D112602.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D112603
The file was removedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_shadow.h
The file was modifiedcompiler-rt/test/tsan/memcmp_race.cpp
The file was modifiedcompiler-rt/lib/tsan/check_analyze.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/test/tsan/bench_threads.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_flags_test.cpp
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp
The file was modifiedcompiler-rt/test/tsan/free_race2.c
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_stack_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp
The file was modifiedcompiler-rt/test/tsan/memcpy_race.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
Commit 1db1cb028db5f8af3a5bd5c264991791ae55f5f8 by lei
[CMake] Add new cmake option to control adding comments in GenDAGISel

Add new cmake option `LLVM_OMIT_DAGISEL_COMMENTS` to control adding
of comments in GenDAGISel for none debug builds

Ref: https://reviews.llvm.org/D78884

Reviewed By: nemanjai, MaskRay, #powerpc

Differential Revision: https://reviews.llvm.org/D114122
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/cmake/modules/TableGen.cmake
Commit 151a7dafd31683c8db933a6a03e305184e1218f9 by Louis Dionne
[libc++] Fix ssize test that made an assumption about ptrdiff_t being 'long'

On some platforms like armv7m, the size() method of containers returns
unsigned long, while ptrdiff_t is just int. Hence, std::ssize_t ends up
being long, which is not the same as ptrdiff_t. This is usually not an
issue because std::ptrdiff_t is long, so everything works out, but it
breaks on some more exotic architectures.

Differential Revision: https://reviews.llvm.org/D114563
The file was modifiedlibcxx/test/std/iterators/iterator.container/ssize.pass.cpp
Commit 1aab5e653d2cf8b147748d014c5fb513a4670418 by kosov.pavel
[LLDB] Provide target specific directories to libclang

On Linux some C++ and C include files reside in target specific directories, like /usr/include/x86_64-linux-gnu.
Patch adds them to libclang, so LLDB jitter has more chances to compile expression.

OS Laboratory. Huawei Russian Research Institute. Saint-Petersburg

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D110827
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/unittests/Expression/CppModuleConfigurationTest.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
Commit 34303d3db78fc62c74ff47557d07e4dac5c8c2d4 by quinn.pham
[NFC][llvm] Inclusive language: replace master with main in dbg-call-site-spilled-arg.mir

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with main in `dbg-call-site-spilled-arg.mir`.

Reviewed By: ZarkoCA

Differential Revision: https://reviews.llvm.org/D114097
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir
Commit 150681f2f3220ee6e00377cdcc0c97ee0abc63ba by amy.kwan1
[PowerPC] Prevent the optimizer from producing wide vector types in IR.

This patch prevents the optimizer from producing wide vectors in the IR,
specifically the MMA types (v256i1, v512i1). The idea is that on Power, we only
want to be producing these types only if the vector_pair and vector_quad types
are used specifically.

To prevent the optimizer from producing these types in the IR,
vectorCostAdjustmentFactor() is updated to return an instruction cost factor or
an invalid instruction cost if the current type is that of an MMA type. An
invalid instruction cost returned by this function signifies to other cost
computing functions to return the maximum instruction cost to inform the
optimizer that producing these types within the IR is expensive, and should not
be produced in the first place.

This issue was first seen in the test case included within this patch.

Differential Revision: https://reviews.llvm.org/D113900
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was addedllvm/test/Transforms/PGOProfile/ppc-prevent-mma-types.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
Commit c89fc1eec3fd3cc358c7e350feb2f69ecaf0e63c by uday
[MLIR] NFC. Rename MLIR CAPI ExecutionEngine target for consistency

Rename MLIR CAPI ExecutionEngine target for consistency:
MLIRCEXECUTIONENGINE -> MLIRCAPIExecutionEngine in line with other
targets.

Differential Revision: https://reviews.llvm.org/D114596
The file was modifiedmlir/test/CAPI/CMakeLists.txt
The file was modifiedmlir/python/CMakeLists.txt
The file was modifiedmlir/lib/CAPI/ExecutionEngine/CMakeLists.txt
Commit 5c162ec54520114afd9ff0a53bcc5876747d4e94 by quinn.pham
[NFC][compiler-rt] Inclusive language: replace master/slave with primary/secondary

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master and slave with primary and secondary respectively in
`sanitizer_mac.cpp`.

Reviewed By: ZarkoCA

Differential Revision: https://reviews.llvm.org/D114255
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
Commit 3c8666ef9a21e4646e428e4c8b5c6d4453042047 by mydeveloperday
[clang-format] NFC update LLVM overall clang-formatted status

Whilst the % clang-formatted remains the same, the number
of files added to the LLVM project has risen by almost by 259.

- 190 of them have been added clang-format clean.
- 69 files have been added unformatted. (lit tests should be excluded from this number)

- 291 files have been added to the list of files that are clang-format clean
- 101 files have either become unclean or have been removed

As this updates the clang-formatted-files there are now
8139 files that are clean which we can be used as a regression test when making changes to clang-format.

```
clang-format -verbose -n -files ./clang/docs/tools/clang-formatted-files.txt
```
The file was modifiedclang/docs/ClangFormattedStatus.rst
The file was modifiedclang/docs/tools/clang-formatted-files.txt
Commit a712b661eb94cd6f72abf024fe4b6d6e677cb1bd by quinn.pham
[NFC][llvm] Inclusive language: replace master in llvm docs

[NFC] As part of using inclusive language within the llvm project, this patch
removes instances of master in these files.

Reviewed By: ZarkoCA

Differential Revision: https://reviews.llvm.org/D114187
The file was modifiedllvm/docs/Projects.rst
The file was modifiedllvm/docs/PDB/index.rst
The file was modifiedllvm/docs/TableGen/ProgRef.rst
Commit 813d486cbc99836ea4e75996e2667cb38f7113a8 by mydeveloperday
[clang-format] Extend AllowShortBlocksOnASingleLine for else blocks

Extend AllowShortBlocksOnASingleLine for else blocks. See https://bugs.llvm.org/show_bug.cgi?id=49722

Reviewed By: HazardyKnusperkeks, owenpan, MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D114320
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 8cb1af73c6171be009bf06b4a0d569d3882923ad by flo
Recommit [ThreadPool] Support returning futures with results.

This reverts commit 71a7c55f0f021b04b9a7303d0cd391b9161cf303.

The revert broken building llvm-reduce and it is not clear it fixes an
issue with LLVM_ENABLE_THREADS=OFF.

See discussion in https://reviews.llvm.org/D114183 for more details.
The file was modifiedllvm/unittests/Support/ThreadPool.cpp
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
The file was modifiedllvm/lib/Support/ThreadPool.cpp
Commit 0796869e4e1e517a0f77f8e84d94e1e3525b1061 by Jake.Egan
[AIX] Disable unsupported offloading gpu tests

GPUs are not supported on AIX, so this patch sets these tests as unsupported.

Reviewed By: stevewan

Differential Revision: https://reviews.llvm.org/D114381
The file was modifiedclang/test/Driver/clang-offload-bundler-asserts-on.c
The file was modifiedclang/test/Driver/clang-offload-bundler.c
The file was modifiedclang/test/Driver/openmp-offload-gpu.c
Commit cc311a155aa9e3d7ba67ec6d65948952a314c307 by nicolas.vasilache
[mlir][Vector] Support 0-D vectors in `VectorPrintOpConversion`

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114549
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
Commit bc41653a1f289a63a1472b7364437515c9659f77 by flo
[ThreadPool] Use auto again for future with ENABLE_THREADS=Off.

This fixes a build failure with LLVM_ENABLE_THREADS=Off.
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
Commit ebfeeec4c4bcc4373e5d5dfaff7ee75959a7c931 by Louis Dionne
[libunwind] Fix testing with sanitizers enabled

When testing with sanitizers enabled, we need to link against a plethora
of system libraries. Using `-nodefaultlibs` like we used to breaks this,
and we would have to add all these system libraries manually, which is
not portable and error prone. Instead, stop using `-nodefaultlibs` so
that we get the libraries added by default by the compiler.

The only caveat with this approach is that we are now relying on the
fact that `-L <path-to-local-libunwind>` will cause the just built
libunwind to be selected before the system implementation (either of
libunwind or libgcc_s.so), which is somewhat fragile.

This patch also turns the 32 bit multilib build into a soft failure
since we are in the process of removing it anyway, see D114473 for
details. This patch is incompatible with the 32 bit multilib build
because Ubuntu does not provide a proper libstdc++ for 32 bits, and
that is required when running with sanitizers enabled.

Differential Revision: https://reviews.llvm.org/D114385
The file was modifiedlibunwind/test/configs/llvm-libunwind-shared.cfg.in
The file was modifiedlibunwind/test/forceunwind.pass.cpp
The file was modifiedlibunwind/test/frameheadercache_test.pass.cpp
The file was modifiedlibunwind/test/libunwind_01.pass.cpp
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml
The file was modifiedlibunwind/test/configs/llvm-libunwind-static.cfg.in
The file was modifiedlibunwind/test/unwind_leaffunction.pass.cpp
The file was modifiedlibunwind/test/remember_state_leak.pass.sh.s
The file was modifiedlibunwind/test/signal_unwind.pass.cpp
The file was modifiedlibunwind/test/unw_getcontext.pass.cpp
The file was modifiedlibunwind/test/libunwind_02.pass.cpp
The file was modifiedlibunwind/test/signal_frame.pass.cpp
Commit 3107081e941379bf62c02543c7396ad01349edc4 by jeremy.morse
[DebugInfo][InstrRef] Avoid some quadratic behaviour in LiveDebugVariables

This is a performance patch -- LiveDebugVariables can behave quadratically
if a lot of debug instructions are inserted back into the same place, and
we have to repeatedly step-over hte ones we've already inserted.

To get around it, whenever we insert a debug instruction at a slot index,
check whether there are more debug instructions to insert at this point,
and insert them too. That avoids the repeated lookup and stepping through.
It relies on the container for unlinked debug instructions being recorded
in-order, which is how LiveDebugVariables currently does it.

Differential Revision: https://reviews.llvm.org/D114587
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
Commit b90eef30048dfd1976b01dfdfec66af911721288 by quinn.pham
[NFC][flang] Inclusive language: remove instances of master

[NFC] As part of using inclusive language within the llvm project, this patch:
- replaces master with main in C++style.md to match the renaming of the master
branch,
- removes master from `FortranIR.md` where it is superfluous,
- renames a logical variable in `pre-fir-tree04.f90` containing master.

Reviewed By: ZarkoCA

Differential Revision: https://reviews.llvm.org/D113923
The file was modifiedflang/docs/C++style.md
The file was modifiedflang/test/Lower/pre-fir-tree04.f90
The file was modifiedflang/docs/FortranIR.md
Commit b11c66accfb1d78324278072ed0069d3bbe835cd by quinn.pham
[NFC] Inclusive language: rename master flag to main flag

[NFC] As part of using inclusive language within the llvm project, this patch
renames master flag to main flag in these comments.

Reviewed By: ZarkoCA

Differential Revision: https://reviews.llvm.org/D114090
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Commit 5162b558d8c0b542e752b037e72a69d5fd51eb1e by zarko
[clang][NFC] Inclusive terms: rename AccessDeclContextSanity to AccessDeclContextCheck

Rename function to more inclusive name.

Reviewed By: quinnp

Differential Revision: https://reviews.llvm.org/D114029
The file was modifiedclang/include/clang/AST/DeclBase.h
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
Commit 536b9eb31e9333bcee3d20d694f7cb12d1ff3d89 by jeremy.morse
[DebugInfo][InstrRef] Add extra indirection for NRVO tests

In some scenarios, usually involving NRVO, we can issue indirect DBG_VALUEs
after SelectionDAG, even in instruction referencing mode (if the variable
is an argument). If the corresponding argument value is spilt to the stack,
then we have:
* Indirection from it being on the stack,
* Indirection from it being a dbg.declare or a dbg.addr.

However InstrRefBasedLDV only emits one level of indirection. This patch
adds the second, by adding an extra DW_OP_deref if necessary. The two
tests modified fail otherwise -- they feature some NRVO, and require two
levels of indirection to be correct.

Differential Revision: https://reviews.llvm.org/D114364
The file was modifiedllvm/test/DebugInfo/X86/spill-indirect-nrvo.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-nontrivial-param.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit 55c14d6dbfd8e7b86c15d2613fea3490078e2ae4 by i
[ELF] Simplify DynamicSection content computation. NFC

The new code computes the content twice, but avoides the tricky
std::function<uint64_t()>. Removed 13KiB code in a Release build.
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/SyntheticSections.h
Commit 5ca54c66862b8edee1bd300bb284b90306eef87b by i
[ELF] Simplify GnuHashSection::write. NFC
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/SyntheticSections.h
Commit ff0d9e6cfa7fbcfa4b6b4bccca146b5d66caf4d6 by i
[ELF] Remove redundant part.dynSymTab creation. NFC
The file was modifiedlld/ELF/Writer.cpp
Commit 850e8b450452f60c56b5ae89ed443649f49593a7 by joker.eph
Fix link to the other docs from the Bufferization dialect
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
Commit f32c3d9528e4af6c27806b2f5fd50972b2aa27d5 by springerm
[mlir][linalg][bufferize][NFC] Move Affine interface impl to new build target

This makes ComprehensiveBufferize entirely independent of the Affine dialect.

Differential Revision: https://reviews.llvm.org/D114222
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was addedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/AffineInterfaceImpl.h
The file was addedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/AffineInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
Commit 6188fd495744ffea76f481a960df9beacb8ce91b by i
[ELF] Rename OutputSection::sectionCommands to commands. NFC

This partially reverts r315409: the description applies to LinkerScript, but not
to OutputSection.

The name "sectionCommands" is used in both LinkerScript::sectionCommands and
OutputSection::sectionCommands, which may lead to confusion.
"commands" in OutputSection has no ambiguity because there are no other types
of commands.
The file was modifiedlld/ELF/OutputSections.h
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/ELF/ARMErrataFix.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/AArch64ErrataFix.cpp
The file was modifiedlld/ELF/OutputSections.cpp
The file was modifiedlld/ELF/MapFile.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Writer.cpp
Commit e40e17fcaf7ae28f16d4ece716f336b276ab8dce by i
[ELF] Make ExprValue smaller. NFC'
The file was modifiedlld/ELF/LinkerScript.h
Commit c637e3ea9e107e17d6c7f2a4a6072a8fab9a78bf by springerm
[mlir][linalg][bufferize][NFC] Extract func boundary bufferization

Bufferization of function boundaries is extracted from ComprehensiveBufferize into a separate file. This will become its own build target in the future.

Differential Revision: https://reviews.llvm.org/D114226
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was addedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was addedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
Commit c94b80b4380ce851b5cf406a961eab472a43b3df by springerm
[mlir][linalg][bufferize][NFC] Allow returning arbitrary memrefs

If `allowReturnMemref` is set to true, arbitrary memrefs may be returned from FuncOps. Also remove allocation hoisting code, which is only partly implemented at the moment.

The purpose of this commit is to untangle `bufferize` from `aliasInfo`. (Even with this change, they are not fully untangled yet.)

Differential Revision: https://reviews.llvm.org/D114507
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
Commit d62b4b08af03a9fc25274ed0e380d9d052fe251b by springerm
[mlir][linalg][bufferize] Compose dialect-specific bufferization state

Use composition instead of inheritance for storing dialect-specific bufferization state. This is in preparation of adding "tensor dialect"-specific bufferization state.

Differential Revision: https://reviews.llvm.org/D114508
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
Commit 8e2214aa60bc836d263fd7cb61be8f595eb05a37 by springerm
[mlir][linalg][bufferize][NFC] Pass BufferizationState to PostAnalysisStep

Pass BufferizationStep instead of BufferizationAliasInfo. Note: BufferizationState contains BufferizationAliasInfo.

Differential Revision: https://reviews.llvm.org/D114512
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
Commit 2f07534263ca617420239c9d250dffd9ff527a7a by noreply
[NFC] Fix typo in 95875d246acb
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 7051aeef7a1ef609aaeea0bf87d90a2ec6340a37 by i
[ELF] Rename BaseCommand to SectionCommand. NFC

BaseCommand was picked when PHDRS/INSERT/etc were not implemented. Rename it to
SectionCommand to match `sectionCommands` and make it clear that the commands
are used in SECTIONS (except a special case for SymbolAssignment).

Also, improve naming of some BaseCommand variables (base -> cmd).
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/ELF/AArch64ErrataFix.cpp
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/ARMErrataFix.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/OutputSections.h
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/MapFile.cpp
The file was modifiedlld/ELF/LinkerScript.h
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/OutputSections.cpp
Commit 654c89d85a5108f2f04a8a748c44162e16260c7c by Christudasan.Devadasan
[AMDGPU] Make vector superclasses allocatable

The combined vector register classes with both
VGPRs and AGPRs are currently unallocatable.
This patch turns them into allocatable as a
prerequisite to enable copy between VGPR and
AGPR registers during regalloc.

Also, added the missing AV register classes from
192b to 1024b.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D109300
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-inline-asm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-asm.i128.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegPressure.cpp
Commit 259cd6f89377fdc17aabd381204c5bfe2ce15209 by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/X86/X86FixupLEAs.cpp
The file was modifiedllvm/lib/CodeGen/TwoAddressInstructionPass.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
The file was modifiedllvm/lib/Target/X86/X86DomainReassignment.cpp
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit c2f0de06c9595f34afec7905bae41d08cb46f150 by dvyukov
tsan: check stack in atexit4.cpp test

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D114604
The file was modifiedcompiler-rt/test/tsan/atexit4.cpp
Commit 9ea3bd5a1ccec785563faf82e08f6d9d6cb1ec0b by dvyukov
tsan: add test for __cxa_atexit

Add a test for a common C++ bug when a global object is destroyed
while background threads still use it.

Depends on D114604.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D114605
The file was addedcompiler-rt/test/tsan/atexit5.cpp
Commit 3f87788de1105c8ec4fcebb692919750869d421a by dvyukov
tsan: add a test for on_exit

Depends on D114605.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D114606
The file was addedcompiler-rt/test/tsan/on_exit.cpp
Commit a1dc97e47231e737e1252d1aeb159764dbaed977 by dvyukov
tsan: remember and print function that installed at_exit callbacks

Sometimes stacks for at_exit callbacks don't include any of the user functions/files.
For example, a race with a global std container destructor will only contain
the container type name and our at_exit_wrapper function. No signs what global variable
this is.
Remember and include in reports the function that installed the at_exit callback.
This should give glues as to what variable is being destroyed.

Depends on D114606.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D114607
The file was modifiedcompiler-rt/test/tsan/atexit5.cpp
The file was modifiedcompiler-rt/test/tsan/on_exit.cpp
The file was modifiedcompiler-rt/test/tsan/atexit4.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit c47108c0414624811684afc8d84697d434219f8c by nicolas.vasilache
[mlir][Vector] Minor formatting fixes in Vector.md

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D113854
The file was modifiedmlir/docs/Dialects/Vector.md
Commit 8e8658b19c057a48264514483f188bf7b6c2db7d by 1.int32
[clang][AST] Check context of record in structural equivalence.

The AST structural equivalence check did not differentiate between
a struct and a struct with same name in different namespace. When
type of a member is checked it is possible to encounter such a case
and wrongly decide that the types are similar. This problem is fixed
by check for the namespaces of a record declaration.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D113118
The file was modifiedclang/unittests/AST/StructuralEquivalenceTest.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
Commit 8d07ba817c98374b74ff3ba11c2cb5181cf37031 by gysit
[mlir][linalg] Simplify the hoist padding tests.

Use primarily matvec instead of matmul to test hoist padding. Test the hoisting only starting from already padded IR. Use one-dimensional tiling only except for the tile_and_fuse test that exercises hoisting on a larger loop nest with fill and pad tensor operations in the backward slice.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114608
The file was addedmlir/test/Dialect/Linalg/hoist-padding.mlir
The file was removedmlir/test/Dialect/Linalg/pad-and-hoist.mlir
Commit 86137fb7229363fef9a4bbb732dc13f7cb1c5dfd by david.sherwood
[CodeGen] Add scalable vector support for lowering of llvm.get.active.lane.mask

Currently the generic lowering of llvm.get.active.lane.mask is done
in SelectionDAGBuilder::visitIntrinsicCall and currently assumes
only fixed-width vectors are used. This patch changes the code to be
more generic and support scalable vectors too. I have added tests
for SVE here:

  CodeGen/AArch64/active_lane_mask.ll

although the code quality leaves a lot to be desired. The code will
be improved significantly in a later patch that makes use of the
SVE whilelo instruction.

Differential Revision: https://reviews.llvm.org/D114541
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was addedllvm/test/CodeGen/AArch64/active_lane_mask.ll
Commit bad8977786382739256f4bd966fb4cdcfd50be2a by kbobyrev
[clang] Change ordering of PreableCallbacks to make sure PP can be referenced in them

Currently, BeforeExecute is called before BeginSourceFile which does not allow
using PP in the callbacks. Change the ordering to ensure it is possible.
This is a prerequisite for D114370.

Originated from a discussion with @kadircet.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D114525
The file was modifiedclang/include/clang/Frontend/PrecompiledPreamble.h
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
Commit 40e7d4cd3b6f4931131731295d42022f6240531f by david.green
[ARM] Add some vctp from setcc tests. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vctp.ll
Commit d026f2f7c688b326eae429286a06bf4080c8b527 by kadircet
[clang] Fix crash on broken parameter declarators

Differential Revision: https://reviews.llvm.org/D114609
The file was modifiedclang/test/Parser/cxx-keyword-identifiers.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
Commit d8f3cdfed03fe73c152d7fbf509f34f4b502f384 by mikhail.maltsev
[libcxx] Implement three-way comparison for std::reverse_iterator

This patch implements operator<=> for std::reverse_iterator and
also adds a test that checks that three-way comparison of different
instantiations of std::reverse_iterator works as expected (related to
D113417).

Reviewed By: ldionne, Quuxplusone, #libc

Differential Revision: https://reviews.llvm.org/D113695
The file was modifiedlibcxx/include/__iterator/reverse_iterator.h
The file was addedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/three-way.pass.cpp
Commit 94038c570fbc991c03fe68793c576314c231d4ee by ramana.venkat83
[lldb] Fix 'memory write' to not allow specifying values when writing file contents

Currently the 'memory write' command allows specifying the values when
writing the file contents to memory but the values are actually ignored. This
patch fixes that by erroring out when values are specified in such cases.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D114544
The file was addedlldb/test/API/commands/memory/write/Makefile
The file was addedlldb/test/API/commands/memory/write/TestMemoryWrite.py
The file was addedlldb/test/API/commands/memory/write/main.c
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was addedlldb/test/API/commands/memory/write/file.txt
Commit 2778f9a9f6d8a0f62854906fa203843e20e26d7d by llvm-dev
[DAG] SimplifyDemandedVectorElts - attempt to handle ADD(x,x) as single use

If the ADD node is the only user of the repeated operand, then treat this as single use - allows us to peek through shl(x,1) patterns.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/crash-on-pow2-shufflevector.ll
The file was modifiedllvm/test/CodeGen/X86/rotate_vec.ll
Commit c76d6dd192648fbb1a55eb8378850a654b673832 by david.green
[ARM] Generate VCTP from SETCC

This converts a vector SETCC([0,1,2,..], splat(n), ult) to vctp n, which
can be fewer instructions and prevent the need for constant pool loads.

Differential Revision: https://reviews.llvm.org/D114177
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vctp.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit eafbaca97795a38c5017f6761a64a863cbc9343c by bradley.smith
[AArch64][SVE] Generate ASRD instructions for power of 2 signed divides

Differential Revision: https://reviews.llvm.org/D113281
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/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-fixed-length-sdiv-pow2.ll
The file was addedllvm/test/CodeGen/AArch64/sve-sdiv-pow2.ll
Commit d8a35387881bf408c19deeba7b5e3648dbbf467c by Jan Svoboda
[clang][deps] NFC: Remove else after early return
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
Commit 12eafd944e0ffccae93402ddbe2855beb7a939ff by Jan Svoboda
[clang][deps] NFC: Clean up wording (ignored vs minimized)

The filesystem used during dependency scanning does two things: it caches file entries and minimizes source file contents. We use the term "ignored file" in a couple of places, but it's not clear what exactly that means. This commit clears up the semantics, explicitly spelling out this relates to minimization.
The file was modifiedclang/unittests/Tooling/DependencyScannerTest.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
Commit e20391fc5d6a72e712449142e803fb81b8a75153 by david.sherwood
[LoopVectorize] When tail-folding, don't always predicate uniform loads

In VPRecipeBuilder::handleReplication if we believe the instruction
is predicated we then proceed to create new VP region blocks even
when the load is uniform and only predicated due to tail-folding.

I have updated isPredicatedInst to avoid treating a uniform load as
predicated when tail-folding, which means we can do a single scalar
load and a vector splat of the value.

Tests added here:

  Transforms/LoopVectorize/AArch64/tail-fold-uniform-memops.ll

Differential Revision: https://reviews.llvm.org/D112552
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/tail-fold-uniform-memops.ll
Commit 4af45f10cccbaabc87758c4dc50b94bfd31fe848 by abinav.puthanpurayil
[GlobalISel] Fold or of shifts to funnel shift.

This change folds a basic funnel shift idiom:
- (or (shl x, amt), (lshr y, sub(bw, amt))) -> fshl(x, y, amt)
- (or (shl x, sub(bw, amt)), (lshr y, amt)) -> fshr(x, y, amt)

This also helps in folding to rotate shift if x and y are equal since we
already have a funnel shift to rotate combine.

Differential Revision: https://reviews.llvm.org/D114499
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
Commit 8967d044fc265acb332ab3d0169024e96b44c6ac by carl.ritson
[AMDGPU] Add SIMemoryLegalizer comments to clarify bit usage

Attempt to further document the intended cache policies requested
by different combinations of GLC, SLC and DLC bits.
GFX10 non-temporal stores are updated to set GLC.

Reviewed By: t-tye

Differential Revision: https://reviews.llvm.org/D114351
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-global-nontemporal.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-flat-nontemporal.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-private-nontemporal.ll
Commit 632acec73776c4d6f7073d6de04ed6b8bfd36e6d by daniel.kiss
[libunwind][ARM] Handle end of stack during unwind

When unwind step reaches the end of the stack that means the force unwind should notify the stop function.
This is not an error, it could mean just the thread is cleaned up completely.

Reviewed By: #libunwind, mstorsjo

Differential Revision: https://reviews.llvm.org/D109856
The file was modifiedlibunwind/src/Unwind-EHABI.cpp
The file was addedlibcxxabi/test/forced_unwind3.pass.cpp
The file was modifiedlibcxxabi/src/cxa_personality.cpp
Commit 842b6861c01cc6961f170d58332ecf0fb0232441 by uday
Defines new PDLInterp operations needed for multi-root matching in PDL.

This is commit 1 of 4 for the multi-root matching in PDL, discussed in https://llvm.discourse.group/t/rfc-multi-root-pdl-patterns-for-kernel-matching/4148 (topic flagged for review).

These operations are:
* pdl.get_accepting_ops: Returns a list of operations accepting the given value or a range of values at the specified position. Thus if there are two operations `%op1 = "foo"(%val)` and `%op2 = "bar"(%val)` accepting a value at position 0, `%ops = pdl_interp.get_accepting_ops of %val : !pdl.value at 0` will return both of them. This allows us to traverse upwards from a value to operations accepting the value.
* pdl.choose_op: Iteratively chooses one operation from a range of operations. Therefore, writing `%op = pdl_interp.choose_op from %ops` in the example above will select either `%op1`or `%op2`.

Testing: Added the corresponding test cases to mlir/test/Dialect/PDLInterp/ops.mlir.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D108543
The file was modifiedmlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp
The file was modifiedmlir/test/Dialect/PDLInterp/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
Commit a3b099b68c0c156aa8ed9ec81c5dfdf150c6329c by shivam98.tkg
[Docs] Removed /Zd flag still mentioned in documentation

https://reviews.llvm.org/D93458 removed the /Zd flag as MSVC doesn't support that syntax. Instead users should be using -gline-tables-only.
The /Zd flag is still mentioned at https://clang.llvm.org/docs/UsersManual.html#clang-cl :   /Zd                     Emit debug line number tables only.

Fix PR52571

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D114632
The file was modifiedclang/docs/UsersManual.rst
Commit 08d45e6f4da03836dc2380b7bae650ae80cfae35 by Igor.Kirillov
[AArch64][SVEIntrinsicOpts] Fix: predicated SVE mul/fmul are not commutative

We can not swap multiplicand and multiplier because the sve intrinsics
are predicated. Imagine lanes in vectors having the following values:
         pg = 0
         multiplicand = 1 (from dup)
         multiplier = 2
The resulting value should be 1, but if we swap multiplicand and multiplier it will become 2,
which is incorrect.

Differential Revision: https://reviews.llvm.org/D114577
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mul-idempotency.ll
The file was modifiedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmul-idempotency.ll
Commit 3eb1647af036dc0e8370ed5a8b1ecbb5701f850b by uday
Introduced iterative bytecode execution.

This is commit 2 of 4 for the multi-root matching in PDL, discussed in https://llvm.discourse.group/t/rfc-multi-root-pdl-patterns-for-kernel-matching/4148 (topic flagged for review).

This commit implements the features needed for the execution of the new operations pdl_interp.get_accepting_ops, pdl_interp.choose_op:
1. The implementation of the generation and execution of the two ops.
2. The addition of Stack of bytecode positions within the ByteCodeExecutor. This is needed because in pdl_interp.choose_op, we iterate over the values returned by pdl_interp.get_accepting_ops until we reach finalize. When we reach finalize, we need to return back to the position marked in the stack.
3. The functionality to extend the lifetime of values that cross the nondeterministic choice. The existing bytecode generator allocates the values to memory positions by representing the liveness of values as a collection of disjoint intervals over the matcher positions. This is akin to register allocation, and substantially reduces the footprint of the bytecode executor. However, because with iterative operation pdl_interp.choose_op, execution "returns" back, so any values whose original liveness cross the nondeterminstic choice must have their lifetime executed until finalize.

Testing: pdl-bytecode.mlir test

Reviewed By: rriddle, Mogball

Differential Revision: https://reviews.llvm.org/D108547
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/lib/Rewrite/ByteCode.h
The file was modifiedmlir/lib/IR/PatternMatch.cpp
The file was modifiedmlir/lib/Rewrite/ByteCode.cpp
The file was modifiedmlir/test/Rewrite/pdl-bytecode.mlir
Commit 6df7cc7f47d280d550f41fc167bdd75fea726a06 by uday
Implementation of the root ordering algorithm

This is commit 3 of 4 for the multi-root matching in PDL, discussed in https://llvm.discourse.group/t/rfc-multi-root-pdl-patterns-for-kernel-matching/4148 (topic flagged for review).

We form a graph over the specified roots, provided in `pdl.rewrite`, where two roots are connected by a directed edge if the target root can be connected (via a chain of operations) in the underlying pattern to the source root. We place a restriction that the path connecting the two candidate roots must only contain the nodes in the subgraphs underneath these two roots. The cost of an edge is the smallest number of upward traversals (edges) required to go from the source to the target root, and the connector is a `Value` in the intersection of the two subtrees rooted at the source and target root that results in that smallest number of such upward traversals. Optimal root ordering is then formulated as the problem of finding a spanning arborescence (i.e., a directed spanning tree) of minimal weight.

In order to determine the spanning arborescence (directed spanning tree) of minimum weight, we use the [Edmonds' algorithm](https://en.wikipedia.org/wiki/Edmonds%27_algorithm). The worst-case computational complexity of this algorithm is O(_N_^3) for a single root, where _N_ is the number of specified roots. The `pdl`-to-`pdl_interp` lowering calls this algorithm as a subroutine _N_ times (once for each candidate root), so the overall complexity of root ordering is O(_N_^4). If needed, this complexity could be reduced to O(_N_^3) with a more efficient algorithm. However, note that the underlying implementation is very efficient, and _N_ in our instances tends to be very small (<10). Therefore, we believe that the proposed (asymptotically suboptimal) implementation will suffice for now.

Testing: a unit test of the algorithm

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D108549
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/CMakeLists.txt
The file was addedmlir/lib/Conversion/PDLToPDLInterp/RootOrdering.h
The file was addedmlir/unittests/Conversion/CMakeLists.txt
The file was addedmlir/unittests/Conversion/PDLToPDLInterp/CMakeLists.txt
The file was addedmlir/lib/Conversion/PDLToPDLInterp/RootOrdering.cpp
The file was modifiedmlir/unittests/CMakeLists.txt
The file was addedmlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp
Commit a76ee58f3cbcec6e31ff0d25e7d9a89b81a2ccc8 by uday
Multi-root PDL matching using upward traversals.

This is commit 4 of 4 for the multi-root matching in PDL, discussed in https://llvm.discourse.group/t/rfc-multi-root-pdl-patterns-for-kernel-matching/4148 (topic flagged for review).

This PR integrates the various components (root ordering algorithm, nondeterministic execution of PDL bytecode) to implement multi-root PDL matching. The main idea is for the pattern to specify mulitple candidate roots. The PDL-to-PDLInterp lowering selects one of these roots and "hangs" the pattern from this root, traversing the edges downwards (from operation to its operands) when possible and upwards (from values to its uses) when needed. The root is selected by invoking the optimal matching multiple times, once for each candidate root, and the connectors are determined form the optimal matching. The costs in the directed graph are equal to the number of upward edges that need to be traversed when connecting the given two candidate roots. It can be shown that, for this choice of the cost function, "hanging" the pattern an inner node is no better than from the optimal root.

The following three main additions were implemented as a part of this PR:
1. OperationPos predicate has been extended to allow tracing the operation accepting a value (the opposite of operation defining a value).
2. Predicate checking if two values are not equal - this is useful to ensure that we do not traverse the edge back downwards after we traversed it upwards.
3. Function for for building the cost graph among the candidate roots.
4. Updated buildPredicateList, building the predicates optimal branching has been determined.

Testing: unit tests (an integration test to follow once the stack of commits has landed)

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D108550
The file was modifiedmlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir
The file was modifiedmlir/test/Dialect/PDL/ops.mlir
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.h
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/Predicate.h
The file was modifiedmlir/test/Dialect/PDL/invalid.mlir
Commit d35f1190949963f7b22bd687ed0e27e8636f505d by uday
Added line numbers to the debug output of PDL bytecode.

This is a small diff that splits out the debug output for PDL bytecode. When running bytecode with debug output on, it is useful to know the line numbers where the PDLIntepr operations are performed. Usually, these are in a single MLIR file, so it's sufficient to print out the line number rather than the entire location (which tends to be quite verbose). This debug output is gated by `LLVM_DEBUG` rather than `#ifndef NDEBUG` to make it easier to test.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D114061
The file was modifiedmlir/lib/Rewrite/ByteCode.cpp
Commit 97e504cff956b7120da9bd932644b00a853ee68a by Jan Svoboda
[clang][deps] NFC: Extract function

This commits extracts a couple of nested conditions into a separate function with early returns, making the control flow easier to understand.
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
Commit 0e099a64be7071f5109befaeb8e8534392192888 by benny.kra
[tsan] Relax atexit5.cpp a bit more so it's not as dependent on the standard library implementation
The file was modifiedcompiler-rt/test/tsan/atexit5.cpp
Commit 1b0312d2809701dd766dd3705b460362653bffcf by benny.kra
[PDL] fix unused variable warning in Release builds
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
Commit 8521850f20dbd9f2926999da84d8a10b52bb2574 by benny.kra
Provide a definition for OperationPosition::kDown

This isn't necessary in C++17, but C++14 still requires it.
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/Predicate.cpp
Commit cd0ca5a0eaa1b75b445e82753ea093bbb8e7e85c by kbobyrev
[clangd] Record information about non self-contained headers in IncludeStructure

This will be useful for IncludeCleaner.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D114370
The file was modifiedclang-tools-extra/clangd/Headers.h
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
The file was modifiedclang-tools-extra/clangd/Headers.cpp
The file was modifiedclang-tools-extra/clangd/Preamble.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HeadersTests.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/unittests/PreambleTests.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
Commit b62b21b98019b46af91365cb6415f8e740cab898 by springerm
[mlir][linalg][bufferize][NFC] InsertSliceOp no-copy detection as PostAnalysis

There is special logic for InsertSliceOp to check if a memcpy is needed. This change extracts that piece of code and makes it a PostAnalysisStep.

The purpose of this change is to untangle `bufferize` from BufferizationAliasInfo. (Not fully there yet.)

Differential Revision: https://reviews.llvm.org/D114513
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
Commit b927aa69bf2fd50ecf33e3f5ec853eb3c70312c5 by flo
[SCEV] Turn check in createSimpleAffineAddRec to assertion. (NFC)

Accum is guaranteed to be defined outside L (via Loop::isLoopInvariant
checks above). I think that should guarantee that the more powerful
ScalarEvolution::isLoopInvariant also determines that the value is loop
invariant.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D114634
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 7f05ff8be481f6db23615c028280fd92c2080f5f by VenkataRamanaiah.Nalamothu
[Bug 49018][lldb] Fix incorrect help text for 'memory write' command

Certain commands like 'memory write', 'register read' etc all use
the OptionGroupFormat options but the help usage text for those
options is not customized to those commands.

One such example is:

  (lldb) help memory read
           -s <byte-size> ( --size <byte-size> )
               The size in bytes to use when displaying with the selected format.
  (lldb) help memory write
   -s <byte-size> ( --size <byte-size> )
               The size in bytes to use when displaying with the selected format.

This patch allows such commands to overwrite the help text for the options
in the OptionGroupFormat group as needed and fixes help text of memory write.

llvm.org/pr49018.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D114448
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupFormat.cpp
The file was modifiedlldb/test/API/commands/help/TestHelp.py
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupFormat.h
Commit 6263982172b8ad45f41e9b06cb005e1a8fd6deef by a.bataev
[SLP][NFC]Add a test for gathered instructions in loop, NFC.
The file was addedllvm/test/Transforms/SLPVectorizer/X86/gather-move-out-of-loop.ll
Commit 30238c3676d306ad1c6533805ab72c16f4723ab5 by mats.petersson
[mlir][OpenMP] Add support for SIMD modifier

Add support for SIMD modifier in OpenMP worksharing loops.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D111051
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
The file was addedmlir/test/Target/LLVMIR/openmp-llvm-bad-schedule-modifier.mlir
The file was modifiedmlir/test/Target/LLVMIR/openmp-llvm.mlir
The file was modifiedmlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
Commit f824bb0e36fc7099923f583e4eea4aaa7d296957 by ruslan.arutyunyan
[pstl] Fix incorrect usage of std::invoke_result

std::invoke_result takes function object type and arguments separately
(unlike std::result_of) so, std::invoke_result_t<F()> usage is
incorrect.

On the other hand, we don't need std::invoke() semantics here at all. So
just simplifying the code without extra dependency and use trailing
return type as the fix.

Reviewed By: MikeDvorskiy

Differential Revision: https://reviews.llvm.org/D114624
The file was modifiedpstl/include/pstl/internal/utils.h
Commit fc0aacf324b172309ee10334e2213e1b3df8ea45 by a.bataev
[SLP]Improve analysis/emission of vector operands for alternate nodes.

Compiler has an analysis for perfect diamond matching but it does not
support nodes with main/alternate opcodes. The problem is that the
scalars themselves are different and might not match directly with other
nodes, but operands and main/alternate opcodes might match and compiler
might reuse some previously emitted vector instructions. Need to include
this analysis in the cost model and actual vector instructions emission
process.

Differential Revision: https://reviews.llvm.org/D114101
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_alternate.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/gather-move-out-of-loop.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
Commit 34cc210aa8af2fd33598e5559d0f5b51f9423dd6 by kbobyrev
[clangd] IncludeCleaner: Attribute symbols from non self-contained headers to their parents

When a symbol comes from the non self-contained header, we recursively uplift
the file we consider used to the first includer that has a header guard. We
need to do this while we still have FileIDs because every time a non
self-contained header is included, it gets a new FileID but is later
deduplicated by HeaderID and it's not possible to understand where it was
included from.

Based on D114370.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D114623
The file was modifiedclang-tools-extra/clangd/IncludeCleaner.h
The file was modifiedclang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
The file was modifiedclang-tools-extra/clangd/IncludeCleaner.cpp
Commit 0df522969a7a0128052bd79182c8d58e00556e2f by david.spickett
Revert "Reland "[lldb] Remove non address bits when looking up memory regions""

This reverts commit fac3f20de55769d028bd92220e74f22fa57dd4b2.

I found this has broken how we detect the last memory region in
GetMemoryRegions/"memory region" command.

When you're debugging an AArch64 system with pointer authentication,
the ABI plugin will remove the top bit from the end address of the last
user mapped area.

(lldb)
[0x0000fffffffdf000-0x0001000000000000) rw- [stack]

ABI plugin removes anything above the 48th bit (48 bit virtual addresses
by default on AArch64, leaving an address of 0.

(lldb)
[0x0000000000000000-0x0000000000400000) ---

You get back a mapping for 0 and get into an infinite loop.
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was removedlldb/test/API/linux/aarch64/tagged_memory_region/main.c
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.h
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
The file was removedlldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64LinuxTaggedMemoryRegion.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was removedlldb/test/API/linux/aarch64/tagged_memory_region/Makefile
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.h
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.h
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Commit 7dc9a03cfd789e6a08ca96666e9fbb81431eb34f by Louis Dionne
[libc++] Add missing __format__ attributes

-Wformat-nonliteral was turned on in https://reviews.llvm.org/D112927,
however we forgot to apply some __format__ attributes in Linux specific
code paths, which led to warnings when building on Linux. This patch
addresses that oversight.

Differential Revision: https://reviews.llvm.org/D113876
The file was modifiedlibcxx/src/filesystem/filesystem_common.h
The file was modifiedlibcxx/include/__bsd_locale_fallbacks.h
The file was modifiedlibcxx/include/__config
Commit f18f9ce3665e51e5f09a3d32f9e36fd24e3a79f7 by Louis Dionne
[libc++] Properly handle errors happening during Lit configuration

Instead of silently swallowing errors that happen during Lit configuration
(for example trying to obtain compiler macros but compiling fails), raise
an exception with some amount of helpful information.

This should avoid the possibility of silently configuring Lit in a bogus
way, and also provides more helpful information when things fail.

Note that this requires a bit more finesse around how we handle some
failing configuration checks that we would previously return None for.

Differential Revision: https://reviews.llvm.org/D114010
The file was modifiedlibcxx/test/libcxx/selftest/dsl/dsl.sh.py
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
Commit e714394ab8f03783490fefe902dcec3585d3fe08 by zarko
[LLVM][llvm-cov] Inclusive language: rename option -name-whitelist to -name-allowlist

Renamed the option for llvm-cov and changed variable names to use more
inclusive terms. Also changed the binary for the test.

Reviewed By: alanphipps

Differential Revision: https://reviews.llvm.org/D112816
The file was modifiedllvm/docs/CommandGuide/llvm-cov.rst
The file was addedllvm/test/tools/llvm-cov/Inputs/allowlist1.txt
The file was modifiedllvm/tools/llvm-cov/CoverageFilters.cpp
The file was modifiedllvm/tools/llvm-cov/CoverageFilters.h
The file was addedllvm/test/tools/llvm-cov/Inputs/allowlist2.txt
The file was addedllvm/test/tools/llvm-cov/Inputs/name_allowlist.cpp
The file was addedllvm/test/tools/llvm-cov/Inputs/name_allowlist.proftext
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was addedllvm/test/tools/llvm-cov/Inputs/name_allowlist.covmapping
The file was addedllvm/test/tools/llvm-cov/name_allowlist.test
The file was modifiedllvm/tools/llvm-cov/CodeCoverage.cpp
Commit f074bbb04a617f366093a860e5b0976d80129ff4 by arjunpitchanathan
[MLIR] Simplex::pivot: also update the redundant rows when pivoting

Previously, the pivot function would only update the non-redundant rows when
pivoting. This is incorrect because in some cases, when rolling back past a
`detectRedundant` call, the basis being used could be different from that which
was used at the time of returning from the `detectRedundant` call. Therefore,
it is important to update the redundant rows as well during pivots. This could
also be triggered by pivots that occur when testing successive constraints for
being redundant in `detectRedundant` after some initial constraints are marked redundant.

Reviewed By: Groverkss

Differential Revision: https://reviews.llvm.org/D114614
The file was modifiedmlir/unittests/Analysis/Presburger/SimplexTest.cpp
The file was modifiedmlir/lib/Analysis/Presburger/Simplex.cpp
Commit 562356d6e3b5aaceddb4fff34af5fbdcb6748570 by kazu
[Target] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/Hexagon/BitTracker.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2SizeReduction.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/ARC/ARCMCInstLower.cpp
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMCInstLower.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenInsert.cpp
Commit 7b59fcb7de2223d7d3956b750d32357e30f9acbf by gchatelet
[libc] Make string entrypoints mutualy exclusive.

For example, strcpy does not pull memcpy now.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D114300
The file was modifiedlibc/src/string/mempcpy.cpp
The file was modifiedlibc/src/string/strdup.cpp
The file was modifiedlibc/src/string/strndup.cpp
The file was modifiedlibc/src/string/stpncpy.cpp
The file was modifiedlibc/src/string/memory_utils/CMakeLists.txt
The file was modifiedlibc/src/string/strcpy.cpp
The file was modifiedlibc/src/string/CMakeLists.txt
The file was modifiedlibc/src/string/memmove.cpp
Commit 715d2dc126ee4aaf0cb1df8826c3f1072c952e66 by zarko
[llvm-cov][NFC] Add missing character to fix docs buildbot break.
The file was modifiedllvm/docs/CommandGuide/llvm-cov.rst
Commit ad34ce94d5a0eb507de6b53e4fff296830d88c1a by arjunpitchanathan
[MLIR] Simplex: fix a bug when rolling back a Simplex with no solutions

Previously, when adding a constraint to a Simplex that is already marked
as having no solutions (marked empty), the Simplex would be marked empty again,
and a second UnmarkEmpty entry would be pushed to the undo log. When rolling
back, Simplex should be unmarked empty only after rolling back past the
creation of the first constraint that made it empty.

Reviewed By: Groverkss

Differential Revision: https://reviews.llvm.org/D114613
The file was modifiedmlir/lib/Analysis/Presburger/Simplex.cpp
The file was modifiedmlir/unittests/Analysis/Presburger/SimplexTest.cpp
Commit d0f927121ecef997d5df4a8879997cc8c9f8f0c9 by nicolas.vasilache
[mlir][Standard] Support 0-D vectors in `SplatOp`

This changes the op to produce `AnyVectorOfAnyRank` and implements this by just
inserting the element (skipping the shuffle that we do for the 1-D case).

Depends On D114549

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114598
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 7e65fc9a6009ba3297cbca7dc2bffdb0346d158e by nicolas.vasilache
[mlir][Vector] Support 0-D vectors in `BroadcastOp`

This changes the op to produce `AnyVectorOfAnyRank` following mostly the code for 1-D vectors.

Depends On D114598

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114550
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
Commit 5c454033dd622bc48986dc8025f4936b5fa54975 by Louis Dionne
[libc++] Trigger rebuild of the Docker image so we get a new nightly Clang
The file was modifiedlibcxx/utils/ci/Dockerfile
Commit 344eee6f384caea3d64df28ef17f4204febc5e94 by joker.eph
[MLIR] Allow `Idempotent` trait to be applied to binary ops.

Add `Idempotent` trait to `arith.{andi,ori}`.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D114574
The file was modifiedmlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/test/mlir-tblgen/trait.mlir
Commit fcee33bd5a35786d905a40f42ed28d5a988d75eb by llvm-dev
[DAG] Pull out repeated isLittleEndian() calls. NFC.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 09401dfcf1dbec9d55ac62596d7520ba3a10eabb by i
[ELF] Rename fetch to extract

The canonical term is "extract" (GNU ld documentation, Solaris's `-z *extract`
options). Avoid inventing a term and match --why-extract. (ld64 prefers "load"
but the word is overloaded too much)

Mostly MFC, except for --help messages and the header row in
--print-archive-stats output.
The file was modifiedlld/ELF/SymbolTable.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/MapFile.cpp
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/print-archive-stats.s
The file was modifiedlld/ELF/InputFiles.h
Commit e4e4da86aff5606ef792d987a3ec85639219228c by uday
[MLIR] Prevent creation of buggy affine map after linearizing collapsed dimensions of source map

Initially we were passing wrong numSymbols argument while calling
AffineMap::get() for creaating affine map with linearized result
expressions. The main problems was the number of symbols of the newly
to be created map may be different from that of the source map, as
new symbolic identifiers may be introduced while creating strided layout
linearized expressions.

Reviewed By: nicolasvasilache, bondhugula

Differential Revision: https://reviews.llvm.org/D114240
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
Commit c2280b55173ca42f32e0bf22b10e73ba5b7fbda0 by uday
[MLIR] Avoid creation of buggy affine maps when incorrect values of number of dimensions and number of symbols are provided.

We check whether the maximum index of dimensional identifier present
in the result expressions is less than dimCount (number of dimensional
identifiers) argument passed in the AffineMap::get() and the maximum index
of symbolic identifier present in the result expressions is less than
symbolCount (number of symbolic identifiers) argument passed in AffineMap::get().

Reviewed By: nicolasvasilache, bondhugula

Differential Revision: https://reviews.llvm.org/D114238
The file was modifiedmlir/lib/IR/AffineMap.cpp
The file was modifiedmlir/include/mlir/IR/AffineMap.h
The file was modifiedmlir/lib/IR/MLIRContext.cpp
Commit 3b4dd68de5b4aa5876366a3cab5ebf4f2ca047a2 by i
[ELF][PPC64] Make --power10-stubs/--no-power10-stubs proper aliases for --power10-stubs={auto,no}

This allows --power10-stubs= and --[no-]power10-stubs to override each other
(they are position dependent in GNU ld).

Also improve --help messages and the manpage.

Note: GNU ld's default "auto" mode uses heuristics to decide whether Power10
instructions are used. Arguably it is a design mistake of R_PPC64_REL24_NOTOC
(acked by the relevant folks on a libc-alpha discussion). We don't implement
"auto", so the default --power10-stubs is the same as "yes".
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/test/ELF/ppc64-pcrel-call-to-toc.s
The file was modifiedlld/docs/ld.lld.1
The file was modifiedlld/ELF/Thunks.cpp
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Driver.cpp
Commit bee8dcda1f01831808885ea23f9ac1467ce660f5 by nikita.ppv
[SCEV] Fix and validate ValueExprMap/ExprValueMap consistency

Relative to the previous landing attempt, this makes
insertValueToMap() resilient against the value already being
present in the map -- previously I only checked this for the
createSimpleAffineAddRec() case, but the same issue can also
occur for the general createNodeForPHI(). In both cases, the
addrec may be constructed and added to the map in a recursive
query trying to create said addrec. In this case, this happens
due to the invalidation when the BE count is computed, which
ends up clearing out the symbolic name as well.

-----

This adds validation for consistency of ValueExprMap and
ExprValueMap, and fixes identified issues:

* Addrec construction directly wrote to ValueExprMap in a few places,
  without updating ExprValueMap. Add a helper to ensures they stay
  consistent. The adjustment in forgetSymbolicName() explicitly
  drops the old value from the map, so that we don't rely on it
  being overwritten.
* forgetMemoizedResultsImpl() was dropping the SCEV from
  ExprValueMap, but not dropping the corresponding entries from
  ValueExprMap.

Differential Revision: https://reviews.llvm.org/D113349
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/X86/nested-ptr-addrec.ll
Commit bfa91f38a9989e1df5e722ae10c0a8c3eb9abe26 by nikita.ppv
[DAG] Restore dropped condition

This was dropped in fcee33bd5a35786d905a40f42ed28d5a988d75eb,
presumably accidentally.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 803cec0268000569051733e0d03b4c51d48ce5a6 by kazu
[mlir] Fix a warning

This patch fixes:

  mlir/lib/IR/MLIRContext.cpp:1020:3: error: use of the 'nodiscard'
  attribute is a C++17 extension [-Werror,-Wc++17-extensions]
The file was modifiedmlir/lib/IR/MLIRContext.cpp
Commit 45a8caf1cdf6a9cbe6dd183df62f22c57e3310ae by pklausler
[flang] Fix reversed comparison in RESHAPE() runtime

RESHAPE() fails inappropriately at runtime if the source array
is larger than the result -- which is perfectly valid -- because
of an obviously reversed comparison of their numbers of elements
is activating the runtime asserts meant for the opposite case
(source smaller than result).

Differential Revision: https://reviews.llvm.org/D114474
The file was modifiedflang/runtime/transformational.cpp
Commit a68af62b422d5a9717d7e883be17f49086197256 by spatel
[InstSimplify] baseline tests for icmp of lshr/udiv fold (NFC)

Precommits tests for https://reviews.llvm.org/D114279

Differential Revision: https://reviews.llvm.org/D114280
The file was modifiedllvm/test/Transforms/InstSimplify/compare.ll
Commit 719354a57191bff29f502b365ebf94c8b1c2a5d2 by nikita.ppv
Revert "[SCEV] Fix and validate ValueExprMap/ExprValueMap consistency"

This reverts commit bee8dcda1f01831808885ea23f9ac1467ce660f5.

Some sanitizer buildbots fail with:
> Attempt to use a SCEVCouldNotCompute object!

For example:
https://lab.llvm.org/buildbot/#/builders/85/builds/7020/steps/9/logs/stdio
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was removedllvm/test/Transforms/LoopStrengthReduce/X86/nested-ptr-addrec.ll
The file was modifiedllvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
Commit 30029e7407c8d7fa77dadbeeeb0769f1169e98f8 by i
[compiler-rt][CMake] Support powerpc32 on Linux

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D98831
The file was modifiedcompiler-rt/cmake/base-config-ix.cmake
Commit 06f1d63cb16c4d7ec66eac3cdb6ae1f53aee5450 by i
[compiler-rt][CMake] Support powerpcspe build

Reviewed By: jhibbits, MaskRay

Differential Revision: https://reviews.llvm.org/D98836
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
Commit 53b00b821582a95c5186bd76e7e7d12d2697a630 by spatel
[InstSimplify] Fold X {lshr,udiv} C <u X --> true for nonzero X, non-identity C

This eliminates the bounds check in Rust code like

pub fn mid(data: &[i32]) -> i32 {
  if data.is_empty() { return 0; }
  return data[data.len()/2];
}

(from https://blog.sigplan.org/2021/11/18/undefined-behavior-deserves-a-better-reputation/)

Alive proofs:
lshr https://alive2.llvm.org/ce/z/nyTu8D
udiv https://alive2.llvm.org/ce/z/CNUZH7

Differential Revision: https://reviews.llvm.org/D114279
The file was modifiedllvm/test/Transforms/InstSimplify/compare.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 8ae815cb19a0ead6267651b555a008471494c55a by Vitaly Buka
[sanitizer] Switch StackStore to 8 MiB blocks

Larger blocks are more convenient for compressions.
Blocks are allocated with MmapNoReserveOrDie to save some memory.

Also it's 15% faster on StackDepotBenchmarkSuite

Depends on D114464.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D114488
The file was modifiedcompiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
Commit f1ba48d50800e3d39027af9e5dff56f35ac21ce4 by i
[ELF] Simplify Symbol::extract. NFC
The file was modifiedlld/ELF/Symbols.cpp
Commit 56c8ad237aa4088e61be09ca30830ee704f10018 by ruslan.arutyunyan
[libcxx][NFC] Add tests for associative containers key_comp and value_comp

Add missing tests to improve associative containers code coverage:
- Tests for key_comp() and value_comp() observers
- Tests for std::map and std::multimap value_compare member class

Reviewed by: ldionne, rarutyun, #libc

Differential Revision: https://reviews.llvm.org/D113998
The file was addedlibcxx/test/std/containers/associative/map/map.observers/value_comp.pass.cpp
The file was addedlibcxx/test/std/containers/associative/multimap/multimap.value_compare/types.pass.cpp
The file was addedlibcxx/test/std/containers/associative/multiset/multiset.observers/comp.pass.cpp
The file was addedlibcxx/test/std/containers/associative/multimap/multimap.observers/key_comp.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.cons/compare.pass.cpp
The file was addedlibcxx/test/std/containers/associative/multimap/multimap.observers/value_comp.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/multiset.cons/compare.pass.cpp
The file was addedlibcxx/test/std/containers/associative/map/map.value_compare/types.pass.cpp
The file was addedlibcxx/test/std/containers/associative/multimap/multimap.value_compare/invoke.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.cons/compare.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/set.cons/compare.pass.cpp
The file was addedlibcxx/test/std/containers/associative/set/set.observers/comp.pass.cpp
The file was addedlibcxx/test/std/containers/associative/map/map.observers/key_comp.pass.cpp
The file was addedlibcxx/test/std/containers/associative/map/map.value_compare/invoke.pass.cpp
Commit 6fa8f7beb1928dfad291314c8baf16374a1cc145 by i
[ELF][test] Test that .o definition does not inherit .so STV_PROTECTED

Test %t2.so %t.o beside %t.o %t2.so
The file was modifiedlld/test/ELF/protected-shared.s
Commit a19e16352610000eae758f9aa930069540f4452f by uday
Fixed broken build under GCC 5.4.

This diff fixes broken build caused by D108550. Under GCC 5, auto lambdas that capture this require `this->` for member calls.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D114659
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
Commit 387927bbaf96310cfcbd4bc41c34b90739af8338 by kazu
[Target] Use range-based for loops (NFC)
The file was modifiedllvm/lib/CodeGen/StackSlotColoring.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CondBrTuning.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
Commit b0c742152489c55ca5976a8f25538e88e224a7d2 by kai.wang
[RISCV] Emit DWARF location expression for RVV stack objects.

VLENB is the length of a vector register in bytes. We use
<vscale x 64 bits> to represent one vector register. The dwarf offset is
VLENB * scalable_offset / 8.

For the mask vector, it occupies one vector register.

Differential Revision: https://reviews.llvm.org/D107432
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSystemOperands.td
The file was addedllvm/test/CodeGen/RISCV/rvv/debug-info-rvv-dbg-value.mir
Commit 8ebb3eac02a926ffa4298c12834c57aefb2e8579 by bjorn.a.pettersson
[test] Use -passes syntax when specifying pipeline in some more tests

The legacy PM is deprecated, so update a bunch of lit tests running
opt to use the new PM syntax when specifying the pipeline.
In this patch focus has been put on test cases for ConstantMerge,
ConstraintElimination, CorrelatedValuePropagation, GlobalDCE,
GlobalOpt, SCCP, TailCallElim and PredicateInfo.

Differential Revision: https://reviews.llvm.org/D114516
The file was modifiedllvm/test/Transforms/GlobalOpt/ctor-list-opt.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/min-max.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/add.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/abs.ll
The file was modifiedllvm/test/Transforms/SCCP/switch-undef-constantfoldterminator.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/pr35807.ll
The file was modifiedllvm/test/Transforms/TailCallElim/ackermann.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-resolve.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-noncapturing-alloca-calls.ll
The file was modifiedllvm/test/Transforms/SCCP/float-phis.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/vtable-rtti.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/musttail_cc.ll
The file was modifiedllvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
The file was modifiedllvm/test/Transforms/SCCP/overdefined-ext.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-align.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2006-07-07-InlineAsmCrash.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-multiple-exits.ll
The file was modifiedllvm/test/Transforms/SCCP/PR26044.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/basictest.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/minmaxabs.ll
The file was modifiedllvm/test/Transforms/TailCallElim/setjmp.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
The file was modifiedllvm/test/Transforms/SCCP/range-and.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
The file was modifiedllvm/test/Transforms/SCCP/atomic-load-store.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-ssa-copy-nested-conds.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/2002-09-23-CPR-Update.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/unnamed-addr.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/merge-dbg.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-bottom-tested-base.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-load.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/SROA-section.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/atomic.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invariant.group.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/blockaddress.ll
The file was modifiedllvm/test/Transforms/SCCP/multiple_callbacks.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/load-store-global-no-null-opt.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/condprop.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/mul.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/integer-bool-dwarf.ll
The file was modifiedllvm/test/Transforms/SCCP/apfloat-basictest.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2021-08-02-CastStoreOnceP2I.ll
The file was modifiedllvm/test/Transforms/SCCP/pr49582-iterator-invalidation.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/evaluate-bitcast-3.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-casts.ll
The file was modifiedllvm/test/Transforms/SCCP/global.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-byval-parameter.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-1-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/ipscp-drop-argmemonly.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/compiler-used.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-05-13-Crash.ll
The file was modifiedllvm/test/Transforms/SCCP/naked-return.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-01-27-UndefCorrelate.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/branch-on-same-cond.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/preserve-comdats.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/ordering.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/assumes.ll
The file was modifiedllvm/test/Transforms/TailCallElim/dont_reorder_load.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/static-const-bitcast.ll
The file was modifiedllvm/test/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/undef-init.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/large-system-growth.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2010-02-25-MallocPromote.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/GSROA-section.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/guards.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp3.ll
The file was modifiedllvm/test/Transforms/SCCP/global-alias-constprop.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/udiv.ll
The file was modifiedllvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/comdats.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/naked_functions.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2011-04-09-EmptyGlobalCtors.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-branch-unresolved-undef.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/null-check-not-use-pr35760.ll
The file was modifiedllvm/test/Transforms/SCCP/switch-multiple-undef.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-pointers-to-arrays.ll
The file was modifiedllvm/test/Transforms/TailCallElim/inf-recursion.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-2-no-null-opt.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/sub.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-2-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-partial.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/evaluate-bitcast-4.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/global-ifunc.ll
The file was modifiedllvm/test/Transforms/SCCP/metadata.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/ugt-ule.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/vector-compares.ll
The file was modifiedllvm/test/Transforms/SCCP/fp-bc-icmp-const-fold.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/preallocated.ll
The file was modifiedllvm/test/Transforms/SCCP/ubsan_overflow.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/dead-store-status.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/diamond.ll
The file was modifiedllvm/test/Transforms/SCCP/bitcast.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/pr33456.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/phi-select.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invoke.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest2.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/externally-initialized-global-ctr.ll
The file was modifiedllvm/test/Transforms/SCCP/widening.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/sub-nuw.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/testandor.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-11-16-MallocSingleStoreToGlobalVar.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadglobal-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/memcpy.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadglobal.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/sdiv.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/pointer.ll
The file was modifiedllvm/test/Transforms/SCCP/overdefined-div.ll
The file was modifiedllvm/test/Transforms/SCCP/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
The file was modifiedllvm/test/Transforms/SCCP/pr27712.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/ne.ll
The file was modifiedllvm/test/Transforms/SCCP/2006-12-04-PackedType.ll
The file was modifiedllvm/test/Transforms/SCCP/undef-resolve.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-11-16-BrokenPerformHeapAllocSRoA.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-select.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadfunction.ll
The file was modifiedllvm/test/Transforms/SCCP/loadtest2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/fastcc.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/indirectbr.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-array.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-04-05-Crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-1.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/store-struct-element.ll
The file was modifiedllvm/test/Transforms/SCCP/PR16052.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
The file was modifiedllvm/test/Transforms/SCCP/loadtest.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/null-check-global-value.ll
The file was modifiedllvm/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
The file was modifiedllvm/test/Transforms/SCCP/return-zapped.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/localize-constexpr.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-01-13-phi-user.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/constantfold-initializers.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-phi.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/decompose-with-temporary-indices.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/range.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-03-07-PromotePtrToBool.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/load-store-global.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/add-nuw.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/externally_available.ll
The file was modifiedllvm/test/Transforms/SCCP/remove-call-inst.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/array-elem-refs.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-1-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/switch-constantfold-crash.ll
The file was modifiedllvm/test/Transforms/SCCP/binaryops-constexprs.ll
The file was modifiedllvm/test/Transforms/SCCP/comdat-ipo.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash-2.ll
The file was modifiedllvm/test/Transforms/SCCP/arg-type-mismatch.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/shrink-address-to-bool.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2010-10-19-WeakOdr.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2010-02-26-MallocSROA.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/shl.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/memset-null.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/srem.ll
The file was modifiedllvm/test/Transforms/SCCP/logical-nuke.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-4.ll
The file was modifiedllvm/test/Transforms/SCCP/PR43857.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-used.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/evaluate-bitcast-2.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/sext.ll
The file was modifiedllvm/test/Transforms/TailCallElim/reorder_load.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-pointers-to-structs.ll
The file was modifiedllvm/test/Transforms/SCCP/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/SCCP/return-argument.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/global_ctors.ll
The file was modifiedllvm/test/Other/debugcounter-predicateinfo.ll
The file was modifiedllvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-undereferenceable.ll
The file was modifiedllvm/test/Transforms/SCCP/return-constants.ll
The file was modifiedllvm/test/Transforms/SCCP/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/sub.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/eq.ll
The file was modifiedllvm/test/Transforms/TailCallElim/deopt-bundle.ll
The file was modifiedllvm/test/Transforms/TailCallElim/dup_tail.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/dom.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-used-address-space.ll
The file was modifiedllvm/test/Transforms/SCCP/int-phis.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/call-with-ptrtoint.ll
The file was modifiedllvm/test/Transforms/SCCP/atomic.ll
The file was modifiedllvm/test/Transforms/SCCP/deadarg.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-iter-order.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/MallocSROA-section.ll
The file was modifiedllvm/test/Transforms/SCCP/crash.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-header-tested-pointer-iv.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/phi-common-val.ll
The file was modifiedllvm/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-unknown-index.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/conflict.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-binaryops.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/MallocSROA-section-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-phi.ll
The file was modifiedllvm/test/Transforms/SCCP/pr52253.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2005-09-27-Crash.ll
The file was modifiedllvm/test/Transforms/TailCallElim/2010-06-26-MultipleReturnValues.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-used-section.ll
The file was modifiedllvm/test/Transforms/SCCP/constant-struct.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/pr33686.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-xor.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/trivialstore.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/align.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-phi-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/memset.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/zext.ll
The file was modifiedllvm/test/Transforms/SCCP/intrinsics.ll
The file was modifiedllvm/test/Transforms/SCCP/sccptest.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/select.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/externally-initialized-aggregate.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-1.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp1.ll
The file was modifiedllvm/test/Transforms/SCCP/retvalue-undef.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/pointercast.ll
The file was modifiedllvm/test/Transforms/SCCP/musttail-call.ll
The file was modifiedllvm/test/Transforms/SCCP/ranges-sext.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/large-int-crash.ll
The file was modifiedllvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/tls.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/PowerPC/coldcc_coldsites.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/alloca.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-ranges.ll
The file was modifiedllvm/test/Transforms/SCCP/pthreads.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deaddeclaration.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-01-29-VolatileGlobal.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll
The file was modifiedllvm/test/Transforms/SCCP/vector-bitcast.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invariant-nodatalayout.ll
The file was modifiedllvm/test/Transforms/SCCP/pr45185-range-predinfo.ll
The file was modifiedllvm/test/Transforms/SCCP/assume.ll
The file was modifiedllvm/test/Transforms/SCCP/binaryops-range-special-cases.ll
The file was modifiedllvm/test/Transforms/SCCP/indirectbr.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-addr-taken.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-constant-ranges.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/2010-09-02-Trunc.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint.ll
The file was modifiedllvm/test/Transforms/SCCP/constant-range-struct.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/available_externally_global_ctors.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-header-tested-base.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/gep-arithmetic.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-bigarray.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-basic.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/sge.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2021-08-03-StoreOnceLoadMultiCasts.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/mixed-signed-unsigned-predicates.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-post-lto.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-11-09-GEP-GEP-Crash.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-ranges-with-undef.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-06-09-WeakProp.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/i128.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/dont-merge.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-predinfo-order.ll
The file was modifiedllvm/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/add.ll
The file was modifiedllvm/test/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/edge.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/wrapping-math.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/pr21191.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-novfe.ll
The file was modifiedllvm/test/Transforms/TailCallElim/accum_recursion.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/empty-constraint.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-01-03-Crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/iterate.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-05-23-UndefCallFold.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-phi-one-pred-dead.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest4.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/zeroinitializer-gep-load.ll
The file was modifiedllvm/test/Transforms/SCCP/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/externally-initialized.ll
The file was modifiedllvm/test/Transforms/SCCP/load-store-range.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-3.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/coldcc_stress_test.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/unreachable.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-add-range-to-call.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-precondition-overflow-check.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2012-05-11-blockaddress.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-compare-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll
The file was modifiedllvm/test/Transforms/SCCP/preserve-analysis.ll
The file was modifiedllvm/test/Transforms/SCCP/user-with-multiple-uses.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-bottom-tested-pointer-cmps.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/int_sideeffect.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-select.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/ctor-list-opt-constexpr.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp4.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/const-return-status-atomic.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/ashr.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/urem.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/crash-2.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/uge.ll
The file was modifiedllvm/test/Transforms/SCCP/pr35357.ll
The file was modifiedllvm/test/Transforms/SCCP/select.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-sext.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invariant.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint2.ll
The file was modifiedllvm/test/Transforms/SCCP/2004-12-10-UndefBranchBug.ll
The file was modifiedllvm/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/unnamed-addr.ll
The file was modifiedllvm/test/Transforms/TailCallElim/debugloc.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-06-04-PackedStruct.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/assume.ll
The file was modifiedllvm/test/Transforms/SCCP/phis.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/pr33457.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/and.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/const-return-status.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/null-check-is-use-pr35760.ll
The file was modifiedllvm/test/Transforms/SCCP/domtree-update.ll
The file was modifiedllvm/test/Transforms/SCCP/dont-zap-return.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-header-tested-pointer-cmps.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/merge-range-and-undef.ll
The file was modifiedllvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/mixed.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/or.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest3.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-byval-parameter-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/metadata.ll
The file was modifiedllvm/test/Transforms/SCCP/range-and-ip.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/2003-10-28-MergeExternalConstants.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-range-crashes.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflow_predicate.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-cycles.ll
The file was modifiedllvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
The file was modifiedllvm/test/Transforms/SCCP/clang-arc-rv.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/global-demotion.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll
The file was modifiedllvm/test/Transforms/SCCP/phi-cycle.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-multigep.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/new-promote.ll
The file was modifiedllvm/test/Transforms/SCCP/switch.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/ule.ll
The file was modifiedllvm/test/Transforms/SCCP/latticeval-invalidate.ll
The file was modifiedllvm/test/Transforms/TailCallElim/notail.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/atexit.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/non-null.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/deopt.ll
The file was modifiedllvm/test/Transforms/SCCP/ub-shift.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2006-11-01-ShrinkGlobalPhiCrash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-compare.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/amdgcn-ctor-alloca.ll
The file was modifiedllvm/test/Transforms/TailCallElim/EraseBB.ll
The file was modifiedllvm/test/Transforms/SCCP/definite-initializer.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
The file was modifiedllvm/test/Transforms/SCCP/2006-12-19-UndefBug.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/and.ll
The file was modifiedllvm/test/Transforms/SCCP/predicateinfo-cond.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-phis.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/ctor-list-opt-inbounds.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/crash.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/profmd.ll
The file was modifiedllvm/test/Transforms/SCCP/float-nan-simplification.ll
The file was modifiedllvm/test/Transforms/TailCallElim/basic.ll
The file was modifiedllvm/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers-bad.ll
Commit 407600604b59ff9970894194eeec62580437a47a by bjorn.a.pettersson
[test] Use -passes in lit tests for the UpdateTestChecks tool

The UpdateTestChecks tool itself does not care about which pass
manager that is used in the opt invocation. So the lit tests that
are verifying the behavior of the UpdateTestChecks tool is updated
to use the new-PM syntax (-passes=) when specifying the pass pipeline
in the test cases that are used for verifying the UpdateTestChecks
tool.

Differential Revision: https://reviews.llvm.org/D114517
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.expected