Changes

Summary

  1. [BOLT] check-bolt in bolt-x86_64-ubuntu-clang-bolt-gcc (details)
  2. Move C++20 buildbot to production (details)
  3. [BOLT] Add BOLT_LLD_EXE for check-bolt in clang-bolt-gcc (details)
  4. Fix a typo and disable more spammy warnings in C++20 buildbot (details)
Commit 45c0d8ee9f904b55783ca8793e9740466d4dafc8 by aaupov
[BOLT] check-bolt in bolt-x86_64-ubuntu-clang-bolt-gcc
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit bcc90002ba9191280191ead404d2230364d7230f by ibiryukov
Move C++20 buildbot to production
The file was modifiedbuildbot/google/terraform/deployment-clang-debian-cpp20.yaml (diff)
Commit 380014434e1f9cb74d59f6408a5f34eb9bb5d9be by aaupov
[BOLT] Add BOLT_LLD_EXE for check-bolt in clang-bolt-gcc
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit a6d73d7d2faf996c473a67390bd54de96fa4f17e by ibiryukov
Fix a typo and disable more spammy warnings in C++20 buildbot
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [X86] Avoid converting u64 to f32 using x87 on Windows (details)
  2. [clang][Interp][NFC] Remove unused functions (details)
  3. [clang][Interp] Use placement new to construct opcode args into vector (details)
  4. [clang][Interp][NFC] Initialize constants as ~0u (details)
  5. [InstCombine] regenerete icmp-logical tests (NFC) (details)
  6. [LoongArch] Add an option for MCInstPrinter to print numeric reg names (details)
  7. [clang][Interp] Check Field initialization after constructor call (details)
  8. [mlir] fix python test (details)
  9. [MLIR][LLVM] Don't use void return type in `getCallableResults`. (details)
  10. [InstCombine] Don't optimize idempotent `atomicrmw <op>, 0` into `load atomic` (details)
  11. [test][InstCombine] Remove out-of-date comment (details)
  12. [mlir][FuncToLLVM] Drop llvm.linkage attribute (details)
  13. [AArch64][SVE2p1] Add SVE2.1 while (predicate-pair) intrinsics (details)
  14. [clang][Interp] Unify visiting variable declarations (details)
  15. [clangd] Simplify some tests in IncludeCleanerTests, NFC (details)
  16. [clang][Interp] Diagnose uninitialized array record fields (details)
  17. [Regex] Avoid NFA machinery for fixed prefix chars (NFC) (details)
  18. [mlir] make multi-size tiling use transform parameters (details)
  19. [mlir] simpler transform dialect silenceable failures (details)
  20. [mlir] fix mlir integration tests (details)
  21. [mlir][LLVM] Replace readnone with memory effects (details)
  22. [mlir][vector] Add a custom builder for LowerVectorsOp (details)
  23. [clang][Interp][NFCI] Pull IsConstantContext into State (details)
  24. [clang][Interp][NFC] Remove shift error checking code duplication (details)
  25. [clang][Interp][NFC] Move CheckDivRem() implementation into Interp.cpp (details)
  26. [clang][Interp] Implement missing compound assign operators (details)
  27. Revert "[clang][Interp][NFC] Move CheckDivRem() implementation into Interp.cpp" (details)
  28. [NFC][bazel] Enable layering_check for mlir/unittests (details)
  29. [mlir][OpenMP] Add nontemporal clause definition to simd construct (details)
  30. Revert "[clang][Interp][NFC] Remove shift error checking code duplication" (details)
  31. [AMDGPU] Add feature predicate for v_fmac_f64 instruction (details)
  32. [VPlan] Add vp_depth_first_shallow + graph traits for wrapper(NFC) (details)
  33. [clang] Improve diagnostic for "initializer-string for char array is too long" (details)
  34. [DAG] Do not combine any_ext when we combine and into zext. (details)
  35. [clang][Interp][NFC] Remove shift error checking code duplication (details)
  36. Revert "[clang][Interp] Implement missing compound assign operators" (details)
  37. Revert "[clang][Interp] Unify visiting variable declarations" (details)
  38. [SPIR-V] Add -opaque-pointers=0 to some LIT tests (details)
  39. [MLIR][Presburger] Support divisions in union of two PWMAFunction (details)
  40. Optimize OptTable::findNearest implementation and usage (details)
  41. [flang][hlfir] Enable lowering and passing of allocatables and pointers. (details)
  42. [clang] Build UsingType for elaborated type specifiers. (details)
  43. [DAG] Peek through ZEXT/TRUNC in foldAddSubMasked1 (details)
  44. [llvm][ir] Purge MD_prof custom accessors (details)
  45. [clangd] Implement unused include warnings with include-cleaner library. (details)
  46. [gn] port 939dce12f9f3 (clangd uses include-cleaner) (details)
  47. [gn] port 939dce12f9f3 (clangd uses include-cleaner) more (details)
  48. [X86] Add register definitions for cfi directives (details)
  49. [InstCombine] Add tests for freeze with !range and !align metadata (NFC) (details)
  50. [SPIR-V] Emit OpExecutionMode ContractionOff for no FP_CONTRACT metadata (details)
  51. [clang][dataflow] Add (initial) debug printing for `Value` and `Environment`. (details)
  52. [InstCombine] Drop incorrect test (NFC) (details)
  53. [InstCombine] Add non-logical variants for some ctpop and/or tests (NFC) (details)
  54. [Dexter] Add on_line parameter to DexExpectStepOrder command (details)
  55. [OpenMP][Fix] Track all threads that may delete an entry (details)
  56. [AArch64] Armv9-A implies FP16 (details)
  57. [InstCombine] Add test for load type conversion with !noundef (NFC) (details)
  58. [flang] Add semantic check for multiple part-ref with non-zero rank (details)
  59. [Local] Preserve noundef metadata in copyMetadataForLoad() (details)
  60. [flang][hlfir] Lower whole allocatable or pointer component ref (details)
  61. [clang][dataflow] Fix bug in joining bool values. (details)
  62. [AArch64] Allow poison elements of fixed-vectors to be duplicated as a widened element (details)
  63. [clangd] Fix clangd-fuzzer build. (details)
  64. [SROA] Check TBAA metadata in tests (NFC) (details)
  65. [libc++][format] Implements range_formatter (details)
  66. [gn build] Port 22e8525dfdd7 (details)
  67. [flang] Fix SELECT TYPE lowering when CLASS DEFAULT is not the last type guard (details)
  68. [flang] Support polymorphic source in RESHAPE intrinsic (details)
  69. [flang] Allow pointer association between derived-type pointer and unlimited polymorphic target (details)
  70. [lit] Stop supporting triple substrings in UNSUPPORTED and XFAIL (details)
  71. [NFC][bazel] Add _tensor_ops_ext.py to SparseTensorOpsPyFiles (details)
  72. [NFC][bazel] Move _tensor_ops_ext.py to the correct filegroup (details)
  73. [SystemZ] Improvement in tryRxSBG(). (details)
  74. [libc++][format] Adds container adaptor formatters. (details)
  75. [CostModel][AArch64] Precommit tests for LD1 single-element to lane. NFC. (details)
  76. [AARCH64][SVE] Do not optimize vector conversions (details)
  77. [gn build] Port 04d4f4b3d4e4 (details)
  78. [libc++][format] Adds formatter std::vector<bool>. (details)
  79. [Flang][Debug] Modifications for getting pathname (details)
  80. [libc] add internal string class (details)
  81. [libc] add scanf float converter (details)
  82. Silence some sign comparison warnings; NFC (details)
  83. [NFC][flang] Added debug option to bisect TBAA tag attachments. (details)
  84. Revert "[lit] Stop supporting triple substrings in UNSUPPORTED and XFAIL" (details)
  85. Fix zero-initialization fix-it for variable template (details)
  86. [clang][driver][AIX] Add OpenMP runtime if -fopenmp specified (details)
  87. [mlir][Index] Implement InferIntRangeInterface (details)
  88. [Sanitizers] GetMemoryProfile implementation for FreeBSD. (details)
  89. [mlir][SCF] Fix crash in loop peeling (details)
  90. [LoopUnroll] Directly update DT instead of DTU. (details)
  91. Forbid implicit conversion of constraint expression to bool (details)
  92. [MLIR] Add InferTypeOpInterface to scf.if op (details)
  93. Revert "Reland [pgo] Avoid introducing relocations by using private alias" (details)
  94. [IRLinker] Replace CallInstr with CallBase (details)
  95. Revert "[mlir][Index] Implement InferIntRangeInterface" (details)
  96. [LinkerWrapper] Use `clang` to perform the device linking (details)
  97. [Clang][NFC] Tweak error message for GPU architecture tools (details)
  98. [AMDGPU] Introduce separate register limit bias in scheduler (details)
  99. [AMDGPU] Treat WMMA the same as MFMA for sched_barrier (details)
  100. [libc++] Refactor deque::iterator algorithm optimizations (details)
  101. [gn build] Port c90801457f7c (details)
  102. [MLIR] Update bazel build file after 455305624884cf9237143e2ba0635fcc5ba5206 (details)
  103. Add tests for ctpop(X) where X is a power of 2; NFC (details)
  104. Add transform ctpop(X) -> 1 iff X is non-zero power of 2 (details)
  105. Removing 'TuningSlow3OpsLEA' from ICL config (details)
  106. [opt] Fix static code analysis concerns (details)
  107. Remove useless / untested verifier in scf.foreach_thread (NFC) (details)
  108. [libc++][format] range-default-formatter for map (details)
  109. Remove the undocumented `help` subcommand. (details)
  110. [llvm][codegen] Fix non-determinism in StackFrameLayoutAnalysisPass output (details)
  111. Revert "[MLIR] Update bazel build file after 455305624884cf9237143e2ba0635fcc5ba5206" (details)
  112. [mlir] Update VectorToGPU to new memory space (details)
  113. [OpenMP][libomp] Insert correct HWLOC version guards (details)
  114. [VPlan] Add vp_depth_first_deep (NFC) (details)
  115. [Clang] Add lifetimebound attribute to std::move/std::forward (details)
  116. Reland "[lit] Stop supporting triple substrings in UNSUPPORTED and (details)
  117. [OpenMP] Build device runtimes for sm_89 and sm_90 (details)
  118. [SLP]Improve isGatherShuffledEntry by looking deeper through the reused scalars. (details)
  119. [ODRHash] Hash `RecordDecl` and diagnose discovered mismatches. (details)
  120. [ODRHash] Detect mismatches in anonymous `RecordDecl`. (details)
  121. Revert "[Clang] Give Clang the ability to use a shared stat cache" (details)
  122. Revert "[AArch64][v8.3A] Avoid inserting implicit landing pads (PACI*SP)" (details)
  123. [llvm] Cleanup edit_distance short circuiting (details)
  124. [Bazel] Fix layering issues (details)
  125. [AMDGPU] Further reduce attaching of implicit operands to spills (details)
  126. CUDA/HIP: Use kernel name to map to symbol (details)
  127. [mlir][vector] Disable folding for masked reductions (details)
  128. [Lex] For dependency directive lexing, angled includes in `__has_include` should be lexed as string literals (details)
  129. [Linalg] Don't create complex vectors when vectorizing copies (details)
  130. Revert "[LoopUnroll] Directly update DT instead of DTU." (details)
  131. Revert "[clang][Darwin] Try to guess the SDK root with xcrun when unspecified" (details)
  132. Revert "[gn] port a033dbbe5c43 (clang-stat-cache)" (details)
  133. [lldb] Re-enable xmm/ymm/zmm tests with the system debugserver (details)
  134. llvm-reduce: Use consistent ReductionFunc types (details)
  135. llvm-reduce: Account for aliases and ifuncs in IR complexity score (details)
  136. llvm-reduce: Account for initializer complexity (details)
  137. llvm-reduce: Use WithColor in another error message (details)
  138. llvm-reduce: Fix typo in help text (details)
  139. [mlir][LLVM] Tidy up DebugTranslation casting (details)
  140. [AVR] Fix incorrectly printed global symbol operands in inline-asm (details)
  141. llvm-reduce: Trim includes and avoid using namespace in a header (details)
  142. [clang] Don't short-circuit constant evaluation for array or record types (details)
  143. [HIP] Unbundler allows missing host entry (details)
  144. [Clang][OpenMP] Allow `f16` literal suffix when compiling OpenMP target offloading for NVPTX (details)
  145. Adding missing colon (details)
  146. [libc++] Implement P2446R2 (views::as_rvalue) (details)
  147. [libc++] Remove old CI configurations and update the supported compiler versions (details)
  148. [gn build] Port b40a3d73dc9c (details)
  149. [llvm] Move bit counting functions to bit.h (NFC) (details)
  150. Revert "[X86] Avoid converting u64 to f32 using x87 on Windows" (details)
  151. [libc++] Mark LWG3349 as complete (details)
  152. [ORC][ORC-RT] Add support for callback-based lookup of JIT'd MachO unwind info. (details)
  153. [ADT,Support] Include compiler.h (details)
  154. [libc++] Enable segmented iterator optimizations for join_view::iterator (details)
  155. [gn build] Port 21f4232dd963 (details)
  156. [mlir][Linalg] Fix crash in LinalgToStandard (details)
  157. NFC. Refactor affine fusion code for readability (details)
  158. [clangd] Fix shared lib builds (details)
  159. [mlir][Linalg] Add missing test (details)
  160. [mlir][Linalg] Fix crash in LinalgToStandard (details)
  161. [mlir][Linalg] Add a structured.pack_transpose transform op (details)
  162. [X86][WIP] Change precision control to FP80 during u64->fp32 conversion on Windows. (details)
  163. [RISCV][TableGen] Use getAllDerivedDefinitions in RISCVTargetDefEmitter to simplify the code. NFC (details)
  164. Revert "[X86][WIP] Change precision control to FP80 during u64->fp32 conversion on Windows." (details)
  165. Add security group 2022 transparency report. (details)
  166. [include-mapping] Parse zombie_names.html into a removed symbols map. (details)
  167. [GVN] Refactor findDominatingLoad function (details)
  168. [Flang] Explicitly include cstdint (NFC) (details)
  169. [clang][Interp] Initialize remaining InlineDescriptor fields (details)
  170. [mlir] GreedyPatternRewriteDriver: Add new strict mode option (details)
  171. [clang] fix crash on generic lambda with lambda in decltype (details)
  172. [libomp] Explicitly include <string> header (NFC) (details)
  173. [VPlan] Add initial VPDT test. (NFC) (details)
  174. [gn build] Port 0e13ccc69cf2 (details)
  175. [bazel] Add missing dependencies for 790f237012 (details)
  176. [flang][hlfir] Lower pointer and allocatable sub-part references (details)
  177. tsan: Consider SI_TIMER signals always asynchronous (details)
  178. [InstCombine] Add tests for constant memcpy with select (NFC) (details)
  179. [ReleaseNotes] Add mention of complex number support for ARM and AArch64 backends. (details)
  180. [mlir][nvvm] Introduce redux op (details)
  181. [AArch64][SME2] Add multi-vector fused multiply-add/subtract intrinsics (details)
  182. [ValueTracking] Take poison-generating metadata into account (PR59888) (details)
  183. [AArch64][SME2] Add multi-vector multiply-add long intrinsics. (details)
  184. [InstCombine] Add multi-use tests for gep of gep fold (NFC) (details)
  185. [OpenCL] Always add nounwind attribute for OpenCL (details)
  186. [mlir][llvm] Drop cyclic dependencies during debug metadata import. (details)
  187. [OpenMP][libomptarget] Fix deinit of NextGen AMDGPU plugin (details)
  188. [mlir][Linalg] Fix ignoring nodiscard return value (details)
  189. [mlir] Introduce a pattern to lower `gpu.subgroup_reduce` to `nvvm.redux_op` (details)
  190. [AArch64][SME2] Add LLVM IR intrinsics for the vertical dot products (details)
  191. [flang][hlfir] Enable allocate, deallocate, pointer assignment lowering (details)
  192. [NFC] Precommit tests (details)
  193. [Assignment Tracking] Update test to use opaque pointers (details)
  194. [clang-format] SortUsingDeclarations support lexicographic order (details)
  195. [clang] Use FP options from AST for emitting code for casts (details)
  196. [SROA] Add additional metadata preservation tests (NFC) (details)
  197. [clang] Fix typos in member initializers (details)
  198. [arith] Allow integer casts of 0-D vectors (details)
  199. [SROA] Use copyMetadataForLoad() helper (details)
  200. [Assignment Tracking][NFC] Replace LLVM command line option with a module flag (details)
  201. [Local] Preserve range metadata if the type did not change (details)
  202. [Assignment Tracking] Fix invalidated iterator usage (details)
  203. [ARM] Fix condition in cmov to csinc combine. (details)
  204. [Assignment Tracking] Fix -fexperimental-assignment-tracking cc1 flag (details)
  205. [Mem2Reg] Add additional noundef variations to nonnull tests (NFC) (details)
  206. [LLVM][OpenMP] Correct the function signature of `__kmpc_parallel_level` (details)
  207. [DebugInfo] Store instr-ref mode of MachineFunction in member (details)
  208. [docs] Update release notes to mention that LoongArch supports JITLink (details)
  209. [polly] Fix i8 alignment in datalayout of lit test (details)
  210. [X86] Fix i8 alignment in datalayout of lit test (details)
  211. [Transforms] Fix i8 alignment in datalayout of lit test (details)
  212. [DirectX] Fix i8 alignment in datalayout of lit test (details)
  213. [DAG] visitINSERT_VECTOR_ELT - move mergeInsertEltWithShuffle / combineInsertEltToShuffle folds after canonicalization (details)
  214. [mlgo] Stream the training data (details)
  215. [mlir][Linalg] fix comparison of integers with different signs (details)
  216. [flang] Add lowering of move_alloc to IntrinsicCall (details)
  217. [Assignment Tracking] Fix tests for buildbot failure (details)
  218. sanmd: refine selection of functions for UAR checking (details)
  219. [clang][nfc] refactor Module::Header to use OptionalFileEntryRef (details)
  220. [MLIR][LLVM] Support inlining LLVM::CallOp to LLVM::FuncOp. (details)
  221. [mlir][LLVM] Add passthrough import support (details)
  222. [DWARF][dsymutil][llvm-dwarfutil] Create a placeholder library DWARFLinkerParallel. (details)
  223. [MLIR] Address post-submit comments on scf.if's InferTypeOpInterface (details)
  224. [Mem2Reg] Only convert !nonnull to assume if !noundef present (details)
  225. [MLIR] Remove scf.if builder with explicit result types and callbacks (details)
  226. [OpenMP] Only test kmp_atomic_float10_max_min.c on X86 (details)
  227. [lldb][test] Skip TestRerunAndExprDylib on Ubuntu 18.04 (details)
  228. Fix !nonnull syntax in test [NFC] (details)
  229. [Assignment Tracking] Fix tests for buildbot failure (2) (details)
  230. [mlir] fix python types (details)
  231. [LoopUnroll] Add test case exposing crash with d0907ce7ed9f. (details)
  232. [InstCombine] Fixup check lines in test (NFC) (details)
  233. [libc++] Enable clang-tidy from the buildkite pipeline instead of hard-coding it in run-buildbot (details)
  234. [libc++] Move iota_view::iterator and sentinel out of iota_view (details)
  235. [Bitcode] Fix invalid !nonnull metadata in test (NFC) (details)
  236. [ODRHash] Hash `ObjCInterfaceDecl` and diagnose discovered mismatches. (details)
  237. [modules] Allow parsing a duplicate Obj-C interface if a previous one comes from a hidden [sub]module. (details)
  238. [NFC] Reformat isBuiltinSupported with early exit (details)
  239. Fix unused variable warning. (details)
  240. [RISCV][LSR] Precommit test coverage for an upcoming change (details)
  241. Add support for clang-cl's option `-fexcess-precision`. (details)
  242. [mlir] use stable_sort for OperationLegalizer::computeOpLegalizationDepth (details)
  243. Recommit "[LoopUnroll] Directly update DT instead of DTU." (details)
  244. [libc++][format] range-default-formatter for set. (details)
  245. [NFC]Fix github identification. (details)
  246. [NFC][DWARFLinker] Refactor address emitting code. (details)
  247. [ARM][AArch64] Switch to generic MEMBARRIER node (details)
  248. [X86] `LowerBUILD_VECTOR()`: fix all-UNDEF detection (details)
  249. [MachineCombiner] Use default latency model when no detailed model available (details)
  250. [AArch64][SME2] Add multi-vector FP convert from Float to interleave Half/BFloat intrinsic (details)
  251. [AArch64] Enable libm vectorized functions via SLEEF (details)
  252. [gn] port a920ae3b8d1e9 (DWARFLinkerParallel) (details)
  253. [Sanitizers] intercept hexdump on FreeBSD. (details)
  254. [RISCV] Remove Features from CPUInfo in RISCVTargetParser. (details)
  255. [InstCombine] regenerate test checks; NFC (details)
  256. [RISCV][TableGen] Move XLen detection into getMArch in RISCVTargetDefEmitter. NFC (details)
  257. [PGO] incorrect classof in InstrProfIncrementInst (details)
  258. Revert "[RISCV][TableGen] Move XLen detection into getMArch in RISCVTargetDefEmitter. NFC" (details)
  259. Revert "[llvm] Move bit counting functions to bit.h (NFC)" (details)
  260. [NFC][CVP] Add tests for udiv expansion (details)
  261. [CVP] Expand bound `udiv`'s, symmetrically with `urem`'s (details)
  262. Add Parse/Sema for iterator for map clause. (details)
  263. [mlir] Add "memref::MemRefDialect" as dependentDialects for GpuToLLVMConversionPass (details)
  264. [InstCombine] adjust tests for fptoui + trunc; NFC (details)
  265. [BOLT][DWARF] Change loclist encoding to use base_addrx (details)
  266. [RS4GC] Add a GCStrategy option to enable RS4GC (details)
  267. [Clang][OpenMP] Bail out early if `Scope` is nullptr in case of any crash (details)
  268. [bazel] Add missing dependency after 16f8d17f7b (details)
  269. [bazel] Remove some unused dependencies (details)
  270. Update the status of some C11 and C99 features we support (details)
  271. [OpenMP] Fix for distributed barrier. (details)
  272. Allow a target loop to be used inside a parallel. (details)
  273. [LSR] Generalize one aspect of terminator folding (recently introduced in D132443) (details)
  274. Recommit "[RISCV][TableGen] Move XLen detection into getMArch in RISCVTargetDefEmitter. NFC" (details)
  275. [PowerPC] Remove the lax warning for explicit casts (details)
  276. [mlir][Index] Implement InferIntRangeInterface, re-land (details)
  277. Correct documentation for the refersToType AST matcher (details)
  278. [clang/driver] Add `-gno-modules` as the negative version of `-gmodules` (details)
  279. [LSR] Style cleanup for code recently added in D132443 (details)
  280. Revert "Revert "[MLIR] Update bazel build file after 455305624884cf9237143e2ba0635fcc5ba5206"" (details)
  281. [bazel] Fix up dependency (details)
  282. [lldb] Remove timer from SBModule copy ctor (details)
  283. [lldb] Implement SymbolFile::CopyType (details)
  284. [OMPIRBuilder] Pass dependencies to createTask by value (details)
  285. [AMDGPU][NFC] Clarify heterogeneous DWARF address/memory spaces (details)
  286. [clang/CodeGenActionTest] Use the platform's path separator for the `DebugInfoCWDCodeGen` test (details)
  287. [APSInt] Fix bug in APSInt mentioned in https://github.com/llvm/llvm-project/issues/59515 (details)
  288. [Clang] [Sema] Removed a fix-it for system headers (details)
  289. [mlir][sparse] IR/SparseTensorDialect.cpp: misc code cleanup (details)
  290. [clang][modules] Disallow importing private framework in the implementation (details)
  291. [libc++] add FreeBSD atomic wait support (details)
  292. Revert "sanmd: refine selection of functions for UAR checking" (details)
  293. [Clang] Fix test case `clang/test/OpenMP/bug59944.c` (details)
  294. Revert "Add support for clang-cl's option `-fexcess-precision`." (details)
  295. [libc++] Add FreeBSD XFAILs in preparation for CI (details)
  296. [libc][NFC] Replace static inline and inline annotations with LIBC_INLINE. (details)
  297. [mlir] Fix a warning (details)
  298. [InstSimplify] add tests for logical-and/or reduction; NFC (details)
  299. [InstSimplify] with poison-safe logical ops: (X && Y) || X --> X (details)
  300. AMDGPU: Put un-initiaized enumerators together in an enum definition. (details)
  301. Fix a -Wunused-variable warning in release build. (details)
  302. [LegacyDivergenceAnalysis] Add NewPM support (details)
  303. [BPF][clang] Ignore stack protector options for BPF target (details)
  304. [OpenMP] Clean up AMD handling for `-fopenmp-targets=amdgcn` arch inference (details)
  305. [OpenMP] Remove unfinished and unused 'Analyzer' tool (details)
  306. Remove the LINK_COMPONENTS entry from lldb-instr CMakery (details)
  307. [BOLT][NFC] Move out ReorderFunctions::printStats (details)
  308. [clang] Add ElaboratedType sugaring for types on implicit special members (details)
  309. WIP listeners (details)
  310. Revert "WIP listeners", totally pushed by mistake! (details)
  311. bazel: libc: Add missing dependency (details)
  312. [clang][dataflow] Allow analyzing multiple functions in unit tests (details)
  313. [libc][Obvious] Restore static keyword of a few static methods. (details)
  314. [bazel][libc] fixes (details)
  315. Reland: Drop the ZeroBehavior parameter from countLeadingZeros and the like (NFC) (details)
  316. llvm-reduce: Reorganize some function locations (details)
  317. llvm-reduce: Fix default handling of intermediate format (details)
  318. GlobalISel: Split main function of RegBankSelect up (details)
  319. [BOLT] Handle __uniq suffix added by -funique-internal-linkage-names (details)
  320. [bazel][libc] fixes (details)
  321. [ADT] Add bit_floor, bit_ceil, and bit_width to bit.h (details)
  322. [mlir][sparse] factoring out getRankedTensorType helper function (details)
  323. [BOLT][NFC] Move getLTOCommonName to Utils (details)
  324. [ADT] Add [[nodiscard]] to the functions in bit.h (NFC) (details)
  325. [Clang][test] Avoid FileCheck error when matching `-cc1` (details)
  326. sanmd: refine selection of functions for UAR checking (details)
  327. Make `shouldExpandLogicAtomicRMWInIR` able to match both operands. (details)
  328. GlobalISel: Fix the broken release build after c1fc5219cb23d1e14c0115381321f6d8d6a4fc17 (details)
  329. Re-commit "[clang][Interp] Unify visiting variable declarations" (details)
  330. [ORC] Add lazy jit support for LoongArch64 (details)
  331. [cmake] Fix some indentation in HandleLLVMOptions.cmake (details)
  332. [DAG] getNode - add type assertion checks for ISD::ABDS/ABDU (details)
  333. [X86] avx2-vperm.ll - use X86 check prefix instead of X32 (details)
  334. [openmp] Workaround for HSA in issue 60119 (details)
  335. [C++20][Modules] Handle defaulted and deleted functions in header units. (details)
  336. [M68k] Fix M68k pipeline order test after 4ece50737d5385fb80cfa23f5297d1111f8eed39 (details)
  337. [Cost] Add CostKind to getVectorInstrCost and its related users (details)
  338. [libc++] Implement P1413R3 (Deprecate std::aligned_storage and std::aligned_union) (details)
  339. [libc++] Granularize <type_traits> includes in <bit>, <numbers> and <coroutine> (details)
  340. [X86] v8i1-masks.ll - add avx512 test coverage and use X86 check prefix instead of X32 (details)
  341. [X86] Add DAG tests showing the failure to reassociate IMINMAX nodes to fold constant operands (details)
  342. [VPlan] Consider all recipes in replicate blocks as sink candidates. (details)
  343. [AArch64] Simplify isSeveralBitsExtractOpFromShr (NFC) (details)
  344. [ARM] Cortex-M55 Scheduling Model (details)
  345. [DAG] Convert static combineABSToABD to DAGCombiner::foldABSToABD. NFCI. (details)
  346. [RISCV] Use llvm::bit_width (NFC) (details)
  347. [OpenMP] Modernize the kernel launching interface and APIs (details)
  348. [clang/driver] Make sure that `-gno-modules` by itself doesn't enable debug info (details)
  349. [NFC][SCEV] `computeSCEVAtScope()`: clang-format (details)
  350. [NFC][SCEV] Reflow `computeSCEVAtScope()` into an exhaustive switch (details)
  351. [NFC][SCEV] `computeSCEVAtScope()`: `scUnknown`: use early-returns (details)
  352. [NFC][SCEV] `computeSCEVAtScope()`: reserve vector size upfront (details)
  353. [X86] `X86TargetLowering`: override `allowsMemoryAccess()` (details)
  354. [OpenMP][FIX] Remove version check lines in clang test (details)
  355. [OpenMP][FIX] Runtime args are not kernel args (details)
  356. [llvm] Use llvm::bit_width (NFC) (details)
  357. [NFC][SCEV] Reflow `getRelevantLoop()` into an exhaustive switch (details)
  358. [NFC][SCEV] Reflow `getRangeRef()` into an exhaustive switch (details)
  359. [llvm] Use llvm::bit_width (NFC) (details)
  360. Remove trailing whitespace from comment (details)
  361. [NFC][SCEV] `createNodeForSelectOrPHIInstWithICmpInstCond()`: return optional (details)
  362. [NFC][SCEV] `createNodeForSelectOrPHIInstWithICmpInstCond()`: directly take `Type`, not `Instruction` (details)
  363. [NFC][SCEV] `SCEVTraversal::visitAll()`: deduplicate handling (details)
  364. [NFC][SCEV] `CompareSCEVComplexity`: deduplicate handling (details)
  365. Add missing dependent dialects to "convert-gpu-to-rocdl" (details)
  366. Add the test dialect as dependent for the "test-legalize-patterns" test pass (details)
  367. [OpenMP] Introduce the `ompx_dyn_cgroup_mem(<N>)` clause (details)
  368. [OpenMP][FIX] Add default clause to switch (details)
  369. [OpenMP][FIX] Split test into amdgpu and nvptx specific ones (details)
  370. [OpenMP] Try to fix Flang after new clause was added (details)
  371. [BPF][Clang] Fix func argument pattern in bpf-stack-protector test (details)
  372. [libc++] Rename take_while_view::__sentinel to __take_while_view_sentinel (details)
  373. Add tests for ctpop(Pow2); NFC (details)
  374. Transform ctpop(Pow2) -> icmp ne Pow2, 0 (details)
  375. [clang][Interp][NFC] Fix header comment file name (details)
  376. [clang][Interp][NFC] Forward-declare Boolean in PrimTypes.h (details)
  377. [clang][Interp][NFCI] Make InitMap::isInitialized() const (details)
  378. [Attributor] Handle constant icmp expressions in AAPotentialValues (details)
  379. [OpenMP] Simplify `llvm.assume` operands in device code (details)
  380. [bazel] Add missing dependencies for 4f1e244eb5 (details)
  381. [C++20][Modules] Fix named module import diagnostics. (details)
  382. [LoongArch] Allow %pc_lo12 relocs in JIRL's immediate operand position (details)
  383. [clang-format][NFC] Set LineEnding to LF in config files (details)
  384. [clang-format][NFC] Add .clang-format to clang/tools/clang-format/ (details)
  385. [Mips] Use MCInstrInfo::get in MipsAsmParser instead of reinventing it. NFC. (details)
  386. [SVE] Add intrinsics for integer binops that explicitly undefine the result for inactive lanes. (details)
  387. [NFC] Small indentation fix in lld/ELF/Relocations.cpp (details)
  388. [NFC][X86] Fixup `-mattr=<>` in one runline in `elementwise-store-of-scalar-splat.ll` (details)
  389. [NFC][X86] Fixup typo in `blend-of-shift.ll` (details)
  390. [DAG] mergeInsertEltWithShuffle - pull out mergeEltWithShuffle helper. NFCI. (details)
  391. AMDGPU: Add modern copy of fneg combines test (details)
  392. AMDGPU: Copy a source modifier test for f16/v2f16 (details)
  393. [NFC][SCEV] `computeSCEVAtScope()`: deduplicate handling (details)
  394. [NFC][SCEV] `getLoopDisposition()`: deduplicate handling (details)
  395. [NFC][SCEV] `getBlockDisposition()`: deduplicate handling (details)
  396. [NFC][SCEV] `getRelevantLoop()`: deduplicate handling (details)
  397. [NFC][SCEV] Reflow `computeSCEVAtScope()` into an exhaustive switch (details)
  398. [NFC][SCEVExpander] `CmpSelCost`: use the cost of the expression, not operand (details)
  399. [X86] avx-vbroadcastf128.ll - use X86 check prefix instead of X32 (details)
  400. [X86] commute-3dnow.ll - use X86 check prefix instead of X32 (details)
  401. [mlir][ods] Simplify signature of `custom` printers and parsers of Attributes and Types in presence of default constructible parameters (details)
  402. [X86] avx2-vbroadcast.ll - use X86 check prefix instead of X32 (details)
  403. [clang][doc] Fixes formatting of a text block. (details)
  404. [InstSimplify] add tests for poison-safe variants of (X || Y) && Y; NFC (details)
  405. [InstSimplify] (X || Y) && Y --> Y (for poison-safe logical ops) (details)
  406. [libc++][test] Disable parts requiring locales. (details)
  407. [PVS-Studio][NFC] fix a typo in ShapeUtils.h (details)
  408. [NFC][SCEV] Reflow `impliesPoison()` into an exhaustive switch (details)
  409. [Flang][NFC] fix a cpoy-paste in fold-logical.cpp (details)
  410. [DAG] visitINSERT_VECTOR_ELT - use mergeEltWithShuffle to merge inserted vector element chain into base shuffle node (details)
  411. [PowerPC] Regenerate vec_absd.ll test checks (details)
  412. [MC][test] Fix a typo (details)
  413. [ADT] Add llvm::byteswap to bit.h (details)
  414. [ADT] llvm::bit_cast - use __builtin_bit_cast if available (details)
  415. [Support] Use functions from bit.h (NFC) (details)
  416. [NFC] Fix "form/from" typos (details)
  417. [Dominators] Introduce DomTreeNodeTraits to allow customization. (NFC) (details)
  418. [NFC][SCEV] Reflow `GetMinTrailingZerosImpl()` into an exhaustive switch (details)
  419. [NFC][SCEV] `GetMinTrailingZerosImpl()`: deduplicate handling (details)
  420. [NFC][SCEV] Reflow `getRangeRefIter()` into an exhaustive switch (details)
  421. [SCEV] `getRangeRefIter()`: don't forget to recurse into casts (details)
  422. [CMake] Look up target subcomponents in LLVM_AVAILABLE_LIBS (details)
  423. Use llvm::popcount instead of llvm::countPopulation(NFC) (details)
  424. [compiler-rt][builtins] Skip building (b)float16 support on i386-freebsd (details)
  425. [llvm] Use llvm::bit_floor (NFC) (details)
  426. [llvm] Use llvm::bit_ceil (NFC) (details)
  427. [Support] Use llvm::bit_floor in PowerOf2Floor (NFC) (details)
  428. [OpenMP][FIX] Use thread id not team id for masked section (details)
  429. [OpenMP][FIX] Properly update ParallelLevels tracker (details)
  430. [OpenMP] Guarding restrictions are required only for guarding (details)
  431. [OpenMP][DeviceRTL][NFC] Use `OMPTgtExecModeFlags` from `llvm/include/llvm/Frontend/OpenMP/OMPDeviceConstants.h` (details)
  432. [MC] Replace a switch with two 'if's (NFC) (details)
  433. [OpenMP] Merge barrier elimination into AAExecutionDomain (details)
  434. [AVR] Emit 'eicall' for devices with large program memory (details)
  435. [MC] Replace single-case switch with an if (NFC) (details)
  436. ARM: Add baseline test for fneg + fcmp + select combine (details)
  437. [HIP] Change default offload arch to gfx906 (details)
  438. [OpenMP][FIX] Adjust enum size to avoid assertion after D142320 (details)
  439. [Support] Use llvm::byteswap in SwapByteOrder.h (NFC) (details)
  440. [DAGCombine]Expand usage of CreateBuildVecShuffle to make full use of vector ops (details)
  441. [libc++] Improve binary size when using __transaction (details)
  442. [libc++] Refactor clang-query checks to clang-tidy checks to get less obscure error messages (details)
  443. [OpenMP][FIX] Ensure not to dereference a nullptr (details)
  444. [gn build] Port 7458908f12da (details)
  445. [OpenMP] Identify non-aligned barriers executed in an aligned context (details)
  446. [Attributor] Multi-range accesses can be exact (details)
  447. [Attributor] Add initial support for vectors in AAPointerInfo (details)
  448. [LangRef] Require i8s to be naturally aligned (details)
  449. [flang] Deal with NULL() passed as actual arg to unlimited polymorphic dummy (details)
  450. [libc][NFC] Detect host CPU features using try_compile instead of try_run. (details)
  451. [clang][Interp][NFC] Remove unused using alias (details)
  452. [clang][Interp][NFC] Add Record::getDestructor() (details)
  453. [Flang] fix a copy-paste error in scope.cpp (details)
  454. [clang][Interp][NFC] Rename InlineDescptor::IsMutable to IsFieldMutable (details)
  455. [clang][DebugInfo] Don't canonicalize names in template argument list for alias templates (details)
  456. [MLIR][NFC] Fix a memset in MemRefUtils.h (details)
  457. DAG: Look through fneg when trying to create unsafe minnum/maxnum (details)
  458. DAG: Use getNegatedExpression in combineMinNumMaxNum (details)
  459. [Verifier] Check that !nonnull metadata is empty (details)
  460. Revert "[compiler-rt][builtins] Skip building (b)float16 support on i386-freebsd" (details)
  461. Add clang_CXXMethod_isExplicit to libclang (details)
  462. Revert D142108 "[libc][NFC] Detect host CPU features using try_compile instead of try_run." (details)
  463. [LLDB] Remove return value from DumpRegisterValue (details)
  464. [LICM] Don't generate crash dialog for missing MSSA (details)
  465. [PassBuilder] Detect loop-mssa for licm with parameters (PR60149) (details)
  466. [clang][Interp][NFC] Remove InitFn code (details)
  467. [ARM] Don't emit Arm speculation hardening thunks under Thumb and vice-versa (details)
  468. [AArch64] Make CNTPCTSS_EL0 and CNTVCTSS_EL0 system registers read-only (details)
  469. [MC] Make more use of MCInstrDesc::operands. NFC. (details)
  470. Fix `FindSingleBitChange` to handle NOT(V) where V is not an Instruction (details)
  471. [clang] Fix the location of UsingTypeLoc. (details)
  472. Revert "Add clang_CXXMethod_isExplicit to libclang" (details)
  473. [MC] Do not copy MCInstrDescs. NFC. (details)
  474. [X86] Add test coverage for and(ext(and(x, c1)),c2) patterns (details)
  475. [MLIR][OpenMP] Added target data, exit data, and enter data operation definition for MLIR (details)
  476. [InstCombine] Add additional memcpy from constant test with phi (NFC) (details)
  477. [DebugInfo][CSInfo] Don't use clobbered registers as locations (details)
  478. [Transforms] Add lit test for instcombine on load into vector of overaligned elements. (details)
  479. [IR] Avoid creation of GEPs into vectors (in one place) (details)
  480. [LLDB] Fix build error after D142214 (details)
  481. [X86][ABI] Don't preserve return regs for preserve_all/preserve_most CCs (details)
  482. [AArch64][SVE2p1] Add SVE2.1 fclamp intrinsic (details)
  483. [Test] Add test for PR60234 (details)
  484. [Test] Add test exercising scenarios of widening into loop-invariant condition (details)
  485. [BOLT] Fix build error after D142214 (details)
  486. [AArch64][SME] Allow predicate-as-counter operands for psel (details)
  487. [AArch64][SME2] NFC: Simplify multiclasses for mova/movaz. (details)
  488. [AArch64][SME2] MOVA tile-to-vector and vector-to-tile should not accept VG suffix (details)
  489. [InstCombine] Make worklist check in memcpy from constant fold more precise (details)
  490. [Clang] Remove flaky test line from linker wrapper test (details)
  491. [Clang][NFC] Remove documentation and mentions of deleted tools (details)
  492. [NFC][AArch64] Rename SVE2p1 sclamp and uclamp tests (details)
  493. [clang] Optimize clang::Builtin::Info density (details)
  494. [VPlan] Switch default graph traits to be recursive, update VPDomTree. (details)
  495. [NFC][Instcombine] More trunc fp-to-int tests. (details)
  496. Fix MSVC "not all control paths return a value" warning. NFC. (details)
  497. [LLVM][TableGen] Add jupyter kernel for llvm-tblgen (details)
  498. [LLVM][TableGen] Support combined cells in jupyter kernel (details)
  499. [include-cleaner] Ranking of providers based on hints (details)
  500. [DAG] visitAnd - fold (and (ext (and V, c1)), c2) -> (and (ext V), (and c1, (ext c2))) (details)
  501. [SCCP] Regenerate check lines for some tests. (details)
  502. [flang] Add conditional rebox when passing fir.box to optional fir.class (details)
  503. [MC] Define and use MCInstrDesc implicit_uses and implicit_defs. NFC. (details)
  504. [Clang[NFC] Fix bitmask for NullabilityPayload in Types.h (details)
  505. [llvm][tablegen][jupyter] Fixup README (details)
  506. [Libomptarget][NFC] Silence unknown CUDA version warnings (details)
  507. [Libomptarget] Include "hsa/hsa.h" instead (details)
  508. [Libomptarget][NFC] Address a few warnings in libomptarget (details)
  509. [AArch64] Add missing system register for v8.9-A/v9.4-A Permission Indirection Extension (details)
  510. [AArch64] Support v8.9-A/v9.4-A in .arch_extension directive (details)
  511. [mlir] add RemoveConstantIfCondition to populateOpenACCToSCFConversionPatterns (details)
  512. [mlir] fix side effects for transform.AlternativesOp (details)
  513. [mlir] fix outdated assert in affine symbol verification (details)
  514. [AArch64] Check 128-bit Sysreg Builtins (details)
  515. bazel: adapt for https://github.com/llvm/llvm-project/commit/a4699a43e42615281c96599d20977cabf10bfb9c (details)
  516. [mlir][MemRefToLLVM] Remove the code for lowering collaspe/expand_shape (details)
  517. [docs] add early Arm arch support improvements to release notes (details)
  518. [SCCP] Add initial tests for NUW/NSW inference. (details)
  519. [AArch64] Add command line support for v9.4-A's Instrumentation Extension (details)
  520. [AArch64][Clang] Adjust default features for v8.9-A/v9.4-A in clang driver (details)
  521. [libc][NFC] Reduce CMake configuration time (details)
  522. [mlir] support unsigned int in mlir::spirv::ConstantOp::getAsmResultNames (details)
  523. Add support for clang-cl's option `-fexcess-precision`. (details)
  524. [AArch64][SME2] Add multi-vector convert to/from floating-point intrinsic (details)
  525. [libc++][doc] Fixes the usage of improper markup. (details)
  526. [SCCP] Auto-generate check lines for ip-ranges-select.ll. (details)
  527. [SCCPSolver] Move helper functions inside SCCPSolver (NFC). (details)
  528. [AArch64][SME2] Add Multi-vector saturating extract narrow intrinsics (details)
  529. Revert "[lldb] Remove timer from SBModule copy ctor" (details)
  530. [AArch64] Function multi-versioning release notes added. NFC. (details)
  531. Mark BuiltinHeaders.def as textual (details)
  532. [RISCV] Move Processors and Features from RISCV.td to their own files. (details)
  533. [Clang] Fix a Wbitfield-enum-conversion warning in DirectoryLookup.h (details)
  534. Revert "[AArch64] Function multi-versioning release notes added. NFC." (details)
  535. [tsan] Always initialize tsan when building shared lib (details)
  536. [AArch64] Function multi-versioning release notes added. NFC. (details)
  537. [AArch64] Remove AES, SHA2, SHA3 and SM4 features from armv8.6-a+ (details)
  538. [AMDGPU] Tune scheduler on GFX10 and GFX11 for regions with spilling (details)
  539. Run cmdline address expressions through ABI's FixAddress (details)
  540. Silence an MSVC "not all control paths return" warning; NFC (details)
  541. [TableGen] Avoid repeated lookups of Uses and Defs records. NFC. (details)
  542. [llvm] Fix warnings (details)
  543. [AMDGPU] Use more consistemt way to avoid overflow in the scheduler (details)
  544. [InstCombine] Handle select inst when eliminating constant memcpy (details)
  545. [mlir][spirv] Move uint asm name test to the proper place (details)
  546. [flang] Keep polymorphic aspect when lowering intrinsic arguments (details)
  547. [bazel] Fix layering_check issues of {llvm,clang}:all (details)
  548. [mlir][sparse] clean vectorization bail-out for VL=0 (details)
  549. [docs] Add release notes for news in 16.x done by me, or otherwise relating to MinGW targets (details)
  550. [flang] Avoid unnecessary temporaries in ArrayValueCopy. (details)
  551. [RISCV] Add a test case for a missed PRE oppurtunity when inserting vsetvlis (details)
  552. AMDGPU: Add AMDGPUSubtarget::getEUsPerCU() (details)
  553. AMDGPU: Re-run UTC scripts on some test cases (details)
  554. AMDGPU: Add a scheduler test to demonstrate an upcoming change (details)
  555. AMDGPU: Clean up LDS-related occupancy calculations (details)
  556. [bazel] Fix --features=layering_check issues for llvm/unittests (details)
  557. [bazel] Enable layering_check for llvm/unittests (details)
  558. [clang-tidy] Introduce HeaderFileExtensions and ImplementationFileExtensions options (details)
  559. [clang-tidy][NFC] Fix Release Notes build error (details)
  560. [libc++] implement P1020R1 P1973R1 make_unique[shared]_for_overwrite (details)
  561. [build] Fix stand-alone builds of clang. (details)
  562. [Clang] [Python] Fix tests when default config file contains -include (details)
  563. [clang-tidy][NFC] Use C++17 nested namespaces in clang-tidy headers (details)
  564. [clang-tidy] Improve rename_check.py (details)
  565. Revert "[build] Fix stand-alone builds of clang." (details)
  566. Fix test expected result [NFC] (details)
  567. [docs] Add/update docs regarding LLVM_NATIVE_TOOL_DIR vs LLVM_TABLEGEN (details)
  568. Fix test expected result [NFC] (details)
  569. readability-const-return-type: don't diagnose a template function returning T, even if sometimes instantiated with e.g. T = const int. (details)
  570. [Fuchsia] Build windows runtimes using cross compilation on Linux (details)
  571. [clang] Fix unused variable warning in isBuiltinSupported (details)
  572. [clang-format] Fix bugs in parsing C++20 module import statements (details)
  573. [NFC] Consolidate llvm::CodeGenOpt::Level handling (details)
  574. [profile] Disable test which needs update after D141512 (details)
  575. [CMake] Replace list(FIND) by if(IN_LIST) where index isn't used (details)
  576. [NFC] Remove redundant range check (details)
  577. [InstCombine] add tests for signbit compares; NFC (details)
  578. [InstCombine] remove dead pattern matching code; NFC (details)
  579. [InstCombine] add tests for masked/casted icmp; NFC (details)
  580. [InstCombine] relax one-use check for icmp with mask/cast (details)
  581. [InstCombine] allow matching vector types for icmp-of-mask/cast (details)
  582. [Libomptarget] Use the nextgen plugins by default. (details)
  583. CoroFrame: Fix missing bitcast for some frame merges (details)
  584. [Support] revert accidentally removed "std::" specifiers (details)
  585. [NFC] Use int underlying type for CodeGenOpt::Level (details)
  586. [NFC] Add missing llvm:: specifier (details)
  587. [build] Fix stand-alone builds of clang. (details)
  588. [Clang][NFC] Fix documentation and remove unused tool (details)
  589. [HWASAN] Fix memory leaks in tests. (details)
  590. [Sanitizer] Make GetBlockBeginFastLocked parameters const. (details)
  591. [NFC][WoA] Precommit test for aarch64 atomics (details)
  592. [WoA] Use fences for sequentially consistent stores/writes (details)
  593. Revert "[build] Fix stand-alone builds of clang." (details)
  594. Re-apply [build] Fix stand-alone builds of clang. (details)
  595. [HWASAN] Fix PointsIntoChunk to untag pointers. Also added some checks where we know that the pointer should be untagged. (details)
  596. [libc][NFC] Another round of replacement of static inline with LIBC_INLINE. (details)
  597. [libc++] Fix installation path for the modulemap (details)
  598. Revert "[profile] Disable test which needs update after D141512" (details)
  599. [bugpoint] Fix compilation of bugpoint-passes on Windows (details)
  600. Revert "[Fuchsia] Build windows runtimes using cross compilation on Linux" (details)
  601. [mlir] support !shape.value_shape when replace WithOp in OutlineShapeComputationPass. (details)
  602. [Attributor][FIX] Replace typo with something more sane (details)
  603. [Attributor][FIX] Reachability needs to process the entire worklist (details)
  604. [Attributor][FIX] Ensure not to run new queries during manifest (details)
  605. [Attributor] Allow to delete (assume) intrinsics outside the SCC (details)
  606. [Attributor] Check assumptions to improve `isAlignedBarrier` queries (details)
  607. [MLIR] Add LocationAttr declarations to ODS (details)
  608. [IndVars] Apply more optimistic SkipLastIter for AND/OR conditions (details)
  609. [IndVars] Improve handling of multi-exit loops with known symbolic counts (details)
  610. [AMDGPU][NFC] Apply new naming convention for feature fmacf64 (details)
  611. Opting out of Clang 16 ABI Changes for AIX and z/OS (details)
  612. [Clang][NFC] Remove a redundancy check in Sema::adjustMemberFunctionCC (details)
  613. [OpenMP] Run the Attributor as part of the device runtime optimization (details)
  614. [OpenMP] Readnone calls do not have non-local side-effects (details)
  615. [Attributor] Allow (inter-procedural) "CFG" reasoning for aligned regions (details)
  616. [SystemZ] Use isShiftedMask_64 instead of isStringOfOnes (NFC) (details)
  617. [llvm] Use llvm::countr_zero instead of findFirstSet (NFC) (details)
  618. [1/7][Clang][RISCV] Remove default tail-undisturbed for vector reduction intrinsics (details)
  619. [2/7][Clang][RISCV] Remove default tail-undisturbed for vslideup intrinsics (details)
  620. [3/7][Clang][RISCV] Remove default tail-undisturbed for vslidedown intrinsics (details)
  621. [4/7][Clang][RISCV] Remove default tail-undisturbed for multiply-add intrinsics (details)
  622. [5/7][Clang][RISCV] Remove default tail-undisturbed for vcompress intrinsics (details)
  623. [6/7][Clang][RISCV] Remove default tail-undisturbed for vmv_s_x and vfmv_s_f intrinsics (details)
  624. [7/7][Clang][RISCV][NFC] Remove attribute `IsPrototypeDefaultTU` (details)
  625. [1/15][Clang][RISCV][NFC] Extract common utility to RISCVVIntrinsicUtils (details)
  626. [2/15][Clang][RISCV][NFC] Rename Policy::IsPolicyNone to IsUnspecifed (details)
  627. [3/15][Clang][RISCV][NFC] Clarify edge cases of RVVIntrinsic::getSupportedMaskedPolicies for clarity (details)
  628. [4/15][Clang][RISCV][NFC] Remove unnecessary logic under RVVIntrinsic::computeBuiltinTypes (details)
  629. [5/15][Clang][RISCV][NFC] Remove extra attribute Policy::IntrinsicWithoutMU by reusing HasTailPolicy and HasMaskPolicy (details)
  630. [mlir][linalg] Convert tensor.generate to destination style (details)
  631. [cmake] Remove AddLLVMDefinitions (details)
  632. [cmake] Stop using add_definitions (details)
  633. [mlir][linalg] Convert tensor.pad to destination style (details)
  634. [NFC] Use new version of SelectionDAG::getLoad in NVPTXLowerFormalArguments (details)
  635. [mlir][FuncToLLVM] Fix arg attr memref interaction (details)
  636. [clang][Lex] Add back PPCallbacks::FileNotFound (details)
  637. [AMDGPU] Add missing physical register check in SIFoldOperands::tryFoldLoad (details)
  638. [libc++][ranges] implement `std::ranges::split_view` (details)
  639. [6/15][Clang][RISCV][NFC] Instructions with a mask destination register is always tail agnostic (details)
  640. [gn build] Port a2b3ab8f7786 (details)
  641. [InstCombine] trunc (fptoui|fptosi) (details)
  642. [AArch64][SME2] Add Multi-vector saturating extract narrow and interleave intrinsics (details)
  643. [flang] Support polymorphic input array for PACK intrinsic (details)
  644. [7/15][Clang][RISCV][NFC] Correct the default value for Policy to TAMU (details)
  645. [FPEnv] Fix complex operations in strictfp mode (details)
  646. [NFC] Deprecate SelectionDag::getLoad that takes alignment as (details)
  647. [RISCV] Combine FP_TO_INT to vfwcvt/fvncvt (details)
  648. [NFC] Remove unused SelectionDag::getExtLoad function (details)
  649. [8/15][Clang][RISCV][NFC] Always emit PolicyAttr in riscv_vector_builtin_cg.inc (details)
  650. [mlir][Linalg] NFC - Add transform pack builder (details)
  651. [mlir][Linalg] NFC - Expose packing implementation as a standalone functional-style API call (details)
  652. [NFC] Deprecate SelectionDag functions taking Alignment as unsigned (details)
  653. [MC] Temporarily remove the deleted constructors, they break C++20 build (details)
  654. [AArch64][SME2] Add Multi-vector add/sub, storing into ZA intrinsic (details)
  655. [NFC] Deprecate DataLayout::getPrefTypeAlignment (details)
  656. [docs][NFC] Add document of llvm-opt-report. (details)
  657. [SanitizerBinaryMetadata] Declare callbacks extern weak (details)
  658. [clang] Fix linking to LLVMTestingAnnotations in standalone build (details)
  659. [SVE] Fix invalid INSERT_SUBVECTOR creation when lowering fixed length fp-int conversions. (details)
  660. Fix the Clang sphinx build (details)
  661. [flang][NFC] Fix typo (details)
  662. [flang] Handle passing NULL() to polymorphic pointer argument (details)
  663. [flang] Use input type to recover the type desc when emboxing (details)
  664. [InstCombine] adjust/add tests for cmp-of-signbits; NFC (details)
  665. [InstCombine] reduce compare of signbits of 2 values (details)
  666. [AAch64] Format TargetParserTest ARMCPUTestParams table. NFC (details)
  667. [SCCP] Add vector add tests for nuw/nsw inference. (details)
  668. [OpenMP][Archer] Use dlsym rather than weak symbols for TSan annotations (details)
  669. Relax requirements for TileOp. (details)
  670. [ObjC][ARC] Teach the OptimizeSequences step of ObjCARCOpts about WinEH funclet tokens (details)
  671. [ObjC][ARC] Share bundle handling code between steps of the ObjCARCOpts pass and cleanup (NFC) (details)
  672. [clang][RISCV] Fix ABI mismatch between GCC and Clang (extension of integers on stack) (details)
  673. [llvm][docs] Fix indentation of item list. [NFCI] (details)
  674. [VPlan] Add tests for VPlanVerifier (NFC). (details)
  675. [KnownBits] Add missing const to a couple of methods (details)
  676. [9/15][Clang][RISCV][NFC] Use correct type for `RVVTypeCache::computeTypes` under RISCVVEmitter.cpp (details)
  677. [10/15][Clang][RISCV][NFC] Don't need to check for `MaskPolicy` in `isTAPolicy` and `isTUPolicy` (details)
  678. [mlir][sparse][ArmSVE] Enable sparse integration tests for ArmSVE (details)
  679. [gn build] Port dc8e2ea92953 (details)
  680. [mlir][Linalg] NFC - Expose packing transpose implementation as a standalone functional-style API call (details)
  681. [reland][libc][NFC] Detect host CPU features using try_compile instead of try_run. (details)
  682. [clang][dataflow] Fix bug in handling of reference-typed fields. (details)
  683. [11/15][Clang][RISCV][NFC] Remove Policy::PolicyType::Omit (details)
  684. [libc++][doc] Updates format status. (details)
  685. Revert D142108 "[reland][libc][NFC] Detect host CPU features using try_compile instead of try_run." (details)
  686. [12/15][Clang][RISCV][NFC] Refine the way to check for Policy in riscv_vector_builtin_cg.inc (details)
  687. [13/15][Clang][RISCV][NFC] Remove repeating test cases under rvv-intrinsics-autogenerated (details)
  688. [14/15][Clang][RISCV] Change default policy from TAMU to TAMA (details)
  689. [15/15][Clang][RISCV][NFC] Set data member under Policy as constants (details)
  690. [clang][deps] Add module files for input dependencies earlier (details)
  691. [libc++][format] Fixes usage of contiguous ranges. (details)
  692. [VPlan] Fix leak by manually cleaning up allocated Phi in test. (details)
  693. [AVR] Support most address space casts (details)
  694. [clang][deps] Account for transitive spurious dependencies (details)
  695. [clang][deps] NFC: Remove dead code (details)
  696. [AMDGPU] Add missing gfx11 tests in the directive-amdgcn-target.ll. NFC. (details)
  697. Revert "[OpenMP][Archer] Use dlsym rather than weak symbols for TSan annotations" (details)
  698. Correct some dead links in the clang-tidy docs (details)
  699. Teach RuntimeDyld about COFF weak references and to consider comdat symbols weak. (details)
  700. [OpenMP][Docs] Add some release notes for OpenMP (details)
  701. [IPSCCP][FuncSpec] Fix compiler crash 60191. (details)
  702. [flang] Keep a fir.box type when doing an array of derived type component (details)
  703. [NFC] Update tsan_rtl.h comment after D142039 (details)
  704. [AMDGPU] Remove dot1 and dot6 features from clang for gfx11 (details)
  705. [OpenMP][Doc] Update release note for 16 release (details)
  706. [AMDGPU] Split dot8 feature (details)
  707. [InstCombine] rename variables for readability; NFC (details)
  708. [InstCombine] reduce code duplication; NFC (details)
  709. [InstCombine] regenerate test checks; NFC (details)
  710. [OpenMP][Docs] Add non-blocking target nowait environment variables (details)
  711. [libc][NFC] Replace "inline" keyword with "LIBC_INLINE". (details)
  712. [RISCV][LSR] Treat number of instructions as dominate factor in LSR cost decisions (details)
  713. [TargetParser] Remove an EXPECT that is never executed (details)
  714. [asan] fix two memory leaks in integration tests (details)
  715. Drop a path component from the sarif diagnostics test; NFC (details)
  716. [InstCombine] add tests for 'not' of cast of cast; NFC (details)
  717. [InstCombine] canonicalize 'not' ahead of bitcast+sext (details)
  718. [SCCP] Use range info to prove AddInst has NUW flag. (details)
  719. Revert "[15/15][Clang][RISCV][NFC] Set data member under Policy as constants" (details)
  720. [analyzer][solver] Improve reasoning for not equal to operator (details)
  721. [analyzer] Update satest dependencies (details)
  722. [Clang] Only emit textual LLVM-IR in device only mode (details)
  723. Fix C++11 warnings in RangeSetTest.cpp (details)
  724. [OpenMP][Doc] Update release notes with NextGen plugins (details)
  725. [AArch64] Update enabled extensions for Ampere1 core (details)
  726. [OpenMP][NFC] Augment release notes (details)
  727. [MC] Store number of implicit operands in MCInstrDesc. NFC. (details)
  728. [AArch64] Add the Ampere1A core (details)
  729. [MC] Store target Insts table in reverse order. NFC. (details)
  730. [flang] Fixed missing dependency. (details)
  731. [InstCombine] invert canonicalization of sext (x > -1) --> not (ashr x) (details)
Commit a6e3027db7ebe6863e44bafcfeaacc16bdc88a3f by craig.topper
[X86] Avoid converting u64 to f32 using x87 on Windows

The code below currently prints less accurate values only on Windows 32-bit. On Windows, the default precision control on x87 is only 53-bit, and FADD triggers rounding with that precision, so the final result may be less accurate. This revision avoids less accurate conversions by using library calls instead.

```

int main() {
    int64_t n = 0b0000000000111111111111111111111111011111111111111111111111111111;
    printf("%lld, %.0f, %.0f", n, (float)n, (float)(uint64_t)n);

    return 0;
}
```

Reviewed By: craig.topper, lebedev.ri

Differential Revision: https://reviews.llvm.org/D141074
The file was modifiedllvm/test/CodeGen/X86/uint64-to-float.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit 741cb06cab5f3943c8037cfec89fc8663d6e4ae6 by tbaeder
[clang][Interp][NFC] Remove unused functions
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.h (diff)
Commit 1221af99281c87d35c65110a75f87893ff0fc947 by tbaeder
[clang][Interp] Use placement new to construct opcode args into vector

Differential Revision: https://reviews.llvm.org/D139185
The file was modifiedclang/lib/AST/Interp/ByteCodeEmitter.cpp (diff)
The file was modifiedclang/lib/AST/Interp/PrimType.h (diff)
The file was modifiedclang/lib/AST/Interp/Source.h (diff)
Commit d44f4fac424d70e7c8c463ad9f44a228fc61e9e5 by tbaeder
[clang][Interp][NFC] Initialize constants as ~0u
The file was modifiedclang/lib/AST/Interp/Pointer.h (diff)
Commit 9ef43ad7bfff8aed5255c4b5b29ab2883ab9c913 by i
[InstCombine] regenerete icmp-logical tests (NFC)

These pattern names are inconsistent with current update_checks.py.
The file was modifiedllvm/test/Transforms/InstCombine/icmp-logical.ll (diff)
Commit 7fa0a3c92377c2ce5b836b43e33a4a7107a3af38 by wanglei
[LoongArch] Add an option for MCInstPrinter to print numeric reg names

`-loongarch-numeric-reg` for llvm-mc and llc.
`-M numeric` (which matches GNU objdump) for llvm-objdump and llvm-mc.

Reviewed By: SixWeining

Differential Revision: https://reviews.llvm.org/D141743
The file was addedllvm/test/MC/LoongArch/Misc/numeric-reg-names.s
The file was modifiedllvm/lib/Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.cpp (diff)
The file was addedllvm/test/CodeGen/LoongArch/numeric-reg-names.ll
The file was modifiedllvm/lib/Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.h (diff)
Commit 6b0cd497b0fb584bdc0650b585c5bd1ed9edfc99 by tbaeder
[clang][Interp] Check Field initialization after constructor call

Differential Revision: https://reviews.llvm.org/D136694
The file was modifiedclang/test/AST/Interp/records.cpp (diff)
The file was modifiedclang/lib/AST/Interp/InterpFrame.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Interp.h (diff)
The file was modifiedclang/lib/AST/Interp/Interp.cpp (diff)
The file was modifiedclang/test/AST/Interp/cxx20.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Descriptor.cpp (diff)
Commit 6c8a884707e573eec66bb8e512aeaec5aeb8ab8e by zinenko
[mlir] fix python test

It was using an incorrect attribute type, but the test was still passing
because of the value being present in the output.
The file was modifiedmlir/test/python/dialects/transform_structured_ext.py (diff)
The file was modifiedmlir/python/mlir/dialects/_structured_transform_ops_ext.py (diff)
Commit d49d83e79ca0b59c3d68ff6c46eea69d848b0617 by tobias.gysi
[MLIR][LLVM] Don't use void return type in `getCallableResults`.

In the LLVM IR dialect, `LLVMVoidType` is used to model the return type
of LLVM IR functions with no return value. This is inconsistent with
MLIR APIs, which expect a function with no return value to have an
empty return type. Handle this special case in `LLVMFuncOp` to avoid
mismatches between the number of return values and return types between
caller and callee.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D141676
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td (diff)
Commit 6b85fa6d81b9f50d7a1c347dfd467c9ab01c4a5d by quentin.colombet
[InstCombine] Don't optimize idempotent `atomicrmw <op>, 0` into `load atomic`

Turning idempotent `atomicrmw`s into `load atomic` is perfectly legal
with respect to how the loading happens, but it may not be legal for the
whole program semantic.

Indeed, this optimization removes a store that may have some effects on
the legality of other optimizations.
Essentially, we lose some information and depending on the backend
it may or may not produce incorrect code, so don't do it!

This fixes llvm.org/PR56450.

Differential Revision: https://reviews.llvm.org/D141277
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/atomicrmw.ll (diff)
Commit ffafa0d43d817b143c6d4f49a53f6763fb211500 by quentin.colombet
[test][InstCombine] Remove out-of-date comment

NFC
The file was modifiedllvm/test/Transforms/InstCombine/atomicrmw.ll (diff)
Commit 921c6f070714233ab707808354520b3f6e0ff4d6 by tobias.gysi
[mlir][FuncToLLVM] Drop llvm.linkage attribute

This commit ensures that all functions produced by `FuncToLLVM` drop the
llvm.linkage attribute. Furthermore, it adds a small test that checks if
the readnone attribute is preserved.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D142002
The file was modifiedmlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp (diff)
The file was modifiedmlir/test/Conversion/FuncToLLVM/convert-funcs.mlir (diff)
The file was modifiedmlir/test/Conversion/FuncToLLVM/emit-c-wrappers-for-external-callers.mlir (diff)
The file was modifiedmlir/test/Conversion/FuncToLLVM/emit-c-wrappers-for-external-functions.mlir (diff)
Commit 871815e062a9e1d143f29333e6129f1cad0f83bb by david.sherwood
[AArch64][SVE2p1] Add SVE2.1 while (predicate-pair) intrinsics

Adds intrinsics for the following instructions:

* WHILEGE (predicate pair)
* WHILEGT (predicate pair)
* WHILEHI (predicate pair)
* WHILEHS (predicate pair)
* WHILELE (predicate pair)
* WHILELO (predicate pair)
* WHILELS (predicate pair)
* WHILELT (predicate pair)

I've added an opcode selector called SelectOpcodeFromVT to
AArch64ISelDAGToDAG.cpp that we will extend in future to
select opcodes from different MVTs. For now, the only use is
for selecting predicate types.

NOTE: These intrinsics are still in development and are subject
to future changes.

Differential Revision: https://reviews.llvm.org/D141936
The file was addedllvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
Commit 5b54cf1a2892767fe949826a32d7820732028a38 by tbaeder
[clang][Interp] Unify visiting variable declarations

We often visit the same variable multiple times, e.g. once when checking
its initializer and later when compiling the function. Unify both of
those in visitVarDecl() and do the returning of the value in
visitDecl().

Differential Revision: https://reviews.llvm.org/D136815
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.h (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Program.cpp (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeStmtGen.h (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeStmtGen.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Program.h (diff)
Commit ccb67491f0dd55c5bd8ed5f71cb802422bfaa969 by hokein.wu
[clangd] Simplify some tests in IncludeCleanerTests, NFC

They were pointed out in the review of https://reviews.llvm.org/D140875
The file was modifiedclang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp (diff)
Commit 9308014195e2f091c0025ef4aa26ece080b7da8d by tbaeder
[clang][Interp] Diagnose uninitialized array record fields

Just like we do for record members, diagnose uninitialized array record
fields.

Differential Revision: https://reviews.llvm.org/D136828
The file was modifiedclang/test/AST/Interp/cxx20.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Pointer.h (diff)
The file was modifiedclang/lib/AST/Interp/Interp.cpp (diff)
Commit 883c117d1a4cce3c19aa521fccaf8f938269fc57 by npopov
[Regex] Avoid NFA machinery for fixed prefix chars (NFC)

Similarly to what backref() does, add an "easy path" to slow()
that can handle some non-branching cases, in particular simple
character matches.

This has the dual effect of reducing the number of characters we
need to match, and the number of states in the NFA.

This reduces FileCheck runtime on vloxseg.c from 17s to 12s on
my machine.
The file was modifiedllvm/lib/Support/regengine.inc (diff)
Commit 88c5027b93a9f447a8b3ce02e5d74f1c10c14da1 by zinenko
[mlir] make multi-size tiling use transform parameters

Use the recently introduced transform dialect parameter mechanism to
perform controllable multi-size tiling with sizes computed at the
transformation time rather than at runtime.

This requires to generalize tile and split structured transform
operations to work with any transform dialect handle types, which is
desirable in itself to avoid unchecked overuse of PDL OperationType.

Reviewed By: shabalin

Differential Revision: https://reviews.llvm.org/D140980
The file was modifiedmlir/test/Dialect/Linalg/tile-conv.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.td (diff)
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir (diff)
The file was modifiedmlir/python/mlir/dialects/_structured_transform_ops_ext.py (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Transform/IR/TransformOps.td (diff)
The file was modifiedmlir/test/Dialect/Linalg/multisize-tiling-full.mlir (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-ops-invalid.mlir (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-op-multitile-sizes.mlir (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-ops.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir (diff)
The file was modifiedmlir/test/Dialect/Transform/selective-targeting.mlir (diff)
The file was modifiedmlir/test/Dialect/Vector/transform-vector.mlir (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-op-tile.mlir (diff)
The file was modifiedmlir/test/Dialect/Linalg/tile-indexed.mlir (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-op-split.mlir (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/promotion_options.mlir (diff)
The file was modifiedmlir/test/python/dialects/transform_structured_ext.py (diff)
The file was modifiedmlir/test/Dialect/LLVM/transform-e2e.mlir (diff)
The file was modifiedmlir/lib/Dialect/Transform/IR/TransformOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-op-scalarize.mlir (diff)
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-op-fuse.mlir (diff)
Commit 98acd7468307b6099e7deae206a749af324ff95f by zinenko
[mlir] simpler transform dialect silenceable failures

Simplify the handling of silenceable failures in the transform dialect.
Previously, the logic of `TransformEachOpTrait` required that
`applyToEach` returned a list of null pointers when a silenceable
failure was emitted. This was not done consistently and also crept into
ops without this trait although they did not require it. Handle this
case earlier in the interpreter and homogeneously associated preivously
unset transform dialect values (both handles and parameters) with empty
lists of the matching kind. Ignore the results of `applyToEach` for the
targets for which it produced a silenceable failure. As a result, one
never needs to set results to lists containing nulls. Furthermore, the
objects associated with transform dialect values must never be null.

Depends On D140980

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D141305
The file was modifiedmlir/test/Dialect/Transform/test-interpreter.mlir (diff)
The file was modifiedmlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp (diff)
The file was modifiedmlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp (diff)
The file was modifiedmlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp (diff)
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h (diff)
The file was modifiedmlir/lib/Dialect/Transform/IR/TransformOps.cpp (diff)
Commit 3d70f3c7889e4df95fd216d66b7721617bed942f by zinenko
[mlir] fix mlir integration tests
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir (diff)
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-nwc-wcf-call.mlir (diff)
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-call.mlir (diff)
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-call.mlir (diff)
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-call.mlir (diff)
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-nhwc-hwcf-call.mlir (diff)
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-ndhwc-dhwcf-call.mlir (diff)
Commit 9b9cfe77a50abccc4b82a497e17566a454b699bd by christian.ulmann
[mlir][LLVM] Replace readnone with memory effects

This commit introduces LLVM's `MemoryEffects` attribute and replaces the
deprecated usage of `llvm.readnone` in the LLVM dialect.
The absence of the attribute on a `LLVMFuncOp` implies that it might
access all kinds of memory. This semantic corresponds to `llvm::Function`'s
behaviour.

Depends on D142002

Differential Revision: https://reviews.llvm.org/D142013
The file was modifiedmlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp (diff)
The file was modifiedmlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp (diff)
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td (diff)
The file was modifiedmlir/test/Target/LLVMIR/llvmir.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td (diff)
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir (diff)
The file was modifiedmlir/test/Conversion/FuncToLLVM/convert-funcs.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td (diff)
The file was modifiedmlir/lib/Target/LLVMIR/ModuleImport.cpp (diff)
The file was modifiedmlir/test/Target/LLVMIR/Import/function-attributes.ll (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp (diff)
Commit e91a5ce278381771ea6d4e6d602e1e486de655f9 by quentin.colombet
[mlir][vector] Add a custom builder for LowerVectorsOp

The `lower_vectors` operation of the transform dialect takes a lot of
arguments to build.
In order to make C++ code easier to work with when using this
instruction, introduce a new structure, named `LowerVectorsOptions`, that
aggregates all the options that are used to build this instruction.

This allows to use patterns like:
```
LowerVectorsOptions opts;
opts.setOptZ(...)
  .setOptY(...)...;
builder.create<LowerVectorsOp>(target, opts);
```

Instead of having to pass all N options directly to the builder and set
them in the right order.

NFC

Differential Revision: https://reviews.llvm.org/D141923
The file was modifiedmlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td (diff)
Commit 2aa23ff263a012afaf0dbb05d96a7301fc6cbb57 by tbaeder
[clang][Interp][NFCI] Pull IsConstantContext into State

This way we can check for this flag in the new interpreter as well.
The file was modifiedclang/lib/AST/Interp/State.h (diff)
The file was modifiedclang/lib/AST/ExprConstant.cpp (diff)
The file was modifiedclang/lib/AST/Interp/InterpState.h (diff)
Commit fddf6418e8492a544c9bfdb42a4dbc949d9dc2ee by tbaeder
[clang][Interp][NFC] Remove shift error checking code duplication
The file was modifiedclang/lib/AST/Interp/Interp.h (diff)
The file was modifiedclang/lib/AST/Interp/Interp.cpp (diff)
Commit 9ee0d7494eb35f5addefcb730cdf5c002ddeacd2 by tbaeder
[clang][Interp][NFC] Move CheckDivRem() implementation into Interp.cpp

Just like we do with all the other Check* functions.
The file was modifiedclang/lib/AST/Interp/Interp.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Interp.h (diff)
Commit 490e8214fca48824beda8b508d6d6bbbf3d8d9a7 by tbaeder
[clang][Interp] Implement missing compound assign operators

Implement mul, div, rem, etc. compound assign operators.

Differential Revision: https://reviews.llvm.org/D137071
The file was modifiedclang/test/AST/Interp/literals.cpp (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.cpp (diff)
Commit 2dbcfd298f7cb1454ca16f544b7df980ec8fc17d by tbaeder
Revert "[clang][Interp][NFC] Move CheckDivRem() implementation into Interp.cpp"

This reverts commit 9ee0d7494eb35f5addefcb730cdf5c002ddeacd2.
The file was modifiedclang/lib/AST/Interp/Interp.h (diff)
The file was modifiedclang/lib/AST/Interp/Interp.cpp (diff)
Commit 658bf08f67d50ae0babd2d2b1e4f8c93d50c3f1d by rupprecht
[NFC][bazel] Enable layering_check for mlir/unittests
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
The file was modifiedutils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel (diff)
The file was modifiedutils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel (diff)
Commit e4ebe14fd16f9aa3ec38ccad3297636e23c7f40d by dominik.adamski
[mlir][OpenMP] Add nontemporal clause definition to simd construct

simd nontemporal construct is represented as a list of variables
which have low locality accross simd iterations

Added verifier of nontemporal clause. MLIR tests were updated to test
correctness of MLIR definition of nontemporal clause.

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

Reviewed By: kiranchandramohan
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td (diff)
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp (diff)
The file was modifiedmlir/test/Target/LLVMIR/openmp-llvm.mlir (diff)
The file was modifiedmlir/test/Dialect/OpenMP/invalid.mlir (diff)
The file was modifiedflang/lib/Lower/OpenMP.cpp (diff)
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir (diff)
Commit 85acfc64257b133dcdc1d39f0ea07a0dc30a3656 by tbaeder
Revert "[clang][Interp][NFC] Remove shift error checking code duplication"

This reverts commit fddf6418e8492a544c9bfdb42a4dbc949d9dc2ee.

Apparently this also breaks some builders:

/usr/bin/ld: EvalEmitter.cpp:(.text._ZN5clang6interp11EvalEmitter7emitShlENS0_8PrimTypeES2_RKNS0_10SourceInfoE+0x1f54): undefined reference to `bool clang::interp::CheckShift<clang::interp::Integral<16u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, true> const&, unsigned int)'
/usr/bin/ld: EvalEmitter.cpp:(.text._ZN5clang6interp11EvalEmitter7emitShlENS0_8PrimTypeES2_RKNS0_10SourceInfoE+0x1fd4): undefined reference to `bool clang::interp::CheckShift<clang::interp::Integral<32u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<32u, true> const&, unsigned int)'
/usr/bin/ld: EvalEmitter.cpp:(.text._ZN5clang6interp11EvalEmitter7emitShlENS0_8PrimTypeES2_RKNS0_10SourceInfoE+0x2058): undefined reference to `bool clang::interp::CheckShift<clang::interp::Integral<32u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<32u, true> const&, unsigned int)'

(etc)
The file was modifiedclang/lib/AST/Interp/Interp.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Interp.h (diff)
Commit bf4140c2768ee71d3c4dbf922ed39356ef219a67 by mariusz.sikora
[AMDGPU] Add feature predicate for v_fmac_f64 instruction

Introducing feature predicate VFmacF64Inst for targets which
supports v_fmac_f64 instructions.

Differential Revision: https://reviews.llvm.org/D142017
The file was modifiedllvm/lib/Target/AMDGPU/GCNSubtarget.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td (diff)
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.td (diff)
Commit 655c88ca3631c0f64fa187f0fe9ad0dae7273026 by flo
[VPlan] Add vp_depth_first_shallow + graph traits for wrapper(NFC)

This patch adds a new VPBlockShallowTraversalWrapper struct to
provide graph traits specialization that do not traverse through
VPRegionBlocks. This matches the behavior of the existing traits for
plain VPBlockBase and is a step before moving the graph traits for
VPBlockBase to traverse through VPRegionBlocks to enable cross region
support in VPDominatorTree.

Depends on D140511.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D140512
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanCFG.h (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanVerifier.cpp (diff)
Commit 1499cce2646cbf4dd78f8534a4e71bd856b10994 by tbaeder
[clang] Improve diagnostic for "initializer-string for char array is too long"

This patch improves the diagnostic message "initializer-string for
char array is too long" by specifying an expected array length and by
indicating that the initializer string implicitly includes the
null terminator.

Fixes #58829

Differential Revision: https://reviews.llvm.org/D141283
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/lib/Sema/SemaInit.cpp (diff)
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.string/p2.cpp (diff)
Commit 2826869d7b3119f96b973f5cd15128162334f1fe by deadalnix
[DAG] Do not combine any_ext when we combine and into zext.

This transofrm loses information that can be useful for other transforms.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D141883
The file was modifiedllvm/test/CodeGen/X86/ushl_sat_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/ushl_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/illegal-bitfield-loadstore.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/clear_upper_vector_element_bits.ll (diff)
Commit 0f5a81cb445bb26769d68d3944b6af79072b0cd0 by tbaeder
[clang][Interp][NFC] Remove shift error checking code duplication
The file was modifiedclang/lib/AST/Interp/Interp.h (diff)
Commit f6ea1af9a4b71d27de2dde629224af1220c5c85b by tbaeder
Revert "[clang][Interp] Implement missing compound assign operators"

This reverts commit 490e8214fca48824beda8b508d6d6bbbf3d8d9a7.

This breaks a builder: https://lab.llvm.org/buildbot/#/builders/214/builds/5415
The file was modifiedclang/test/AST/Interp/literals.cpp (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.cpp (diff)
Commit 8df7e818de45c367dc497e28d4d0e5a1fa1e64fe by tbaeder
Revert "[clang][Interp] Unify visiting variable declarations"

This reverts commit 5b54cf1a2892767fe949826a32d7820732028a38.

This breaks a builder: https://lab.llvm.org/buildbot/#/builders/5/builds/30854
The file was modifiedclang/lib/AST/Interp/ByteCodeStmtGen.cpp (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeStmtGen.h (diff)
The file was modifiedclang/lib/AST/Interp/Program.cpp (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.cpp (diff)
The file was modifiedclang/lib/AST/Interp/Program.h (diff)
The file was modifiedclang/lib/AST/Interp/ByteCodeExprGen.h (diff)
Commit 786cb151d938b52bebfe3ae338d0bd38bcc03dfa by michal.paszkowski
[SPIR-V] Add -opaque-pointers=0 to some LIT tests

Differential Revision: https://reviews.llvm.org/D142061
The file was modifiedllvm/test/CodeGen/SPIRV/SampledImageRetType.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/check_ro_qualifier.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/read_image.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/optional-core-features-multiple.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/half_no_extension.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/opencl.queue_t.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/EnqueueEmptyKernel.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/function/alloca-load-store.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/pstruct.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_legacy.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/opencl/basic/get_global_offset.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpImageWrite.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/constant/local-null-constants.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/get_image_num_mip_levels.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/image_dim.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_cmpxchg.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/image.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/opencl/image.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/constant/global-constants.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpImageQuerySize.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/linked-list.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/image_with_access_qualifiers.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/image_store.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/opencl/basic/progvar_prog_scope_init.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/half_extension.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/llvm-intrinsics/sqrt.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/image-unoptimized.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/literal-struct.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/struct.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/global_block.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpImageReadMS.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/image_decl_func_arg.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpConstantSampler.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/llvm-intrinsics/memset.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/link-attribute.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/spec_const.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/OpImageSampleExplicitLod.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/image_get_size_with_access_qualifiers.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/spirv.Queue.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/cl-types.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/spirv-private-array-initialization.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/atomicrmw.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/opencl/basic/vstore_private.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/SampledImage.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/clk_event_t.ll (diff)
The file was modifiedllvm/test/CodeGen/SPIRV/transcoding/spirv-types.ll (diff)
Commit 94750af83640cd702d80c53ab99d5bb303e55796 by groverkss
[MLIR][Presburger] Support divisions in union of two PWMAFunction

This patch adds support for divisions in the union of two PWMAFunction. This is
now possible because of previous patches, which made divisions explicitly
stored in MultiAffineFunction (MAF). This patch also refactors the previous
implementation, moving the implementation for obtaining a set of points where a
MAF is lexicographically "better" than the other to MAF.

Reviewed By: arjunp

Differential Revision: https://reviews.llvm.org/D138118
The file was modifiedmlir/include/mlir/Analysis/Presburger/PresburgerSpace.h (diff)
The file was modifiedmlir/include/mlir/Analysis/Presburger/PWMAFunction.h (diff)
The file was modifiedmlir/unittests/Analysis/Presburger/PWMAFunctionTest.cpp (diff)
The file was modifiedmlir/lib/Analysis/Presburger/PresburgerSpace.cpp (diff)
The file was modifiedmlir/lib/Analysis/Presburger/PWMAFunction.cpp (diff)
Commit 6ad1b4095172373590134afff19a7fbad9d7889d by sguelton
Optimize OptTable::findNearest implementation and usage

When used to find an exact match, some extra context can be used to
totally cut some computations.

This saves 1% of the instruction count when pre processing sqlite3.c
through

valgrind --tool=callgrind ./bin/clang -E sqlite3.c -o/dev/null

Differential Revision: https://reviews.llvm.org/D142026
The file was modifiedllvm/lib/Option/OptTable.cpp (diff)
The file was modifiedclang/lib/Driver/Driver.cpp (diff)
The file was modifiedllvm/include/llvm/Option/OptTable.h (diff)
Commit 1119c15ef5c55f2fe8a219443a9ea28f82ffe870 by jperier
[flang][hlfir] Enable lowering and passing of allocatables and pointers.

Adds support for:
- referencing a whole allocatable/pointer symbol
- passing allocatable/pointer in a call

This required update in HLFIRTools.cpp helpers so that the
raw address, extents, lower bounds, and type parameters of a
fir.box/fir.class can be extracted.
This is required because in hlfir lowering, dereferencing a
pointer/alloc is only doing the fir.load fir.box part, and the
helpers have to be able to reason about that fir.box without the
help of a "fir::FortranVariableOpInterface".

Missing:
- referencing part of allocatable/pointer (will need to update
  Designator lowering to dereference the pointer/alloc). Same
  for whole allocatable and pointer components.
- allocate/deallocate/pointer assignment statements.
- Whole allocatable assignment.
- Lower inquires.

Differential Revision: https://reviews.llvm.org/D142043
The file was modifiedflang/lib/Lower/Allocatable.cpp (diff)
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp (diff)
The file was modifiedflang/lib/Lower/ConvertCall.cpp (diff)
The file was modifiedflang/include/flang/Lower/Allocatable.h (diff)
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td (diff)
The file was modifiedflang/lib/Lower/ConvertVariable.cpp (diff)
The file was modifiedflang/lib/Optimizer/Builder/HLFIRTools.cpp (diff)
The file was modifiedflang/include/flang/Optimizer/Dialect/FortranVariableInterface.td (diff)
The file was modifiedflang/include/flang/Optimizer/Builder/HLFIRTools.h (diff)
The file was addedflang/test/Lower/HLFIR/allocatables-and-pointers.f90
Commit e70ca7b35319a3621f9d9c6475926428f8c5c000 by hokein.wu
[clang] Build UsingType for elaborated type specifiers.

Support building UsingType for elaborated type specifiers:

```
namespace ns { class Foo {}; }

using ns::Foo;

// The TypeLoc of `Foo` below should be a ElaboratedTypeLoc with an
// inner UsingTypeLoc rather than the underlying `CXXRecordTypeLoc`
class Foo foo;
```

Differential Revision: https://reviews.llvm.org/D141280
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/lib/Parse/ParseDecl.cpp (diff)
The file was modifiedclang/lib/Sema/SemaTemplate.cpp (diff)
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp (diff)
The file was modifiedclang/test/CXX/drs/dr4xx.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp (diff)
The file was modifiedclang/test/CXX/drs/dr2xx.cpp (diff)
The file was modifiedclang/include/clang/Sema/DeclSpec.h (diff)
The file was modifiedclang/lib/Sema/SemaType.cpp (diff)
Commit 7e5681cf295a267de0b8c2216f049d0285a73c4c by deadalnix
[DAG] Peek through ZEXT/TRUNC in foldAddSubMasked1

Fix a regression in D141883

Depends on D141883

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D141884
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
Commit e741b8c2e5200269f846bdd88ca98e44681fe8df by christian.ulmann
[llvm][ir] Purge MD_prof custom accessors

This commit purges direct accesses to MD_prof metadata and replaces them
with the accessors provided from the utility file wherever possible.
This commit can be seen as the first step towards switching the branch weights to 64 bits.
See post here: https://discourse.llvm.org/t/extend-md-prof-branch-weights-metadata-from-32-to-64-bits/67492

Reviewed By: davidxl, paulkirth

Differential Revision: https://reviews.llvm.org/D141393
The file was modifiedllvm/include/llvm/Analysis/CFGPrinter.h (diff)
The file was modifiedllvm/lib/IR/Metadata.cpp (diff)
The file was modifiedllvm/lib/IR/ProfDataUtils.cpp (diff)
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp (diff)
The file was modifiedllvm/include/llvm/IR/Instructions.h (diff)
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
The file was modifiedllvm/lib/IR/Instruction.cpp (diff)
The file was modifiedllvm/lib/IR/Instructions.cpp (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp (diff)
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp (diff)
The file was modifiedllvm/include/llvm/IR/ProfDataUtils.h (diff)
Commit 939dce12f9f35f7e0953a036c16e89d30011d047 by hokein.wu
[clangd] Implement unused include warnings with include-cleaner library.

A prototype of using include-cleaner library in clangd:

- (re)implement clangd's "unused include" warnings with the library
- the new implementation is hidden under a flag `Config::UnusedIncludesPolicy::Experiment`

Differential Revision: https://reviews.llvm.org/D140875
The file was modifiedclang-tools-extra/clangd/IncludeCleaner.cpp (diff)
The file was modifiedclang-tools-extra/clangd/Preamble.cpp (diff)
The file was modifiedclang-tools-extra/clangd/IncludeCleaner.h (diff)
The file was modifiedclang-tools-extra/clangd/Preamble.h (diff)
The file was modifiedclang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ParsedAST.h (diff)
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp (diff)
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt (diff)
The file was modifiedclang-tools-extra/clangd/ConfigCompile.cpp (diff)
The file was modifiedclang-tools-extra/clangd/Config.h (diff)
Commit d3ae8566b07d1dc66d26a876b41424fee2c5897e by thakis
[gn] port 939dce12f9f3 (clangd uses include-cleaner)
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/tool/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn (diff)
The file was addedllvm/utils/gn/secondary/clang-tools-extra/include-cleaner/lib/BUILD.gn
Commit 77529ea4dee94ce8ae43221f21d737f8b75acbbb by thakis
[gn] port 939dce12f9f3 (clangd uses include-cleaner) more
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn (diff)
Commit 67bd3c58c0c7389e39c5a2f4d3b1a30459ccf5b7 by abrachet
[X86] Add register definitions for cfi directives

Add {e,r}flags, {g,f}s.base registers so they can be referenced in cfi
directives,. They are not otherwise useable in any instructions,
but can be implicitly pushed to the stack like with pushf for
{e,r}flags.

Differential Revision: https://reviews.llvm.org/D141879
The file was modifiedllvm/test/CodeGen/X86/ipra-reg-usage.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.td (diff)
The file was modifiedllvm/test/MC/ELF/cfi-offset.s (diff)
Commit 4ace72ee20199d616532e72184bd078cb737e058 by npopov
[InstCombine] Add tests for freeze with !range and !align metadata (NFC)

These are currently being miscompiled, see PR59888.
The file was modifiedllvm/test/Transforms/InstCombine/freeze.ll (diff)
Commit 2bcedd464348e170587b6f798d021f4e182f62e2 by michal.paszkowski
[SPIR-V] Emit OpExecutionMode ContractionOff for no FP_CONTRACT metadata

This change makes the AsmPrinter emit OpExecutionMode ContractionOff
when both opencl.enable.FP_CONTRACT and spirv.ExecutionMode
metadata are not present.

Differential Revision: https://reviews.llvm.org/D141734
The file was addedllvm/test/CodeGen/SPIRV/opencl/metadata/fp_contractions_metadata.ll
The file was addedllvm/test/CodeGen/SPIRV/opencl/metadata/kernel_arg_type_module_metadata.ll
The file was modifiedllvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp (diff)
The file was removedllvm/test/CodeGen/SPIRV/opencl/kernel_arg_type_function_metadata.ll
The file was addedllvm/test/CodeGen/SPIRV/opencl/metadata/kernel_arg_type_function_metadata.ll
The file was removedllvm/test/CodeGen/SPIRV/metadata-opencl.ll
The file was addedllvm/test/CodeGen/SPIRV/opencl/metadata/opencl_version_metadata.ll
The file was removedllvm/test/CodeGen/SPIRV/opencl/kernel_arg_type_module_metadata.ll
The file was addedllvm/test/CodeGen/SPIRV/opencl/metadata/no_fp_contractions_metadata.ll
Commit c441f65f9183a4d1d7f5ecc63b4e32a42e09367e by yitzhakm
[clang][dataflow] Add (initial) debug printing for `Value` and `Environment`.

Also adds uses of the new printing in analysis inner loop.

Differential Revision: https://reviews.llvm.org/D141716
The file was modifiedclang/lib/Analysis/FlowSensitive/Value.cpp (diff)
The file was modifiedclang/include/clang/Analysis/FlowSensitive/Value.h (diff)
The file was modifiedclang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp (diff)
The file was modifiedclang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp (diff)
The file was modifiedclang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h (diff)
Commit 0c2630be22610b4bc79305f73759ac5334ded540 by npopov
[InstCombine] Drop incorrect test (NFC)

I made a typo here, this was supposed to be !align rather than
!aligned. But then !align can only be applied to loads, not calls
(where one would use the return attribute instead). And freeze
can't be pushed through loads anyway, so there's no way to test
this case (same as !nonnull).
The file was modifiedllvm/test/Transforms/InstCombine/freeze.ll (diff)
Commit adcc90aefeabee3bd659520c754bd86db6e1d389 by npopov
[InstCombine] Add non-logical variants for some ctpop and/or tests (NFC)

And regenerate test checks to pick up new names.
The file was modifiedllvm/test/Transforms/InstCombine/ispow2.ll (diff)
Commit 03c45f14bf639c7d2346b956cd1ec61a669236e0 by orlando.hyams
[Dexter] Add on_line parameter to DexExpectStepOrder command

DexExpectStepOrder uses the line to expect a debugger step from the actual line
of the command in the Dexter source file. Now Dexter scripts have mainly moved
to thier own script files instead of the actual source, there should be a
option to override this behaviour to choose your own debugger step location.

Reviewed By: Orlando

Differential Revision: https://reviews.llvm.org/D142099
The file was modifiedcross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py (diff)
The file was modifiedcross-project-tests/debuginfo-tests/dexter/dex/heuristic/Heuristic.py (diff)
The file was modifiedcross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py (diff)
The file was modifiedcross-project-tests/debuginfo-tests/dexter/Commands.md (diff)
The file was modifiedcross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_order.cpp (diff)
Commit e0b3b6cec7cf1c03bde8b65dcd2f9233839ad0a9 by guilherme.a.valarini
[OpenMP][Fix] Track all threads that may delete an entry

The entries inside a "target data end" is processed in three steps:

  1. Query internal data maps for the entries and dispatch any necessary
     device-side operations (i.e., data retrieval);
  2. Synchronize the such operations;
  3. Update the host-side pointers and remove any entry which reference
     counter reached zero.

Such steps may be executed by multiple threads which may even operate on
the same entries. The current implementation (D121058) tries to
synchronize these threads by tracking the "owner" for the deletion of
each entry using their thread ID. Unfortunately it may failed to do so
because of the following reasons:

  1. The owner is always assigned at the first step only if the
     reference count is 0 when the map is queried. This does not work
     when such owner thread is faster than a previous one that is also
     processing the same entry on another "target data end", leading to
     user-after-free problems.
  2. The entry is only added for post-processing (step 3) if its
     reference count was 0 at query time (step 1). This does not allow
     for threads to exchange responsibility for the deletion, leading
     again to user-after-free problems.
  3. An entry may appear multiple times in the arguments array of a
     "target data end", which may lead to deleting the entry
     prematurely, leading, again, to user-after-free problems.

This patch addresses these problems by tracking all the threads that are
using an entry at "target data end" region through a counter, ensuring
only the last one deletes it when needed. It also ensures that all
entries that are successfully found inside the data maps in step 1 are
also processed in step 3, regardless if their reference count was zeroed
or not at query time. This ensures the deletion ownership may be passed
to any thread that is using such entry.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D132676
The file was modifiedopenmp/libomptarget/src/omptarget.cpp (diff)
The file was modifiedopenmp/libomptarget/src/device.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/map_back_race.cpp (diff)
The file was modifiedopenmp/libomptarget/include/device.h (diff)
Commit ee700dec052a0336798fb2570faec31719b53f8d by david.green
[AArch64] Armv9-A implies FP16

As Armv9-a implies SVE2 it implies SVE (added in D141411) and so it
should also imply FP16, which this patch adds. This helps get the target
features correct when using `target("arch=armv9-a")` attributes.

There is also an adjustment to AssertSameExtensionFlags in this patch to
make it print cpu names, useful when the TargetParser unit tests are run
through lit to distinguish which cpu is failing.

Differential Revision: https://reviews.llvm.org/D142087
The file was modifiedclang/test/CodeGen/aarch64-targetattr.c (diff)
The file was modifiedllvm/include/llvm/TargetParser/AArch64TargetParser.h (diff)
The file was modifiedclang/test/CodeGen/aarch64-targetattr-arch.c (diff)
The file was modifiedllvm/unittests/TargetParser/TargetParserTest.cpp (diff)
Commit 9c0f9572e21e8ef9cdbab4ead88e02cc53e7ad1f by npopov
[InstCombine] Add test for load type conversion with !noundef (NFC)

The !noundef metadata is currently dropped.
The file was modifiedllvm/test/Transforms/InstCombine/loadstore-metadata.ll (diff)
Commit f13d6001324e9c9653d8568c1d86e182b217e272 by kli
[flang] Add semantic check for multiple part-ref with non-zero rank

This patch is to diagnose the case when a type bound procedure is passed as an actual procedure argument.

   call sub0(t%t3%t2%t%info1)

Fix: https://github.com/llvm/llvm-project/issues/55826

Committed on behalf of DanielCChen

Differential Revision: https://reviews.llvm.org/D141506
The file was modifiedflang/test/Semantics/expr-errors04.f90 (diff)
The file was modifiedflang/lib/Semantics/expression.cpp (diff)
Commit b3b049a824a09749e106ee477718a6145fe4c23f by npopov
[Local] Preserve noundef metadata in copyMetadataForLoad()

If we're only changing the type of the load, preserve the noundef
metadata.
The file was modifiedllvm/test/Transforms/InstCombine/loadstore-metadata.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
Commit 3508f69174e663d276b58c55e176688f828591ac by jperier
[flang][hlfir] Lower whole allocatable or pointer component ref

Compare to other component ref lowering, the hlfir.designate result type
computation is different, and the allocatable/pointer/contiguous must
be set on the hlfir.designate so that the component attributes are
kept in the IR.

Differential Revision: https://reviews.llvm.org/D142111
The file was modifiedflang/include/flang/Lower/ConvertVariable.h (diff)
The file was modifiedflang/lib/Lower/ConvertVariable.cpp (diff)
The file was addedflang/test/Lower/HLFIR/allocatable-and-pointer-components.f90
The file was modifiedflang/lib/Lower/ConvertExprToHLFIR.cpp (diff)
The file was modifiedflang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp (diff)
Commit daa316bcaf717e1dacdfee443f2c325a783d2c70 by yitzhakm
[clang][dataflow] Fix bug in joining bool values.

Currently, the code assumes that all boolean-typed values are an instance of
`BoolValue` (or its subclasses). Yet, lvalues violate this assumption. This
patch drops the assumption and strengthens the check to confirm the shape of
both values being joined.

The patch also notes as FIXMES a number of problems discovered fixing this bug.

Differential Revision: https://reviews.llvm.org/D141709
The file was modifiedclang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp (diff)
The file was modifiedclang/lib/Analysis/FlowSensitive/Transfer.cpp (diff)
The file was modifiedclang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp (diff)
Commit 48df06f1d00c6accb396438c04133fb7fdd99d2c by matthew.devereau
[AArch64] Allow poison elements of fixed-vectors to be duplicated as a widened element

Expanding upon https://reviews.llvm.org/D138203, allow null indices in
InsertElts to be matched with any value and be duplicated if the fixed
vector the scalar values are inserted into is poison, and the scalable vector
the subvector being inserted into is poison.

Differential Revision: https://reviews.llvm.org/D141846
The file was modifiedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-dupqlane.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (diff)
Commit e84d69f52d9a9fab9162128d8fe8ebec99ea60da by hokein.wu
[clangd] Fix clangd-fuzzer build.
The file was modifiedclang-tools-extra/clangd/fuzzer/CMakeLists.txt (diff)
Commit 72dc033fa64257429da787ef6fd82ecb42f72d20 by npopov
[SROA] Check TBAA metadata in tests (NFC)

By switching to --check-globals. Also make sure that the
!tbaa.struct metadata mapping is preserved.
The file was modifiedllvm/test/Transforms/SROA/tbaa-subload.ll (diff)
The file was modifiedllvm/utils/UpdateTestChecks/common.py (diff)
The file was modifiedllvm/test/Transforms/SROA/tbaa-struct.ll (diff)
The file was modifiedllvm/test/Transforms/SROA/tbaa-struct2.ll (diff)
Commit 22e8525dfdd7d78d05ad3873cf94476021e4a08f by koraq
[libc++][format] Implements range_formatter

Implements parts of
- P2286R8 Formatting Ranges
- P2585R0 Improving default container formatting

Depends on D140651

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D140653
The file was addedlibcxx/include/__format/range_formatter.h
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx11.csv (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx14.csv (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx03.csv (diff)
The file was modifiedlibcxx/include/__format/buffer.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b.csv (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/parse.pass.cpp
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/set_brackets.pass.cpp
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp (diff)
The file was modifiedlibcxx/include/__format/format_context.h (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/underlying.pass.cpp
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/format.pass.cpp
The file was modifiedlibcxx/include/format (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/support/format.functions.common.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx20.csv (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.tuple/format.functions.tests.h (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.format.pass.cpp
The file was modifiedlibcxx/docs/Status/FormatPaper.csv (diff)
The file was modifiedlibcxx/include/__memory/allocate_at_least.h (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.tuple/format.functions.format.pass.cpp (diff)
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/set_separator.pass.cpp
The file was modifiedlibcxx/include/__format/formatter_output.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx17.csv (diff)
The file was modifiedlibcxx/include/__format/range_default_formatter.h (diff)
The file was modifiedlibcxx/include/module.modulemap.in (diff)
The file was modifiedlibcxx/include/__format/parser_std_format_spec.h (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.vformat.pass.cpp
Commit c85cecf36bf8b64b541becb0ec3ec11379d062e7 by llvmgnsyncbot
[gn build] Port 22e8525dfdd7
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit a459a2485b54fbd9e1f8a48061e79cdcd12b12a5 by clementval
[flang] Fix SELECT TYPE lowering when CLASS DEFAULT is not the last type guard

CLASS DEFAULT needs to be the last attribute when fir.select_type op is created.
It needs to be at its actual position in the Fortran code when the TypeGuardStmt
are processed. The current lowering was crashing when CLASS DEFAULT was not at
the last position.
This patch fixes the issue by tracking the actual position of the CLASS DEFAULT
type guard and set it at the correct position after the fir.select_type op
is created.

Reviewed By: jeanPerier, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D142091
The file was modifiedflang/lib/Lower/Bridge.cpp (diff)
The file was modifiedflang/test/Lower/select-type.f90 (diff)
Commit e315b872b291ad268bf0ae6e276a07de6f29992b by clementval
[flang] Support polymorphic source in RESHAPE intrinsic

Result must carry the polymorphic type information
from the source.

Reviewed By: jeanPerier, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D142095
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp (diff)
The file was modifiedflang/test/Lower/polymorphic-temp.f90 (diff)
Commit fd26eee486ed81a2477e28d069fb68072fd7b2a2 by clementval
[flang] Allow pointer association between derived-type pointer and unlimited polymorphic target

Pointer association to unlimited polymorphic target is allowed for
unlimited polymorphic pointer and non-extensible derived-type.
This is checked by the semantic and this patch allows it in the
fir.rebox operation.

Reviewed By: jeanPerier, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D142104
The file was modifiedflang/test/Lower/polymorphic.f90 (diff)
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp (diff)
Commit a0f8bdbb18a82ec150515d24f6eefb3519d4459a by paul.robinson
[lit] Stop supporting triple substrings in UNSUPPORTED and XFAIL

AFAICT all in-tree lit tests have been converted to use `target=...`
and so there is no longer any need for triples being special.
Some project config files still define their own features based on
the triple, but those are normal feature words (although now are
redundant with target= checks).

Downstream tests that use triple substrings will need to convert.
For example:
    UNSUPPORTED: -aix
    XFAIL: arm
becomes
    UNSUPPORTED: target={{.*}}-aix{{.*}}
    XFAIL: target=arm{{.*}}

You can do
    git log --grep "special handling for triples"
to find many examples of updates to the upstream tests.

https://discourse.llvm.org/t/rfc-lits-requires-and-triples/66041

Differential Revision: https://reviews.llvm.org/D141007
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
The file was modifiedllvm/utils/lit/lit/Test.py (diff)
The file was modifiedllvm/utils/lit/lit/BooleanExpression.py (diff)
Commit ac0938709c6d3d1bd7a0620ae1b79792b55a5da9 by rupprecht
[NFC][bazel] Add _tensor_ops_ext.py to SparseTensorOpsPyFiles

This corresponds to the cmake change in 81ca5aa452400843235e058bc9c83fe71eccd593
The file was modifiedutils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel (diff)
Commit afca08a567e3803aeb0c32385e62c84bec58ef46 by rupprecht
[NFC][bazel] Move _tensor_ops_ext.py to the correct filegroup
The file was modifiedutils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel (diff)
Commit a9c5a98f810d380919d25c3073c61725d73d3c41 by paulsson
[SystemZ] Improvement in tryRxSBG().

Only allow replacements of nodes that have a single user. This is better as
simple instructions (e.g. XGRK) are one cycle faster, and it helps in cases
where both inputs share a common node.

Review: Ulrich Weigand
The file was modifiedllvm/test/CodeGen/SystemZ/rnsbg-01.ll (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/store_nonbytesized_vecs.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/flt-rounds.ll (diff)
Commit 04d4f4b3d4e4fd608a3bc3fe387006435f04b61d by koraq
[libc++][format] Adds container adaptor formatters.

Implements parts of
- P2286R8 Formatting Ranges

Depends on D140653

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D141290
The file was addedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.format.pass.cpp
The file was addedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/format.pass.cpp
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx03.csv (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx17.csv (diff)
The file was addedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.vformat.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was addedlibcxx/include/__format/container_adaptor.h
The file was modifiedlibcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx14.csv (diff)
The file was addedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
The file was modifiedlibcxx/include/format (diff)
The file was addedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
The file was modifiedlibcxx/include/module.modulemap.in (diff)
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b.csv (diff)
The file was modifiedlibcxx/include/__format/range_default_formatter.h (diff)
The file was modifiedlibcxx/include/queue (diff)
The file was modifiedlibcxx/docs/Status/FormatPaper.csv (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx20.csv (diff)
The file was modifiedlibcxx/include/stack (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx11.csv (diff)
Commit 3e6afa77b4ec8b5fb5e0b6349f08e4476892c0f8 by smeijer
[CostModel][AArch64] Precommit tests for LD1 single-element to lane. NFC.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/insert-extract.ll (diff)
Commit 68f45796edbdc4331a6be0b6e9d58f01d8b1fba0 by smeijer
[AARCH64][SVE] Do not optimize vector conversions

shuffle_vector instructions are serialized targeting SVE fixed vectors, see
https://reviews.llvm.org/D139111. This patch disables
optimizeExtendOrTruncateConversion peepholes that generates shuffle_vector.

Differential Revision: https://reviews.llvm.org/D141439
The file was addedllvm/test/CodeGen/AArch64/sve-fixed-vector-zext.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
Commit 6ef990c5b6135ffe24f8697caf6630401669efeb by llvmgnsyncbot
[gn build] Port 04d4f4b3d4e4
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit a09b1dc1f2c534cc8b870b5b7c9bc7f7682a1ed5 by koraq
[libc++][format] Adds formatter std::vector<bool>.

Implements parts of
- P2286R8 Formatting Ranges

Depends on D140653

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D141761
The file was addedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.vformat.pass.cpp
The file was addedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp (diff)
The file was modifiedlibcxx/docs/Status/FormatPaper.csv (diff)
The file was addedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
The file was modifiedlibcxx/include/vector (diff)
The file was modifiedlibcxx/include/__bit_reference (diff)
The file was addedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.format.pass.cpp
The file was addedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.pass.cpp
Commit eef0210706bc16ffde17d5b574799d8aae705790 by kiran.chandramohan
[Flang][Debug] Modifications for getting pathname

-> Use file pathname from the Flang frontend. It is the frontend
that is in-charge of finding the files and is hence the canonical
source for paths.
-> Convert pathname to absolute pathname while creating the moduleOp.

Co-authored-by: Peter Klausler <pklausler@nvidia.com>

Reviewed By: PeteSteinfeld, vzakhari, jeanPerier, awarzynski

Differential Revision: https://reviews.llvm.org/D141674
The file was modifiedflang/lib/Frontend/FrontendActions.cpp (diff)
The file was modifiedflang/tools/bbc/bbc.cpp (diff)
The file was addedflang/test/Lower/module-debug-file-loc-linux.f90
The file was modifiedflang/lib/Lower/Bridge.cpp (diff)
The file was modifiedflang/include/flang/Lower/Bridge.h (diff)
Commit 176c853d1da5c344194952659eeb74f063e13010 by michaelrj
[libc] add internal string class

The scanf implementation needs a dynamically resizing string class. This
patch adds a minimal version of that class along with tests to check the
current functionality.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D141162
The file was modifiedlibc/test/src/__support/CMakeLists.txt (diff)
The file was modifiedlibc/src/__support/CMakeLists.txt (diff)
The file was addedlibc/src/__support/char_vector.h
The file was addedlibc/test/src/__support/char_vector_test.cpp
The file was modifiedlibc/test/src/__support/CPP/stringview_test.cpp (diff)
Commit 9a32e53941ccb6ccd55d5ecd305ecd16b90bfd58 by michaelrj
[libc] add scanf float converter

This patch adds the %f/F/e/E/g/G/a/A conversions for scanf, as well as
accompanying tests. This implementation matches the definition set forth
in the standard, which may conflict with some other implementations.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D141091
The file was addedlibc/src/stdio/scanf_core/float_converter.cpp
The file was addedlibc/src/stdio/scanf_core/float_converter.h
The file was modifiedlibc/test/src/stdio/CMakeLists.txt (diff)
The file was modifiedlibc/src/stdio/scanf_core/converter.cpp (diff)
The file was modifiedlibc/test/src/stdio/sscanf_test.cpp (diff)
The file was modifiedlibc/src/stdio/scanf_core/CMakeLists.txt (diff)
The file was modifiedlibc/src/stdio/scanf_core/int_converter.cpp (diff)
The file was modifiedlibc/src/stdio/scanf_core/core_structs.h (diff)
Commit bc94a9b2eceba7effa032a5ce48419da2e69c8e9 by aaron
Silence some sign comparison warnings; NFC

The std::optional implementation in MSVC causes this code to produce a
sign comparison warning. This ensures the types are the same sign.
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp (diff)
Commit b14763652f8519e9ec6b10667a17e32bc3dce913 by szakharin
[NFC][flang] Added debug option to bisect TBAA tag attachments.

Reviewed By: jeanPerier, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D142070
The file was modifiedflang/lib/Optimizer/CodeGen/TBAABuilder.cpp (diff)
The file was modifiedflang/lib/Optimizer/CodeGen/TBAABuilder.h (diff)
Commit 2f8b920f95aa1e308193cf5803df7912025e8400 by paul.robinson
Revert "[lit] Stop supporting triple substrings in UNSUPPORTED and XFAIL"

This reverts commit a0f8bdbb18a82ec150515d24f6eefb3519d4459a.

Several bots are failing in shtest-format.py, likely because of this.
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
The file was modifiedllvm/utils/lit/lit/BooleanExpression.py (diff)
The file was modifiedllvm/utils/lit/lit/Test.py (diff)
Commit b3faa1a87ac37e3825a67368dfb8dcfef95f4c53 by aaron
Fix zero-initialization fix-it for variable template

Current version there is a fix-it for

template <class> constexpr int x = 0;
template <> constexpr int x<int>; // fix-it here
but it will cause

template <> constexpr int x = 0<int>;

Differential Revision: https://reviews.llvm.org/D139705
The file was modifiedclang/include/clang/AST/DeclTemplate.h (diff)
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was addedclang/test/FixIt/fixit-const-var-init.cpp
Commit b05fa4faf64d6c6811bbecead13dc7c23ac43aca by xingxue
[clang][driver][AIX] Add OpenMP runtime if -fopenmp specified

Summary:
This patch adds OpenMP runtime to the linker command line if -fopenmp is specifed for AIX.

Reviewed by: daltenty

Differential Revision: https://reviews.llvm.org/D141862
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp (diff)
The file was modifiedclang/test/Driver/aix-ld.c (diff)
Commit 455305624884cf9237143e2ba0635fcc5ba5206a by Krzysztof.Drewniak
[mlir][Index] Implement InferIntRangeInterface

Implement InferIntRangeInterface for all operations in the Index dialect. The
inference implementation, unlike the one for Arith, accounts for the
fact that Index can be either 64 or 32 bits long by evaluating both
cases. Bounds are stored as if index were i64, but when inferring new
bounds, we compute both f(...) and f(trunc(...)). We then compare
trunc(f(...)) to f(trunc(...)). If they are equal in the relevant
range components, we use the 64-bit range computation, otherwise we
give the range ext(f(trunc(...))) union f(...).

Note that this can cause surprising behavior as seen in the tests,
where, for example, the order of min and max operations impacts the
behavior of the inference. The inference could perhaps be made more
precise in the future (ex. by tracking 32 and 64-bit results
separately and having them influence each other somehow) butt, since
my project targets an index=i32 platform and doesn't see index-valued
values > uint32_max, I'm not too concerned about it.

Depends on https://reviews.llvm.org/D141299

Depends on https://reviews.llvm.org/D141296

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D140899
The file was addedmlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h
The file was modifiedmlir/lib/Dialect/Arith/IR/CMakeLists.txt (diff)
The file was modifiedmlir/lib/Dialect/Index/IR/CMakeLists.txt (diff)
The file was addedmlir/lib/Dialect/Index/IR/InferIntRangeInterfaceImpls.cpp
The file was addedmlir/test/Dialect/Index/int-range-inference.mlir
The file was addedmlir/lib/Interfaces/Utils/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp (diff)
The file was modifiedmlir/lib/Interfaces/CMakeLists.txt (diff)
The file was modifiedmlir/include/mlir/Dialect/Index/IR/IndexOps.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Index/IR/IndexOps.td (diff)
The file was addedmlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
Commit af05e818fb0519f027120e160ca036a3ab678584 by David CARLIER
[Sanitizers] GetMemoryProfile implementation for FreeBSD.

Reviewers: dvyukov

Reviewed-By: dvyukov

Differental Revision: https://reviews.llvm.org/D140688
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp (diff)
Commit 1d98861a7896236895d467f7e7ab4eadf7dffd82 by springerm
[mlir][SCF] Fix crash in loop peeling

Upper bound and step size should be symbols instead of dims.

Differential Revision: https://reviews.llvm.org/D142136
The file was modifiedmlir/test/Dialect/SCF/for-loop-peeling.mlir (diff)
The file was modifiedmlir/lib/Dialect/SCF/Utils/AffineCanonicalizationUtils.cpp (diff)
Commit d0907ce7ed9f159562ca3f4cfd8d87e89e93febe by flo
[LoopUnroll] Directly update DT instead of DTU.

The scope of DT updates are very limited when unrolling loops: the DT
should only need updating for
* new blocks added
* exiting blocks we simplified branches

This can be done manually without too much extra work.
MergeBlockIntoPredecessor also needs to be updated to support direct
DT updates.

This fixes excessive time spent in DTU for same cases. In an internal
example, time spent in LoopUnroll with this patch goes from ~200s to 2s.

It also is slightly positive for CTMark:
* NewPM-O3: -0.13%
* NewPM-ReleaseThinLTO: -0.11%
* NewPM-ReleaseLTO-g: -0.13%

Notable improvements are mafft (~ -0.50%) and lencod (~ -0.30%), with no
workload regressed.

https://llvm-compile-time-tracker.com/compare.php?from=78a9ee7834331fb4360457cc565fa36f5452f7e0&to=687e08d011b0dc6d3edd223612761e44225c7537&stat=instructions:u

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D141487
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/LoopUnroll.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h (diff)
Commit b5d9f00b2096290653fcb6e8de38d5c352af63a0 by erich.keane
Forbid implicit conversion of constraint expression to bool

As reported in https://github.com/llvm/llvm-project/issues/54524, and
later in https://github.com/llvm/llvm-project/issues/60038, we were not
properly implmenting temp.constr.atomic P3. This patch stops implicitly
converting constraints to bool, and ensures the Rvalue conversion takes
place as needed.

Differential Revision: https://reviews.llvm.org/D141954
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was modifiedclang/lib/Sema/SemaConcept.cpp (diff)
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.atomic/constrant-satisfaction-conversions.cpp
Commit 7f66e1833f62d6f7269adc60ac18bbaa820f64ae by frgossen
[MLIR] Add InferTypeOpInterface to scf.if op

Differential Revision: https://reviews.llvm.org/D142049
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/SCF/IR/SCF.h (diff)
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
The file was modifiedmlir/include/mlir/Dialect/SCF/IR/SCFOps.td (diff)
Commit 1f3f3c0ea724335e7eb518a8fe30990c9245875b by aeubanks
Revert "Reland [pgo] Avoid introducing relocations by using private alias"

This reverts commit da5a8d14b8cc6cea16ee0929413c0672b47c93d9.

Causes more duplicate symbol errors, see https://bugs.chromium.org/p/chromium/issues/detail?id=1408161.
The file was removedllvm/test/Transforms/PGOProfile/profdata_priv_alias.ll
The file was removedcompiler-rt/test/profile/instrprof-discarded-comdat.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp (diff)
The file was modifiedllvm/test/Transforms/PGOProfile/comdat.ll (diff)
Commit 117ecdd5789e6efd28505a8b84680020fd935cd1 by gulfem
[IRLinker] Replace CallInstr with CallBase

This patch replaces CallInstr with CallBase to cover InvokeInstr
besides CallInstr while removing nocallback attribute on a call site.
It also extends drop-attribute.ll test to include a case for an invoke
instruction.

Differential Revision: https://reviews.llvm.org/D141740
The file was modifiedllvm/lib/Linker/IRMover.cpp (diff)
The file was modifiedllvm/test/Linker/drop-attribute.ll (diff)
Commit 9f59affa244c1b15d9980c9abcaff433514a9d85 by Krzysztof.Drewniak
Revert "[mlir][Index] Implement InferIntRangeInterface"

This reverts commit 455305624884cf9237143e2ba0635fcc5ba5206a.

Linker error, unbreak build while I work out how to fix it.

Differential Revision: https://reviews.llvm.org/D142142
The file was modifiedmlir/lib/Dialect/Arith/IR/CMakeLists.txt (diff)
The file was removedmlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
The file was modifiedmlir/lib/Dialect/Index/IR/CMakeLists.txt (diff)
The file was modifiedmlir/include/mlir/Dialect/Index/IR/IndexOps.h (diff)
The file was removedmlir/test/Dialect/Index/int-range-inference.mlir
The file was removedmlir/lib/Dialect/Index/IR/InferIntRangeInterfaceImpls.cpp
The file was removedmlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h
The file was removedmlir/lib/Interfaces/Utils/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Index/IR/IndexOps.td (diff)
The file was modifiedmlir/lib/Interfaces/CMakeLists.txt (diff)
Commit bec49b1d803ced901e14aca154ffc106939100e5 by jhuber6
[LinkerWrapper] Use `clang` to perform the device linking

Right now in the linker wrapper we manually invoke a lot of the
toolchain programs. This reproduces a lot of logic that is already
handled in clang. Since D140158 we can now target all supported
toolchains directly via cross-compilation.

This patch changes the linker wrapper to consolidate all the alternate
linking and assembler steps into a generic call to `clang` and let clang
handle the argument handling. This heavily simplifies the interface.

Reviewed By: tra, JonChesterfield

Differential Revision: https://reviews.llvm.org/D142133
The file was modifiedclang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp (diff)
The file was modifiedclang/test/Driver/linker-wrapper.c (diff)
Commit 679c352ff42d45de6dcaca7022a7e664cd03323c by jhuber6
[Clang][NFC] Tweak error message for GPU architecture tools

Summary:
There shouldn't be an extra newline in these messages.
The file was modifiedclang/tools/amdgpu-arch/AMDGPUArch.cpp (diff)
The file was modifiedclang/tools/nvptx-arch/NVPTXArch.cpp (diff)
Commit e7f080b3598d7d73456954554d173146b2744953 by Stanislav.Mekhanoshin
[AMDGPU] Introduce separate register limit bias in scheduler

Current implementation abuses ErrorMargin to apply an additional
bias to VGPR and SGPR limits under a high register pressure. The
ErrorMargin exists to account for inaccuracies of the RP tracker
and not to tackle an excess pressure. Introduce separate bias for
this purpose and also make it different for SGPRs and VGPRs as we
may want to use different values in the future.

This is supposed to be NFC, however there is a subtle difference
when subtracting a margin overflows the limit. Doing two subtractions
makes it less probable, although manifests only in mir tests with
an artificially small register budget.

Differential Revision: https://reviews.llvm.org/D142051
The file was modifiedllvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/GCNSchedStrategy.h (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-vector-superclass.ll (diff)
Commit 63e7e9c8756aeaa6dccd4620cba710c04e215934 by Stanislav.Mekhanoshin
[AMDGPU] Treat WMMA the same as MFMA for sched_barrier

MFMA and WMMA essentially the same thing, but apear on different ASICs.

Differential Revision: https://reviews.llvm.org/D142062
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td (diff)
The file was addedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.sched.group.barrier.gfx11.ll
Commit c90801457f7cbbaee97821a06a893f4146ab1b2e by nikolasklauser
[libc++] Refactor deque::iterator algorithm optimizations

This has multiple benefits:
- The optimizations are also performed for the `ranges::` versions of the algorithms
- Code duplication is reduced
- it is simpler to add this optimization for other segmented iterators,
  like `ranges::join_view::iterator`
- Algorithm code is removed from `<deque>`

Reviewed By: ldionne, huixie90, #libc

Spies: mstorsjo, sstefan1, EricWF, libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D132505
The file was modifiedlibcxx/docs/ReleaseNotes.rst (diff)
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was addedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp
The file was modifiedlibcxx/benchmarks/CMakeLists.txt (diff)
The file was modifiedlibcxx/include/__algorithm/move_backward.h (diff)
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/copy_backward.h (diff)
The file was modifiedlibcxx/include/__iterator/reverse_iterator.h (diff)
The file was modifiedlibcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_forward_range.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/module.modulemap.in (diff)
The file was addedlibcxx/benchmarks/deque_iterator.bench.cpp
The file was modifiedlibcxx/include/deque (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.move/ranges.move_backward.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/move.h (diff)
The file was modifiedlibcxx/include/__algorithm/copy.h (diff)
The file was addedlibcxx/include/__iterator/segmented_iterator.h
The file was modifiedlibcxx/test/support/test_iterators.h (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_forward_iterator.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.move/ranges.move.pass.cpp (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp (diff)
Commit 7c1ac65caddd26eb31f6b498efccdf03398ce57e by llvmgnsyncbot
[gn build] Port c90801457f7c
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit 399b8ee7edf1b108adf7cddead7bf1ab284cf190 by frgossen
[MLIR] Update bazel build file after 455305624884cf9237143e2ba0635fcc5ba5206
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
Commit eac59fa04ea4e0e4ce70ae47d53384a300a0f989 by goldstein.w.n
Add tests for ctpop(X) where X is a power of 2; NFC

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D141989
The file was addedllvm/test/Transforms/InstSimplify/ctpop-pow2.ll
Commit 78f29acae6dc159660753ac91faefa390e2bad93 by goldstein.w.n
Add transform ctpop(X) -> 1 iff X is non-zero power of 2

Definitionally a non-zero power of 2 will only have 1 bit set so this
is a freebee.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D141990
The file was modifiedllvm/test/Transforms/InstSimplify/ctpop-pow2.ll (diff)
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp (diff)
Commit 1d67f2cd7850a9a6c6ac4d31959163e1c412c687 by goldstein.w.n
Removing 'TuningSlow3OpsLEA' from ICL config

According to https://uops.info/ ICL and newer have fast 3-term LEA.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D141974
The file was modifiedllvm/lib/Target/X86/X86.td (diff)
Commit 176a0827de42f123436c8ab850ef009f9339b7b6 by aeubanks
[opt] Fix static code analysis concerns

This is an issue reported inside the NewPMDriver module. Static analyzer reported that Null pointer 'P' may be dereferenced at line 371 and two more sites. Proposed change guards this use.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D142047
The file was modifiedllvm/tools/opt/NewPMDriver.cpp (diff)
Commit a47819345d86e5ed1e63c5f958827397218d6aad by joker.eph
Remove useless / untested verifier in scf.foreach_thread (NFC)
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp (diff)
Commit af5fc4b4d827ab00e20323b6025b458edca46906 by koraq
[libc++][format] range-default-formatter for map

Implements the range-default-formatter specialization range_format::map.

Implements parts of
- P2286R8 Formatting Ranges
- P2585R0 Improving default container formatting

Depends on D140653

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D140801
The file was modifiedlibcxx/docs/Status/FormatPaper.csv (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.tuple/parse.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.tuple/set_brackets.pass.cpp (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.format.pass.cpp
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
The file was modifiedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.tuple/set_separator.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__format/range_formatter.h (diff)
The file was modifiedlibcxx/test/support/format.functions.common.h (diff)
The file was modifiedlibcxx/include/__format/range_default_formatter.h (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.pass.cpp
The file was modifiedlibcxx/test/std/containers/container.adaptors/container.adaptors.format/format.pass.cpp (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.vformat.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.tuple/format.pass.cpp (diff)
Commit 887240faf769395511d1568b4e50aafc6fe3b696 by jingham
Remove the undocumented `help` subcommand.

This is processed by hand in CommandObjectMultiword, and is undiscoverable,
it doesn't work in all cases.  Because it is a bare word, it can't really be
extended w/o introducing the possibility of collisions as well.  If we did
want to do something like this we should add a --help flag to CommandObject.  That
way the feature would be consistent and documented.

Differential Revision: https://reviews.llvm.org/D142067
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp (diff)
The file was modifiedlldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py (diff)
Commit af9a452e57554c2c5e876986e33c2a75314259e8 by paulkirth
[llvm][codegen] Fix non-determinism in StackFrameLayoutAnalysisPass output

We were iterating over a SmallPtrSet when outputting slot variables.
This is still correct but made the test fail under reverse iteration.
This patch replaces the SmallPtrSet with a SmallVector.

Also remove the "Stack Frame Layout" lines from arm64-opt-remarks-lazy-bfi test,
since those also break under reverse iteration.

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D142127
The file was modifiedllvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll (diff)
Commit 9ef7ae507387f133cf34ca0bc0edd3f009a3ff71 by frgossen
Revert "[MLIR] Update bazel build file after 455305624884cf9237143e2ba0635fcc5ba5206"

This reverts commit 399b8ee7edf1b108adf7cddead7bf1ab284cf190.
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
Commit 066b4fcb8df2fa5f5635bdf1c66825c01dbf93fd by thomasraoux
[mlir] Update VectorToGPU to new memory space

GPU memory space have changed to new attributes. Update VectorToGPU pass
to use those.

Differential Revision: https://reviews.llvm.org/D142105
The file was modifiedmlir/test/Conversion/VectorToGPU/vector-to-mma-ops-mma-sync.mlir (diff)
The file was modifiedmlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp (diff)
Commit 3a362a9f38b95978160377ee408dbc7d14af9aad by jonathan.l.peyton
[OpenMP][libomp] Insert correct HWLOC version guards

Put needed HWLOC version guards around relevant HWLOC API.
Tested OpenMP host runtime build with HWLOC 1.11.13, 2.0-2.9.

Differential Revision: https://reviews.llvm.org/D142152
Fix #54951
The file was modifiedopenmp/runtime/src/kmp_affinity.cpp (diff)
Commit e2c43a547b311725067e7b56ae935e940e6fc1c3 by flo
[VPlan] Add vp_depth_first_deep (NFC)

Similar to vp_depth_first_shallow (D140512) add vp_depth_first_deep to
make existing code clearer and more compact.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D142055
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanCFG.h (diff)
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanVerifier.cpp (diff)
Commit 31b0be4eba9e8e9244799f0ebcb18175faff69ab by ashaposhnikov
[Clang] Add lifetimebound attribute to std::move/std::forward

Clang now automatically adds [[clang::lifetimebound]] to the parameters of
std::move, std::forward et al, this enables Clang to diagnose more cases
where the returned reference outlives the object.
Associated GitHub issue: https://github.com/llvm/llvm-project/issues/60020

Test plan: ninja check-clang check-all

Differential revision: https://reviews.llvm.org/D141744
The file was modifiedclang/test/SemaCXX/builtin-std-move.cpp (diff)
The file was modifiedclang/docs/LanguageExtensions.rst (diff)
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/test/SemaCXX/attr-lifetimebound.cpp (diff)
The file was modifiedclang/test/SemaCXX/builtins.cpp (diff)
Commit 725a21b62c2de4237712d53f5b34e48400e760b3 by paul.robinson
Reland "[lit] Stop supporting triple substrings in UNSUPPORTED and
XFAIL"

This reverts commit 2f8b920f95aa1e308193cf5803df7912025e8400.

Forgot to update lit's own tests.
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-format/unsupported-expr-true.txt (diff)
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-format/xpass.txt (diff)
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-format/xfail-expr-false.txt (diff)
The file was modifiedllvm/utils/lit/lit/Test.py (diff)
The file was modifiedllvm/utils/lit/lit/BooleanExpression.py (diff)
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-format/xfail-expr-true.txt (diff)
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
Commit 9fecd58e5e2ead68f09677db912a29585810eb81 by yeluo
[OpenMP] Build device runtimes for sm_89 and sm_90
The file was modifiedopenmp/libomptarget/DeviceRTL/CMakeLists.txt (diff)
Commit 9bdcf8778a5c6f57e6d05308e9dde655bba97698 by a.bataev
[SLP]Improve isGatherShuffledEntry by looking deeper through the reused scalars.

The compiler may produce better results if it does not look for
constants, uses an extra analysis of phi nodes, looks through all tree
nodes without skipping the cases, where the very first set of nodes is
empty. Also, it tries to reshufle the nodes if it is profitable for
sure, i.e. at least 2 scalars are used for single node permutation and at
least 3 scalars are used for the permutation of 2 nodes.

Part of D110978

Differential Revision: https://reviews.llvm.org/D141512
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_netbsd_decompress.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR39774.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll (diff)
Commit 160bc160b9b114069a8cb9b4cc887aa86e5ca7c4 by vsapsai
[ODRHash] Hash `RecordDecl` and diagnose discovered mismatches.

When two modules contain struct/union with the same name, check the
definitions are equivalent and diagnose if they are not. This is similar
to `CXXRecordDecl` where we already discover and diagnose mismatches.

rdar://problem/56764293

Differential Revision: https://reviews.llvm.org/D71734
The file was modifiedclang/include/clang/Serialization/ASTReader.h (diff)
The file was modifiedclang/include/clang/AST/ODRDiagsEmitter.h (diff)
The file was modifiedclang/include/clang/AST/Decl.h (diff)
The file was modifiedclang/include/clang/AST/ODRHash.h (diff)
The file was modifiedclang/lib/AST/Decl.cpp (diff)
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp (diff)
The file was modifiedclang/lib/AST/ODRHash.cpp (diff)
The file was modifiedclang/include/clang/AST/DeclBase.h (diff)
The file was modifiedclang/lib/AST/ODRDiagsEmitter.cpp (diff)
The file was modifiedclang/lib/Serialization/ASTReader.cpp (diff)
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was addedclang/test/Modules/compare-record.c
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp (diff)
Commit f33b5b1bf703ee5ff73126fefe2a9bcbd54db457 by vsapsai
[ODRHash] Detect mismatches in anonymous `RecordDecl`.

Allow completing a redeclaration check for anonymous structs/unions
inside `RecordDecl`, so we deserialize and compare anonymous entities
from different modules.

Completing the redeclaration chain for `RecordDecl` in
`ASTContext::getASTRecordLayout` mimics the behavior in
`CXXRecordDecl::dataPtr`. Instead of completing the redeclaration chain
every time we request a definition, do that right before we need a
complete definition in `ASTContext::getASTRecordLayout`.

Such code is required only for anonymous `RecordDecl` because we
deserialize named decls when we look them up by name. But it doesn't
work for anonymous decls as they don't have a name. That's why need to
force deserialization of anonymous decls in a different way.

rdar://81864186

Differential Revision: https://reviews.llvm.org/D140055
The file was modifiedclang/test/Modules/compare-record.c (diff)
The file was modifiedclang/lib/Serialization/ASTReader.cpp (diff)
The file was modifiedclang/lib/AST/RecordLayoutBuilder.cpp (diff)
Commit cf12709222a4699ff5a4bb257cb891b55b5f6fba by Fred Riss
Revert "[Clang] Give Clang the ability to use a shared stat cache"

This reverts commit c5abe893120b115907376359a5809229a9f9608a.
This reverts commit a033dbbe5c43247b60869b008e67ed86ed230eaa.

This broke the build with -DLLVM_LINK_LLVM_DYLIB=ON. Reverting while I
investigate.
The file was removedclang/test/Driver/vfsstatcache.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
The file was removedllvm/include/llvm/Support/StatCacheFileSystem.h
The file was modifiedllvm/lib/Support/CMakeLists.txt (diff)
The file was removedllvm/lib/Support/StatCacheFileSystem.cpp
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was removedclang/test/clang-stat-cache/errors.test
The file was removedclang/tools/clang-stat-cache/CMakeLists.txt
The file was modifiedclang/include/clang/Frontend/CompilerInvocation.h (diff)
The file was modifiedclang/test/CMakeLists.txt (diff)
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h (diff)
The file was modifiedclang/tools/CMakeLists.txt (diff)
The file was modifiedclang/lib/Frontend/ASTUnit.cpp (diff)
The file was removedclang/test/clang-stat-cache/cache-effects.c
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td (diff)
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp (diff)
The file was removedclang/tools/clang-stat-cache/clang-stat-cache.cpp
Commit bd3ee371e9f0b09d2315701399e48be27844feec by eugenis
Revert "[AArch64][v8.3A] Avoid inserting implicit landing pads (PACI*SP)"

Linux kernel sets SCTRL_EL1.BT0 and BT1 to 1 unconditionally, which
makes PACIASP equivalent to BTI C + PACIA LR,SP.

Use the shorter instruction sequence by default.

I'm not aware of anyone who needs the opposite. They are welcome to
revert to the current behavior under a subtarget feature or an
environment check.

This reverts commit 571c8c5263a79293aaadae07b11feb36726eaf53.

Differential Revision: https://reviews.llvm.org/D141978
The file was modifiedllvm/test/CodeGen/AArch64/sign-return-address.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-signedreturnaddress.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/pacbti-module-attrs.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-mod.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-2.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/wineh-pac.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sign-return-address-cfi-negate-ra-state.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll (diff)
Commit e8a163dc03e6913360beb305620104ba129c081c by sguelton
[llvm] Cleanup edit_distance short circuiting

Also prevent integer overflow if MaximumDistance == UINT_MAX.

This is a follow-up to 6ad1b4095172373590134afff19a7fbad9d7889d
The file was modifiedllvm/lib/Option/OptTable.cpp (diff)
The file was modifiedllvm/include/llvm/Option/OptTable.h (diff)
Commit 6b43568ff83f70cee9fd920f1781526f5b595de5 by gcmn
[Bazel] Fix layering issues

These are caught by clang-16, which we're using in our project.

Reviewed By: rupprecht

Differential Revision: https://reviews.llvm.org/D142158
The file was modifiedutils/bazel/llvm-project-overlay/lld/BUILD.bazel (diff)
The file was modifiedutils/bazel/llvm-project-overlay/llvm/BUILD.bazel (diff)
Commit 1f08d3bc3a9a018534e52a47027dfb05cb4f55b3 by jeffrey.byrnes
[AMDGPU] Further reduce attaching of implicit operands to spills

Extension of https://reviews.llvm.org/D141101 to even further reduce the amount of implicit operands we attach. The main benefit is to improve cability of post-ra scheduler, and reduce unneeded dependency resolution (e.g. inserting snops).

Unfortunately, we run into regressions if we completely minimize the amount implicit operands (naively), we run into some regressions (e.g. dual_movs are replaced with multiple calls to v_mov). This is even more reason to switch to LiveRegUnits.

Nonetheless, this patch removes the operands which we can for free (more or less).

Change-Id: Ib4f409202b36bdbc59eed615bc2d19fa8bd8c057

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

Change-Id: I8b039e3c0d39436b384083f8beb947ee1b1730b2
The file was modifiedllvm/test/CodeGen/AMDGPU/spill352.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-build-spill-partial-agpr.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-build-spill.mir (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill192.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill384.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill224.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/same-slot-agpr-sgpr.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/sgpr-spill-to-vmem-scc-clobber.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-spill-scc-clobber.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/sgpr-spill.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-reg-tuple-super-reg-use.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-spill.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill288.mir (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill320.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll (diff)
Commit 32c26e27b6fcd12703dcd00adf178330d0ad8449 by dcastagna
CUDA/HIP: Use kernel name to map to symbol

Currently CGCUDANV uses an llvm::Function as a key to map kernels to a
symbol in host code.  HIP adds one level of indirection and uses the
llvm::Function to map to a global variable that will be initialized to
the kernel stub ptr.

Unfortunately there is no garantee that the llvm::Function created
by GetOrCreateLLVMFunction will be the same.  In fact, the first
time we encounter GetOrCrateLLVMFunction for a kernel, the type
might not be completed yet, and the type of llvm::Function will be
a generic {}, since the complete type is not required to get a symbol
to a function.  In this case we end up creating two global variables,
one for the llvm::Function with the incomplete type and one for the
function with the complete type. The first global variable will be
declared by not defined, resulting in a linking error.

This change uses the mangled name of the llvm::Function as key in the
KernelHandles map, in this way the same llvm::Function will be
associated to the same kernel handle even if they types are different.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D140663
The file was modifiedclang/lib/CodeGen/CGCUDANV.cpp (diff)
The file was addedclang/test/CodeGenCUDA/incomplete-func-ptr-type.cu
Commit 4626bd0b91102af234125f7f8ff0daaffb7a1fa4 by diegocaballero
[mlir][vector] Disable folding for masked reductions

Reductions can't be folded into plain arith ops until we can mask
those arith ops.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D141645
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir (diff)
The file was modifiedmlir/lib/Dialect/Vector/IR/VectorOps.cpp (diff)
Commit ed6d09dd4ead70d2858d56c530af38eefa1ef595 by kyrtzidis
[Lex] For dependency directive lexing, angled includes in `__has_include` should be lexed as string literals

rdar://104386604

Differential Revision: https://reviews.llvm.org/D142143
The file was modifiedclang/lib/Lex/Lexer.cpp (diff)
The file was addedclang/test/ClangScanDeps/depscan-lex-has-include.c
Commit d5cbaa047004335a29dc3bcaf6aaa1c26fc27f36 by benny.kra
[Linalg] Don't create complex vectors when vectorizing copies

vector<complex<...>> is currently not valid. This is a reduced version
of https://reviews.llvm.org/D141578

Differential Revision: https://reviews.llvm.org/D142131
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp (diff)
Commit c5ea42bcf48c8f3d3e35a6bff620b06d2a499108 by aeubanks
Revert "[LoopUnroll] Directly update DT instead of DTU."

This reverts commit d0907ce7ed9f159562ca3f4cfd8d87e89e93febe.

Causes `opt -passes=loop-unroll-full` to crash on

```
define void @foo() {
bb:
  br label %bb1

bb1:                                              ; preds = %bb1, %bb1, %bb
  switch i1 true, label %bb1 [
    i1 true, label %bb2
    i1 false, label %bb1
  ]

bb2:                                              ; preds = %bb1
  ret void
}
```
The file was modifiedllvm/lib/Transforms/Utils/LoopUnroll.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h (diff)
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp (diff)
Commit a5f446bc4bb1ac78d6852cc8e251a1229899b783 by thakis
Revert "[clang][Darwin] Try to guess the SDK root with xcrun when unspecified"

This reverts commit ecade80d93960ad01d8665db02c23841e055a80f.
Breaks tests on macOS and tries to run xcrun on non-mac platforms,
see comments on https://reviews.llvm.org/D136315
The file was removedclang/test/Driver/darwin-sdk-detect.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp (diff)
The file was modifiedclang/docs/UsersManual.rst (diff)
Commit 56ba0ba7226089ba2423c303dbd211d6e8aaf9d1 by thakis
Revert "[gn] port a033dbbe5c43 (clang-stat-cache)"

This reverts commit 8d498e08deaf6e06a578cfedb4eb259b722ac7f6.
a033dbbe5c43 was reverted in cf12709222a4.
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn (diff)
The file was removedllvm/utils/gn/secondary/clang/tools/clang-stat-cache/BUILD.gn
Commit 60834105d85cba27e1e1b2b4ecf4cd658019d867 by Jonas Devlieghere
[lldb] Re-enable xmm/ymm/zmm tests with the system debugserver

Re-enable the xmm/ymm/zmm tests now that the system debugserver used by
our CI is capable or writing xmm/ymm/zmm registers.
The file was modifiedlldb/test/Shell/Register/x86-64-zmm-write.test (diff)
The file was modifiedlldb/test/Shell/Register/x86-64-ymm-write.test (diff)
Commit 23cc36e4765912a1bcdbbc3fb8b0976a06dea043 by arsenm2
llvm-reduce: Use consistent ReductionFunc types

Some of these were relying on ReducerWorkItem's operator Module&.
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/RunIRPasses.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceAliases.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceOperands.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceArguments.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/TestRunner.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/ReducerWorkItem.h (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp (diff)
Commit a6000c143b6d088c3d1cf3a11719319a8655f1ab by arsenm2
llvm-reduce: Account for aliases and ifuncs in IR complexity score
The file was modifiedllvm/tools/llvm-reduce/ReducerWorkItem.cpp (diff)
Commit 0782d97ff56ad1633021e62f38d59f68ee093d37 by arsenm2
llvm-reduce: Account for initializer complexity
The file was modifiedllvm/tools/llvm-reduce/ReducerWorkItem.cpp (diff)
Commit c39735c92d4dd6e78492bb5acd7e5d40a306c5da by arsenm2
llvm-reduce: Use WithColor in another error message
The file was modifiedllvm/tools/llvm-reduce/TestRunner.cpp (diff)
Commit 33ff9d911d8010d92518ad1fcbef674252a933f8 by arsenm2
llvm-reduce: Fix typo in help text
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp (diff)
Commit 05927eb5ff986e619f155c05727ed1fa478d2c4e by riddleriver
[mlir][LLVM] Tidy up DebugTranslation casting

Add a specific class for local scope attributes and remove
some unnecessary casts.
The file was modifiedmlir/lib/Target/LLVMIR/DebugTranslation.h (diff)
The file was modifiedmlir/lib/Target/LLVMIR/DebugTranslation.cpp (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h (diff)
Commit c919ea5b486041021a48b487145120fe0bcb70a8 by powerman1st
[AVR] Fix incorrectly printed global symbol operands in inline-asm

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

Reviewed By: aykevl

Differential Revision: https://reviews.llvm.org/D142096
The file was modifiedllvm/lib/Target/AVR/AVRAsmPrinter.cpp (diff)
The file was modifiedllvm/test/CodeGen/AVR/inline-asm/inline-asm3.ll (diff)
Commit 333ffafb4500cad19aec81e841686ade1f31f67f by arsenm2
llvm-reduce: Trim includes and avoid using namespace in a header
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceRegisterDefs.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructionFlagsMIR.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/ReducerWorkItem.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/llvm-reduce.cpp (diff)
The file was modifiedllvm/tools/llvm-reduce/ReducerWorkItem.h (diff)
Commit 3ac4299d3798eb7078905d5fc8f23781556c90a1 by cmagahern
[clang] Don't short-circuit constant evaluation for array or record types

FastEvaluateAsRValue returns `true` without setting a result value for when a
given constant expression is an array or record type.

Clang attributes must be able to support constant expressions that are array or
record types, so proceed with the slower path for evaluation in the case where
`FastEvaluateAsRValue` does not yield an evaluation result.

Differential Revision: https://reviews.llvm.org/D141745
The file was modifiedclang/lib/AST/ExprConstant.cpp (diff)
The file was modifiedclang/test/CodeGen/2007-06-15-AnnotateAttribute.c (diff)
Commit 3006cb2aa8d9fb1cbcb15a7e4dcd321614fa7478 by Yaxun.Liu
[HIP] Unbundler allows missing host entry

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D142118
The file was modifiedclang/test/Driver/clang-offload-bundler.c (diff)
The file was modifiedclang/lib/Driver/OffloadBundler.cpp (diff)
Commit 9c2cfaaada66f323d10e25ac961ce1524d7b5f1f by i
[Clang][OpenMP] Allow `f16` literal suffix when compiling OpenMP target offloading for NVPTX

Fix #58087.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D142075
The file was modifiedclang/lib/Lex/LiteralSupport.cpp (diff)
The file was addedclang/test/OpenMP/float16_sema.cpp
Commit 6c485409de521565aeac427cf614158b86cc7fea by Vitaly Buka
Adding missing colon

Simple typo fix.
The absence of this colon may be confusing and result in misinterpretation of the result.

In normal libfuzzer mode, that colon is present.

You can compare with:
https://github.com/llvm/llvm-project/blob/aa0e9046c16bf27a8affbd903e2e3cad924a5217/compiler-rt/lib/fuzzer/FuzzerLoop.cpp#L356

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D142171
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerFork.cpp (diff)
Commit b40a3d73dc9c10a25a72e82da70d58727d198b80 by nikolasklauser
[libc++] Implement P2446R2 (views::as_rvalue)

Reviewed By: ldionne, var-const, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D137637
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/begin.pass.cpp
The file was modifiedlibcxx/include/__iterator/move_sentinel.h (diff)
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/ctor.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/adaptor.pass.cpp
The file was addedlibcxx/test/libcxx/diagnostics/view_adaptors.nodiscard_extensions.verify.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/enable_borrowed_range.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/end.pass.cpp
The file was addedlibcxx/include/__ranges/as_rvalue_view.h
The file was modifiedlibcxx/include/ranges (diff)
The file was modifiedlibcxx/test/support/test_iterators.h (diff)
The file was modifiedlibcxx/docs/Status/Cxx2bPapers.csv (diff)
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/base.pass.cpp
The file was modifiedlibcxx/docs/Status/RangesViews.csv (diff)
The file was modifiedlibcxx/include/module.modulemap.in (diff)
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/size.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was addedlibcxx/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctad.compile.pass.cpp
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.adaptors/range.as.rvalue/ctad.compile.pass.cpp
The file was modifiedlibcxx/docs/ReleaseNotes.rst (diff)
Commit e52ce7f554491d3bb7c997ffe7da3265a9569a59 by nikolasklauser
[libc++] Remove old CI configurations and update the supported compiler versions

`_LIBCPP_REMOVE_TRANSITIVE_INCLUDES` doesn't do anything anymore in C++23 mode, so it's now just a duplicate of the C++23 configuration.
Also add new steps to the post-release checklist for updating the supported compilers.

Reviewed By: ldionne, #libc

Spies: arichardson, libcxx-commits, arphaman

Differential Revision: https://reviews.llvm.org/D133364
The file was removedlibcxx/cmake/caches/Generic-no-transitive-includes.cmake
The file was modifiedlibcxx/docs/Contributing.rst (diff)
The file was modifiedlibcxx/utils/ci/run-buildbot (diff)
The file was modifiedlibcxx/docs/index.rst (diff)
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml (diff)
Commit 71283fdbe013c762508d4726a9b616ff4b6aec25 by llvmgnsyncbot
[gn build] Port b40a3d73dc9c
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit f37614b25ccaa9c0710cc8a4fc2ba2fb0fcb9159 by kazu
[llvm] Move bit counting functions to bit.h (NFC)

This patch provides C++20-style countl_zero, countr_zero, countl_one,
and countr_one in bit.h.  Existing functions like countLeadingZeros
become wrappers around the new functions.

Note that I cannot quite declare countLeadingZeros as:

  template <class T> using countLeadingZeros = countl_zero<T>;

because countl_zero returns int, whereas countLeadingZeros returns
unsigned.

Differential Revision: https://reviews.llvm.org/D142078
The file was modifiedllvm/include/llvm/ADT/bit.h (diff)
The file was modifiedllvm/include/llvm/Support/MathExtras.h (diff)
The file was modifiedllvm/unittests/ADT/BitTest.cpp (diff)
Commit 1692dff0b33c840447446064d56ad06ba694665e by craig.topper
Revert "[X86] Avoid converting u64 to f32 using x87 on Windows"

This reverts commit a6e3027db7ebe6863e44bafcfeaacc16bdc88a3f.

Chrome and Halide are both reporting issues with importing builtins.

Maybe the better direction is to manually adjust FPCW for the inline
sequence on Windows.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/uint64-to-float.ll (diff)
Commit 79b917b6e89a1cd2224e5009c02c8757fe5b9095 by nikolasklauser
[libc++] Mark LWG3349 as complete
The file was modifiedlibcxx/docs/Status/Cxx20Issues.csv (diff)
Commit 3507df9c20a4e117a27c005d7ceb5d1468378aa2 by Lang Hames
[ORC][ORC-RT] Add support for callback-based lookup of JIT'd MachO unwind info.

In LLVM the MachOPlatform class is modified to identify unwind info sections
and the address ranges of the functions these sections cover. These address
ranges are then communicated to the ORC runtime by attaching them to the
register-object-platform-sections allocation action.

In the ORC runtime the unwind-info section addresses are recorded and used to
support lookup of unwind info via the new `findDynamicUnwindSections` function.
At bootstrap time the ORC runtime checks for the presence of new
unwind-info-lookup-registration functions in libunwind (see
https://reviews.llvm.org/D142176), and if available uses them to register the
`findDynamicUnwindSections` function with libunwind to enable callback-based
lookup. If the new unwind-info-lookup-registration functions are not available
then the ORC runtime falls back to using the existing libunwind registration
APIs.

The callback-based scheme is intended to address three shortcomings in the
current registration scheme for JIT'd unwind info on Darwin: (1) Lack of
compact-unwind support, (2) inability to describe the subarchitecture of JIT'd
frames, and (3) lack of efficient address-based lookup data structures in
libunwind.

For more details see the proposed libunwind changes in
https://reviews.llvm.org/D142176.
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp (diff)
Commit dddcf3014aa094d3ecd0430511a5c10045fefbd6 by kazu
[ADT,Support] Include compiler.h

This restores builds with gcc-9, which does not have __has_builtin.
The file was modifiedllvm/include/llvm/Support/MathExtras.h (diff)
The file was modifiedllvm/include/llvm/ADT/bit.h (diff)
Commit 21f4232dd963c449231f03a90836071202fd134a by nikolasklauser
[libc++] Enable segmented iterator optimizations for join_view::iterator

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D138413
The file was addedlibcxx/benchmarks/join_view.bench.cpp
The file was modifiedlibcxx/docs/ReleaseNotes.rst (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp (diff)
The file was modifiedlibcxx/include/__ranges/join_view.h (diff)
The file was addedlibcxx/test/libcxx/iterators/iterator_with_data.pass.cpp
The file was modifiedlibcxx/benchmarks/CMakeLists.txt (diff)
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was addedlibcxx/include/__iterator/iterator_with_data.h
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp (diff)
The file was modifiedlibcxx/include/module.modulemap.in (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp (diff)
Commit 6ab938cddc6d90acbd64554c1568cbff672d73e9 by llvmgnsyncbot
[gn build] Port 21f4232dd963
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit c3f0efe753e27105b519ae9283796d41fe574741 by nicolas.vasilache
[mlir][Linalg] Fix crash in LinalgToStandard

Use rewriter.notifyMatchFailure instead of assert.

Fixes #59986.
The file was modifiedmlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp (diff)
Commit 6b2e29c5080e3e9870d8a2151a0feaf64eb480d0 by uday
NFC. Refactor affine fusion code for readability

Replace a couple of check instances with llvm::any_of (clang-tidy
warnings).  Factor out "canCreatePrivateMemRef" and
"performFusionsIntoDest" into separate methods to reduce the
length/indent of the containing methods. Add doc comments and debug messages.

Mark some of the methods that should have been const const.

NFC.

Reviewed By: vinayaka-polymage

Differential Revision: https://reviews.llvm.org/D142076
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp (diff)
Commit 2133e8b9f942f91ec54e28c580fccf6d6b26c62e by kadircet
[clangd] Fix shared lib builds
The file was modifiedclang-tools-extra/clangd/fuzzer/CMakeLists.txt (diff)
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt (diff)
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt (diff)
Commit 02fb5aae11098fc69ed838eec97f57691eaccfa9 by nicolas.vasilache
[mlir][Linalg] Add missing test

c3f0efe753e27105b519ae9283796d41fe574741 lacked a test, added here.
The file was modifiedmlir/test/Dialect/Linalg/standard.mlir (diff)
Commit ff94419a287c0b20bf357ab85cf611d4e9bad4c0 by nicolas.vasilache
[mlir][Linalg] Fix crash in LinalgToStandard

Properly handle `appendMangledType` failure instead of asserting.

Fixes #59986.
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/standard.mlir (diff)
Commit 790f237012259186ed4a767e29e85f5ba6720b59 by nicolas.vasilache
[mlir][Linalg] Add a structured.pack_transpose transform op

This transform is complementary to the `structured.pack` op which
allows packing a whole op but does not allow transposes on the individual
operands.

`structured.pack_transpose` allows transposing single operands connected to
pack or unpack ops after the fact.

This makes the system overall more composable than e.g. a giant transform
op with all permutation specified at once.

Differential Revision: https://reviews.llvm.org/D142053
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp (diff)
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp (diff)
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td (diff)
The file was modifiedmlir/test/Dialect/Linalg/transform-op-pack.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorOps.td (diff)
Commit 928a1764d6bdf84073c9d85875f45c1716d6ff12 by craig.topper
[X86][WIP] Change precision control to FP80 during u64->fp32 conversion on Windows.

This is an alternative to D141074 to fix the problem by adjusting
the precision control dynamically.

This isn't quite complete yet. I want to support fadd with an load
folded into it too. That's the code we will usually generate.

Posting for early review so we can do some testing of this solution.

Differential Revision: https://reviews.llvm.org/D142178
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h (diff)
The file was modifiedllvm/test/CodeGen/X86/uint64-to-float.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit e62ffd3fd6bbda04d810f25c2f570e03bda1dd4a by craig.topper
[RISCV][TableGen] Use getAllDerivedDefinitions in RISCVTargetDefEmitter to simplify the code. NFC
The file was modifiedllvm/utils/TableGen/RISCVTargetDefEmitter.cpp (diff)
Commit f4fa34c3591583de769a4947d9842691bbe14a69 by craig.topper
Revert "[X86][WIP] Change precision control to FP80 during u64->fp32 conversion on Windows."

This reverts commit 928a1764d6bdf84073c9d85875f45c1716d6ff12.

Committed accidentally
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td (diff)
The file was modifiedllvm/test/CodeGen/X86/uint64-to-float.ll (diff)
Commit 355762145328cea99a886dda964878f12fe37f6e by kristof.beyls
Add security group 2022 transparency report.
The file was modifiedllvm/docs/SecurityTransparencyReports.rst (diff)
Commit e74f9e7885078e7c847b2672a70b6743731aa53a by bakalova
[include-mapping] Parse zombie_names.html into a removed symbols map.

Differential Revision: https://reviews.llvm.org/D141855
The file was modifiedclang/tools/include-mapping/gen_std.py (diff)
Commit e1a702db2fcd1dfbfe175efe334135d184234970 by sergey.kachkov
[GVN] Refactor findDominatingLoad function

Improve findDominatingLoad implementation:
1. Result is saved into gvn::AvailableValue struct
2. Search is done in extended BB (while there is a single predecessor or
   limit is reached)

Differential Revision: https://reviews.llvm.org/D141680
The file was modifiedllvm/test/Transforms/GVN/PRE/pre-load-through-select.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp (diff)
Commit 08ce89d3088dc0a6dd9d3b7455222aa35894c1d5 by npopov
[Flang] Explicitly include cstdint (NFC)

This header uses std::int8_t, but does not include cstdint.

This fixes the build against libstc++ 13, where some indirect
header includes have been removed.
The file was modifiedflang/include/flang/Parser/characters.h (diff)
Commit b7894ebf8439c0141614fbb8bfc1a27a0a67e946 by tbaeder
[clang][Interp] Initialize remaining InlineDescriptor fields

for local variables. Hoping this will please msan.
The file was modifiedclang/lib/AST/Interp/InterpFrame.cpp (diff)
The file was modifiedclang/lib/AST/Interp/EvalEmitter.cpp (diff)
Commit 87e345b1bdb76867cc6e9ae59b6dd2633a480d38 by springerm
[mlir] GreedyPatternRewriteDriver: Add new strict mode option

There are now three options:
* `AnyOp` (previously `false`)
* `ExistingAndNewOps` (previously `true`)
* `ExistingOps`: this one is new.

The last option corresponds to what the `applyOpPatternsAndFold(Operation*, ...)` overload is doing. It is now also supported on the `applyOpPatternsAndFold(ArrayRef<Operation *>, ...)` overload.

Differential Revision: https://reviews.llvm.org/D141904
The file was modifiedmlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h (diff)
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp (diff)
The file was modifiedmlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp (diff)
The file was modifiedmlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp (diff)
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp (diff)
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp (diff)
The file was modifiedmlir/lib/Dialect/Affine/TransformOps/AffineTransformOps.cpp (diff)
The file was modifiedmlir/test/Transforms/test-strict-pattern-driver.mlir (diff)
Commit ea4fd668c2cd88d13b36a5d64e3dedb1106340bc by v1nh1shungry
[clang] fix crash on generic lambda with lambda in decltype

Relevant issue: https://github.com/llvm/llvm-project/issues/59771

During the instantiation of a generic lambda, a non-generic lambda in
the trailing `decltype` is a `DeclContext` but not a dependent context,
so we shouldn't call `PerformDependentDiagnostics` on it.

Differential Revision: https://reviews.llvm.org/D140838
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp (diff)
The file was modifiedclang/test/SemaCXX/lambda-unevaluated.cpp (diff)
Commit 1b4fdf18bc2aaa2d46bf072475dd9cbcd44a9fee by npopov
[libomp] Explicitly include <string> header (NFC)

This is required to build against libstdc++ 13. Debug.h uses
std::stoi() from <string> without explicitly including it.
The file was modifiedopenmp/libomptarget/include/Debug.h (diff)
Commit 0e13ccc69cf23b1d4a84d59d882717c6b2d5759e by flo
[VPlan] Add initial VPDT test. (NFC)
The file was modifiedllvm/unittests/Transforms/Vectorize/CMakeLists.txt (diff)
The file was addedllvm/unittests/Transforms/Vectorize/VPDomTreeTest.cpp
Commit afa8291422357585d73998a909845dcb8781c971 by llvmgnsyncbot
[gn build] Port 0e13ccc69cf2
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Vectorize/BUILD.gn (diff)
Commit 044ed6e09f49c8a0db93f8c3f1227447d2a88231 by benny.kra
[bazel] Add missing dependencies for 790f237012
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
Commit b3bb4dd3481bac6f6b0df706db2150dd260d0737 by jperier
[flang][hlfir] Lower pointer and allocatable sub-part references

The previous patches dealt with allocatable and pointer symbol
and component whole references.
This one deals with the remaining sub-part case where a dereference
must be created before applying the sub-part reference on the target.

With this patch the support to designate allocatable and pointer in
HLFIR is complete, but some use points will need to be updated to
use HLFIR designator lowering (at least allocate/deallocate statement
and whole allocatable assignment).

The partInfo.base had to be turned into an std::optional<hlfir::Entity>
because loads of allocatable/pointers do create a
fir::FortranVariableOpInterface (there is no need to). The optional part
comes from the fact that the partInfo.base is not set when creating the
partInfo, but later when visiting the designator parts.

They are three cases when dereferences must be inserted:
- The pointer/allocatable is a symbol followed by a sub-part that is not
a component ref. This is done in visit(Symbol).
- The pointer/allocatable is a component followed by a sub-part that is
not another component ref. This is done in visit(Component).
- The pointer/allocatable is followed by a component ref. This case is
special since it does not call the above "visit" but instead calls "gen"
to break the visit and generate an hlfir.designate for the component
base (since one hlfir.designate can only represent one Fortran part-ref,
and must be chained to implement a Fortran designator with several part
refs). This is done in visitComponentImpl().

Differential Revision: https://reviews.llvm.org/D142124
The file was modifiedflang/lib/Lower/ConvertExprToHLFIR.cpp (diff)
The file was modifiedflang/include/flang/Optimizer/Builder/HLFIRTools.h (diff)
The file was addedflang/test/Lower/HLFIR/allocatable-and-pointer-subparts.f90
Commit ed9ef9b4f248c62022bb1bebe5e2597cb4f9d209 by elver
tsan: Consider SI_TIMER signals always asynchronous

POSIX timer can be configured to send any kind of signal, however, it
fundamentally does not make sense to consider a timer a synchronous
signal. Teach TSan that timers are never synchronous.

The tricky bit here is correctly defining compiler-rt's siginfo
replacement, which is a rather complex struct. Extend it in a limited
way that is mostly cross-platform compatible and add offset tests in
sanitizer_platform_limits_posix.cpp.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D142117
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h (diff)
Commit f61ee94470439c54499d43f0826cee04d99d5e9b by npopov
[InstCombine] Add tests for constant memcpy with select (NFC)

Tests for D136524.
The file was removedllvm/test/Transforms/InstCombine/replace-alloca-phi.ll
The file was addedllvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
Commit 02435a50f22d3dcfdb486280a3022d6d69ca17c8 by nicholas.guy
[ReleaseNotes] Add mention of complex number support for ARM and AArch64 backends.

Differential Revision: https://reviews.llvm.org/D142012
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
Commit 36663626ee336905745cb1c259b3b65c9ff656bf by guray.ozen
[mlir][nvvm] Introduce redux op

Ptx model has `redux.sync` that performs reduction operation on the data from each predicated active thread in the thread group. It only is available sm80+.

This revision adds redux as on op to nvvm dialect.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D142088
The file was modifiedmlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp (diff)
The file was modifiedmlir/test/Dialect/LLVMIR/nvvm.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMOps.td (diff)
Commit cfd3a0e04ad60c72dda79d407a78f4fff0bdad6d by kerry.mclaughlin
[AArch64][SME2] Add multi-vector fused multiply-add/subtract intrinsics

Adds intrinsics for the following:
- fmla (single, multi & indexed)
- fmls (single, multi & indexed)

NOTE: These intrinsics are still in development and are subject
to future changes.

Reviewed By: CarolineConcatto

Differential Revision: https://reviews.llvm.org/D141946
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td (diff)
The file was addedllvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SMEInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/AArch64/SMEInstrFormats.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
Commit bf23b4031eeabfccd46a25ce68414d45ae761304 by npopov
[ValueTracking] Take poison-generating metadata into account (PR59888)

In canCreateUndefOrPoison(), take not only poison-generating flags,
but also poison-generating metadata into account. The helpers are
written generically, but I believe the only case that can actually
matter is !range on calls -- !nonnull and !align are only valid on
loads, and those can create undef/poison anyway.

Unfortunately, this negatively impacts logical to bitwise and/or
conversion: For ctpop/ctlz/cttz we always attach !range metadata,
which will now block the transform, because it might introduce
poison. It would be possible to recover this regression by supporting
a ConsiderFlagsAndMetadata=false mode in impliesPoison() and clearing
flags/metadata on visited instructions.

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

Differential Revision: https://reviews.llvm.org/D142115
The file was modifiedllvm/lib/IR/Instruction.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/freeze.ll (diff)
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)
The file was modifiedllvm/include/llvm/IR/Instruction.h (diff)
The file was modifiedllvm/include/llvm/IR/Operator.h (diff)
The file was modifiedllvm/lib/IR/Operator.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h (diff)
The file was modifiedllvm/test/Transforms/InstCombine/ispow2.ll (diff)
Commit 2e35d684d798f8e330e5a18b524cef32ede9be89 by kerry.mclaughlin
[AArch64][SME2] Add multi-vector multiply-add long intrinsics.

Adds (single, multi & indexed) intrinsics for the following:
- bfmlal/bfmlsl
- fmlal/fmlsl
- smlal/smlsl
- umlal/umlsl

This patch also extends SelectSMETileSlice to handle scaled vector select offsets.

NOTE: These intrinsics are still in development and are subject to future changes.

Reviewed By: CarolineConcatto

Differential Revision: https://reviews.llvm.org/D142004
The file was addedllvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
The file was modifiedllvm/lib/Target/AArch64/SMEInstrFormats.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64SMEInstrInfo.td (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td (diff)
Commit 06ade34c4bf8378f960b7e7564f1ba2316f6a990 by npopov
[InstCombine] Add multi-use tests for gep of gep fold (NFC)
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll (diff)
Commit 1495210914997bcd0ca6937be0ae3cd6809b5ef5 by sven.vanhaastregt
[OpenCL] Always add nounwind attribute for OpenCL

Neither OpenCL nor C++ for OpenCL support exceptions, so add the
`nounwind` attribute unconditionally for those languages.

Differential Revision: https://reviews.llvm.org/D142033
The file was modifiedclang/lib/CodeGen/CGCall.cpp (diff)
The file was modifiedclang/test/CodeGenOpenCL/convergent.cl (diff)
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl (diff)
Commit d148f8d7dd4aea1270a329c79313feadf9bbb414 by tobias.gysi
[mlir][llvm] Drop cyclic dependencies during debug metadata import.

This revision fixes the import of LLVM IR to handle debug metadata with
cyclic dependencies. It deletes the elements list of the composite type
if a cyclic dependency is detected. The revision is meant as a band aid
to avoid infinite recursion during the import of cyclic debug metadata.
Long term solutions are currently discussed here:
https://discourse.llvm.org/t/handling-cyclic-dependencies-in-debug-info/67526/4

Reviewed By: Dinistro

Differential Revision: https://reviews.llvm.org/D142086
The file was modifiedmlir/lib/Target/LLVMIR/DebugImporter.cpp (diff)
The file was modifiedmlir/test/Target/LLVMIR/Import/debug-info.ll (diff)
The file was modifiedmlir/lib/Target/LLVMIR/DebugImporter.h (diff)
Commit 097f42602d83926a9d5e7fbe3d0bb8ef5c733183 by kevin.sala
[OpenMP][libomptarget] Fix deinit of NextGen AMDGPU plugin

This patch fixes a segfault that was appearing when the plugin fails to
initialize and then is deinitialized. Also, do not call hsa_shut_down if
the hsa_init failed.

Differential Revision: https://reviews.llvm.org/D142145
The file was modifiedopenmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp (diff)
Commit b0d575310f2ee660dadfdaf1e06bac148a575754 by nicolas.vasilache
[mlir][Linalg] Fix ignoring nodiscard return value

ff94419a287c changed the return value of appendMangledType() to
LogicalResult, which is marked as nodiscard. Ignoring the result
generates a warning when building with clang.

Reviewed By: nicolasvasilache, chelini

Differential Revision: https://reviews.llvm.org/D142202
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp (diff)
Commit a3388f3e2a30eaca4123f14a6444fd5aa03b24c5 by guray.ozen
[mlir] Introduce a pattern to lower `gpu.subgroup_reduce` to `nvvm.redux_op`

This revision introduces a pattern to lower `gpu.subgroup_reduce` op into to the `nvvm.redux_sync` op. The op must be run by the entire subgroup, otherwise it is undefined behaviour.

It also adds a flag and populate function, because the op is not avaiable for every gpu (sm80+), so it can be used when it is desired.

Depends on D142088

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D142103
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir (diff)
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp (diff)
The file was modifiedmlir/include/mlir/Conversion/Passes.td (diff)
The file was modifiedmlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h (diff)
Commit 37f8ffc64cc4a92aec993b19b13f9182d88a0af8 by david.sherwood
[AArch64][SME2] Add LLVM IR intrinsics for the vertical dot products

Adds intrinsics for the following SME2 instructions:

* BFVDOT (32-bit)
* FVDOT (32-bit)
* SVDOT (2-way) (32-bit)
* SVDOT (4-way) (32-bit and 64-bit)
* UVDOT (2-way) (32-bit)
* UVDOT (4-way) (32-bit and 64-bit)
* SUVDOT (32-bit)
* USVDOT (32-bit)

NOTE: These intrinsics are still in development and are subject to future changes.

Differential Revision: https://reviews.llvm.org/D142000
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64SMEInstrInfo.td (diff)
The file was addedllvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
Commit 7531c87183822cf8931496a757a09779e24aeac0 by jperier
[flang][hlfir] Enable allocate, deallocate, pointer assignment lowering

The previous patches allowed lowering allocatable/and pointer designator
expressions with HLFIR.
This patch updates the bridge genExprMutableBox to use HLFIR lowering
when HLFIR flag is set. For allocate and deallocate lowering that use
genExprMutableBox, no other change is needed.

For pointer assignments, the code doing the pointer assignments in the
bridge can be reused and is simply moved so that it can be shared, and
the "explicit context" special cases of the previous lowering are
by-passed.

The code doing pointer assignment revealed that convertExprToAddress
did not match the previous genExprAddr behavior (that actually
does not create temps for "x" where x is not contiguous).
Instead of trying to copy the old behavior that is a bit weird (was
dictated by the implementation rather than design). Update
convertExprToAddress to do something sensible and that works with
the current genExprAddr usages (if anything, it should saves bogus
array section temps).

Differential Revision: https://reviews.llvm.org/D142197
The file was modifiedflang/lib/Lower/ConvertExprToHLFIR.cpp (diff)
The file was modifiedflang/include/flang/Lower/ConvertExprToHLFIR.h (diff)
The file was modifiedflang/lib/Lower/Allocatable.cpp (diff)
The file was addedflang/test/Lower/HLFIR/allocatable-and-pointer-status-change.f90
The file was modifiedflang/lib/Lower/ConvertCall.cpp (diff)
The file was modifiedflang/lib/Lower/Bridge.cpp (diff)
Commit 714286f9e641209411609deaf80dd865aa2198c5 by sam.parker
[NFC] Precommit tests

For (trunc (fp-to-int)).
The file was addedllvm/test/Transforms/InstCombine/trunc-fp-to-int.ll
Commit a5b457b7781a4389c6acddc70576ced75a2c5062 by orlando.hyams
[Assignment Tracking] Update test to use opaque pointers
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll (diff)
Commit 58751f943f2f6dd78dd3363fc70ea1728044ee0b by backlight.zzk
[clang-format] SortUsingDeclarations support lexicographic order

fix https://github.com/llvm/llvm-project/issues/59930

Differential Revision: https://reviews.llvm.org/D141694
The file was modifiedclang/docs/ClangFormatStyleOptions.rst (diff)
The file was modifiedclang/unittests/Format/UsingDeclarationsSorterTest.cpp (diff)
The file was modifiedclang/lib/Format/Format.cpp (diff)
The file was modifiedclang/include/clang/Format/Format.h (diff)
The file was modifiedclang/unittests/Format/ConfigParseTest.cpp (diff)
The file was modifiedclang/lib/Format/UsingDeclarationsSorter.cpp (diff)
Commit 65cf77d218cf8b6aee2dbe252f5512cccc0311c8 by sepavloff
[clang] Use FP options from AST for emitting code for casts

Differential Revision: https://reviews.llvm.org/D142001
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp (diff)
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c (diff)
The file was modifiedclang/test/CodeGen/X86/avx512dq-builtins-constrained.c (diff)
Commit 269cfd3156bd9f7b82718da3f20c8b4a2dad4f6c by npopov
[SROA] Add additional metadata preservation tests (NFC)
The file was removedllvm/test/Transforms/SROA/preserve-nonnull.ll
The file was addedllvm/test/Transforms/SROA/preserve-metadata.ll
Commit ebd9a2477e69ed35b83256ae93cc7e069f5a37c4 by kadircet
[clang] Fix typos in member initializers

This was regressed in ca619613801233ef2def8c3cc7d311d5ed0033cb. As we
attached InitExprs as-is to the AST, without performing transformations.

Differential Revision: https://reviews.llvm.org/D142187
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp (diff)
The file was addedclang/test/PCH/typo3.cpp
Commit fcd505d040ccc4d5ce8a4e704f36f7e605142935 by benny.kra
[arith] Allow integer casts of 0-D vectors

This just works, no reason to disallow it.

Differential Revision: https://reviews.llvm.org/D142137
The file was modifiedmlir/include/mlir/Dialect/Arith/IR/ArithOps.td (diff)
The file was modifiedmlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir (diff)
Commit d49b842ea2b466ead10a140037c90901438ba9d3 by npopov
[SROA] Use copyMetadataForLoad() helper

Instead of copying just nonnull metadata, use the generic helper
to copy metadata to the new load. This helper is specifically
designed for the case where the load type may change, so it's
safe to use in this context.
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp (diff)
The file was modifiedllvm/test/Transforms/SROA/preserve-metadata.ll (diff)
Commit 4ece50737d5385fb80cfa23f5297d1111f8eed39 by orlando.hyams
[Assignment Tracking][NFC] Replace LLVM command line option with a module flag

Remove LLVM flag -experimental-assignment-tracking. Assignment tracking is
still enabled from Clang with the command line -Xclang
-fexperimental-assignment-tracking which tells Clang to ask LLVM to run the
pass declare-to-assign. That pass converts conventional debug intrinsics to
assignment tracking metadata. With this patch it now also sets a module flag
debug-info-assignment-tracking with the value `i1 true` (using the flag conflict
rule `Max` since enabling assignment tracking on IR that contains only
conventional debug intrinsics should cause no issues).

Update the docs and tests too.

Reviewed By: CarlosAlbertoEnciso

Differential Revision: https://reviews.llvm.org/D142027
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/diamond-2.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/diamond-1.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/sdag-transfer-dbgassign.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/untagged-store-frag.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll (diff)
The file was removedclang/test/Driver/assignment-tracking-opts.c
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/loop-sink.ll (diff)
The file was modifiedllvm/docs/AssignmentTracking.md (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/loop-unroll.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill-cfg.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/operands.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/verify.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/single-memory-location.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/remove-undef-fragment.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/single-memory-location-2.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def-2.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll (diff)
The file was modifiedllvm/include/llvm/IR/DebugInfo.h (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/lower-offset-expression.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/diamond-3.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/no-redundant-def-after-alloca.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (diff)
The file was modifiedllvm/lib/IR/DebugInfo.cpp (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/DSE.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/dbg-phi-produces-undef.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/instruction-type.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/loop-hoist.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/sdag-dangling-dbgassign.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/split-alloca.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-to-prevent-reordering.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/distinct.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/instcombine/alloca-bitcast.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/nested-loop.ll (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/nested-loop-sroa.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/sdag-ir-salvage-assign.ll (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp (diff)
The file was modifiedllvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll (diff)
The file was modifiedllvm/test/DebugInfo/assignment-tracking/X86/order-of-defs.ll (diff)
Commit a4898b437dbd76bf62c6fc2c5f015c327aa19190 by npopov
[Local] Preserve range metadata if the type did not change

In copyRangeMetadata() and by extension copyLoadMetadata(),
handle the trivial case where the type did not change, in which
case we can simply preserve the range metadata as is.
The file was modifiedllvm/test/Transforms/SROA/preserve-metadata.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
Commit e3a00d51864e05b6755601543c5e2a2df44081d1 by orlando.hyams
[Assignment Tracking] Fix invalidated iterator usage

The iterator `FirstOverlap` is invalidated after the call to `insert` - avoid
dereferencing the iterator after the call to `insert`.

Reviewed By: CarlosAlbertoEnciso

Differential Revision: https://reviews.llvm.org/D141854
The file was modifiedllvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp (diff)
Commit 8421004cd5c38ea8296488acdd56d1cccfd4491c by david.green
[ARM] Fix condition in cmov to csinc combine.

This fixes the cmov fold from 90f24bef47227d58f2ccdcc481ca22eff32248ca,
where the condition needs to be inverted between the cmov and the csinc.
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/csel-andor-onebit.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpf.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpfz.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-or.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpfr.ll (diff)
Commit 0a996c82a75f330f3d01541381569c8cd2cd6190 by orlando.hyams
[Assignment Tracking] Fix -fexperimental-assignment-tracking cc1 flag

This change allows `-fexperimental-assignment-tracking` to be negated using the
negative equivalent `-fno-experimental-assignment-tracking`, and fixes the flag
so that the default behaviour can be changed (currently the default is still
false / disabled).

Reviewed By: StephenTozer

Differential Revision: https://reviews.llvm.org/D142029
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/test/CodeGen/assignment-tracking/flag.cpp (diff)
Commit fff2092d54286858a7ba0e4a23fa7e1dd62f86fb by npopov
[Mem2Reg] Add additional noundef variations to nonnull tests (NFC)
The file was modifiedllvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll (diff)
Commit bdf30603f28f5a97a63350e575e1b5cef052e7d0 by i
[LLVM][OpenMP] Correct the function signature of `__kmpc_parallel_level`

`__kmpc_parallel_level` used to be a function w/o any argument, but in the new
device runtime, it accepts two. This patch simply corrects it in `OMPKinds.def`.
```
uint16_t __kmpc_parallel_level(IdentTy *Loc, uint32_t);
```

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D141655
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def (diff)
The file was modifiedllvm/test/Transforms/OpenMP/parallel_level_fold.ll (diff)
Commit 9f8544713ad8e57fb74cbfce3fbc7fff523e549f by jeremy.morse
[DebugInfo] Store instr-ref mode of MachineFunction in member

Add a flag state (and a MIR key) to MachineFunctions indicating whether they
contain instruction referencing debug-info or not. Whether DBG_VALUEs or
DBG_INSTR_REFs are used needs to be determined by LiveDebugValues at least, and
using the current optimisation level as a proxy is proving unreliable.

Test updates are purely adding the flag to tests, in a couple of cases it
involves separating out VarLocBasedLDV/InstrRefBasedLDV tests into separate
files, as they can no longer share the same input.

Differential Revision: https://reviews.llvm.org/D141387
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_stackslot_subregs.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-fragments.mir (diff)
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/memory-operand-folding.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/spill-slot-limits.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/follow-spill-of-indir-value.mir (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/instr-ref-join-def-vphi.mir (diff)
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp (diff)
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-restore.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_instrref_tolocs.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/win32-chkctk-modifies-esp.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/out-of-scope-blocks.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-stack-clobber.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/memory-operand-load-folding.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_subreg_substitutions.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-with-loops.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/memory-operand-folding-tieddef.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/phi-through-regalloc.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param.mir (diff)
The file was addedllvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param2.mir
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-reg-copy.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/no-duplicates.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/twoaddr-to-threeaddr-sub.mir (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_recover_clobbers.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/instr-ref-roundtrip.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/phi-coalescing.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/survives-livedebugvars.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/no-metainstrs.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/phi-regallocd-to-stack.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs.mir (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/restore-to-rsp-crash.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/follow-spill-of-live-value.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_illegal_locs.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/phi-on-stack-coalesced2.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/restore-clobber-with-indirectness.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/single-assign-propagation.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues-transfer-variadic-instr-ref.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/phi-coalesce-subreg.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/x86-lea-fixup.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/dbg-phi-subregister-location.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/dbg-value-superreg-copy2.mir (diff)
The file was addedllvm/test/DebugInfo/MIR/X86/live-debug-values-bad-transfer2.mir
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/memory-operand-tracking.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/x86-fixup-bw-inst-subreb.mir (diff)
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/pick-vphi-in-shifting-loop.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-bad-transfer.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_load_in_loop.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-in-ldv.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-merging-in-ldv.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/accept-nonlive-reg-phis.mir (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.h (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-in-ldv2.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/phi-on-stack-coalesced.mir (diff)
The file was addedllvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs2.mir
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/deref-spills-with-size.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/x86-drop-compare-inst.mir (diff)
The file was modifiedllvm/test/DebugInfo/X86/instr-ref-track-clobbers.mir (diff)
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/x86-lea-fixup-2.mir (diff)
The file was modifiedllvm/test/DebugInfo/X86/instr-ref-flag.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/FastISel.h (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/x86-fp-stackifier-drop-locations.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/stack-coloring-dbg-phi.mir (diff)
The file was modifiedllvm/test/DebugInfo/MIR/InstrRef/substitusions-roundtrip.mir (diff)
Commit d72934c4d1e90e5828e3b7dc1e72ae1c0164bd19 by wanglei
[docs] Update release notes to mention that LoongArch supports JITLink
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
Commit f287c1d3153e996502368f4be4f367dca65b03c7 by jannik.silvanus
[polly] Fix i8 alignment in datalayout of lit test

Two lit test used overaligned i8, without the test case actually
depending on i8 alignment.
Change the datalayout string to use naturally aligned i8,
preparing for the upcoming requirement of naturally aligned i8.
The file was modifiedpolly/test/ScopInfo/wraping_signed_expr_4.ll (diff)
The file was modifiedpolly/test/ScopInfo/wraping_signed_expr_0.ll (diff)
Commit 76677173ec81fcb6a7eeda4a0647d0ce931d5acb by jannik.silvanus
[X86] Fix i8 alignment in datalayout of lit test

A lit test used overaligned i8, apparently due to an old copy-paste
error, intending to specify i32 alignment.

Change the datalayout string to use naturally aligned i8.
The file was modifiedllvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll (diff)
Commit 986029c1640a5fa9ce2fa3becab0538168858741 by jannik.silvanus
[Transforms] Fix i8 alignment in datalayout of lit test

A lit test used overaligned i8, apparently due to an old copy-paste
error, intending to specify i16 alignment.

Change the datalayout string to use naturally aligned i8.
The file was modifiedllvm/test/Transforms/IndVarSimplify/dangling-use.ll (diff)
Commit 3e4a6f57412c63bab3f386a2c8a044a88657bac1 by jannik.silvanus
[DirectX] Fix i8 alignment in datalayout of lit test

An llc lit test used overaligned i8, apparently originating from the old DXIL data layout.
The new DXIL data layout uses naturally aligned i8.

llc ignores the data layout of a module and instead sets the data layout based
on the target. Change the data layout string in the test to match that target-derived
data layout.
The file was modifiedllvm/test/tools/dxil-dis/opaque-value_as_metadata.ll (diff)
Commit 3129bdce8dddefbf03ab3ef52170132eb4bcf929 by llvm-dev
[DAG] visitINSERT_VECTOR_ELT - move mergeInsertEltWithShuffle / combineInsertEltToShuffle folds after canonicalization

Noticed while triaging D127115 regressions - there's no need to attempt these costly folds until after the easy canonicalization cases have been addressed
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
Commit 6d11baf02b33c3ec89178f94627ecec5025dac7e by mtrofin
[mlgo] Stream the training data

This leverages the new logging format in that we don't need to buffer
the training data, we can just write it out.

Differential Revision: https://reviews.llvm.org/D142168
The file was modifiedllvm/lib/Analysis/TrainingLogger.cpp (diff)
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/Utils/TrainingLogger.h (diff)
The file was modifiedllvm/test/CodeGen/MLRegalloc/dev-mode-logging.ll (diff)
The file was modifiedllvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp (diff)
The file was modifiedllvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp (diff)
Commit d47a0ace5d39cb1abf71b9778c3cde003f0a2e37 by tom.eccles
[mlir][Linalg] fix comparison of integers with different signs

Since https://reviews.llvm.org/D142053, building mlir with clang using -Werror
fails reporting comparison of integers with different signs.

Fix this by using unsigned return types for
RelayoutOp::getSourceRank,getDestRank

Differential Revision: https://reviews.llvm.org/D142201
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorOps.td (diff)
Commit 2ab1c6d375b97307ebadf8131589c3abb1b11eb0 by david.truby
[flang] Add lowering of move_alloc to IntrinsicCall

This patch relies on D141286 for the runtime implementation of
move_alloc.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D141616
The file was addedflang/unittests/Optimizer/Builder/Runtime/Allocatable.cpp
The file was modifiedflang/unittests/Optimizer/CMakeLists.txt (diff)
The file was addedflang/lib/Optimizer/Builder/Runtime/Allocatable.cpp
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp (diff)
The file was addedflang/unittests/Optimizer/Builder/Runtime/AllocatableTest.cpp
The file was addedflang/test/Lower/Intrinsics/move_alloc.f90
The file was modifiedflang/lib/Optimizer/Builder/CMakeLists.txt (diff)
The file was addedflang/include/flang/Optimizer/Builder/Runtime/Allocatable.h
Commit 3cbc72ef63c48979cd7b0d811e9ee5a66a65244e by orlando.hyams
[Assignment Tracking] Fix tests for buildbot failure

Follow-up for 4ece50737d5385fb80cfa23f5297d1111f8eed39 (D142027).

Assignment Tracking Analysis now always runs and is skipped internally if
assignment tracking is disabled. Update these tests to expect to see the
pass run.

Buildbot failure: https://lab.llvm.org/buildbot/#/builders/216/builds/16085
The file was modifiedllvm/test/CodeGen/X86/opt-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll (diff)
Commit 9d4f1a9eff27716069dc6a2d991baa228c197b85 by dvyukov
sanmd: refine selection of functions for UAR checking

There are no intrinsic functions that leak arguments.
If the called function does not return, the current function
does not return as well, so no possibility of use-after-return.
Sanitizer function also don't leak or don't return.
It's safe to both pass pointers to local variables to them
and to tail-call them.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D142190
The file was modifiedcompiler-rt/test/metadata/CMakeLists.txt (diff)
The file was modifiedcompiler-rt/test/metadata/uar.cpp (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp (diff)
Commit 75fbb5d2238f1824f03d205b699061a115d5effc by rhow
[clang][nfc] refactor Module::Header to use OptionalFileEntryRef

Refactor the `Module::Header` class to use an `OptionalFileEntryRef`
instead of a `FileEntry*`. This is preparation for refactoring the
`TopHeaderNames` to use `FileEntryRef` so that we preserve the
lookup path of the headers when serializing.

This is mostly based on https://reviews.llvm.org/D90497

Reviewed By: jansvoboda11

Differential Revision: https://reviews.llvm.org/D142113
The file was modifiedclang/lib/Sema/SemaModule.cpp (diff)
The file was modifiedclang/include/clang/Basic/Module.h (diff)
The file was modifiedclang/lib/Serialization/ASTReader.cpp (diff)
The file was modifiedclang/lib/Lex/ModuleMap.cpp (diff)
The file was modifiedclang/lib/Frontend/FrontendAction.cpp (diff)
The file was modifiedclang/include/clang/Lex/ModuleMap.h (diff)
Commit eef538f4e11c07ef52f5ac57f4500ac6b1cba31f by christian.ulmann
[MLIR][LLVM] Support inlining LLVM::CallOp to LLVM::FuncOp.

Extend `LLVMInlinerInterface` to handle calls from an `LLVM::CallOp` to
an `LLVM::FuncOp` when there are no attributes present that require
special handling.

Depends on D141676

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D141682
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp (diff)
The file was modifiedmlir/test/Dialect/LLVMIR/inlining.mlir (diff)
Commit 3d36df3ee3fc95c7e6afd074d9ae6ffe7a69b04e by christian.ulmann
[mlir][LLVM] Add passthrough import support

This commit extends the LLVMIR import to support function attributes by
adding them to the passthrough array attribute.

Depends on D142013

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D142098
The file was modifiedmlir/lib/Target/LLVMIR/ModuleImport.cpp (diff)
The file was modifiedmlir/test/Target/LLVMIR/Import/basic.ll (diff)
The file was modifiedmlir/test/Target/LLVMIR/Import/function-attributes.ll (diff)
Commit a920ae3b8d1e998317052cd4fad7a78289235af9 by a.v.lapshin
[DWARF][dsymutil][llvm-dwarfutil] Create a placeholder library DWARFLinkerParallel.

This patch is extracted from D96035. It creates an empty library DWARFLinkerParallel.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D140787
The file was addedllvm/lib/DWARFLinkerParallel/DWARFLinker.cpp
The file was modifiedllvm/unittests/CMakeLists.txt (diff)
The file was addedllvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h
The file was addedllvm/lib/DWARFLinkerParallel/CMakeLists.txt
The file was addedllvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
The file was addedllvm/unittests/DWARFLinkerParallel/CMakeLists.txt
The file was modifiedllvm/tools/llvm-dwarfutil/CMakeLists.txt (diff)
The file was modifiedllvm/lib/CMakeLists.txt (diff)
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt (diff)
Commit 029f1a4efd25c985fa87fdebcd0704a281d99a9f by frgossen
[MLIR] Address post-submit comments on scf.if's InferTypeOpInterface

Differential Revision: https://reviews.llvm.org/D142155
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp (diff)
Commit e6241cbdcbf3cc9beb49460578466e18936ef220 by npopov
[Mem2Reg] Only convert !nonnull to assume if !noundef present

After D141386 !nonnull violation returns poison rather than
resulting in immediate undefined behavior. However, converting
it into an assume would result in IUB. As such, we can only
perform this transform if !noundef is also present.
The file was modifiedllvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp (diff)
The file was modifiedllvm/test/Transforms/ArgumentPromotion/metadata.ll (diff)
The file was modifiedllvm/test/Transforms/SROA/preserve-metadata.ll (diff)
Commit 1125c5c0b2cf13aa112a7531eb89fd1b771aa13b by frgossen
[MLIR] Remove scf.if builder with explicit result types and callbacks

Instead, use the builder and infer the return type based on the inner `yield` ops.
Also, fix uses that do not create the terminator as required for the callback builders.

Differential Revision: https://reviews.llvm.org/D142056
The file was modifiedmlir/include/mlir/Dialect/SCF/IR/SCFOps.td (diff)
The file was modifiedmlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp (diff)
The file was modifiedmlir/lib/Dialect/Vector/Transforms/VectorTransferSplitRewritePatterns.cpp (diff)
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp (diff)
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp (diff)
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp (diff)
The file was modifiedmlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp (diff)
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp (diff)
The file was modifiedmlir/lib/Dialect/Tensor/Transforms/SplitPaddingPatterns.cpp (diff)
Commit 50d2a193a7399ce99e321b93d6ee85184d3be4de by i
[OpenMP] Only test kmp_atomic_float10_max_min.c on X86

The test `openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c` uses a compiler
flag `-mlong-double-80` that might not be supported by all targets. Currently it
requires `x86-registered-target`, but that requirement can be true when LLVM
supports X86 while the actual `libomp` arch is not X86. For example, when LLVM
is built on AArch64 with all targets enabled, `x86-registered-target` can be met.
If `libomp` is built with native target, aka. AArch64, the test will still be enabled,
causing test failure.

This patch only enables the test if the actual target is X86. The actual target
is determined by `LIBOMP_ARCH`.

Fix #53696.

Reviewed By: jlpeyton

Differential Revision: https://reviews.llvm.org/D142172
The file was modifiedopenmp/runtime/test/lit.site.cfg.in (diff)
The file was modifiedopenmp/runtime/test/lit.cfg (diff)
The file was modifiedopenmp/runtime/test/atomic/kmp_atomic_float10_max_min.c (diff)
Commit cd4180dbf90b04014b65ff69c33002806680ced9 by davelee.com
[lldb][test] Skip TestRerunAndExprDylib on Ubuntu 18.04

Disable this test on Ubuntu 18.04, where it fails for yet to be determined reasons.

Differential Revision: https://reviews.llvm.org/D142141
The file was modifiedlldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py (diff)
Commit dfb0581bfa7b5fb9061876bd1b9af814408aaf95 by github
Fix !nonnull syntax in test [NFC]
The file was modifiedllvm/test/Transforms/InstCombine/loadstore-metadata.ll (diff)
Commit 99c12afeb4a1afa608d487351eebe79ebf058b8d by orlando.hyams
[Assignment Tracking] Fix tests for buildbot failure (2)

Follow-up for 4ece50737d5385fb80cfa23f5297d1111f8eed39 (D142027).

Assignment Tracking Analysis now always runs and is skipped internally if
assignment tracking is disabled. Update these tests to expect to see the
pass run.

Buildbot failure: https://lab.llvm.org/buildbot/#/builders/57/builds/24094
The file was modifiedllvm/test/CodeGen/RISCV/O3-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/O3-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/O0-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/LoongArch/O0-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/LoongArch/opt-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/O0-pipeline.ll (diff)
Commit 6ac24ce6569d38049d03e8fa434242c3b336c888 by zinenko
[mlir] fix python types
The file was modifiedmlir/python/mlir/dialects/_structured_transform_ops_ext.py (diff)
Commit f92b35392ed8e46311eeb9c4546246fe809a0aa6 by flo
[LoopUnroll] Add test case exposing crash with d0907ce7ed9f.
The file was modifiedllvm/test/Transforms/LoopUnroll/verify-dominators.ll (diff)
Commit c85fc93478e72fa2e372ba2ae98e61feb5901ac5 by npopov
[InstCombine] Fixup check lines in test (NFC)

These were broken by dfb0581bfa7b5fb9061876bd1b9af814408aaf95.
The file was modifiedllvm/test/Transforms/InstCombine/loadstore-metadata.ll (diff)
Commit 5f6812748e25f5240cc8b4ffee658cbd52e46bf4 by nikolasklauser
[libc++] Enable clang-tidy from the buildkite pipeline instead of hard-coding it in run-buildbot

Reviewed By: ldionne, #libc, Mordante, emaste

Spies: emaste, Mordante, libcxx-commits, arichardson

Differential Revision: https://reviews.llvm.org/D141294
The file was modifiedlibcxx/utils/ci/run-buildbot (diff)
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml (diff)
Commit e4e0288f5bb191128f4c1b66baa3fd6f8e3bd26a by nikolasklauser
[libc++] Move iota_view::iterator and sentinel out of iota_view

This makes it a lot easier to specialize traits types for it, like __segmented_iterator_traits.

Reviewed By: var-const, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D141454
The file was modifiedlibcxx/include/__ranges/iota_view.h (diff)
The file was modifiedlibcxx/test/std/ranges/range.factories/range.iota.view/iterator/star.pass.cpp (diff)
Commit 585fbc240738910482e3ea9556e7249883e00b69 by npopov
[Bitcode] Fix invalid !nonnull metadata in test (NFC)
The file was modifiedllvm/test/Bitcode/compatibility.ll (diff)
Commit 6ba4afb4d6f2f8f293ad704a37de4139c5c8c0f0 by vsapsai
[ODRHash] Hash `ObjCInterfaceDecl` and diagnose discovered mismatches.

When two modules contain interfaces with the same name, check the
definitions are equivalent and diagnose if they are not.

Differential Revision: https://reviews.llvm.org/D140073
The file was modifiedclang/lib/AST/ODRHash.cpp (diff)
The file was modifiedclang/lib/AST/ODRDiagsEmitter.cpp (diff)
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp (diff)
The file was modifiedclang/include/clang/Serialization/ASTReader.h (diff)
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp (diff)
The file was modifiedclang/lib/Serialization/ASTWriter.cpp (diff)
The file was modifiedclang/lib/AST/DeclObjC.cpp (diff)
The file was modifiedclang/include/clang/AST/ODRDiagsEmitter.h (diff)
The file was modifiedclang/test/Modules/interface-diagnose-missing-import.m (diff)
The file was modifiedclang/include/clang/AST/DeclObjC.h (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td (diff)
The file was modifiedclang/test/Modules/method_pool.m (diff)
The file was modifiedclang/include/clang/AST/ODRHash.h (diff)
The file was modifiedclang/lib/Serialization/ASTReader.cpp (diff)
The file was addedclang/test/Modules/compare-objc-interface.m
Commit ed7a46a8de77087447936965044e2faf734102e5 by vsapsai
[modules] Allow parsing a duplicate Obj-C interface if a previous one comes from a hidden [sub]module.

Instead of emitting a redefinition error, check that definitions are
equivalent and allow such scenario.

A few non-obvious implementation details:
* to avoid multiple definitions in the redeclaration chain we just drop
  the new definition after checking for equivalence;
* for checking definition equivalence use ODR hash instead of
  ASTStructuralEquivalence because it avoids excessive recursive
  deserialization. Though after detecting a mismatch we do deserialize
  multiple entities to provide a better error message.

rdar://82908223

Differential Revision: https://reviews.llvm.org/D124286
The file was modifiedclang/lib/AST/DeclObjC.cpp (diff)
The file was modifiedclang/lib/Parse/ParseObjc.cpp (diff)
The file was modifiedclang/test/Modules/hidden-duplicates.m (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/include/clang/AST/ODRDiagsEmitter.h (diff)
The file was modifiedclang/include/clang/AST/DeclObjC.h (diff)
The file was modifiedclang/test/Modules/compare-objc-interface.m (diff)
The file was modifiedclang/lib/AST/ODRDiagsEmitter.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td (diff)
Commit cf1756146d386667a80501fb8161505d12950804 by sguelton
[NFC] Reformat isBuiltinSupported with early exit
The file was modifiedclang/lib/Basic/Builtins.cpp (diff)
Commit 24ed319039a00b72dfb4aebb082864b0a98c1411 by jreiffers
Fix unused variable warning.
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp (diff)
Commit b94e5ff2483a4d699f98ab1455faab746fd6ce4e by listmail
[RISCV][LSR] Precommit test coverage for an upcoming change

Main point of these is to show the difference between a loop with and without a use outside the loop.
The file was addedllvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-cost-compare.ll
Commit 47074683c906f920cb7bba462beeb57ca4b84ab0 by zahira.ammarguellat
Add support for clang-cl's option `-fexcess-precision`.

This option is useful for clang and clang-cl.

Differential Revision: https://reviews.llvm.org/D141929
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/test/Driver/fexcess-precision.c (diff)
Commit ee3c6de722e77a7966764133b1b8a5cd1a1f562f by python3kgae
[mlir] use stable_sort for OperationLegalizer::computeOpLegalizationDepth

For https://github.com/llvm/llvm-project/issues/60070.
llvm::array_pod_sort will cause non-determinism when select pattern.
It is exposed by difference between windows build and linux build.

Differential Revision: https://reviews.llvm.org/D142110
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp (diff)
Commit 12dd3a7b54cd19524fc29edba374d26972246744 by flo
Recommit "[LoopUnroll] Directly update DT instead of DTU."

This reverts commit c5ea42bcf48c8f3d3e35a6bff620b06d2a499108.

Recommit the patch with a fix for loops where the exiting terminator is
not a branch instruction. In that case, ExitInfos may be empty. In
addition to checking if there's a single exiting block also check if
there's a single ExitInfo.

A test case has been added in f92b35392ed8e4631.
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h (diff)
The file was modifiedllvm/lib/Transforms/Utils/LoopUnroll.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp (diff)
Commit 857cbb9276e55d817e8b3b052db9dffc29b7ebd6 by koraq
[libc++][format] range-default-formatter for set.

Implements the range-default-formatter specialization range_format::set.

Implements parts of
- P2286R8 Formatting Ranges
- P2585R0 Improving default container formatting

Depends on D140801

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D141195
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtset/format.pass.cpp
The file was modifiedlibcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp (diff)
The file was modifiedlibcxx/docs/Status/FormatPaper.csv (diff)
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.vformat.pass.cpp
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.format.pass.cpp
The file was addedlibcxx/test/std/utilities/format/format.range/format.range.fmtset/parse.pass.cpp
The file was modifiedlibcxx/include/__format/range_default_formatter.h (diff)
Commit 7c59deaa1150a1bccf8090ba798ba93fdfe335e0 by a.bataev
[NFC]Fix github identification.
The file was modifiedclang/CodeOwners.rst (diff)
Commit fa2a03dc7acd0ba551a3328a2d9d5d313e9043d1 by a.v.lapshin
[NFC][DWARFLinker] Refactor address emitting code.

As a preparation for implementing DWARFv5 address ranges generation,
this patch refactors existing address ranges generation code:
Split emitUnitRangesEntries into two functions emitDwarfDebugArangesTable
and emitDwarfDebugRangesTableFragment. Use AddressRanges to prepare linked
address ranges. Refactor Unit.getLowPc(), to use std::nullopt as undefined value.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D141943
The file was modifiedllvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp (diff)
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h (diff)
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFStreamer.h (diff)
The file was modifiedllvm/lib/DWARFLinker/DWARFStreamer.cpp (diff)
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp (diff)
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinker.h (diff)
Commit b3154d08e948c37872bf053f90b6728e7d39039b by listmail
[ARM][AArch64] Switch to generic MEMBARRIER node

This change switches both targets from using target specific CompilerBarrier nodes to the recently introduced generic MEMBARRIER instruction.

A couple things to call out.

First, this changes the assembly comment printed. I'm not sure this matters, but if it does, we can simply drop this patch. This is a minor clean up at best.

Second, the ordering operand on the target instruction appears to be unused. We could easily add ordering to the generic instruction, but since we don't seem to have a motivating case in tree, I simply dropped the ordering when selecting to the generic instruction.

Differential Revision: https://reviews.llvm.org/D141513
The file was modifiedllvm/lib/Target/ARM/ARMScheduleA57.td (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/fence-singlethread.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/fence-singlethread.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrAtomics.td (diff)
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td (diff)
Commit 1eecf03919cdded5853b4aace67650e8c03a271b by lebedev.ri
[X86] `LowerBUILD_VECTOR()`: fix all-UNDEF detection

The original check was trying to avoid checking UndefMask itself,
and deduce it via simpler means, but checking `NonZeroMask`
does not, e.g., check `ZeroMask`.

Fixes https://github.com/llvm/llvm-project/issues/60168
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/build-vector-128.ll (diff)
Commit 86eff6be686a1e41e13c08ebfc2db4dd4d58e7c6 by listmail
[MachineCombiner] Use default latency model when no detailed model available

This change adjusts the cost modeling used when the target does not have a schedule model with individual instruction latencies. After this change, we use the default latency information available from TargetSchedule. The default latency information essentially ends up treating most instructions as latency 1, with a few "expensive" ones getting a higher cost.

Previously, we unconditionally applied the first legal pattern - without any consideration of profitability. As a result, this change both prevents some patterns being applied, and changes which patterns are exercised. (i.e. previously the first pattern was applied, afterwards, maybe the second one is because the first wasn't profitable.)

The motivation here is two fold.

First, this brings the default behavior in line with the behavior when -mcpu or -mtune is specified. This improves test coverage, and generally makes it less likely we will have bad surprises when providing more information to the compiler.

Second, this enables some reassociation for ILP by default. Despite being unconditionally enabled, the prior code tended to "reassociate" repeatedly through an entire chain and simply moving the first operand to the end. The result was still a serial chain, just a different one. With this change, one of the intermediate transforms is unprofitable and we end up with a partially flattened tree.

Note that the resulting code diffs show significant room for improvement in the basic algorithm. I am intentionally excluding those from this patch.

For the test diffs, I don't seen any concerning regressions. I took a fairly close look at the RISCV ones, but only skimmed the x86 (particularly vector x86) changes.

Differential Revision: https://reviews.llvm.org/D141017
The file was modifiedllvm/test/CodeGen/X86/shift-combine.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/ssub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/v8i1-masks.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/divmod128.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/memcmp-more-load-pairs.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/srem-lkk.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smax.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/x86-32-vector-calling-conv.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/div-by-constant.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/srem-vector-lkk.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/iabs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512fp16-mov.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-constant-result.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/smul-with-overflow.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/icmp-shift-opt.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/calling-conv-ilp32-ilp32f-ilp32d-common.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/select-binop-identity.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/add-sub-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/expand-no-v.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/alias-static-alloca.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vp2intersect_multiple_pairs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/smul_fix.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-pcmp.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rotl-rotr.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-smin.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-umin.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rv32zbb.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-128.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rv64i-w-insts-legalization.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-nonzero.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/shifts.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/x86-no_caller_saved_registers-preserve.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smin.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/uadd_sat_plus.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/rotate-multi.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/statepoint-regs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/sse-regcall.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/imul.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/ssub_sat_plus.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/split-udiv-by-constant.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/addimm-mulimm.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umin.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fold-tied-op.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/machine-cp.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add-sext.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-elen.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/xaluo.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/setcc-wide-types.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/copysign-casts.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/fpclamptosat.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/urem-lkk.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/midpoint-int.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/wide-scalar-shift-by-byte-multiple-legalization.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add-mask.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/logic-shift.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-x86_64.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/addcarry.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/midpoint-int-vec-128.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/smul_fix_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-i1024.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add-zext.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/umul_fix_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-umax.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/win-smallparams.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/umul_fix.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/optimize-max-0.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-smax.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/wide-scalar-shift-legalization.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512fp16-mscatter.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-cmp.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/smulo-128-legalisation-lowering.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/umulo-64-legalisation-lowering.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/umul-with-overflow.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/bswap-bitreverse.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/popcnt.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/neg-abs.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/usub_sat_plus.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/swift-return.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-fadd.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512fp16-intrinsics.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-i512.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/divide-by-constant.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/shadowcallstack.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-math.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/sadd_sat_plus.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/uadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-cmp.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/hipe-cc64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-add.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-i256.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-Mask.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-sum.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/ptest.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/x86-interleaved-access.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/hipe-cc.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/calling-conv-lp64-lp64f-lp64d-common.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/rev16.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/sadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/masked_gather.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/madd.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/sad.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/statepoint-live-in.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/bmi-out-of-order.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/abdu-vector-128.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umax.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/usub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/umulo-128-legalisation-lowering.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/xmulo.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/div-pow2.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/urem-vector-lkk.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/div.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/memcmp-more-load-pairs-x32.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/h-registers-1.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul128.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/muloti.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr34080-2.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/fpclamptosat_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fold-masked-merge.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/lea-opt2.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/unaligned-load-store.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/combine-add.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/calling-conv-ilp32-ilp32f-common.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/midpoint-int-vec-256.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-constant-i64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fold-add.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/stack-clash-large.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll (diff)
The file was modifiedllvm/lib/CodeGen/MachineCombiner.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/mul.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/lea-opt-cse4.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/alu64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-5.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx-vinsertf128.ll (diff)
Commit 88fd2e4cb59cdea37cf572e8eb79fbaf73a47178 by caroline.concatto
[AArch64][SME2] Add multi-vector FP convert from Float to interleave Half/BFloat intrinsic

Add the following intrinsic:
  FCVTN
  BFCVTN

NOTE: These intrinsics are still in development and are subject to future changes.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D142025
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64SMEInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/AArch64/SMEInstrFormats.td (diff)
The file was addedllvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
Commit c4fa504f797f68297c252dc91a24c7d37c1de4df by daniel.kiss
[AArch64] Enable libm vectorized functions via SLEEF

It enables trigonometry functions vectorization via SLEEF: http://sleef.org/.

  - A new vectorization library enum is added to TargetLibraryInfo.h: SLEEF.
  - A new option is added to TargetLibraryInfoImpl - ClVectorLibrary: SLEEF.
  - A comprehensive test case is included in this changeset.
  - A new vectorization library argument is added to -fveclib: -fveclib=SLEEF.

Trigonometry functions that are vectorized by sleef:
acos
asin
atan
atanh
cos
cosh
exp
exp2
exp10
lgamma
log10
log2
log
sin
sinh
sqrt
tan
tanh
tgamma

Co-authored-by: Stefan Teleman

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D134719
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp (diff)
The file was modifiedclang/test/Driver/autocomplete.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/VecFuncs.def (diff)
The file was modifiedclang/test/Driver/fveclib.c (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h (diff)
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h (diff)
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/sleef-calls-aarch64.ll
Commit a63fd9d606e6a3eeff9cef29e4a6db3883cb6e78 by thakis
[gn] port a920ae3b8d1e9 (DWARFLinkerParallel)
The file was addedllvm/utils/gn/secondary/llvm/lib/DWARFLinkerParallel/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BUILD.gn (diff)
The file was addedllvm/utils/gn/secondary/llvm/unittests/DWARFLinkerParallel/BUILD.gn
Commit b4c840e70b630532325267a3dd81550569c5f0f9 by David CARLIER
[Sanitizers] intercept hexdump on FreeBSD.

Reviewers: vitalybuka
Reviewed-By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110471
The file was addedcompiler-rt/test/sanitizer_common/TestCases/FreeBSD/hexdump.cc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h (diff)
Commit 0ccbf911668786fbde7e1107c08c3eeef0f1eb4b by craig.topper
[RISCV] Remove Features from CPUInfo in RISCVTargetParser.

Instead of having separate feature bits, get information from march.
Invalid is now implied by empty march.
64-bit is now implied by march starting with "rv64".

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D142230
The file was modifiedllvm/lib/TargetParser/RISCVTargetParser.cpp (diff)
The file was modifiedllvm/include/llvm/TargetParser/RISCVTargetParser.h (diff)
The file was modifiedllvm/utils/TableGen/RISCVTargetDefEmitter.cpp (diff)
Commit 6de7c80483ee90a5feaf2e6cd68a6a7c5a9e5c67 by spatel
[InstCombine] regenerate test checks; NFC

We have better value name propagation now. Eliminates some noise
in case something in this set of tests has a real change.
The file was modifiedllvm/test/Transforms/InstCombine/sign-test-and-or.ll (diff)
Commit e58010f712ccac83194852fa95ed70ef76ba6a33 by craig.topper
[RISCV][TableGen] Move XLen detection into getMArch in RISCVTargetDefEmitter. NFC

We no longer need the XLen in two places. Fold it into the code
that determines the default march.
The file was modifiedllvm/utils/TableGen/RISCVTargetDefEmitter.cpp (diff)
Commit 259fa70885e9e0e9e396b198829769276a6a6069 by ellis.sparky.hoag
[PGO] incorrect classof in InstrProfIncrementInst

Class InstrProfIncrementInstStep inherits from InstrProfIncrementInst but cannot cast to InstrProfIncrementInst, because InstrProfIncrementInst::classof does not cover such circumstance。

Function InstrProfiling::run traverse all instruction in a module and try to cast them to InstrProfIncrementInst using dyn_cast, but it will return nullptr if the instruction is InstrProfIncrementInstStep(subclass of InstrProfIncrementInst).

Reviewed By: tejohnson, ellis

Differential Revision: https://reviews.llvm.org/D141579
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h (diff)
The file was addedllvm/test/Instrumentation/InstrProfiling/before-value-profile-lowering.ll
Commit 8d25c73e3930c9347036a743cc0f952de386dbf7 by craig.topper
Revert "[RISCV][TableGen] Move XLen detection into getMArch in RISCVTargetDefEmitter. NFC"

This reverts commit e58010f712ccac83194852fa95ed70ef76ba6a33.

Seems this is failing on the build bots.
The file was modifiedllvm/utils/TableGen/RISCVTargetDefEmitter.cpp (diff)
Commit 95914abd13ef0e447392f9f5e38487d8471a92b7 by thakis
Revert "[llvm] Move bit counting functions to bit.h (NFC)"

This reverts commit f37614b25ccaa9c0710cc8a4fc2ba2fb0fcb9159.
Doesn't build on Windows: https://reviews.llvm.org/D142078#4068417
The file was modifiedllvm/include/llvm/Support/MathExtras.h (diff)
The file was modifiedllvm/include/llvm/ADT/bit.h (diff)
The file was modifiedllvm/unittests/ADT/BitTest.cpp (diff)
Commit 51da0dc2887f2c0e12a1125f71917b1e9bb951d9 by lebedev.ri
[NFC][CVP] Add tests for udiv expansion
The file was addedllvm/test/Transforms/CorrelatedValuePropagation/udiv-expansion.ll
Commit 43a59be45d24497dce4795742aacf19987ce3a5c by lebedev.ri
[CVP] Expand bound `udiv`'s, symmetrically with `urem`'s

Symmetrical with the `urem` case, added in 66efb986322b206834e7c9e1eb777fa053912c39.

Simple case: https://alive2.llvm.org/ce/z/gRumLd / https://alive2.llvm.org/ce/z/rxEeC5
Second variant of precondition: https://alive2.llvm.org/ce/z/cAm9TD
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp (diff)
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/udiv-expansion.ll (diff)
Commit 49d47c4d2f280d15d1de94c53b72b6ab3c127b35 by doru.bercea
Add Parse/Sema for iterator for map clause.
The file was modifiedclang/lib/Serialization/ASTReader.cpp (diff)
The file was modifiedclang/test/OpenMP/declare_mapper_messages.c (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td (diff)
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def (diff)
The file was modifiedclang/test/OpenMP/target_map_messages.cpp (diff)