Changes

Summary

  1. Revert "Support compatibility with buildbot 2.10." (details)
  2. Added "auto" for LLVMBuildFactory enable_runtimes arg; changed default to not use enable_runtimes. (details)
Commit 93900f5122cc7087aa934424b1aa6339952a20c0 by gkistanova
Revert "Support compatibility with buildbot 2.10."

Temporarily revert commit 3f44862c69dd1766b51ea408d2cba6ec5c76c30a, as we are still with 2.8.4 in the production.

Will be re-applied after migration to 2.10 or later.
The file was modifiedzorg/buildbot/commands/LitTestCommand.py (diff)
Commit f7b888457641941a8e6024f36ee2e5ddc53695d5 by gkistanova
Added "auto" for LLVMBuildFactory enable_runtimes arg; changed default to not use enable_runtimes.
The file was modifiedzorg/buildbot/process/factory.py (diff)

Summary

  1. [MLIR] Canonicalization of Integer Cast Operations (details)
  2. [SCEV] Add test for non-unit stride with multiple exits (NFC) (details)
  3. [libcxx][nfc] removes duplicate test file (details)
  4. [RISCV] Reorder masked builtin operands. Use clang_builtin_alias for all overloaded vector builtins. (details)
  5. [VPlan] Add VPBasicBlock::phis() helper (NFC). (details)
  6. [NFC] Use Aliasee to determine Type and AddrSpace in GlobalAlias::create() (details)
  7. [OpenMP] Fix warnings due to redundant semicolons. NFC. (details)
  8. [RISCV] Store SEW in RISCV vector pseudo instructions in log2 form. (details)
  9. [TableGen] Use sign rotated VBR for OPC_EmitInteger. (details)
  10. [AArch64] Sets the preferred function alignment for Cortex-A53/A55. (details)
  11. [ARM] Transfer memory operands for VLDn (details)
  12. [Object] Fix e_machine description for EM_CR16 and add EM_MICROBLAZE (details)
  13. Reland "AMDGPU/llvm-readobj: Add missing tests for note parsing/displaying" (details)
  14. [ASAN][AMDGPU] Add support for accesses to global and constant addrspaces (details)
  15. [clangd] Avoid including HeuristicResolver.h from ParsedAST.h (details)
  16. [clangd] Hide inlay hints capability behind a command-line flag (details)
  17. [clangd] Fix build error in SemanticHighlighting.cpp (details)
  18. [clangd] Fix test failure in initialize-params.test (details)
  19. [AMDGPU][OpenMP] Enable Libomptarget runtime tests (details)
  20. [clangd] Parameter hints for dependent calls (details)
  21. [flang] Use CFI_TYPE_LAST instead of CFI_type_struct (details)
  22. [flang] Fix handling of elem_len in CFI_establish (details)
  23. [flang] Fix a bug in the character runtime (details)
  24. [AMDGPU] Do not annotate features for graphics (details)
  25. [libc] warns about missing linting only in full build mode (details)
  26. [doc] typo fixes (details)
  27. [mlir] Allow lowering cmpi/cmpf with multidimensional vectors to LLVM (details)
  28. [RISCV] Add support for fmin/fmax vector reductions (details)
  29. [clang-tidy][NFC] Short circuit getting enum options suggestions. (details)
  30. [ARM] Memory operands for MVE gathers/scatters (details)
  31. Support AArch64 PAC elf-core register read (details)
  32. [clang] Remove libstdc++ friend template hack (details)
  33. [clang-cl] Add parsing support for a bunch of new flags (details)
  34. Thread safety analysis: Replace flags in FactEntry by SourceKind (NFC) (details)
  35. Thread safety analysis: Fix false negative on break (details)
  36. [clang] Spell correct variable (details)
  37. [InstCombine] improve demanded bits analysis of left-shifted operand (details)
  38. [SystemZ][z/OS] Add the functions needed for handling EBCDIC I/O (details)
  39. [gn build] Port 1527a5e4b483 (details)
  40. [LV] Iterate over recipes in VPlan to fix PHI (NFC). (details)
  41. AMDGPU: XFAIL LLVM::note-amd-valid-v2.test for big endian (details)
  42. [SLP]Allow masked gathers only if allowed by target. (details)
  43. Revert "[SLP]Allow masked gathers only if allowed by target." (details)
  44. [Matrix] Remove bitcast when casting between matrices of the same size (details)
  45. [libc++] Acquire locks on Ranges work (details)
  46. Partial revert of "Use std::foo_t rather than std::foo in LLVM." in googlebench (details)
  47. [InstCombine] cttz(zext(x)) -> zext(cttz(x)) if the 'ZeroIsUndef' parameter is 'true' (PR50172) (details)
  48. [SLP]Allow masked gathers only if allowed by target. (details)
  49. [clangd] Find implementors only when index is present. (details)
  50. [SystemZ][z/OS] Enforce prefix-less registers in SystemZAsmParser for the HLASM dialect. (details)
  51. [MLIR] Canonicalize sub/add of a constant and another sub/add of a constant (details)
  52. [ELF] Don't suggest alternative spelling of an empty name (details)
  53. [clang-format] Add options to AllowShortIfStatementsOnASingleLine to apply to "else if" and "else". (details)
  54. [docs] Fix syntax typo. (details)
  55. [docs] Fix title overline. (details)
  56. [AArch64] Fold CSEL x, x, cc -> x (details)
  57. [docs] Bump the trunk major version to 13 and update copyright year. (details)
  58. [docs] Automatically update copyright year in libc++. (details)
  59. [MLIR][Linalg] Lower `linalg.tiled_loop` to `scf` loops (details)
  60. [clang-format] Fix build on gcc < 7 introduced in rG8d93d7ff. (details)
  61. [Support/Parallel] Add a special case for 0/1 items to llvm::parallel_for_each. (details)
  62. [mlir][Python] Add casting constructor to Type and Attribute. (details)
  63. [MLIR] Fix TestAffineDataCopy for test cases with no load ops (details)
  64. [docs][NewPM] Add section on analyses (details)
  65. [mlir][vector][NFC] split TransposeOp lowerning out of contractLowering (details)
  66. [mlir] Fix multidimensional lowering from std.select to llvm.select (details)
  67. [OpenMP] Fix non-determinism in clang task codegen (details)
  68. [AMDGPU] Change FLAT SADDR to VADDR form in moveToVALU (details)
  69. [libFuzzer] Fix off-by-one error in ApplyDictionaryEntry (details)
  70. [libFuzzer] Deflake entropic exec-time test. (details)
  71. [mlir][vector] Add canonicalization for extract/insert -> shapecast (details)
  72. [mlir][vector] Extend vector transfer unrolling to support permutations and broadcast (details)
  73. Modules: Remove an extra early return, NFC (details)
  74. [AIX] Remove unused vector registers from allocation order in the default AltiVec ABI (details)
  75. [AMDGPU] Change FLAT Scratch SADDR to VADDR form in moveToVALU (details)
  76. [mlir][spirv] Add support to convert std.splat op (details)
  77. [DebuggerTuning] Move a comment to a more useful place. (details)
  78. [libc++] Disentangle std::pointer_safety (details)
  79. Move MLIR python sources to mlir/python. (details)
  80. [libc++] Fix template instantiation depth issues with std::tuple (details)
  81. [libc++] Use the internal Lit shell to run the tests (details)
  82. [scudo] Don't track free/use stats for transfer batches. (details)
  83. [AsmParser][SystemZ][z/OS] Implement HLASM location counter syntax ("*") for Z PC-relative instructions. (details)
  84. [MLIR][Linalg] Lower `linalg.tiled_loop` in a separate pass (details)
  85. [MLIR][Linalg] Avoid forward declaration in `Loops.cpp` (details)
  86. [mlir][linalg] Fix vectorization bug in vector transfer indexing map calculation (details)
  87. [CodeGen][ARM] Implement atomicrmw as pseudo operations at -O0 (details)
  88. [OpenMPIRBuilder] Add createOffloadMaptypes and createOffloadMapnames functions (details)
  89. [mlir][Linalg] Use rank-reduced versions of subtensor and subtensor insert when possible. (details)
  90. [ValueTracking] soften assert for invertible recurrence matching (details)
  91. [WebAssembly] Fixup order of ins variables for table instructions (details)
  92. [SimplifyCFG] Look for control flow changes instead of side effects. (details)
  93. [libcxx][iterator][ranges] adds `forward_iterator` and `forward_range` (details)
  94. Revert "[CodeGen][ARM] Implement atomicrmw as pseudo operations at -O0" (details)
  95. [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format (details)
  96. [MC][ELF] Work around R_MIPS_LO16 relocation handling problem (details)
  97. Revert "[MC][ELF] Work around R_MIPS_LO16 relocation handling problem" (details)
  98. [mlir][sparse] fixed typo: sparse -> sparse_tensor (details)
  99. [libcxx][iterator][ranges] adds `bidirectional_iterator` and `bidirectional_range` (details)
  100. [mlir][Linalg] Add a utility method to get reassociations maps for reshape. (details)
  101. [WebAssembly] Reenable end-to-end test in wasm-eh.cpp (details)
  102. [InstCombine] cttz(sext(x)) -> cttz(zext(x)) (details)
  103. [debugserver] Include LLDB_VERSION_SUFFIX in debugserver version (details)
  104. [AArch64][SVE] More unpredicated ld1/st1 patterns for reg+reg addressing modes (details)
  105. [mlir] Add polynomial approximation for math::Log1p (details)
  106. [Utils] Add prof metadata to matched unnamed values (details)
  107. [InstCombine] Added tests for PR50094, NFC (details)
  108. [lld-macho] De-templatize mach_header operations (details)
  109. [lld-macho] Add ARM requirement to objc.s (details)
  110. Add some additional test cases inspired by PR50191 (details)
  111. [OpenMP] Refactor/Rework topology discovery code (details)
  112. [mlir] Linalg: add vector transfer lowering patterns to the contraction lowering (details)
  113. One more test case inspired by PR50191 (details)
  114. [Attributor] Add AAExecutionDomainInfo interface to OpenMPOpt (details)
  115. [NewPM] Invalidate AAManager after populating GlobalsAA (details)
  116. Recommit "Generalize getInvertibleOperand recurrence handling slightly" (details)
  117. [lld][WebAssembly] Do not merge comdat data segments (details)
  118. [demangler] Initial support for the new Rust mangling scheme (details)
  119. [gn build] Port 7310403e3cdf (details)
  120. [libc] Introduce asctime, asctime_r to LLVM libc (details)
  121. [lld][WebAssembly] Convert more tests to asm format. NFC (details)
  122. [NewPM] Only invalidate modified functions' analyses in CGSCC passes (details)
  123. Clarify the help for "breakpoint command add" and "watchpoint command add". (details)
  124. Precommit tests for D101720 (NFC) (details)
  125. [InstCombine] generalize select + select/and/or folding using implied conditions (details)
  126. [lld][WebAssembly] Fix crash with `-pie` without `--allow-undefined` (details)
  127. [IndVarSimplify][NFC] Removed mayThrow from if-condition in predicateLoopExits of IndVarSimplify (details)
  128. [mlir][tosa] Add lowerings for tosa.equal and tosa.arithmetic_right_shift (details)
  129. [mlir] Fix bug in TransferOpReduceRank when all dims are broadcasts (details)
  130. [clang][CodeGen] Use llvm::stable_sort for multi version resolver options (details)
  131. [NFC] Give better diagnose on clang-format not found error (details)
  132. [lld-macho] Implement builtin section renaming (details)
  133. [ModuleUtils] NFC: Add unit tests for appendToUsedList (details)
  134. [gn build] Port ed51156084dd (details)
  135. [TTI] Replace ceil lambdas with divideCeil. NFCI (details)
  136. [RISCV] Lower splats of non-constant i1s as SETCCs (details)
  137. Introduce -Wreserved-identifier (details)
  138. [clangd] Fix hover crash on broken code (details)
  139. Recommit "[VP,Integer,#2] ExpandVectorPredication pass" (details)
  140. Make dependency between certain analysis passes transitive (details)
  141. [gn build] Port 1db4dbba24dd (details)
  142. [llvm] Unbreak no-assertion testing (details)
  143. [RISCV] Pre-commit tests for D101342 (details)
  144. [clang-format] Prevent extraneous space insertion in bitshift operators (details)
  145. Introduce clangd-server-monitor tool (details)
  146. [clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list (details)
  147. [InstCombine] ctpop(X) ^ ctpop(Y) & 1 --> ctpop(X^Y) & 1 (PR50094) (details)
  148. Revert "[SLP]Allow masked gathers only if allowed by target." (details)
  149. [IndVarSimplify] Add additional tests using isImpliedViaMerge. (details)
  150. [AMDGPU][AsmParser] Correct the order of optional operands to mimg (details)
  151. [mlir] Add lowering from math.expm1 to LLVM. (details)
  152. [clang][cli] NFC: Remove confusing `EmptyKPM` variable (details)
  153. [X86] Update PR20841 test description to make it clear we SHOULDN'T be folding EFLAGS with XADD (details)
  154. [CodeGenPrepare][X86] Add bitreverse detection tests (details)
  155. [Utils] recognizeBSwapOrBitReverseIdiom - support matching from funnel shift roots (PR40058) (details)
  156. [clang][cli][docs] Clarify marshalling infrastructure documentation (details)
  157. [OpenCL] Allow pipe as a valid identifier prior to OpenCL 2.0. (details)
  158. Local.cpp - Avoid DebugLoc copies - use const reference from getDebugLoc. NFCI. (details)
  159. [AArch64][SVE] Fold insert(zero, extract(X, 0), 0) -> X, when X is known to zero lanes 1-N (details)
  160. [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= (details)
  161. [Matrix] Implement C-style explicit type conversions in CXX for matrix types (details)
  162. [mlir][linalg] Always lower index operations during loop lowering. (details)
  163. Fix some typos in d7ec48d71bd671 (details)
  164. Reland "[LV] Calculate max feasible scalable VF." (details)
  165. [LangRef] Fix a typo in the vector-type memory layout section (details)
  166. [analyzer] Fix a crash for dereferencing an empty llvm::Optional variable in SMTConstraintManager.h. (details)
  167. [CodeView] Truncate Long Type Names With An MD5 Hash (details)
  168. [libc++] Implement ranges::view (details)
  169. [gn build] Port 2021d272ad6c (details)
  170. [libc++] Move the Debug iterators check to CI stage 3 (details)
  171. Rename a template parameter that conflicted with a common macro; NFC (details)
  172. [MLIR] Replace a not of a comparison with appropriate comparison (details)
  173. [VPlan] Representing backedge def-use feeding reduction phis. (details)
  174. [MLIR][SCF] Assume uses of condition in the body of scf.while is true (details)
  175. [llvm-objdump] Remove --cfg option from command guide (details)
  176. [MLIR] Add not icmp canonicalization documentation (details)
  177. [PowerPC][NFC] Update atomic patterns to use the refactored load/store implementation (details)
  178. [llvm-objdump] Remove Generic Options group from help text output (details)
  179. [InstCombine] avoid infinite loops with select/icmp transforms (details)
  180. [libFuzzer] Preserve position hint in auto dictionary (details)
  181. Fix assert on the variable which is used in omp clause is not marked (details)
  182. Reland "[MC][ELF] Work around R_MIPS_LO16 relocation handling problem" (details)
  183. DAG: Cleanup assertion in EmitFuncArgumentDbgValue (details)
  184. Revert "[llvm-objdump] Remove Generic Options group from help text output" (details)
  185. [lldb/Utility] Update path in FileSpec documentation (NFC) (details)
  186. [lldb] Move and clean-up the Declaration class (NFC) (details)
  187. [lldb/Core] Add SourceLocationSpec class (NFC) (details)
  188. [llvm-objdump] Remove Generic Options group from help text output (details)
  189. [llvm-objdump] Improve newline consistency between different pieces of information (details)
  190. [SampleFDO] Fix a bug when appending function symbol into the Callees set of (details)
  191. [libc++] NFC: Fix typo in Ranges Status (details)
  192. Revert "Make dependency between certain analysis passes transitive" (details)
  193. [PowerPC] Prevent argument promotion of types with size greater than 128 bits (details)
  194. [ValueTypes] Add MVTs for v256i16 and v256f16 (details)
  195. [llvm-objdump] Fix -a after D100433 (details)
  196. [clang-tidy][NFC] Update tests and Default options to use boolean value (details)
  197. [docs] Fix some wording (details)
  198. [Clang][AArch64] Disable rounding of return values for AArch64 (details)
  199. [InstSimplify] Added tests for PR50173, NFC (details)
  200. [RISCV][test] Migrate llvm-objdump --riscv-no-aliases to -M no-aliases (details)
  201. [llvm-objdump] Delete temporary workaround option --riscv-no-aliases (details)
  202. [libFuzzer] Further deflake exec-time test. (details)
  203. [SimplifyCFG] Extract helper for creating logical op (NFC) (details)
  204. [SimplifyCFG] Regenerate test checks (NFC) (details)
  205. [SimplifyCFG] Create logical or in SimplifyCondBranchToCondBranch() (details)
  206. [libFuzzer] Disable non-exec-time test again. (details)
  207. [clang] Add -fc++-abi= flag for specifying which C++ ABI to use (details)
  208. [Hexagon][test] Migrate llvm-objdump --mv6[0567]t?/--mhvx to --mcpu=hexagonv*/--mattr=+hvx (details)
  209. [Format] Don't sort includes if DisableFormat is true (details)
  210. [llvm-objdump] Delete temporary Hexagon workaround options (details)
  211. Add monthly MemorySSA sync. (details)
  212. [Driver] Fix `ToolChain::getCompilerRTPath()` to return the correct path on Apple platforms. (details)
  213. Fix for test failure caused by 84c475437267e7fffedc40029ce274b099d8f8f3. (details)
  214. [OpenMP] Fix non-determinism in clang task codegen (lastprivates) (details)
  215. [Utils] Run non-filecheck runlines in-order in update_cc_test_checks (details)
  216. [libcxx] Update docs regarding the need for bash/posix tools for tests on Windows. NFC. (details)
  217. [LLD] [COFF] Actually include the exported comdat symbols (details)
  218. [llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones (details)
  219. Mark Basic/TargetCXXABI.def as textual in the module map. (details)
  220. [Coroutines] Do not add alloca to the frame if the size is 0 (details)
  221. Add cal entry for MemorySSA syncs. (details)
  222. [WebAssembly] Mark abs of v2i64 as legal (details)
  223. [MC] Remove unneeded "in '.xxx' directive" from diagnostics (details)
  224. X86/GlobalISel: Rely on default assignValueToReg (details)
  225. GlobalISel: Fix missing newline in debug printing (details)
  226. [MC] Don't capitalize a floating point diagnostic (details)
  227. [libc++] Fix QoI bug with construction of std::tuple involving std::any (details)
  228. [AMDGPU] Disable the scalar IR, SDWA and load store vectorizer passes at -O1 (details)
  229. [libc++] Make sure std::to_address doesn't depend on P::element_type. (details)
  230. Revert "[InstSimplify] Added tests for PR50173, NFC" (details)
  231. [MC] Add MCAsmParser::parseComma to improve diagnostics (details)
  232. [AMDGPU] Fix lit failure introduced by 6a17609157196878b9cd9aa9ce71bde247ca14db (details)
  233. [mlir][tosa] Fix tosa.concat by inserting linalg.fill after linalg.init (details)
  234. [VPlan] Properly handle sinking of replicate regions. (details)
  235. [mlir] Fix region successor bug in forward dataflow analysis (details)
  236. [AMDGPU] Add rm line to lit test to cleanup bots (details)
  237. [libc++] Revert the std::to_address change to avoid relying on element_type. (details)
  238. [clang][test] Update -fc++-abi tests (details)
  239. [dfsan] move dfsan_flags.h to cc files (details)
  240. [lldb] Refactor argument group by SourceLocationSpec (NFCI) (details)
  241. [WebAssembly] Add codegen test for wasm_simd128.h (details)
  242. [OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks (details)
  243. [loop-idiom] Hoist loop memcpys to loop preheader (details)
  244. [mlir][sparse] Introduce proper sparsification passes (details)
  245. Revert "[OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks" (details)
  246. [llvm-objcopy] --dump-section: error if '=' is missing or filename is empty (details)
  247. [lldb/Symbol] Update SymbolFilePDB unitest with SourceLocationSpec (details)
  248. [lldb/Symbol] Fix typo in SymbolFilePDBTests (NFC) (details)
  249. [sanitizer_common] Recycle StackDepot memory (details)
  250. [dfsan] Add a DFSan allocator (details)
  251. Revert "[sanitizer_common] Recycle StackDepot memory" (details)
  252. [trace] Dedup different source lines when dumping instructions + refactor (details)
  253. [ORC] Reintroduce the ORC C API test. (details)
  254. [gn build] Port f2018d6c16d1 (details)
  255. [GreedyRA] Add support for invoke statepoint with tied-defs. (details)
  256. [MLIR][SCF] Combine adjacent scf.if with same condition (details)
  257. [libcxx][ranges] Add `random_access_{iterator,range}`. (details)
  258. [InstCombine] Precommit tests for D101807 (NFC) (details)
  259. [InstCombine] Fold more select of selects using isImpliedCondition (details)
  260. [libcxx][ranges] Add ranges::size CPO. (details)
  261. [libcxx][ranges] Add ranges::ssize CPO. (details)
  262. Fix typo, arvm7 -> armv7 (details)
  263. [gn build] Port 600686d75f55 (details)
  264. [lldb/Symbol] Fix column breakpoint `move_to_nearest_code` match (details)
  265. [dfsan] Turn off all dfsan test cases on non x86_64 OSs (details)
  266. [lldb/Test] Disable testBreakpointByLineAndColumnNearestCode on Windows (details)
  267. [clang][TargetCXXABI] Fix -Wreturn-type warning (NFC) (details)
  268. [llvm-objdump] Add -M {att,intel} & deprecate --x86-asm-syntax={att,intel} (details)
  269. [mlir][ArmSVE] Add basic arithmetic operations (details)
  270. [AMDGPU] Select V_CVT_*16_F16 more often (details)
  271. [RISCV] Cap legal fixed-length vectors to 256-element types (details)
  272. Require asserts for clang/test/Headers/wasm.c (details)
  273. [DOCS] Added example for G_EXTRACT and G_INSERT (details)
  274. [mlir] Use ReassociationIndices instead of affine maps in linalg.reshape. (details)
  275. [RISCV][VP] Lower VP ISD nodes to RVV instructions (details)
  276. [RISCV][VP][NFC] Add tests for VP_AND, VP_XOR, VP_OR (details)
  277. [RISCV][VP][NFC] Add tests for VP_SHL and VP_LSHR (details)
  278. [MLIR] Rename free function `verify` on OffsetSizeAndStrideOpInterface (details)
  279. [X86]Fix a crash trying to convert indices to proper type. (details)
  280. [RISCV][VP][NFC] Add tests for VP_MUL and VP_[US]DIV (details)
  281. [AMDGPU] Autogenerate checks for a clustering test and add GFX10 (details)
  282. [RISCV][VP][NFC] Add tests for VP_SREM and VP_UREM (details)
  283. Revert "[Passes] Enable the relative lookup table converter pass on aarch64" (details)
  284. [X86][SSE] Move unpack(hop,hop) fold from foldShuffleOfHorizOp to combineTargetShuffle (details)
  285. Make dependency between certain analysis passes transitive (reapply) (details)
  286. [AArch64] Fix scalar imm variants of SIMD shift left instructions (details)
  287. [SystemZ][z/OS] Fix return values in AutoConversion functions (details)
  288. [DebugInfo][test][MIPS] Use mtriple in tests (details)
  289. [OpenCL] Add clang extension for non-portable kernel parameters. (details)
  290. [AArch64] Fix for the pre-indexed paired load/store optimization. (details)
  291. [AsmParser][SystemZ][z/OS] Reject character and string literals for HLASM (details)
  292. [AMDGPU][OpenMP] Fix clang driver crash when provided -c (details)
  293. [mlir][linalg] Fix bug in the fusion on tensors index op handling. (details)
  294. [AMDGPU] Fix llc pipeline lit test for bots enabling expensive checks (details)
  295. [MIPS][MSA] Regenerate bitwise tests. NFCI. (details)
  296. [MIPS][MSA] Regenerate i5-b tests. NFCI. (details)
  297. [MIPS][MSA] Regenerate immediates tests. NFCI. (details)
  298. [InstCombine] improve readability; NFC (details)
  299. [GlobalISel] Fix buildZExtInReg creating new register. (details)
  300. [SelectionDAG][Mips][PowerPC][RISCV][WebAssembly] Teach computeKnownBits/ComputeNumSignBits about atomics (details)
  301. [RISCV][NFC] Fix up pseudoinstruction name in comment (details)
  302. [libc] Normalize LIBC_TARGET_MACHINE (details)
  303. Revert "[SelectionDAG][Mips][PowerPC][RISCV][WebAssembly] Teach computeKnownBits/ComputeNumSignBits about atomics" (details)
  304. [docs] Update the llvm/example section (details)
  305. Added a faster method to clone llvm project [DOCS] (details)
  306. [clang][Driver] Add -fintegrate-as to debug-pass-structure test (details)
  307. [mlir][Affine][Vector] Support vectorizing reduction loops (details)
  308. [AMDGPU] Pre-commit 2 new saddr load tests. NFC. (details)
  309. [clang] remove an incremental build workaround (details)
  310. [mlir][ArmSVE] Add masked arithmetic operations (details)
  311. [LV] Workaround PR49900 (a crash due to analyzing partially mutated IR) (details)
  312. [MC] Untangle MCContext and MCObjectFileInfo (details)
  313. [NFC][X86][CostModel] Add tests for byteswap intrinsic (details)
  314. RISSCV: clang-format RISC-V AsmParser (NFC) (details)
  315. [llvm-objcopy][ELF] --only-keep-debug: set offset/size of segments with no sections to zero (details)
  316. [NFC][SimplifyCFG] Update documentation comments for SinkCommonCodeFromPredecessors() after 1886aad (details)
  317. [Clang] remove text extension from diag::err_drv_invalid_value_with_suggestion (details)
  318. Make clangd CompletionModel not depend on directory layout. (details)
  319. [lld-macho] Have --reproduce account for path rerooting (details)
  320. [lld-macho] Preliminary support for ARM_RELOC_BR24 (details)
  321. [hwasan] Fix missing synchronization in AllocThread. (details)
  322. [libomptarget] Initial documentation on amdgpu offload (details)
  323. [WebAssembly] Set alignment to 1 for SIMD memory intrinsics (details)
  324. [libc++] NFC: Remove stray semicolon in from-scratch config files (details)
  325. [libcxx] [ci] Add a Windows CI configuration for a statically linked libc++ (details)
  326. [lld-macho] Try to unbreak build (details)
  327. Add fuzzer for Rust demangler (details)
  328. [WebAssembly] Update narrowing builtin function operand types (details)
  329. [WebAssembly] Fix constness of pointer params to load intrinsics (details)
  330. [libc++] Move <__sso_allocator> out of include/ into src/. NFCI. (details)
  331. [libc++] [LIBCXX-DEBUG-FIXME] Fix an iterator-invalidation issue in string::assign. (details)
  332. [libc++] [LIBCXX-DEBUG-FIXME] Iterating a string::iterator "off the end" is UB. (details)
  333. [libc++] [LIBCXX-DEBUG-FIXME] Our `__debug_less` breaks some complexity guarantees. (details)
  334. [libc++] [LIBCXX-DEBUG-FIXME] std::advance shouldn't use ADL `>=` on the _Distance type. (details)
  335. [libc++] [LIBCXX-DEBUG-FIXME] Stop using invalid iterators to insert into sets/maps. (details)
  336. [scudo] Align objects with alignas (details)
  337. [mlir][tosa] Add tosa.depthwise lowering to existing linalg.depthwise_conv (details)
  338. [lld] Convert LLVM_CMAKE_PATH to a CMake path (details)
  339. [WebAssembly] Add SIMD const_splat intrinsics (details)
  340. [NFC][X86][Codegen] Add some tests for 64-bit shift by (32-x) (details)
  341. Preserve metadata on masked intrinsics in auto-upgrade (details)
  342. [Utils][NFC] Rename replace-function-regex in update_cc_test_checks (details)
  343. [MachineCSE][NFC]: Refactor and comment on preventing CSE for isConvergent instrs (details)
  344. [mlir] Add polynomial approximation for math::ExpM1 (details)
  345. GlobalISel: Use DAG call lowering infrastructure in a more compatible way (details)
  346. X86/GlobalISel: Use generic version of splitToValueTypes (details)
  347. AMDGPU/GlobalISel: Remove unnecessary override (details)
  348. GlobalISel: Update documentation (details)
  349. [clangd] Split CC and refs limit and increase refs limit to 1000 (details)
  350. [AMDGPU] Improve global SADDR selection (details)
  351. When performing template argument deduction to select a partial (details)
  352. ARM/GlobalISel: Don't store a MachineInstrBuilder reference (details)
  353. AMDGPU: Add a few more tail call tests (details)
  354. [gn build] (semi-manually) port 0b10bb7ddd3c (details)
  355. [lld-macho] Check simulator platforms to avoid issuing false positive errors. (details)
  356. [lldb] Handle missing SBStructuredData copy assignment cases (details)
  357. [gn build] (semi-manually) port 0b10bb7ddd3c more (details)
  358. [AMDGPU][GlobalISel] Widen 1 and 2 byte scalar loads (details)
  359. [Driver] Move -print-runtime-dir and -print-resource-dir tests (details)
  360. [AArch64] Fix some coding standard issues related to namespace llvm (details)
  361. [mlir][Linalg] Fix element type of results when folding reshapes. (details)
  362. AMDGPU: Fix lit test (details)
  363. Allow /STACK in #pragma comment(linker, ...) (details)
  364. Attach metadata to simplified masked loads and stores (details)
  365. [mlir][Linalg] Fix test to use new reshape op form. (details)
  366. [MCAsmInfo] Support UsesCFIForDebug for targets with no exception handling (details)
  367. [AArch64] Deleted unused AsmBackend functions (details)
  368. [tests] Update Transforms/FunctionAttrs/nosync.ll (details)
  369. [mlir] Check generated IR of math_polynomial_approx.mlir (details)
  370. [flang] Provide access to constant character array data (details)
  371. [WebAssembly] Fix JS code mentions in LowerEmscriptenEHSjLj (details)
  372. [M68k][test] Initial migration of MC tests (details)
  373. [M68k][AsmParser] Support negative integer constants (details)
  374. [M68k][AsmParser] Fix invalid register name parsing logics (details)
  375. [dfsan] extend a test case to measure origin memory usage (details)
  376. [ARM] Simplification to ARMBlockPlacement Pass. (details)
  377. [AMDGPU] Revise handling of preexisting waitcnt (details)
  378. [InstCombine] Fully disable select to and/or i1 folding (details)
  379. [test] Delete redundant arm64-tls-relocs.s (details)
  380. [AArch64] Replace fixup_aarch64_tlsdesc_call with FirstLiteralRelocationKind + R_AARCH64_{,P32_}TLSDESC_CALL (details)
  381. [M68k][test][NFC] Scrubing some tests (details)
  382. [AMDGPU] Move insertion of function entry waitcnt later (details)
  383. [AMDGPU] Switch AnnotateUniformValues to MemorySSA (details)
  384. [scudo] Add initialization for TSDRegistrySharedT (details)
  385. [ORC] Introduce C API for adding object buffers directly to an object layer. (details)
  386. [OpenMP] Fix non-determinism in clang copyin codegen (details)
  387. [ORC] Add missing library dependency on IRReader. (details)
  388. [BPF][Test] Disable codegen test on AIX (details)
  389. [SelectionDAG][Mips][PowerPC][RISCV][WebAssembly] Teach computeKnownBits/ComputeNumSignBits about atomics (details)
  390. [OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks (details)
  391. [clangd] Check if macro is already in the IdentifierTable before loading it (details)
  392. [MLIR][GPU][NVVM] Add warp synchronous matrix-multiply accumulate ops (details)
  393. [OpenMP] Make sure classes work on the device as they do on the host (details)
  394. [OpenMP] Ensure the DefaultMapperId has a location (details)
  395. [OpenMP] Overhaul `declare target` handling (details)
  396. [llvm][NFC] Remove deprecated Alignment::None() (details)
  397. [llvm][NFC] Remove deprecated DataLayout::getPreferredAlignment functions (details)
  398. [llvm][NFC] Remove deprecated InterleaveGroup::getAlignment() function. (details)
  399. [llvm][NFC] Remove SelectionDag alignment deprecated functions (details)
  400. [llvm][NFC] Remove CallingConvLower deprecated alignment functions (details)
  401. [llvm-objdump] Use std::make_unique (details)
  402. [lit] Report tool path from use_llvm_tool if found via env variable (details)
  403. [ARM] Transforming memcpy to Tail predicated Loop (details)
  404. [flang] Remove `%f18` from LIT configuration files (details)
  405. [AMDGPU] SIFoldOperands: clean up tryConstantFoldOp (details)
  406. [clang-format] Add more support for C# 8 nullables (details)
  407. [clang-format] Fix C# nullable-related errors (details)
  408. [clang-format] Rename common types between C#/JS (details)
  409. [SVE][LoopVectorize] Add support for scalable vectorization of first-order recurrences (details)
  410. [SystemZ] Support builtin_frame_address with packed stack without backchain. (details)
  411. [AMDGPU] Regenerate shift tests. NFCI. (details)
  412. [AMDGPU] Regenerate fp2int tests. NFCI. (details)
  413. [mlir] Add support for ops with regions in 'gpu-async-region' rewriter. (details)
  414. [LLD] Improve --strip-all help text (details)
  415. [LV] Account for tripcount when calculation vectorization profitability (details)
  416. [ORC] Silence unused variable warnings in Release builds. NFC. (details)
  417. Revert "[ARM] Transforming memcpy to Tail predicated Loop" (details)
  418. [AMDGPU] Fix WQM failure with single block inactive demote (details)
  419. [amdgpu-arch] Fix rpath to run from build dir (details)
  420. [OpenCL] Remove subgroups pragma in enqueue kernel and pipe builtins. (details)
  421. [TableGen] [Clang] Clean up Options.td and add asserts. (details)
  422. [PowerPC] Provide some P8-specific altivec overloads for P7 (details)
  423. [AMDGPU] SIInsertHardClauses: move more stuff into the class. NFC. (details)
  424. [lldb][NFC] Make assert in TestStaticVariables more expressive (details)
  425. Revert "[PowerPC] Provide some P8-specific altivec overloads for P7" (details)
  426. [AIX][TLS] Add support for TLSGD relocations to XCOFF objects (details)
  427. [libc++] Rewrite std::to_address to avoid relying on element_type (details)
  428. [OpenMP] Temporarily require X86 target for parallel_for_codegen.cpp test (details)
  429. [AMDGPU][NFC] Fix typos in SIFormMemoryClauses description (details)
  430. [PowerPC] Re-commit ed87f512bb9eb5c1d44e9a1182ffeaf23d6c5ae8 (details)
  431. [mlir][vector] add pattern to cast away lead unit dimension for broadcast op (details)
  432. [mlir][NFC] Fix warning in VectorTransforms.cpp (details)
  433. [lld-macho][nfc] Convert the mock libSystem.tbd to TBDv4 (details)
  434. [lld-macho] Support loading of zippered dylibs (details)
  435. [SLP] Use empty() instead of size() == 0. NFCI. (details)
  436. [SLP] Constify the TreeEntry* input into dumpTreeCosts(). NFCI. (details)
  437. [SLP] Constify the TreeEntry* input into getEntryCost() + setInsertPointAfterBundle(). NFCI. (details)
  438. [AMDGPU] Fix 64 bit DPP validation (details)
  439. [clangd][ObjC] Highlight Objc Ivar refs (details)
  440. [LangRef][VP] Fix typos in VP sdiv/udiv examples (details)
  441. [RISCV] Cleanup instruction formats used for B extension ternary operations. (details)
  442. [SystemZ] Don't use libcall for 128 bit shifts. (details)
  443. Fix array attribute in bindings for linalg.init_tensor (details)
  444. [AIX][Test][ORC] Skip unsupported ORC C API tests on AIX (details)
  445. [RISCV] Remove unused RISCV::VLEFF and VLEFF_MASK. NFC (details)
  446. [PowerPC][LLD] Make sure that the correct Thunks are used. (details)
  447. [WebAssembly] Fix argument types in SIMD narrowing intrinsics (details)
  448. [mlir][linalg][NFC] Make reshape folding control more fine grain (details)
  449. [mlir][vector] Fix typo (details)
  450. [gn build] Support compiler-rt/profile on Windows (details)
  451. [flang] Runtime must defer formatted/unformatted determination (details)
  452. Allow llvm-dis to disassemble multiple files (details)
  453. [flang] Fix race condition in runtime (details)
  454. [AArch64] Fix namespace issue. NFC (details)
  455. [flang] Implement NAMELIST I/O in the runtime (details)
  456. [RISCV] Minor vector instruction tablegen cleanup. NFC (details)
  457. [libunwind] NFC: Use macros to accommodate differences in representation of PowerPC assemblers (details)
  458. [Fuchsia][CMake] Update OSX deployment target (details)
  459. [flang][OpenMP] Add semantic check for occurrence of constructs nested inside a SIMD region (details)
  460. [RISCV] Remove unused ComplexPatterns. NFC (details)
  461. [NPM] Do not run function simplification pipeline unnecessarily (details)
  462. [PassManager] add helper function to hold set of vector passes (details)
  463. [mlir] Store the flag for dynamic operand storage in the low bits (details)
  464. [Index] Ignore nullptr decls for indexing (details)
  465. new altera ID dependent backward branch check (details)
  466. [gn build] Port 83af66e18e3d (details)
  467. Thread safety analysis: Eliminate parameter from intersectAndWarn (NFC) (details)
  468. When SendContinuePacketAndWaitForResponse returns eStateInvalid, don't fetch more packets. (details)
  469. [mlir][spirv] NFC: Replace OwningSPIRVModuleRef with OwningOpRef (details)
  470. [libomptarget][amdgpu][nfc] Remove dead code from amdgpu plugin (details)
  471. [ARM] Transforming memcpy to Tail predicated Loop (details)
  472. [mlir] Update dstNode after DenseMap insertion in loop fusion pass. (details)
  473. [libomptarget][nfc] Refactor amdgpu partial barrier to simplify adding a second one (details)
  474. [mlir][tosa] Added div op, variadic concat. Removed placeholder. Spec v0.22 alignment. (details)
  475. [AMDGPU] Expose __builtin_amdgcn_perm for v_perm_b32 (details)
  476. [llvm][TextAPI] add mapping from OS string to Platform (details)
  477. [dfsan] Rename and fix an internal test issue for mmap+calloc (details)
  478. [mlir][Linalg] Allow folding to rank-zero tensor when using rank-reducing subtensors. (details)
  479. [CGAtomic] Lift strong requirement for remaining compare_exchange combinations (details)
  480. [IR] Fix typo in comment of Intrinsics.td (NFC) (details)
  481. [TableGen] Use range-based for loops (NFC) (details)
  482. BPF: fix FIELD_EXISTS relocation with array subscripts (details)
  483. [PowerPC] Remove extra swap for extract+vperm on LE (details)
  484. [mlir][linalg] Add IndexedGenericOp to GenericOp canonicalization. (details)
  485. [XCOFF] handle string constants generation for AIX (details)
  486. [MLIR][SPIRV] Properly (de-)serialize BranchConditionalOp. (details)
  487. [GlobalISel] Micro-optimize the conditional branch optimization. (details)
  488. [Debug-Info][NFC] add a wrapper for Die.addValue (details)
  489. [LazyValueInfo] Insert an Overdefined placeholder to prevent infinite recursion (details)
  490. [libcxx] Fix a case of -Wundef warnings. NFC. (details)
  491. [lit][test] Attempt fix when paths include symlink (details)
  492. [LoopVectorize][SVE] Remove assert for scalable vector in InnerLoopVectorizer::fixReduction (details)
  493. [flang] Add tests for MIN for character arrays. NFC (details)
  494. [flang] Remove redundant reallocation (details)
  495. [AMDGPU] Serialize MFInfo::ScavengeFI (details)
  496. [gn build] Port 98e5ede60499 (details)
  497. [AsmParser][ARM] Make .thumb_func imply .thumb (details)
  498. [llvm][NFC] Remove deprecated TargetFrameLowering and InstrTypes alignment functions (details)
  499. [llvm][NFC] Remove remaining deprecated alignment functions from CodeGen (details)
  500. [llvm-dwarfdump] Help option output should be consistent with the command guide (details)
  501. [DebugInfo] Fix updateDbgUsersToReg to support DBG_VALUE_LIST (details)
  502. [NFC][X86][MCA] AMD Zen 3: add tests with eliminatible GPR moves (details)
  503. [X86] AMD Zen 3: 32/64 -bit GPR register moves are zero-cycle (details)
  504. [NFC][X86][MCA] AMD Zen 3: add tests with non-eliminatible MMX moves (details)
  505. AMDGPU: Correct const_index_stride for wave 32 for PAL ABI (details)
  506. [NFC] (test commit) Changed example invocation of C++ for OpenCL (details)
  507. [X86] Ensure we pass DebugLoc by const reference where possible. NFCI. (details)
  508. [SLP] Regenerate tests to reduce diff in D98714. NFCI. (details)
  509. Revert "AMDGPU: Correct const_index_stride for wave 32 for PAL ABI" (details)
  510. [DAG] Add a generic expansion for SHIFT_PARTS opcodes using funnel shifts (details)
  511. [DebugInfo] Fix crash when emitting an invalidated SDDbgValue (details)
  512. [NFC] Correctly assert the indents for printEnumValHelpStr. (details)
  513. [OpenCL] Fix optional image types. (details)
  514. [ARM] Transforming memset to Tail predicated Loop (details)
  515. Fix: [DebugInfo] Fix crash when emitting an invalidated SDDbgValue (details)
  516. AMDGPU: Correct const_index_stride for wave 32 for PAL ABI (details)
  517. [AMDGPU] Restrict immediate scratch offsets (details)
  518. Retire TargetRegisterInfo::getSpillAlignment (details)
  519. [DAG] Ensure all SD classes consistently return a const reference with getDebugLoc(). NFCI. (details)
  520. [CodeGen] Ensure UserValue::getDebugLoc() and UserLabel::getDebugLoc() consistently return a const reference NFCI. (details)
  521. Reapply "[DebugInfo] Drop DBG_VALUE_LISTs with an excessive number of debug operands" (details)
  522. [libc++] [test] Test that list::swap/move/move-assign does not invalidate iterators. (details)
  523. [libc++] [test] Simplify arithmetic in list.special/swap.pass.cpp. NFCI. (details)
  524. [libc++] [test] Test that unordered_*::swap/move/assign does not invalidate iterators. (details)
  525. [NFC][X86][MCA] Increase iteration count in reg move elimination tests (details)
  526. [NFC][X86] AMD Zen 3: move sched classes for renameables moves togeter (details)
  527. [X86] AMD Zen 3: throughput for renameable GPR moves is 6 (details)
  528. [NFC][X86][MCA] AMD Zen 3: Add tests for renameable SSE XMM moves (details)
  529. [NFC][X86][MCA] AMD Zen 3: Add tests for renameable AVX XMM moves (details)
  530. [NFC][X86][MCA] AMD Zen 3: Add tests for renameable AVX YMM moves (details)
  531. [X86] AMD Zen 3: SSE XMM moves are zero-cycle (details)
  532. [X86] AMD Zen 3: AVX XMM moves are zero-cycle (details)
  533. [X86] AMD Zen 3: AVX YMM moves are zero-cycle (details)
  534. [X86] AMD Zen 3: throughput for renameable XMM/YMM moves is 6 (details)
  535. [NFC][X86][MCA] AMD Zen3 Decrease iteration count in reg-move-elimination tests (details)
  536. [PowerPC] Provide MMA builtins for compatibility (details)
  537. [mlir] Rename BufferAliasAnalysis to BufferViewFlowAnalysis (details)
  538. [mlir][linalg] Remove redundant indexOp builder. (details)
  539. [libomptarget] Add support for target memory allocators to cuda RTL (details)
  540. [AArch64] add test for missed vectorization; NFC (details)
  541. BasicAA: Recognize inttoptr as isEscapeSource (details)
  542. [mlir][spirv] add support lowering of extract_slice to scalar type (details)
  543. [mlir][vector] add pattern to cast away leading unit dim for elementwise op (details)
  544. [libFuzzer] Fix stack overflow detection (details)
  545. [NFC][X86][MCA] AMD Zen3: add test for zero-cycle X87 move (details)
  546. [X86] AMD Zen 3: _REV variants of zero-cycles moves are also zero-cycles (PR50261) (details)
  547. [X86] combineXor - limit fold to non-opaque constants (PR50254) (details)
  548. [LoopNest] Consider loop nest with inner loop guard using outer loop (details)
  549. [libFuzzer] Fix stack-overflow-with-asan.test. (details)
  550. [AArch64][ELF] Prefer to lower MC_GlobalAddress operands to .Lfoo$local (details)
  551. [X86] AMD Zen 3: MOVSX32rr32 is a zero-cycle move (details)
  552. [X86] AMD Zen 3: mark XMM/YMM (but not MMX!) reg moves as eliminatible in RegisterFile (details)
  553. lit: revert 134b103fc0f3a995d76398bf4b029d72bebe8162 (details)
  554. [libc++][ci] Run longer CI jobs first (details)
  555. Internalize some cl::opt global variables or move them under namespace llvm (details)
  556. Allow empty value list in propagateMetadata(Inst, ArrayOf...) (details)
  557. [unittest] Fix -Wunused-variable after D94717 (details)
  558. [WebAssembly] Use functions instead of macros for const SIMD intrinsics (details)
  559. [SCEV] By more careful when traversing phis in isImpliedViaMerge. (details)
  560. Revert "[DebugInfo] Fix updateDbgUsersToReg to support DBG_VALUE_LIST" (details)
  561. [mlir][docs] remove stale statement about index type in vectors (details)
  562. [mlir] Add a pattern to bufferize linalg.tensor_reshape. (details)
  563. [mlir] Add a pattern to bufferize std.index_cast. (details)
  564. An attempt to abandon omptarget out-of-tree builds. (details)
  565. [RISCV] Consider scalar types for required extensions. (details)
  566. [BareMetal] Ensure that sysroot always comes after library paths (details)
  567. [flang] Implement NORM2 in the runtime (details)
  568. [LV] Rename Region to TargetRegion, similar to SinkRegion (NFC). (details)
  569. [LV] Assert if trying to sink replicate region into another region (NFC) (details)
  570. [SEH] Fix regression with SEH in noexpect functions (details)
  571. [MCA][RegisterFile] Fix register class check for move elimination (PR50265) (details)
  572. [LV] Remove reference of PHI from comment, they are not recorded (NFC). (details)
  573. Revert "[BareMetal] Ensure that sysroot always comes after library paths" (details)
  574. [mlir][vector] Extend pattern to trim lead unit dimension to Splat Op (details)
  575. [mlir] Missed clang-format (details)
  576. [lld/mac] Write every weak symbol only once in the output (details)
  577. [BareMetal] Ensure that sysroot always comes after library paths (details)
  578. Fix the module-enabled build by removing a redundant type definition. (details)
  579. [AArch64][GlobalISel] Legalize narrow type G_CTPOPs (details)
  580. [NewPM] Move analysis invalidation/clearing logging to instrumentation (details)
  581. NFC: Move TypeList implementation up the file (details)
  582. Make `hasTypeLoc` matcher support more node types. (details)
  583. [GlobalISel] Don't form zero/sign extending loads for atomics. (details)
  584. [AArch64][GlobalISel] Create a new minimal combiner pass just for -O0. (details)
  585. [mlir][vector] Fix warning (details)
  586. [gn build] Manually port 5b158093e (details)
  587. Revert "lit: revert 134b103fc0f3a995d76398bf4b029d72bebe8162" (details)
  588. [mlir] Add hover support to mlir-lsp-server (details)
  589. [lit] Bump up the Windows process cap from 32 to 60 (details)
  590. [mlir] Refactor the representation of function-like argument/result attributes. (details)
  591. [DebugInfo] UnwindTable::create() should not add empty rows to CFI unwind table (details)
  592. [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose (details)
  593. Replace a remaining CRLF with LF. NFC. (details)
  594. [X86] Support AMX fast register allocation (details)
  595. Revert "[X86] Support AMX fast register allocation" (details)
  596. Fix build after 34a8a437b (details)
  597. [X86] Support AMX fast register allocation (details)
  598. [mlir] Debug print pattern before and after matchAndRewrite call (details)
  599. [VectorCombine] Simplify to scalar store if only one element updated (details)
  600. [libc++] Use Xcode's CMake if it's present (details)
  601. [X86] Improve costmodel for scalar byte swaps (details)
  602. Revert "[LICM] Hoist loads with invariant.group metadata" (details)
  603. [MLIR][NFC] Remove unused MLIRContext declaration (details)
  604. [MLIR] Add memref dialect dependency for affine fusion pass (details)
  605. [libc++] Move handling of the target triple to the DSL (details)
  606. [X86] combineHorizOpWithShuffle - generalize HOP(SHUFFLE(X),SHUFFLE(Y)) -> SHUFFLE(HOP(X,Y)) fold. (details)
  607. [GlobalISel] Ensure MachineIRBuilder::getDebugLoc() returns a const reference. NFCI. (details)
  608. [VPlan] Add test for sink scalars and merging using VPlan. (details)
  609. [libc++] NFC: Refactor Lit annotations (details)
  610. [lld/mac] Copy some of the commit message of d5a70db193 into a comment (details)
  611. [MCA][RegisterFile] Refactor the move elimination logic to address PR50258. (details)
  612. [lld-macho] Explicitly undefine literal exported symbols (details)
  613. [llvm-mca][View] Update the Register File statistics. (details)
  614. [Hexagon] Propagate metadata in Hexagon Vector Combine (details)
  615. [test] Fix tools/gold/X86/new-pm.ll after D101797 (details)
  616. [NFCI][X86] Mark a few lately-added system instructions as such for Scheduling purposes (details)
  617. [NFCI][X86] Mark Znver3 scheduling model as complete (details)
  618. [NFC][LoopIdiom] Add some tests for 'lshr until zero' ('count active bits') "on steroids" idiom (details)
  619. [lld-macho][NFC] Purge stale test-output trees prior to split-file (details)
  620. [libc++][doc] Update the Format library status. (details)
  621. [SROA] Regenerate test checks (NFC) (details)
  622. [SelectionDAG] Regenerate test checks (NFC) (details)
  623. [X86] AMD Zen 3: XCHG is a zero-cycle instruction (details)
  624. [NFC][X86] Znver3: drop obsolete fixme (details)
  625. [SCEV] Add additional loop guard and/or tests (NFC) (details)
  626. [SCEV] Handle and/or in applyLoopGuards() (details)
  627. [ARM] Fix postinc of vst1xN (details)
  628. [NFC][X86][MCA] AMD Zen3: add GPR zero-idiom dependency breaking tests (details)
  629. [X86] AMD Zen 3: same-register XOR/SUB are GPR dependency breaking zero-idioms (details)
  630. [NFC][X86][MCA] AMD Zen 3: add tests for SBB dependency breaking (details)
  631. [X86] AMD Zen 3: same-reg SBB is a dependency-breaking instruction (details)
  632. [NFC][X86][MCA] AMD Zen 3: add tests for CMP dependency breaking (details)
  633. [X86] AMD Zen 3: same-reg CMP is a zero-cycle dependency-breaking instruction (details)
  634. [Demangle][Rust] Print special namespaces (details)
  635. [lld-macho] Don't reference entry symbol for non-executables (details)
  636. [lld/mac] Fix alignment on subsections (details)
  637. [lld-macho] Add llvm-otool as a test dependency (details)
  638. Support NativeCodeCall binding in rewrite pattern. (details)
  639. [RISCV][NFC] Don't need to create a new STI in RISCVAsmPrinter. (details)
  640. [NFC][Coroutines] Fix two tests by removing hardcoded SSA value. (details)
  641. [SimplifyCFG] Ignore ephemeral values when counting insts for threading (details)
  642. [ORC] Generalize materialization dispatch to task dispatch. (details)
  643. [ORC] Use the new dispatchTask API to run query callbacks. (details)
  644. [AArch64][SVE] Remove index_vector node. (details)
  645. [mlir] Fix compile error. (details)
  646. [LegalizeVectorOps][RISCV] Add scalable-vector SELECT expansion (details)
  647. [amdgpu-arch] Guard hsa.h with __has_include (details)
  648. [AMDGPU][OpenMP] Disable tests when amdgpu-arch fails (details)
  649. [libc] Allow target architecture customization (details)
  650. [AMDGPU][OpenMP] Emit textual IR for -emit-llvm -S (details)
  651. [mlir] OpenMP-to-LLVM: properly set outer alloca insertion point (details)
  652. AMDGPU/GlobalISel: Add regbankselect test for vgpr(dest) sgpr(address) load (details)
  653. AMDGPU/GlobalISel: Use destination register bank in applyMappingLoad (details)
  654. [libc] Simplifies multi implementations and benchmarks (details)
  655. [MLIR][Shape] Concretize broadcast result type if possible (details)
  656. [compiler-rt] Handle None value when polling addr2line pipe (details)
  657. Fixed bug in buffer deallocation pass using unranked memref types. (details)
  658. [OpenMP][MLIR]Add support for guided, auto and runtime scheduling (details)
  659. [clang][PreProcessor] Cutoff parsing after hitting completion point (details)
  660. HexagonVectorCombine.cpp - don't negate a bool value. NFCI. (details)
  661. [AArch64][SVE] Fix isel failure for FP-extending loads (details)
  662. [GlobalISel] Fix wrong invocation of `getParamStackAlign` (NFC) (details)
  663. [AArch64][SVE] Better utilisation of unpredicated forms of arithmetic intrinsics (details)
  664. [AArch64][SVE] Better utilisation of unpredicated forms of remaining intrinsics (details)
  665. clang: Fix tests after 7f78e409d028 if clang is not called clang-13 (details)
  666. [NFC][llvm-dwarfdump] Code clean up for inlined var loc stats (details)
  667. [clangd] Fix data type of WorkDoneProgressReport::percentage (details)
  668. [Constant] Allow ConstantAggregateZero a scalable element count (details)
  669. X86LoadValueInjectionLoadHardening.cpp - use const-reference in for-range loops to avoid unnecessary copies. NFCI. (details)
  670. X86FlagsCopyLowering.cpp - try to pass DebugLoc by const-ref to avoid costly TrackingMDNodeRef copies. NFCI. (details)
  671. [TableGen] Remove redundant `Error:` in msg (NFC) (details)
  672. [OPENMP]Fix PR48851: the locals are not globalized in SPMD mode. (details)
  673. [AArch64][SVE] Improve SVE codegen for fixed length BITCAST (details)
  674. [libc++][AIX] Define _LIBCPP_ELAST (details)
  675. [SLP]Do not count perfect diamond matches for gathers several times. (details)
  676. [PowerPC] Enable safe for 32bit vins* P10 instructions (details)
  677. [libomptarget] Add support for target allocators to dynamic cuda RTL (details)
  678. Revert "[PassManager] add helper function to hold set of vector passes" (details)
  679. [clang][AArch32] Correctly align HA arguments when passed on the stack (details)
  680. [NFC] Synchronize reserved identifier code between macro and variables / symbols (details)
  681. [X86] Fix position-independent TType encoding (details)
  682. [libc++][NFC] Remove _VSTD:: when not needed. (details)
  683. [llvm-objdump][MachO] Print a newline before lazy bind/bind/weak/exports trie (details)
  684. [X86][SSE] Merge equal X32/X64 check prefixes. NFCI. (details)
  685. [X86][SSE] Add tests for missing shuffle(pack(x,y),pack(z,w)) -> permute(pack()) folds. (details)
  686. [llvm-symbolizer] Update Command Guide (details)
  687. [llvm-nm] Help option output should be consistent with the command guide (details)
  688. [ORC] Update SpeculativeJIT example for dispatchTask changes in 5344c88dcb2. (details)
  689. [clang] Support -fpic -fno-semantic-interposition for AArch64 (details)
  690. [Demangle][Rust] Parse basic types (details)
  691. [RISCV] Correct VL for fixed length masked scatter. (details)
  692. [X86][SSE] Add examples of failures to remove a permute(pack(pack(),pack())) shuffle by reordering the packed operands. (details)
  693. [mlir][CAPI] Add CAPI bindings for the sparse_tensor dialect. (details)
  694. [cmake] Enable -Wmisleading-indentation (details)
  695. [lld][WebAssembly] Disallow exporting of TLS symbols (details)
  696. [mlir][Python] Upstream the PybindAdaptors.h helpers and use it to implement sparse_tensor.encoding. (details)
  697. [Dependence Analysis] Enable delinearization of fixed sized arrays (details)
  698. [lld-macho] Improve an external weak def test (details)
  699. [X86][SSE] canonicalizeShuffleMaskWithHorizOp - add TODO for better 256/512-bit shuffle+hop folding support. NFC. (details)
  700. [X86][AVX] Add example of failure to remove a 256-bit permute(hadd(hadd(),hadd())) shuffle by reordering the packed operands. (details)
  701. [NFC][X86][MCA] AMD Zen 3: add tests for sub-32-bit CMP dep breaking (details)
  702. [X86] AMD Zen 3: sub-32-bit CMP also break dependencies (details)
  703. [mlir][Python] Re-export cext sparse_tensor module to the public namespace. (details)
Commit 78720296f3912b4095eafa5c1277646fd67bae99 by gh
[MLIR] Canonicalization of Integer Cast Operations

1) Canonicalize IndexCast(SExt(x)) => IndexCast(x)
2) Provide constant folds of sign_extend and truncate

Differential Revision: https://reviews.llvm.org/D101714
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp (diff)
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td (diff)
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir (diff)
Commit ec2e3e331e6d60dee77e4da83bbb192597069f15 by nikita.ppv
[SCEV] Add test for non-unit stride with multiple exits (NFC)

We currently can't determine any exit counts here, because there
is no "controlling exit".
The file was addedllvm/test/Analysis/ScalarEvolution/trip-count-non-unit-stride.ll
Commit f4b5753f889a80241c53872a89d5df412fe2383d by cjdb
[libcxx][nfc] removes duplicate test file

`test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify.cpp`
was accidentally copied (and apparently the author either forgot to
delete it or forgot to commit the deletion).

TEST=`ninja cxx && ninja check-cxx` locally
The file was removedlibcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify copy.cpp
Commit cfe3b0005f6e6e2b5384851a153ee831bad56d44 by craig.topper
[RISCV] Reorder masked builtin operands. Use clang_builtin_alias for all overloaded vector builtins.

This patch makes the builtin operand order match the C operand order
for all intrinsics. With this we can use clang_builtin_alias for
all overloaded intrinsics.

This should further reduce the test time for vector intrinsics.

Differential Revision: https://reviews.llvm.org/D101700
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfclass.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsne.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamomin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vpopc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vse.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnot.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vlse.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslide1down.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfneg.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnmsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vzext.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnsra.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vncvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnsrl.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vdiv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamomax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwcvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssrl.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslideup.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsrl.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsif.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssra.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmflt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vle.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vcompress.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnclip.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsoxei.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vluxei.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfle.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vid.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vloxei.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsgt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/viota.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsgnj.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfslide1down.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsqrt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsle.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsll.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslide1up.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwcvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrgather.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmseq.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwnmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrec7.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfeq.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfgt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfne.c (diff)
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfslide1up.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vaadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsext.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsse.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfncvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsra.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsqrt7.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsof.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfdiv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsuxei.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfabs.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmerge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrem.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwnmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslidedown.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vneg.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfirst.c (diff)
The file was modifiedclang/include/clang/Basic/riscv_vector.td (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbf.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vasub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrdiv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmslt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfcvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoswap.c (diff)
Commit 942e068d7a984b269b43f0748109a9568145359f by flo
[VPlan] Add VPBasicBlock::phis() helper (NFC).

This patch introduces a helper to obtain an iterator range for the
PHI-like recipes in a block.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D100101
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h (diff)
Commit 99173fd03a079a788376c5cb993bc413ed8e020b by aeubanks
[NFC] Use Aliasee to determine Type and AddrSpace in GlobalAlias::create()

As opposed to going through the Aliasee type.

For opaque pointers, we're trying to remove uses of PointerType::getElementType().

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101715
The file was modifiedllvm/lib/IR/Globals.cpp (diff)
Commit 01d27fc408367200f00daad2c2d0918b252acd2c by martin
[OpenMP] Fix warnings due to redundant semicolons. NFC.
The file was modifiedopenmp/runtime/src/ompt-internal.h (diff)
The file was modifiedopenmp/runtime/src/kmp_i18n.h (diff)
Commit ba63cdb8f2a5d9ab511c4a58391163869d907110 by craig.topper
[RISCV] Store SEW in RISCV vector pseudo instructions in log2 form.

This shrinks the immediate that isel table needs to emit for these
instructions. Hoping this allows me to change OPC_EmitInteger to
use a better variable length encoding for representing negative
numbers. Similar to what was done a few months ago for OPC_CheckInteger.

The alternative encoding uses less bytes for negative numbers, but
increases the number of bytes need to encode 64 which was a very
common number in the RISCV table due to SEW=64. By using Log2 this
becomes 6 and is no longer a problem.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/add-vsetvli-gpr.mir (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/addi-scalable-offset.mir (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/frameindex-addr.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/add-vsetvli-vlmax.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/tail-agnostic-impdef-copy.mir (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td (diff)
Commit 6430430958928099cf38afe588000dcff2b3fb0b by craig.topper
[TableGen] Use sign rotated VBR for OPC_EmitInteger.

This allows for a much more efficient encoding for small negative
numbers by storing the sign bit first and negating the rest of
the bits. This was already being used for OPC_CheckInteger.

For every in tree target this affects, the table got smaller.
R600GenDAGISel.inc saw the largest reduction of 7K.

I did have to add a new opcode for StringIntegers used for
register class ids and subregister indices since we don't have the
integer value to encode. The enum name is emitted directly into
the table. Previously assumed the enum would expand to a positive
7-bit number. We might be able to just shift that right by 1 and
assume it is a positive 6 bit number, but that will need more
investigation.
The file was modifiedllvm/utils/TableGen/DAGISelMatcherEmitter.cpp (diff)
The file was modifiedllvm/test/TableGen/dag-isel-regclass-emit-enum.td (diff)
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h (diff)
The file was modifiedllvm/test/TableGen/dag-isel-subregs.td (diff)
The file was modifiedllvm/test/TableGen/DAGDefaultOps.td (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (diff)
Commit 36a44dfd95d88fc13ce45b8d202ab05ff7641d23 by stelios.ioannou
[AArch64] Sets the preferred function alignment for Cortex-A53/A55.

Setting the preffered function alignment to 16 for Cortex A53/A55
improves performance in a wide range of benchmarks. This brings it
in line with the Cortex-A53/A55 tuning that is used in GCC
(gcc/config/aarch64/aarch64.c).

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

Change-Id: I2ce47fe7ab5e3b54f49c89038d8da4e404742de2
The file was modifiedllvm/test/CodeGen/AArch64/preferred-function-alignment.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp (diff)
Commit 15b5d1a5bf1f179835247d34e4febad1e2ee3121 by david.green
[ARM] Transfer memory operands for VLDn

We create MMO's for the VLDn/VSTn intrinsics in ARMTargetLowering::
getTgtMemIntrinsic, but they do not currently make it ll the way through
ISel.  This changes that in the various places it needs changing, making
sure that the MMO is propagate through to the final instruction. This
can help in scheduling, not treating the VLD2/VST2 as a scheduling
barrier.

Differential Revision: https://reviews.llvm.org/D101096
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst2.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld2.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-multivec-spill.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll (diff)
Commit 761d5614a18c1046452ec8cbc773f534fccb2e6f by i
[Object] Fix e_machine description for EM_CR16 and add EM_MICROBLAZE

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101133
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp (diff)
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp (diff)
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h (diff)
The file was modifiedllvm/test/tools/llvm-readobj/ELF/file-header-machine-types.test (diff)
Commit 94aaf3ddd96f5b754e57383c2c9f5af91fa1f011 by kzhuravl_dev
Reland "AMDGPU/llvm-readobj: Add missing tests for note parsing/displaying"

This reverts commit 54aad6365951247e9f18c718c14422745b3afa4c.

Includes fix for note-amd-valid-v3.s test.
The file was addedllvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v3.test
The file was addedllvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v2.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp (diff)
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp (diff)
The file was addedllvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
The file was addedllvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test
Commit 9f51f1b927b15dae4f4226c379c7abd13cd5de2f by Reshabhkumar.Sharma
[ASAN][AMDGPU] Add support for accesses to global and constant addrspaces

Add address sanitizer instrumentation support for accesses to global
and constant address spaces in AMDGPU. It strictly avoids instrumenting
the stack and assumes x86 as the host.

Reviewed by: vitalybuka

Differential Revision: https://reviews.llvm.org/D99071
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_do_not_instrument_scratch.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/no_redzones_in_lds_globals.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp (diff)
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/global_metadata_addrspacecasts.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_instrument_generic_address_space.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/instrument-stack.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/adaptive_constant_global_redzones.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_do_not_instrument_lds.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_instrument_global_address_space.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/no_redzones_in_scratch_globals.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/adaptive_global_redzones.ll
The file was addedllvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_instrument_constant_address_space.ll
Commit 43cbf2bb84eb319ff3e95b3316344ece35ea59b1 by zeratul976
[clangd] Avoid including HeuristicResolver.h from ParsedAST.h

Differential Revision: https://reviews.llvm.org/D101270
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ParsedAST.h (diff)
Commit cea736e5b8a48065007a591d71699b53c04d95b3 by zeratul976
[clangd] Hide inlay hints capability behind a command-line flag

Differential Revision: https://reviews.llvm.org/D101275
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp (diff)
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h (diff)
Commit 1f1fb5e8e6b214f7f13a4e4731b6d6add33508aa by zeratul976
[clangd] Fix build error in SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp (diff)
Commit 3504e50b6db5ec71cf0df5a14a2576c1003614c9 by zeratul976
[clangd] Fix test failure in initialize-params.test

Differential Revision: https://reviews.llvm.org/D101740
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test (diff)
Commit ae845d64269193189c0347454255afa70824e17a by Pushpinder.Singh
[AMDGPU][OpenMP] Enable Libomptarget runtime tests

This enables the runtime tests on amdgpu targets.
10 tests have been marked as XFAIL on amdgcn currently mostly due to
missing printf.

Reviewed By: protze.joachim

Differential Revision: https://reviews.llvm.org/D99656
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/delete_inf_refcount.c (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_enter_exit.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/data_member_ref.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers.cpp (diff)
The file was modifiedopenmp/libomptarget/test/offloading/host_as_target.c (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/api.c (diff)
The file was modifiedopenmp/libomptarget/CMakeLists.txt (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_modifier.c (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/shared_update.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/ptr_and_obj_motion.c (diff)
Commit 1f8963c80195aa86d02e81acedcf1ff3da127842 by zeratul976
[clangd] Parameter hints for dependent calls

Differential Revision: https://reviews.llvm.org/D100742
The file was modifiedclang-tools-extra/clangd/InlayHints.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/InlayHintTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/HeuristicResolver.h (diff)
The file was modifiedclang-tools-extra/clangd/HeuristicResolver.cpp (diff)
Commit 32f901bdf9b59a1cf43946ac7bb6c9382bc69600 by diana.picus
[flang] Use CFI_TYPE_LAST instead of CFI_type_struct

It looks like CFI_type_struct was once used as the last valid CFI_type
value, but in the meantime CFI_type_char16_t and CFI_type_char32_t were
added, making that assumption no longer true. Luckily, in the meantime
we also got a define for CFI_TYPE_LAST, which we can now use to allow
CFI_establish and CFI_allocate to work with descriptors of
CFI_type_char16_t, CFI_type_char32_t and any other future types.

Differential Revision: https://reviews.llvm.org/D101658
The file was modifiedflang/runtime/ISO_Fortran_binding.cpp (diff)
The file was modifiedflang/unittests/Evaluate/ISO-Fortran-binding.cpp (diff)
Commit aaab70407beb9526722b04ae3dd14def4eaab540 by diana.picus
[flang] Fix handling of elem_len in CFI_establish

The current code computes the minimum element length based on the `type`
used to create the descriptor and uses that as the element length
whenever it is greater than 0. This means that the `elem_len` parameter
is essentially ignored for any type where we can compute a minimum
element length (which includes `CFI_type_char[16|32]_t`), and we may
therefore end up with descriptors with a lower element length than
expected.

This patch fixes the issue by explicitly doing what the standard says,
i.e. it uses the given `elem_len` for character types, `CFI_type_struct`
and `CFI_type_other`, and ignores it (falls back to the minimum element
length) for everything else.

Differential Revision: https://reviews.llvm.org/D101659
The file was modifiedflang/unittests/Evaluate/ISO-Fortran-binding.cpp (diff)
The file was modifiedflang/runtime/ISO_Fortran_binding.cpp (diff)
Commit 5112bd6b6e10b27b81aa83cfdbe3588973a6f1f5 by diana.picus
[flang] Fix a bug in the character runtime

The number of bytes copied in CopyAndPad should depend on the size of
the type being copied, not on its shift value (which in the case of char
is 0, leading to no bytes at all being copied).

Add unit tests for CharacterMin and CharacterMax, which exercise this
code path.

Differential Revision: https://reviews.llvm.org/D101355
The file was modifiedflang/unittests/RuntimeGTest/CharacterTest.cpp (diff)
The file was modifiedflang/runtime/character.cpp (diff)
Commit c0c8548b70685533da46d9453eac9f3cfb22ccc6 by sebastian.neubauer
[AMDGPU] Do not annotate features for graphics

SITargetLowering::LowerFormalArguments asserts that none of these
features are used for graphics calling conventions, so
AnnotateKernelFeatures should not add them.

Differential Revision: https://reviews.llvm.org/D101534
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll
Commit 0e97e84a6588ca21d93037969c24c82f19698986 by gchatelet
[libc] warns about missing linting only in full build mode

Differential Revision: https://reviews.llvm.org/D101609
The file was modifiedlibc/CMakeLists.txt (diff)
Commit 91607dce615a7837cd094247aa4620cad95f741c by kuhnel
[doc] typo fixes

as proposed by @FlashSheridan in
https://reviews.llvm.org/rG7f9717b922d4
The file was modifiedllvm/docs/DeveloperPolicy.rst (diff)
Commit cdeb4a8a6430941563c9f04d178d4c5211164aa3 by benny.kra
[mlir] Allow lowering cmpi/cmpf with multidimensional vectors to LLVM

Differential Revision: https://reviews.llvm.org/D101535
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp (diff)
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir (diff)
Commit d23e4f6872c6c19c210efa9fcd19e43942ddf465 by fraser
[RISCV] Add support for fmin/fmax vector reductions

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D101518
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll (diff)
Commit 53df522a0c536d32a60c0ed571097a78ce2541a7 by n.james93
[clang-tidy][NFC] Short circuit getting enum options suggestions.

Use the MaxEditDistance to skip checking candidates we know we'll skip.
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp (diff)
Commit d1bbe61d1c96c12f890db7b37435f1dce092cc36 by david.green
[ARM] Memory operands for MVE gathers/scatters

Similarly to D101096, this makes sure that MMO operands get propagated
through from MVE gathers/scatters to the Machine Instructions. This
allows extra scheduling freedom, not forcing the instructions to act as
scheduling barriers. We create MMO's with an unknown size, specifying
that they can load from anywhere in memory, similar to the masked_gather
or X86 intrinsics.

Differential Revision: https://reviews.llvm.org/D101219
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-gatherscatter-mmo.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp (diff)
Commit 69a3269250715e31ec49be94065c1c8787a3d305 by omair.javaid
Support AArch64 PAC elf-core register read

This adds support for reading AArch64 Pointer Authentication regset
from elf-core file. Also includes a test-case for the same. Furthermore
there is also a slight refactoring of RegisterContextPOSIXCore_arm64
members and constructor. linux-aarch64-pac.core file is generated using
lldb/test/API/functionalities/postmortem/elf-core/main.c with following
clang arguments:
-march=armv8.5-a -mbranch-protection=pac-ret+leaf -nostdlib -static -g

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D99941
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterUtilities.h (diff)
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h (diff)
The file was addedlldb/test/API/functionalities/postmortem/elf-core/linux-aarch64-pac.core
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h (diff)
The file was modifiedlldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py (diff)
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h (diff)
Commit fe4c9b3cb0c3c0cac6b63de3b47a86e31559bb6d by nathan
[clang] Remove libstdc++ friend template hack

this hack is for a now-unsupported version of libstdc++

Differential Revision: https://reviews.llvm.org/D101392
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp (diff)
The file was modifiedclang/test/SemaCXX/libstdcxx_map_base_hack.cpp (diff)
Commit 876bf516e7d4bba615da6cf791372fb36fc8f947 by hans
[clang-cl] Add parsing support for a bunch of new flags

MSVC has added some new flags. Although they're not supported, this adds
parsing support for them so clang-cl doesn't treat them as filenames.

Except for /fsanitize=address which we do support. (clang-cl already
exposes the -fsanitize= option, but this allows using the
MSVC-spelling with a slash.)

Differential revision: https://reviews.llvm.org/D101439
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/test/Driver/cl-options.c (diff)
Commit 530e074faafe995a560e80815f5af8306670ea7b by aaron.puchert
Thread safety analysis: Replace flags in FactEntry by SourceKind (NFC)

The motivation here is to make it available in the base class whether a
fact is managed or not. That would have meant three flags on the base
class, so I had a look whether we really have 8 possible combinations.

It turns out we don't: asserted and declared are obviously mutually
exclusive. Managed facts are only created when we acquire a capability
through a scoped capability. Adopting an asserted or declared lock will
not (in fact can not, because Facts are immutable) make them managed.

We probably don't want to allow adopting an asserted lock (because then
the function should probably have a release attribute, and then the
assertion is pointless), but we might at some point decide to replace a
declared fact on adoption.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D100801
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp (diff)
Commit daca6edb31efae048a420595fae9750aaa91c733 by aaron.puchert
Thread safety analysis: Fix false negative on break

We weren't modifying the lock set when intersecting with one coming
from a break-terminated block. This is inconsistent, since break isn't a
back edge, and it leads to false negatives with scoped locks. We usually
don't warn for those when joining locksets aren't the same, we just
silently remove locks that are not in the intersection. But not warning
and not removing them isn't right.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101202
The file was modifiedclang/test/SemaCXX/warn-thread-safety-analysis.cpp (diff)
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp (diff)
The file was modifiedclang/test/PCH/thread-safety-attrs.cpp (diff)
Commit ab7316f1c64c3530a6eca2e449c2dd734e83498e by nathan
[clang] Spell correct variable

fix Trailling -> Trailing (two ll-> one l)

Differential Revision: https://reviews.llvm.org/D101753
The file was modifiedclang/lib/AST/DeclCXX.cpp (diff)
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp (diff)
The file was modifiedclang/test/SemaCXX/cxx2a-explicit-bool.cpp (diff)
The file was modifiedclang/include/clang/AST/DeclCXX.h (diff)
Commit 1b24f35f843cd58ea22ec3968d0d2589c5bdc2c9 by spatel
[InstCombine] improve demanded bits analysis of left-shifted operand

If we don't demand high bits, then we also don't care about those
high bits of a left-shift operand regardless of shift amount.
I noticed the sext/trunc pattern in a motivating example.
It seems like there should be a low-bits with right-shift sibling,
but I haven't looked at that yet.

https://alive2.llvm.org/ce/z/JuS6jc
https://rise4fun.com/Alive/Trm (not sure how to use 'width' with Alive1)
https://alive2.llvm.org/ce/z/gRadbF

Differential Revision: https://reviews.llvm.org/D101489
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/rotate.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/shl-demand.ll (diff)
Commit 1527a5e4b4834e65678f9c30f786a2f4c17932bf by Abhina.Sreeskantharajan
[SystemZ][z/OS] Add the functions needed for handling EBCDIC I/O

This patch adds the basic functions needed for controlling auto conversion on z/OS.
Auto conversion is enabled on untagged input file to ASCII by making the assumption that all untagged files are EBCDIC encoded. Output files are auto converted to EBCDIC IBM-1047.
This change also enables conversion for stdin/stdout/stderr.

For more information on how fcntl controls codepage https://www.ibm.com/docs/en/zos/2.4.0?topic=descriptions-fcntl-bpx1fct-bpx4fct-control-open-file-descriptors

Reviewed By: anirudhp

Differential Revision: https://reviews.llvm.org/D100483
The file was addedllvm/test/Support/encoding.ll
The file was addedllvm/lib/Support/AutoConvert.cpp
The file was modifiedllvm/lib/Support/MemoryBuffer.cpp (diff)
The file was modifiedllvm/lib/Support/Unix/Path.inc (diff)
The file was addedllvm/include/llvm/Support/AutoConvert.h
The file was modifiedllvm/lib/Support/CMakeLists.txt (diff)
Commit 895ba21401f675d3449a325a82ebc053e8561690 by llvmgnsyncbot
[gn build] Port 1527a5e4b483
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn (diff)
Commit 2b7fa7f7442ba342c4098556a962c1d8ffedc1f4 by flo
[LV] Iterate over recipes in VPlan to fix PHI (NFC).

As we gradually move more elements of LV to VPlan, we are trying to
reduce the number of places that still has to check IR of the original
loop.

This patch adjusts the code to fix cross iteration phis to get the PHIs
to fix directly from the VPlan that is executed. We still need the
original PHI to check for first-order recurrences, but we can get rid of
that once we model that explicitly in VPlan as well.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D99293
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
Commit 2055cc8ef4b961bbac1bf44aa879be6465e1fc36 by kzhuravl_dev
AMDGPU: XFAIL LLVM::note-amd-valid-v2.test for big endian
The file was modifiedllvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test (diff)
Commit b5f64768cfeecca16c7c9c53cbd97ac7289c43aa by a.bataev
[SLP]Allow masked gathers only if allowed by target.

Need to check if target allows/supports masked gathers before trying to
estimate its cost, otherwise we may fail to vectorize some of the
patterns because of too pessimistic cost model.

Part of D57059.

Differential Revision: https://reviews.llvm.org/D101297
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629.ll (diff)
Commit 2e4cc9a7256b8a23421727522059ec5c67500cf3 by a.bataev
Revert "[SLP]Allow masked gathers only if allowed by target."

This reverts commit b5f64768cfeecca16c7c9c53cbd97ac7289c43aa to fix
a compiler crash revealed by buildbots.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll (diff)
Commit 696becbd139e4bbbe304ce2231de0fb50f307b68 by flo
[Matrix] Remove bitcast when casting between matrices of the same size

In matrix type casts, we were doing bitcast when the matrices had the same size. This was incorrect and this patch fixes that.
Also added some new CodeGen tests for signed <-> usigned conversions

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D101754
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp (diff)
The file was modifiedclang/test/CodeGen/matrix-cast.c (diff)
Commit df280d1368e4881e0559bfd9a21dcbce5591759b by Louis Dionne
[libc++] Acquire locks on Ranges work

This commit acquires locks on a few elements of Ranges to make sure we don't
duplicate work.

Differential Revision: https://reviews.llvm.org/D101668
The file was modifiedlibcxx/docs/OneRangesProposalStatus.csv (diff)
Commit aad3113417369a16ef57291b46594a4e07014eae by Jon Roelofs
Partial revert of "Use std::foo_t rather than std::foo in LLVM." in googlebench

Since googlebench builds as c++11, the change there is incorrect and breaks the
googlebench build when the STL implementation is strict about std::enable_if_t
not being available in lesser c++ versions.

partial revert of: 1bd6123b781120c9190b9ba58b900cdcb718cdd1 (https://reviews.llvm.org/D74384)

Differential Revision: https://reviews.llvm.org/D101583
The file was modifiedllvm/utils/benchmark/src/sysinfo.cc (diff)
Commit 27b651ca473ba33999888cc302efb5f856ec7cea by Dávid Bolvanský
[InstCombine] cttz(zext(x)) -> zext(cttz(x)) if the 'ZeroIsUndef' parameter is 'true' (PR50172)

Zext doesn't change the number of trailing zeros, so narrow cttz(zext(x)) -> zext(cttz(x)) if the 'ZeroIsUndef' parameter is 'true'.

Proofs:
https://alive2.llvm.org/ce/z/o2dnjY

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

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D101582
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/cttz.ll (diff)
Commit fd18547e0721983dcb273670d16341921f831e50 by a.bataev
[SLP]Allow masked gathers only if allowed by target.

Need to check if target allows/supports masked gathers before trying to
estimate its cost, otherwise we may fail to vectorize some of the
patterns because of too pessimistic cost model.

Part of D57059.

Differential Revision: https://reviews.llvm.org/D101297
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629.ll (diff)
Commit c3d5f306e910788fcc4db8da9c9e819a0869264b by usx
[clangd] Find implementors only when index is present.

Differential Revision: https://reviews.llvm.org/D101750
The file was modifiedclang-tools-extra/clangd/XRefs.cpp (diff)
Commit 3ed6a6f6cdea9777d0e0175e22cea04e2c0c6d43 by anirudh_prasad
[SystemZ][z/OS] Enforce prefix-less registers in SystemZAsmParser for the HLASM dialect.

- Previously, https://reviews.llvm.org/D101308 removed prefixes from register while printing them out. This was especially needed for inline asm statements which used input/output operands.
- However, the backend SystemZAsmParser, accepts both prefixed registers and prefix-less registers as part of its implementation
- This patch aims to change that by ensuring that prefixed registers are only allowed for the ATT dialect.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D101665
The file was modifiedllvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp (diff)
Commit 039bdcc0a8a213faa8f32837c44b81ce41f41ab0 by gh
[MLIR] Canonicalize sub/add of a constant and another sub/add of a constant

Differential Revision: https://reviews.llvm.org/D101705
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp (diff)
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td (diff)
Commit f9c8ebdc30c2796a8d2b253d29f9a75f2e0f3cb0 by i
[ELF] Don't suggest alternative spelling of an empty name

Fix PR50111

Differential Revision: https://reviews.llvm.org/D101698
The file was modifiedlld/test/ELF/undef-not-suggest.test (diff)
The file was modifiedlld/ELF/Relocations.cpp (diff)
Commit 8d93d7ffedebc5f18dee22ba954d38a1d2d0affa by marek.kurdej+llvm.org
[clang-format] Add options to AllowShortIfStatementsOnASingleLine to apply to "else if" and "else".

This fixes the bug http://llvm.org/pr50019.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D100727
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/include/clang/Format/Format.h (diff)
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp (diff)
The file was modifiedclang/lib/Format/Format.cpp (diff)
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
Commit 966435daf96913d50130ea821675fd31a27c1a13 by david.green
[AArch64] Fold CSEL x, x, cc -> x

This can come up in rare situations, where a csel is created with
identical operands. These can be folded simply to the original value,
allowing the csel to be removed and further simplification to happen.

This patch also removes FCSEL as it is unused, not being produced
anywhere or lowered to anything.

Differential Revision: https://reviews.llvm.org/D101687
The file was modifiedllvm/test/CodeGen/AArch64/srem-seteq.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
Commit 9d669e859b8069bf154c6d9ec37cc6bc2304f4e9 by marek.kurdej+llvm.org
[docs] Bump the trunk major version to 13 and update copyright year.
The file was modifiedlibcxx/docs/conf.py (diff)
The file was modifiedclang/docs/conf.py (diff)
Commit 40f783434b0b3bc69c90317a9b8d2e6fb6d95606 by marek.kurdej+llvm.org
[docs] Automatically update copyright year in libc++.
The file was modifiedlibcxx/docs/conf.py (diff)
Commit d2a291a5f81af7c99351ecf619c7115ac652b115 by frgossen
[MLIR][Linalg] Lower `linalg.tiled_loop` to `scf` loops

Differential Revision: https://reviews.llvm.org/D101747
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir (diff)
Commit 31751ce1b9239d7aacac84864bf06c36ce888408 by marek.kurdej+llvm.org
[clang-format] Fix build on gcc < 7 introduced in rG8d93d7ff.

This fixes another bogus build error on gcc, e.g. https://lab.llvm.org/buildbot/#/builders/118/builds/2504.

/home/ssglocal/clang-cmake-x86_64-avx2-linux/clang-cmake-x86_64-avx2-linux-perf/llvm/clang/lib/Format/UnwrappedLineFormatter.cpp:424:42: error: binding ‘clang::format::FormatToken* const’ to reference of type ‘clang::format::FormatToken*&’ discards qualifiers
     auto IsElseLine = [&First = TheLine->First]() -> bool {
                                          ^
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp (diff)
Commit 5fa9d4163421304255d12498fd672e79893422a4 by clattner
[Support/Parallel] Add a special case for 0/1 items to llvm::parallel_for_each.

This avoids the non-trivial overhead of creating a TaskGroup in these degenerate
cases, but also exposes parallelism.  It turns out that the default executor
underlying TaskGroup prevents recursive parallelism - so an instance of a task
group being alive will make nested ones become serial.

This is a big issue in MLIR in some dialects, if they have a single instance of
an outer op (e.g. a firrtl.circuit) that has many parallel ops within it (e.g.
a firrtl.module).  This patch side-steps the problem by avoiding creating the
TaskGroup in the unneeded case.  See this issue for more details:
https://github.com/llvm/circt/issues/993

Note that this isn't a really great solution for the general case of nested
parallelism.  A redesign of the TaskGroup stuff would be better, but would be
a much more invasive change.

Differential Revision: https://reviews.llvm.org/D101699
The file was modifiedllvm/include/llvm/Support/Parallel.h (diff)
Commit b57d6fe42ed3bc6867fab25be0edcb124ea0629f by stellaraccident
[mlir][Python] Add casting constructor to Type and Attribute.

* This makes them consistent with custom types/attributes, whose constructors will do a type checked conversion. Of course, the base classes can represent everything so never error.
* More importantly, this makes it possible to subclass Type and Attribute out of tree in sensible ways.

Differential Revision: https://reviews.llvm.org/D101734
The file was modifiedmlir/test/Bindings/Python/ir_attributes.py (diff)
The file was modifiedmlir/lib/Bindings/Python/IRCore.cpp (diff)
The file was modifiedmlir/test/Bindings/Python/ir_types.py (diff)
Commit 92153575e64bf8e2e14ed236416bbb33cf7e2c2e by uday
[MLIR] Fix TestAffineDataCopy for test cases with no load ops

Add missing check in -test-affine-data-copy without which a test case
that has no affine.loads at all would crash this test pass. Fix two
clang-tidy warnings in the file while at this. (Not adding a test case
given the triviality.)

Differential Revision: https://reviews.llvm.org/D101719
The file was modifiedmlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp (diff)
Commit 9779b664b6a8d8a047d52061b23a4a3737446e45 by aeubanks
[docs][NewPM] Add section on analyses

Reviewed By: asbirlea, ychen

Differential Revision: https://reviews.llvm.org/D100912
The file was modifiedllvm/docs/NewPassManager.rst (diff)
Commit be8e2801a4f305213fef99ae3f7e80cfeb2a7c08 by thomasraoux
[mlir][vector][NFC] split TransposeOp lowerning out of contractLowering

Move TransposeOp lowering in its own populate function as in some cases
it is better to keep it during ContractOp lowering to better
canonicalize it rather than emiting scalar insert/extract.

Differential Revision: https://reviews.llvm.org/D101647
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.h (diff)
The file was modifiedmlir/test/lib/Transforms/TestConvVectorization.cpp (diff)
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp (diff)
Commit 96a7900eb065385e1f61d926affaed13af446962 by benny.kra
[mlir] Fix multidimensional lowering from std.select to llvm.select

The converter assumed that all operands have the same type, that's not
true for select.

Differential Revision: https://reviews.llvm.org/D101767
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp (diff)
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir (diff)
Commit a27ca15dd08342b199e2feb5ae896475fd90a518 by georgakoudis1
[OpenMP] Fix non-determinism in clang task codegen

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101739
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h (diff)
Commit 89a94be16b01154e421d86d2e15e48d87b8d07db by Stanislav.Mekhanoshin
[AMDGPU] Change FLAT SADDR to VADDR form in moveToVALU

Instead of legalizing saddr operand with a readfirstlane
when address is moved from SGPR to VGPR we can just
change the opcode.

Differential Revision: https://reviews.llvm.org/D101405
The file was addedllvm/test/CodeGen/AMDGPU/global-load-saddr-to-vaddr.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h (diff)
The file was addedllvm/test/CodeGen/AMDGPU/move-load-addr-to-valu.mir
Commit 62e4dca94e25668c9f70abc7e524328fd5c6d5c9 by mascasa
[libFuzzer] Fix off-by-one error in ApplyDictionaryEntry

In the overwrite branch of MutationDispatcher::ApplyDictionaryEntry in
FuzzerMutate.cpp, the index Idx at which W.size() bytes are overwritten
with the word W is chosen uniformly at random in the interval
[0, Size - W.size()). This means that Idx + W.size() will always be
strictly less than Size, i.e., the last byte of the current unit will
never be overwritten.

This is fixed by adding 1 to the exclusive upper bound.

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

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101625
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.cpp (diff)
Commit ac512890b47032fcee167a702ab14da59137723c by mascasa
[libFuzzer] Deflake entropic exec-time test.
The file was modifiedcompiler-rt/test/fuzzer/EntropicScalePerExecTimeTest.cpp (diff)
The file was modifiedcompiler-rt/test/fuzzer/entropic-scale-per-exec-time.test (diff)
Commit 7417541fd8d764c42e5c7f3647e73ae6913b0fd7 by thomasraoux
[mlir][vector] Add canonicalization for extract/insert -> shapecast

Differential Revision: https://reviews.llvm.org/D101643
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp (diff)
Commit f44c76d6e919641655615d62ea8b432175571a0b by thomasraoux
[mlir][vector] Extend vector transfer unrolling to support permutations and broadcast

Differential Revision: https://reviews.llvm.org/D101637
The file was modifiedmlir/test/Dialect/Vector/vector-transfer-unroll.mlir (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp (diff)
Commit 64a390c1bc75eb55eeed3061df15dc581fd563e6 by Duncan P. N. Exon Smith
Modules: Remove an extra early return, NFC

Remove an early return from an `else` block that's immediately followed
by an equivalent early return after the `else` block.

Differential Revision: https://reviews.llvm.org/D101671
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp (diff)
Commit d98e5e02adb5c37f892c51a6f1264179c5d32531 by zarko
[AIX] Remove unused vector registers from allocation order in the default AltiVec ABI

The previous implementation of the default AltiVec ABI marked registers V20-V31
as reserved.  This failed to prevent reserved VFRC registers being allocated.
In this patch instead of marking the registers reserved we remove unallowed
registers from the allocation order completely.

This is a slight rework of an implementation by @nemanjai

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D100050
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-dfltabi-rsrvd-reg.ll
Commit 4d6ebe8ac07fc63ae17eb1024c90ca1ad9a0fa81 by Stanislav.Mekhanoshin
[AMDGPU] Change FLAT Scratch SADDR to VADDR form in moveToVALU

Extend the legalization of global SADDR loads and stores
with changing to VADDR to the FLAT scratch instructions.

Differential Revision: https://reviews.llvm.org/D101408
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/move-load-addr-to-valu.mir (diff)
Commit d51275cbc071e318df94d7f5a469b17b8960dab0 by thomasraoux
[mlir][spirv] Add support to convert std.splat op

Differential Revision: https://reviews.llvm.org/D101511
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp (diff)
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir (diff)
Commit 1d299252dd52ade0e87485be29443aa69be9e910 by paul.robinson
[DebuggerTuning] Move a comment to a more useful place.

The comment about how to make use of debugger tuning within DwarfDebug
really belongs inside the DwarfDebug declaration, where it will be
easier to find.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h (diff)
The file was modifiedllvm/include/llvm/Target/TargetOptions.h (diff)
Commit 49e7be2e5ba1759ae9d4ce9843ce2467cf7823a5 by Louis Dionne
[libc++] Disentangle std::pointer_safety

This patch gets rid of technical debt around std::pointer_safety which,
I claim, is entirely unnecessary. I don't think anybody has used
std::pointer_safety in actual code because we do not implement the
underlying garbage collection support. In fact, P2186 even proposes
removing these facilities entirely from a future C++ version. As such,
I think it's entirely fine to get rid of complex workarounds whose goals
were to avoid breaking the ABI back in 2017.

I'm putting this up both to get reviews and to discuss this proposal for
a breaking change. I think we should be comfortable with making these
tiny breaks if we are confident they won't hurt anyone, which I'm fairly
confident is the case here.

Differential Revision: https://reviews.llvm.org/D100410
The file was modifiedlibcxx/test/std/utilities/memory/util.dynamic.safety/declare_no_pointers.pass.cpp (diff)
The file was modifiedlibcxx/docs/ReleaseNotes.rst (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.dynamic.safety/declare_reachable.pass.cpp (diff)
The file was modifiedlibcxx/include/__config (diff)
The file was modifiedlibcxx/include/__memory/pointer_safety.h (diff)
The file was removedlibcxx/test/libcxx/utilities/memory/util.dynamic.safety/get_pointer_safety_new_abi.pass.cpp
The file was modifiedlibcxx/include/memory (diff)
The file was removedlibcxx/test/libcxx/utilities/memory/util.dynamic.safety/get_pointer_safety_cxx03.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.dynamic.safety/get_pointer_safety.pass.cpp (diff)
The file was modifiedlibcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.no_new_in_libcxx.abilist (diff)
The file was modifiedlibcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.no_new_in_libcxx.abilist (diff)
The file was modifiedlibcxx/src/memory.cpp (diff)
Commit 9f3f6d7bd81ea26af9bcc2a2ac71a08affa341d4 by stellaraccident
Move MLIR python sources to mlir/python.

* NFC but has some fixes for CMake glitches discovered along the way (things not cleaning properly, co-mingled depends).
* Includes previously unsubmitted fix in D98681 and a TODO to fix it more appropriately in a smaller followup.

Differential Revision: https://reviews.llvm.org/D101493
The file was addedmlir/python/mlir/conversions/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/runtime/__init__.py
The file was removedmlir/lib/Bindings/Python/GPUOps.td
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/emit_structured_generic.py
The file was removedmlir/test/Bindings/Python/ir_attributes.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/python_test.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/memref.py
The file was addedmlir/test/python/dialects/ods_helpers.py
The file was addedmlir/python/mlir/dialects/BuiltinOps.td
The file was addedmlir/python/mlir/dialects/linalg/opdsl/dump_oplib.py
The file was addedmlir/test/python/ir/debug.py
The file was addedmlir/python/mlir/dialects/tensor.py
The file was addedmlir/python/mlir/dialects/_builtin_ops_ext.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/__init__.py
The file was addedmlir/python/mlir/dialects/TensorOps.td
The file was addedmlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
The file was addedmlir/python/mlir/dialects/python_test.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/affine.py
The file was addedmlir/test/python/dialects/gpu.py
The file was addedmlir/test/python/ir/attributes.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/test_core_named_ops.py
The file was addedmlir/test/python/ir/location.py
The file was modifiedmlir/docs/Bindings/Python.md (diff)
The file was removedmlir/lib/Bindings/Python/mlir/dialects/builtin.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
The file was addedmlir/test/python/dialects/linalg/opdsl/assignments.py
The file was removedmlir/test/Bindings/Python/CMakeLists.txt
The file was addedmlir/test/python/dialects/linalg/opsrun.py
The file was removedmlir/lib/Bindings/Python/ShapeOps.td
The file was addedmlir/test/python/dialects/linalg/opdsl/test_core_named_ops.py
The file was removedmlir/cmake/modules/AddMLIRPythonExtension.cmake
The file was addedmlir/test/python/ir/context_lifecycle.py
The file was modifiedmlir/lib/Bindings/Python/CMakeLists.txt (diff)
The file was removedmlir/lib/Bindings/Python/mlir/dialects/gpu/__init__.py
The file was addedmlir/test/python/dialects/linalg/opdsl/emit_structured_generic.py
The file was removedmlir/lib/Bindings/Python/TensorOps.td
The file was addedmlir/test/python/dialects/async_dialect.py
The file was addedmlir/test/python/dialects/builtin.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/assignments.py
The file was removedmlir/test/Bindings/Python/context_lifecycle.py
The file was addedmlir/python/mlir/_dlloader.py
The file was addedmlir/test/python/dialects/linalg/ops.py
The file was removedmlir/test/Bindings/Python/ir_value.py
The file was addedmlir/python/mlir/_cext_loader.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
The file was addedmlir/python/mlir/dialects/AsyncOps.td
The file was removedmlir/test/Bindings/Python/ir_types.py
The file was removedmlir/test/Bindings/Python/ir_affine_map.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/config.py
The file was removedmlir/test/Bindings/Python/python_test_ops.td
The file was addedmlir/python/mlir/dialects/std.py
The file was addedmlir/test/python/ir/dialects.py
The file was removedmlir/lib/Bindings/Python/BuiltinOps.td
The file was removedmlir/lib/Bindings/Python/AsyncOps.td
The file was removedmlir/lib/Bindings/Python/mlir/dialects/async_dialect/__init__.py
The file was addedmlir/test/python/ir/builtin_types.py
The file was addedmlir/test/python/dialects/memref.py
The file was addedmlir/python/mlir/dialects/CMakeLists.txt
The file was addedmlir/python/mlir/dialects/ShapeOps.td
The file was addedmlir/test/python/lit.local.cfg
The file was removedmlir/lib/Bindings/Python/mlir/dialects/gpu/passes/__init__.py
The file was addedmlir/test/python/ir/insertion_point.py
The file was removedmlir/lib/Bindings/Python/mlir/execution_engine.py
The file was removedmlir/test/Bindings/Python/dialects.py
The file was removedmlir/lib/Bindings/Python/mlir/passmanager.py
The file was addedmlir/test/python/ir/operation.py
The file was removedmlir/lib/Bindings/Python/mlir/runtime/np_to_memref.py
The file was addedmlir/python/mlir/runtime/np_to_memref.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/yaml_helper.py
The file was removedmlir/test/Bindings/Python/dialects/memref.py
The file was addedmlir/python/mlir/dialects/LinalgOps.td
The file was addedmlir/python/mlir/dialects/async_dialect/passes/__init__.py
The file was addedmlir/test/python/ir/affine_map.py
The file was addedmlir/python/CMakeLists.txt
The file was addedmlir/python/mlir/dialects/_linalg_ops_ext.py
The file was removedmlir/lib/Bindings/Python/mlir/conversions/__init__.py
The file was addedmlir/test/python/ir/affine_expr.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/__init__.py
The file was removedmlir/test/Bindings/Python/dialects/builtin.py
The file was addedmlir/python/mlir/dialects/async_dialect/__init__.py
The file was addedmlir/test/python/dialects/python_test.py
The file was addedmlir/python/mlir/passmanager.py
The file was removedmlir/test/Bindings/Python/debug.py
The file was removedmlir/test/Bindings/Python/insertion_point.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/comprehension.py
The file was addedmlir/test/python/ir/context_managers.py
The file was addedmlir/test/python/ir/integer_set.py
The file was removedmlir/test/Bindings/Python/execution_engine.py
The file was addedmlir/python/.style.yapf
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/yaml_helper.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/ops/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/affine.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/shape.py
The file was removedmlir/test/Bindings/Python/dialects/python_test.py
The file was removedmlir/lib/Bindings/Python/.style.yapf
The file was addedmlir/test/python/ir/array_attributes.py
The file was addedmlir/python/mlir/ir.py
The file was addedmlir/python/requirements.txt
The file was modifiedmlir/cmake/modules/CMakeLists.txt (diff)
The file was removedmlir/lib/Bindings/Python/mlir/dialects/async_dialect/passes/__init__.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/std.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/doctests.py
The file was modifiedmlir/CMakeLists.txt (diff)
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/passes/__init__.py
The file was addedmlir/python/mlir/execution_engine.py
The file was addedmlir/python/mlir/runtime/__init__.py
The file was removedmlir/test/Bindings/Python/context_managers.py
The file was modifiedmlir/test/CMakeLists.txt (diff)
The file was addedmlir/test/python/dialects/linalg/opdsl/lit.local.cfg
The file was addedmlir/python/mlir/dialects/linalg/passes/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/transforms/__init__.py
The file was addedmlir/test/python/CMakeLists.txt
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/emitter.py
The file was removedmlir/lib/Bindings/Python/requirements.txt
The file was addedmlir/python/mlir/dialects/gpu/passes/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py
The file was addedmlir/python/mlir/dialects/shape.py
The file was addedmlir/test/python/dialects/linalg/opdsl/doctests.py
The file was removedmlir/test/Bindings/Python/ir_module.py
The file was addedmlir/python/mlir/dialects/MemRefOps.td
The file was removedmlir/lib/Bindings/Python/MemRefOps.td
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/lit.local.cfg
The file was removedmlir/lib/Bindings/Python/mlir/dialects/_linalg_ops_ext.py
The file was removedmlir/lib/Bindings/Python/StandardOps.td
The file was addedmlir/test/python/ir/module.py
The file was removedmlir/test/Bindings/Python/ir_integer_set.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/tensor.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/shape_maps_iteration.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/dsl.py
The file was removedmlir/lib/Bindings/Python/mlir/_dlloader.py
The file was removedmlir/test/Bindings/CMakeLists.txt
The file was removedmlir/test/Bindings/Python/ir_location.py
The file was addedmlir/test/python/pass_manager.py
The file was addedmlir/test/python/dialects/linalg/opdsl/interfaces.py
The file was addedmlir/python/mlir/dialects/builtin.py
The file was addedmlir/cmake/modules/AddMLIRPython.cmake
The file was removedmlir/test/Bindings/Python/ir_operation.py
The file was addedmlir/python/mlir/transforms/__init__.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/config.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/ops.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/__init__.py
The file was addedmlir/test/python/ir/value.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/opsrun.py
The file was addedmlir/python/mlir/dialects/gpu/__init__.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
The file was removedmlir/test/Bindings/Python/ods_helpers.py
The file was addedmlir/python/mlir/dialects/linalg/opdsl/__init__.py
The file was removedmlir/test/Bindings/Python/ir_array_attributes.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/_builtin_ops_ext.py
The file was addedmlir/python/mlir/dialects/GPUOps.td
The file was addedmlir/python/mlir/dialects/linalg/opdsl/lang/types.py
The file was removedmlir/test/Bindings/Python/pass_manager.py
The file was addedmlir/test/python/dialects/linalg/opdsl/shape_maps_iteration.py
The file was addedmlir/python/mlir/dialects/memref.py
The file was addedmlir/python/mlir/dialects/linalg/__init__.py
The file was removedmlir/test/Bindings/Python/dialects/async_dialect.py
The file was addedmlir/python/mlir/dialects/StandardOps.td
The file was addedmlir/test/python/execution_engine.py
The file was removedmlir/lib/Bindings/Python/mlir/dialects/_ods_common.py
The file was removedmlir/lib/Bindings/Python/mlir/ir.py
The file was removedmlir/test/Bindings/Python/lit.local.cfg
The file was removedmlir/lib/Bindings/Python/LinalgOps.td
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/dump_oplib.py
The file was removedmlir/test/Bindings/Python/.style.yapf
The file was removedmlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/types.py
The file was removedmlir/test/Bindings/Python/dialects/gpu.py
The file was addedmlir/python/mlir/dialects/_ods_common.py
The file was removedmlir/test/Bindings/Python/dialects/linalg/opdsl/interfaces.py
The file was removedmlir/lib/Bindings/Python/mlir/_cext_loader.py
The file was removedmlir/test/Bindings/Python/ir_affine_expr.py
The file was addedmlir/test/python/python_test_ops.td
Commit 84f0bb619507caf7c4809400138dae1da578282a by Louis Dionne
[libc++] Fix template instantiation depth issues with std::tuple

This fixes the issue by implementing _And using the short-circuiting
SFINAE trick that we previously used only in std::tuple. One thing we
could look into is use the naive recursive implementation for disjunctions
with a small number of arguments, and use that trick with larger numbers
of arguments. It might be the case that the constant overhead for setting
up the SFINAE trick makes it only worth doing for larger packs, but that's
left for further work.

This problem was raised in https://reviews.llvm.org/D96523.

Differential Revision: https://reviews.llvm.org/D101661
The file was modifiedlibcxx/include/type_traits (diff)
The file was addedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/recursion_depth.pass.cpp
Commit 39bbfb77264a4a7a216921c2b70a30ba0f27eb56 by Louis Dionne
[libc++] Use the internal Lit shell to run the tests

This makes the libc++ tests more portable -- almost all of them should
now work on Windows, except for some tests that assume a shell is
available on the target. We should probably provide a way to exclude
those anyway for the purpose of running tests on embedded targets.

Differential Revision: https://reviews.llvm.org/D89495
The file was modifiedlibcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-compile-flags.sh.cpp (diff)
The file was modifiedlibcxx/utils/libcxx/test/format.py (diff)
The file was modifiedlibcxx/test/libcxx/selftest/sh.cpp/run-success.sh.cpp (diff)
The file was modifiedlibcxx/test/libcxx/selftest/sh.cpp/run-error.sh.cpp (diff)
Commit e8f7241e0b48d557406ece7e0c2f273eea2d7e39 by 31459023+hctim
[scudo] Don't track free/use stats for transfer batches.

The Scudo C unit tests are currently non-hermetic. In particular, adding
or removing a transfer batch is a global state of the allocator that
persists between tests. This can cause flakiness in
ScudoWrappersCTest.MallInfo, because the creation or teardown of a batch
causes mallinfo's uordblks or fordblks to move up or down by the size of
a transfer batch on malloc/free.

It's my opinion that uordblks and fordblks should track the statistics
related to the user's malloc() and free() usage, and not the state of
the internal allocator structures. Thus, excluding the transfer batches
from stat collection does the trick and makes these tests pass.

Repro instructions of the bug:
1. ninja ./projects/compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest-x86_64-Test
2. ./projects/compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest-x86_64-Test --gtest_filter=ScudoWrappersCTest.MallInfo

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D101653
The file was modifiedcompiler-rt/lib/scudo/standalone/local_cache.h (diff)
Commit ca02fab7e7b677f77e2c6e3dec172a3bb0a0b1c0 by anirudh_prasad
[AsmParser][SystemZ][z/OS] Implement HLASM location counter syntax ("*") for Z PC-relative instructions.

- This patch attempts to implement the location counter syntax (*) for the HLASM variant for PC-relative instructions.
- In the HLASM variant, for purely constant relocatable values, we expect a * token preceding it, with special support for " *" which is parsed as "<pc-rel-insn 0>"
- For combinations of absolute values and relocatable values, we don't expect the "*" preceding the token.

When you have a " * "  what’s accepted is:

```
*<space>.*{.*} -> <pc-rel-insn> 0
*[+|-][constant-value] -> <pc-rel-insn> [+|-]constant-value
```

When you don’t have a " * " what’s accepted is:

```
brasl  1,func           is allowed (MCSymbolRef type)
brasl  1,func+4         is allowed (MCBinary type)
brasl  1,4+func         is allowed (MCBinary type)
brasl  1,-4+func        is allowed (MCBinary type)
brasl  1,func-4         is allowed (MCBinary type)
brasl  1,*func          is not allowed (* cannot be used for non-MCConstantExprs)
brasl  1,*+func         is not allowed (* cannot be used for non-MCConstantExprs)
brasl  1,*+func+4       is not allowed (* cannot be used for non-MCConstantExprs)
brasl  1,*+4+func       is not allowed (* cannot be used for non-MCConstantExprs)
brasl  1,*-4+8+func     is not allowed (* cannot be used for non-MCConstantExprs)
```

Reviewed By: Kai

Differential Revision: https://reviews.llvm.org/D100987
The file was modifiedllvm/include/llvm/MC/MCAsmInfo.h (diff)
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp (diff)
The file was modifiedllvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp (diff)
The file was modifiedllvm/test/MC/AsmParser/directive_rept-diagnostics.s (diff)
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp (diff)
The file was modifiedllvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp (diff)
Commit ec339163a7a5bad134eef869356b359cc44dfc97 by frgossen
[MLIR][Linalg] Lower `linalg.tiled_loop` in a separate pass

Add dedicated pass `convert-linalg-tiled-loops-to-scf` to lower
`linalg.tiled_loop`s.

Differential Revision: https://reviews.llvm.org/D101768
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir (diff)
The file was addedmlir/test/Dialect/Linalg/tiled-loops.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td (diff)
Commit 456efbc0f14d8d145d19eaa046f3c1b49b1bf4c8 by frgossen
[MLIR][Linalg] Avoid forward declaration in `Loops.cpp`

Differential Revision: https://reviews.llvm.org/D101771
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp (diff)
Commit 9621c1ef56c568ffe2db903af2f61137a4453430 by thomasraoux
[mlir][linalg] Fix vectorization bug in vector transfer indexing map calculation

The current implementation had a bug as it was relying on the target vector
dimension sizes to calculate where to insert broadcast. If several dimensions
have the same size we may insert the broadcast on the wrong dimension. The
correct broadcast cannot be inferred from the type of the source and
destination vector.

Instead when we want to extend transfer ops we calculate an "inverse" map to the
projected permutation and insert broadcast in place of the projected dimensions.

Differential Revision: https://reviews.llvm.org/D101738
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir (diff)
The file was modifiedmlir/include/mlir/IR/AffineMap.h (diff)
The file was modifiedmlir/lib/IR/AffineMap.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp (diff)
Commit 753185031d939711f8733639a77a6fdc3bdbad22 by tomas.matheson
[CodeGen][ARM] Implement atomicrmw as pseudo operations at -O0

atomicrmw instructions are expanded by AtomicExpandPass before register allocation
into cmpxchg loops. Register allocation can insert spills between the exclusive loads
and stores, which invalidates the exclusive monitor and can lead to infinite loops.

To avoid this, reimplement atomicrmw operations as pseudo-instructions and expand them
after register allocation.

Floating point legalisation:
f16 ATOMIC_LOAD_FADD(*f16, f16) is legalised to
f32 ATOMIC_LOAD_FADD(*i16, f32) and then eventually
f32 ATOMIC_LOAD_FADD_16(*i16, f32)

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

Originally submitted as 3338290c187b254ad071f4b9cbf2ddb2623cefc0.
Reverted in c7df6b1223d88dfd15248fbf7b7b83dacad22ae3.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td (diff)
The file was modifiedllvm/test/Transforms/AtomicExpand/ARM/atomicrmw-fp.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was addedllvm/test/CodeGen/ARM/atomicrmw_exclusive_monitor_all.ll
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp (diff)
Commit 63f8226f259a03d7a56403be496724b77314e19a by clementval
[OpenMPIRBuilder] Add createOffloadMaptypes and createOffloadMapnames functions

Add function to create the offload_maptypes and the offload_mapnames globals. These two functions
are used in clang. They will be used in the Flang/MLIR lowering as well.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D101503
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp (diff)
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp (diff)
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h (diff)
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp (diff)
Commit fd15e2b825f26dd7eac3b4a52aab36c88e52850a by ravishankarm
[mlir][Linalg] Use rank-reduced versions of subtensor and subtensor insert when possible.

Convert subtensor and subtensor_insert operations to use their
rank-reduced versions to drop unit dimensions.

Differential Revision: https://reviews.llvm.org/D101495
The file was modifiedmlir/test/Dialect/MemRef/fold-subview-ops.mlir (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp (diff)
The file was modifiedmlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt (diff)
The file was modifiedmlir/include/mlir/Dialect/MemRef/Transforms/Passes.td (diff)
The file was modifiedmlir/lib/Dialect/MemRef/Transforms/FoldSubViewOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir (diff)
Commit 15a42339fe5f5daa86651e181df9a4f89d3ededf by spatel
[ValueTracking] soften assert for invertible recurrence matching

There's a TODO comment in the code and discussion in D99912
about generalizing this, but I wasn't sure how to implement that,
so just going with a potential minimal fix to avoid crashing.

The test is a reduction beyond useful code (there's no user of
%user...), but it is based on https://llvm.org/PR50191, so this
is asserting on real code.

Differential Revision: https://reviews.llvm.org/D101772
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/icmp.ll (diff)
Commit cd460c4d11eeeca485353ad6a1961b543980b664 by tlively
[WebAssembly] Fixup order of ins variables for table instructions

WebAssembly instruction arguments should have their arguments ordered from
the deepest to the shallowest on the stack.
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td (diff)
Commit ea817d79be2686d1d5fad04d429dbe392ee22b5f by tejohnson
[SimplifyCFG] Look for control flow changes instead of side effects.

When passingValueIsAlwaysUndefined scans for an instruction between an
inst with a null or undef argument and its first use, it was checking
for instructions that may have side effects, which is a superset of the
instructions it intended to find (as per the comments, control flow
changing instructions that would prevent reaching the uses). Switch
to using isGuaranteedToTransferExecutionToSuccessor() instead.

Without this change, when enabling -fwhole-program-vtables, which causes
assumes to be inserted by clang, we can get different simplification
decisions. In particular, when building with instrumentation FDO it can
affect the optimizations decisions before FDO matching, leading to some
mismatches.

I had to modify d83507-knowledge-retention-bug.ll since this fix enables
more aggressive optimization of that code such that it no longer tested
the original bug it was meant to test. I removed the undef which still
provokes the original failure (confirmed by temporarily reverting the
fix) and also changed it to just invoke the passes of interest to narrow
the testing.

Similarly I needed to adjust code for UnreachableEliminate.ll to avoid
an undef which was causing the function body to get optimized away with
this fix.

Differential Revision: https://reviews.llvm.org/D101507
The file was modifiedllvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/while-loops.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
The file was modifiedllvm/test/Transforms/PhaseOrdering/d83507-knowledge-retention-bug.ll (diff)
Commit fa3e26266cd499856c573b68bee97fefc07f24ad by cjdb
[libcxx][iterator][ranges] adds `forward_iterator` and `forward_range`

Implements parts of:
    * P0896R4 The One Ranges Proposal`

Depends on D100271.

Differential Revision: https://reviews.llvm.org/D100275
The file was modifiedlibcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__iterator/concepts.h (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.set/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.refinements/forward_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/ranges (diff)
The file was modifiedlibcxx/test/std/ranges/range.refinements/subsumption.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/iterator (diff)
The file was modifiedlibcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__ranges/concepts.h (diff)
The file was removedlibcxx/test/libcxx/iterators/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istreambuf.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
Commit 9d86095ff83b01e6c9c7d21e8efaacba03ba71e2 by tomas.matheson
Revert "[CodeGen][ARM] Implement atomicrmw as pseudo operations at -O0"

This reverts commit 753185031d939711f8733639a77a6fdc3bdbad22.
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td (diff)
The file was removedllvm/test/CodeGen/ARM/atomicrmw_exclusive_monitor_all.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h (diff)
The file was modifiedllvm/test/Transforms/AtomicExpand/ARM/atomicrmw-fp.ll (diff)
Commit 2fec8860d8aef7ba74064de622fe9ce29f3b19fb by i
[sanitizer] Set IndentPPDirectives: AfterHash in .clang-format

Code patterns like this are common, `#` at the line beginning
(https://google.github.io/styleguide/cppguide.html#Preprocessor_Directives),
one space indentation for if/elif/else directives.
```
#if SANITIZER_LINUX
# if defined(__aarch64__)
# endif
#endif
```

However, currently clang-format wants to reformat the code to
```
#if SANITIZER_LINUX
#if defined(__aarch64__)
#endif
#endif
```

This significantly harms readability in my review.  Use `IndentPPDirectives:
AfterHash` to defeat the diagnostic. clang-format will now suggest:

```
#if SANITIZER_LINUX
#  if defined(__aarch64__)
#  endif
#endif
```

Unfortunately there is no clang-format option using indent with 1 for
just preprocessor directives. However, this is still one step forward
from the current behavior.

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D100238
The file was modifiedcompiler-rt/lib/asan/.clang-format (diff)
The file was modifiedcompiler-rt/test/.clang-format (diff)
The file was modifiedcompiler-rt/lib/safestack/.clang-format (diff)
The file was modifiedcompiler-rt/lib/tsan/.clang-format (diff)
The file was modifiedcompiler-rt/lib/hwasan/.clang-format (diff)
The file was modifiedcompiler-rt/lib/msan/.clang-format (diff)
The file was modifiedcompiler-rt/lib/interception/.clang-format (diff)
The file was modifiedcompiler-rt/lib/lsan/.clang-format (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/.clang-format (diff)
The file was modifiedcompiler-rt/lib/dfsan/.clang-format (diff)
Commit ab40c027f0ce9492919a72ad339de40bdb84b354 by dimitry
[MC][ELF] Work around R_MIPS_LO16 relocation handling problem

This fixes PR49821, and avoids "ld.lld: error: test.o:(.rodata.str1.1):
offset is outside the section" errors when linking MIPS objects with
negative R_MIPS_LO16 implicit addends.

ld.lld handles R_MIPS_HI16/R_MIPS_LO16 separately, not as a whole, so it
doesn't know that an R_MIPS_HI16 with implicit addend 1 and an
R_MIPS_LO16 with implicit addend -32768 represents 32768, which is in
range of a MergeInputSection. We could introduce a new RelExpr member
(like R_RISCV_PC_INDIRECT for R_RISCV_PCREL_HI20 / R_RISCV_PCREL_LO12)
but the complexity is unnecessary given that GNU as keeps the original
symbol for this case as well.

Reviewed By: atanasyan, MaskRay

Differential Revision: https://reviews.llvm.org/D101773
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp (diff)
The file was addedllvm/test/MC/Mips/mips_lo16.s
Commit e1babfc2233bf725b7c3c4e1a5af2ba79bfaddd5 by dimitry
Revert "[MC][ELF] Work around R_MIPS_LO16 relocation handling problem"

This reverts commit ab40c027f0ce9492919a72ad339de40bdb84b354.

Some additional test cases are influenced by the workaround, and I need
to do a complete test run to identify and check them all.
The file was removedllvm/test/MC/Mips/mips_lo16.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp (diff)
Commit 90d18e106be252669659e2573cc3e6f2ea29a452 by ajcbik
[mlir][sparse] fixed typo: sparse -> sparse_tensor

Test passes either way, but this is full name of dialect

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D101774
The file was modifiedmlir/test/mlir-opt/commandline.mlir (diff)
Commit 9c5d86aac505228eddbfda86aa558467d0b7c5e6 by cjdb
[libcxx][iterator][ranges] adds `bidirectional_iterator` and `bidirectional_range`

Implements parts of:
    * P0896R4 The One Ranges Proposal`

Depends on D100275.

Differential Revision: https://reviews.llvm.org/D100278
The file was modifiedlibcxx/include/iterator (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.set/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/ranges (diff)
The file was modifiedlibcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__ranges/concepts.h (diff)
The file was modifiedlibcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.refinements/bidirectional_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__iterator/concepts.h (diff)
The file was modifiedlibcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/ranges/range.refinements/subsumption.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
Commit a6e09391bbe7cb42d591f2a8c169cf4e8980e121 by ravishankarm
[mlir][Linalg] Add a utility method to get reassociations maps for reshape.

Given the source and destination shapes, if they are static, or if the
expanded/collapsed dimensions are unit-extent, it is possible to
compute the reassociation maps that can be used to reshape one type
into another. Add a utility method to return the reassociation maps
when possible.

This utility function can be used to fuse a sequence of reshape ops,
given the type of the source of the producer and the final result
type. This pattern supercedes a more constrained folding pattern added
to DropUnitDims pass.

Differential Revision: https://reviews.llvm.org/D101343
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h (diff)
The file was modifiedmlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir (diff)
Commit 1c1406f24d8b1c8ebec76c516ea969072d24cc75 by aheejin
[WebAssembly] Reenable end-to-end test in wasm-eh.cpp

This was temporarily disabled while we were reimplementing the new spec.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D101735
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp (diff)
Commit 08c08577f94fd7efd2a670d0e5c3c6f72882fa0a by Dávid Bolvanský
[InstCombine] cttz(sext(x)) -> cttz(zext(x))

```

----------------------------------------
define i32 @src(i16 %x, i1 %b) {
%0:
  %z = sext i16 %x to i32
  %p = cttz i32 %z, %b
  ret i32 %p
}
=>
define i32 @tgt(i16 %x, i1 %b) {
%0:
  %z = zext i16 %x to i32
  %p = cttz i32 %z, %b
  ret i32 %p
}
Transformation seems to be correct!
```

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

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D101764
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/cttz.ll (diff)
Commit 2d5d720df0bba25f1aa2cea973d3d38dc5afac45 by Jonas Devlieghere
[debugserver] Include LLDB_VERSION_SUFFIX in debugserver version

The lack of a dot before the suffix is intentional, as the suffix itself
includes a dot or dash.

Differential revision: https://reviews.llvm.org/D101655
The file was modifiedlldb/tools/debugserver/source/debugserver_vers.c.in (diff)
Commit 8a40bf6d210fd2b5180841579d412826c381fb2b by efriedma
[AArch64][SVE] More unpredicated ld1/st1 patterns for reg+reg addressing modes

In some cases, we can improve the generated code by using a load with
the "wrong" element width: in particular, using ld1b/st1b when we see
reg+reg without a shift.

Differential Revision: https://reviews.llvm.org/D100527
The file was modifiedllvm/test/CodeGen/AArch64/sve-ld1-addressing-mode-reg-reg.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td (diff)
The file was modifiedllvm/test/CodeGen/AArch64/named-vector-shuffles-sve.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sve-st1-addressing-mode-reg-reg.ll (diff)
Commit 1c0374e770956037764f9cae8a5e35ec7cefcdc5 by ezhulenev
[mlir] Add polynomial approximation for math::Log1p

This approximation matches the one in Eigen.

```
name                      old cpu/op  new cpu/op  delta
BM_mlir_Log1p_f32/10      83.2ns ± 7%  34.8ns ± 5%  -58.19%    (p=0.000 n=84+71)
BM_mlir_Log1p_f32/100      664ns ± 4%   129ns ± 4%  -80.57%    (p=0.000 n=82+82)
BM_mlir_Log1p_f32/1k      6.75µs ± 4%  0.81µs ± 3%  -88.07%    (p=0.000 n=88+79)
BM_mlir_Log1p_f32/10k     76.5µs ± 3%   7.8µs ± 4%  -89.84%    (p=0.000 n=80+80)
BM_eigen_s_Log1p_f32/10   70.1ns ±14%  72.6ns ±14%   +3.49%  (p=0.000 n=116+112)
BM_eigen_s_Log1p_f32/100   706ns ± 9%   717ns ± 3%   +1.60%   (p=0.018 n=117+80)
BM_eigen_s_Log1p_f32/1k   8.26µs ± 1%  8.26µs ± 1%     ~       (p=0.567 n=84+86)
BM_eigen_s_Log1p_f32/10k  92.1µs ± 5%  92.6µs ± 6%   +0.60%  (p=0.047 n=115+115)
BM_eigen_v_Log1p_f32/10   31.8ns ±24%  34.9ns ±17%   +9.72%    (p=0.000 n=98+96)
BM_eigen_v_Log1p_f32/100   169ns ±10%   177ns ± 5%   +4.66%   (p=0.000 n=119+81)
BM_eigen_v_Log1p_f32/1k   1.42µs ± 4%  1.46µs ± 8%   +2.70%   (p=0.000 n=93+113)
BM_eigen_v_Log1p_f32/10k  14.4µs ± 5%  14.9µs ± 8%   +3.61%  (p=0.000 n=115+110)
```

Reviewed By: ezhulenev, ftynse

Differential Revision: https://reviews.llvm.org/D101765
The file was modifiedmlir/test/mlir-cpu-runner/math_polynomial_approx.mlir (diff)
The file was modifiedmlir/test/Dialect/Math/polynomial-approximation.mlir (diff)
The file was modifiedmlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp (diff)
Commit 404fa9a6cf7cd3c16ef9c3fc276d8f193e3c94dc by georgakoudis1
[Utils] Add prof metadata to matched unnamed values

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101742
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.expected (diff)
The file was modifiedllvm/utils/UpdateTestChecks/common.py (diff)
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll (diff)
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.globals.expected (diff)
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.expected (diff)
Commit 88ca010cc1854059c9e4a668750cd981e44238bc by Dávid Bolvanský
[InstCombine] Added tests for PR50094, NFC
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
Commit 001ba65375f79a76491677cc2de05637f15a7a57 by jezng
[lld-macho] De-templatize mach_header operations

@thakis pointed out that `mach_header` and `mach_header_64`
actually have the same set of (used) fields, with the 64-bit version
having extra padding. So we can access the fields we need using the
single `mach_header` type instead of using templates to switch between
the two.

I also spotted a potential issue where hasObjCSection tries to parse a
file w/o checking if it does indeed match the target arch... As such,
I've added a quick magic number check to ensure we don't access invalid
memory during `findCommand()`.

Addresses PR50180.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D101724
The file was modifiedlld/MachO/Writer.cpp (diff)
The file was modifiedlld/MachO/InputFiles.h (diff)
The file was modifiedlld/MachO/Writer.h (diff)
The file was modifiedlld/MachO/InputFiles.cpp (diff)
The file was modifiedlld/MachO/Driver.cpp (diff)
The file was modifiedlld/MachO/ObjC.cpp (diff)
The file was modifiedlld/MachO/SyntheticSections.cpp (diff)
The file was modifiedlld/MachO/Target.h (diff)
The file was modifiedlld/test/MachO/objc.s (diff)
The file was modifiedlld/MachO/SyntheticSections.h (diff)
Commit 183b0dad4e29f048957537ca2d08332e0c6fd372 by jezng
[lld-macho] Add ARM requirement to objc.s
The file was modifiedlld/test/MachO/objc.s (diff)
Commit 32b500431c02b3e4c09312b9f3c4d693f56ebae0 by listmail
Add some additional test cases inspired by PR50191
The file was modifiedllvm/test/Analysis/ValueTracking/known-non-equal.ll (diff)
Commit 9982f33e2c3aeba0b59555286d0d1e99697c62a0 by jonathan.l.peyton
[OpenMP] Refactor/Rework topology discovery code

This patch does the following:

1) Introduce kmp_topology_t as the runtime-friendly structure (the
corresponding global variable is __kmp_topology) to determine the
exact machine topology which can vary widely among current and future
architectures. The current design is not easy to expand beyond the assumed
three layer topology: sockets, cores, and threads so a rework capable of
using the existing KMP_AFFINITY mechanisms is required.

This new topology structure has:
* The depth and types of the topology
* Ratio count for each consecutive level (e.g., number of cores per
   socket, number of threads per core)
* Absolute count for each level (e.g., 2 sockets, 16 cores, 32 threads)
* Equivalent topology layer map (e.g., Numa domain is equivalent to
   socket, L1/L2 cache equivalent to core)
* Whether it is uniform or not

The hardware threads are represented with the kmp_hw_thread_t
structure. This structure contains the ids (e.g., socket 0, core 1,
thread 0) and other information grabbed from the previous Address
structure. The kmp_topology_t structure contains an array of these.

2) Generalize the KMP_HW_SUBSET envirable for the new
kmp_topology_t structure. The algorithm doesn't assume any order with
tiles,numa domains,sockets,cores,threads. Instead it just parses the
envirable, makes sure it is consistent with the detected topology
(including taking into account equivalent layers) and then trims away
the unneeded subset of hardware threads. To enable this, a new
kmp_hw_subset_t structure is introduced which contains a vector of
items (hardware type, number user wants, offset). Any keyword within
__kmp_hw_get_keyword() can be used as a name and can be shortened as
well. e.g.,
KMP_HW_SUBSET=1s,2numa,4tile,2c,3t can be used on the KNL SNC-4 machine.

3) Simplify topology detection functions so they only do the singular
task of detecting the machine's topology. Printing, and all
canonicalizing functionality is now done afterwards. So many lines of
duplicated code are eliminated.

4) Add new ll_caches and numa_domains to OMP_PLACES, and
consequently, KMP_AFFINITY's granularity setting. All the names within
__kmp_hw_get_keyword() are available for use in OMP_PLACES or
KMP_AFFINITY's granularity setting.

5) Simplify and future-proof code where explicit lists of allowed
affinity settings keywords inside if() conditions.

6) Add x86 CPUID leaf 4 cache detection to existing x2apic id method
so equivalent caches could be detected (in particular for the ll_caches
place).

Differential Revision: https://reviews.llvm.org/D100997
The file was addedopenmp/runtime/test/affinity/omp-places.c
The file was modifiedopenmp/runtime/src/kmp.h (diff)
The file was modifiedopenmp/runtime/src/i18n/en_US.txt (diff)
The file was addedopenmp/runtime/test/affinity/libomp_test_topology.h
The file was modifiedopenmp/runtime/src/kmp_settings.cpp (diff)
The file was modifiedopenmp/runtime/src/kmp_affinity.cpp (diff)
The file was modifiedopenmp/runtime/src/kmp_affinity.h (diff)
The file was addedopenmp/runtime/test/affinity/kmp-affinity.c
The file was modifiedopenmp/runtime/src/kmp_global.cpp (diff)
The file was addedopenmp/runtime/test/affinity/kmp-hw-subset.c
Commit 9b67096fe952250d081bf0127b357d41dd332b03 by ezhulenev
[mlir] Linalg: add vector transfer lowering patterns to the contraction lowering

This fixes a performance regression in vec-mat vectorization

Reviewed By: asaadaldien

Differential Revision: https://reviews.llvm.org/D101795
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CodegenStrategy.cpp (diff)
Commit 2d6aff84c9d7ab7babec3511197337467e3b3082 by listmail
One more test case inspired by PR50191
The file was modifiedllvm/test/Analysis/ValueTracking/known-non-equal.ll (diff)
Commit 182831258bfe520140956a4da6c8c6177d37299a by jhuber6
[Attributor] Add AAExecutionDomainInfo interface to OpenMPOpt

Summary:
Add the AAExecutionDomainInfo attributor instance to OpenMPOpt.
This will infer information relating to domain information that an
instruction might be expecting in. Right now this only includes a very
crude check for instructions that will be executed by the master thread
by comparing a thread-id function with a constant zero.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101578
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp (diff)
The file was addedllvm/test/Transforms/OpenMP/single_threaded_execution.ll
Commit 2df3426fd15e41880c2da1484b560cd9c5f1f842 by aeubanks
[NewPM] Invalidate AAManager after populating GlobalsAA

GlobalsAA is only created at the beginning of the inliner pipeline.  If
an AAManager is cached from previous passes, it won't get rebuilt to
include the newly created GlobalsAA.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D101379
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll (diff)
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll (diff)
The file was modifiedllvm/lib/Passes/PassBuilder.cpp (diff)
The file was modifiedllvm/test/Other/new-pm-defaults.ll (diff)
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll (diff)
The file was modifiedllvm/include/llvm/Transforms/IPO/Inliner.h (diff)
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll (diff)
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll (diff)
The file was modifiedclang/test/Driver/debug-pass-structure.c (diff)
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll (diff)
Commit e38ccb729b205b076356684e055efb7dfc673963 by listmail
Recommit "Generalize getInvertibleOperand recurrence handling slightly"

This was reverted because of a reported problem.  It turned out this patch didn't introduce said problem, it just exposed it more widely.  15a4233 fixes the root issue, so this simple a) rebases over that, and b) adds a much more extensive comment explaining why that weakened assert is correct.

Original commit message follows:

Follow up to D99912, specifically the revert, fix, and reapply thereof.

This generalizes the invertible recurrence logic in two ways:
* By allowing mismatching operand numbers of the phi, we can recurse through a pair of phi recurrences whose operand orders have not been canonicalized.
* By allowing recurrences through operand 1, we can invert these odd (but legal) recurrence.

Differential Revision: https://reviews.llvm.org/D100884
The file was modifiedllvm/test/Analysis/ValueTracking/known-non-equal.ll (diff)
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)
Commit 73332d73e15f4fdf8e4240c585d0a334f23926f3 by sbc
[lld][WebAssembly] Do not merge comdat data segments

When running in relocatable mode any input data segments that are part
of a comdat group should not be merged with other segments of the same
name.  This is because the final linker needs to keep the separate so
they can be included/excluded individually.

Often this is not a problem since normally only one section with a given
name `foo` ends up in the output object file.  However, the problem
occurs when one input contains `foo` which part of a comdat and another
object contains a local symbol `foo` we were attempting to merge them.

This behaviour matches (I believe) that of the ELF linker.  See
`LinkerScript.cpp:addInputSec`.

Fixes: https://github.com/emscripten-core/emscripten/issues/9726

Differential Revision: https://reviews.llvm.org/D101703
The file was addedlld/test/wasm/Inputs/comdat-data.s
The file was addedlld/test/wasm/relocatable-comdat.s
The file was modifiedlld/wasm/Writer.cpp (diff)
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp (diff)
Commit 7310403e3cdf8a436f94770e1a1498db05d2d091 by dblaikie
[demangler] Initial support for the new Rust mangling scheme

Add a demangling support for a small subset of a new Rust mangling
scheme, with complete support planned as a follow up work.

Intergate Rust demangling into llvm-cxxfilt and use llvm-cxxfilt for
end-to-end testing. The new Rust mangling scheme uses "_R" as a prefix,
which makes it easy to disambiguate it from other mangling schemes.

The public API is modeled after __cxa_demangle / llvm::itaniumDemangle,
since potential candidates for further integration use those.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101444
The file was modifiedllvm/lib/Demangle/CMakeLists.txt (diff)
The file was addedllvm/include/llvm/Demangle/RustDemangle.h
The file was addedllvm/test/Demangle/rust.test
The file was addedllvm/unittests/Demangle/RustDemangleTest.cpp
The file was addedllvm/lib/Demangle/RustDemangle.cpp
The file was modifiedllvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp (diff)
The file was modifiedllvm/include/llvm/Demangle/Demangle.h (diff)
The file was modifiedllvm/unittests/Demangle/CMakeLists.txt (diff)
Commit 47ee47e1e8916a58c9c2e4b639700ddb0d534e93 by llvmgnsyncbot
[gn build] Port 7310403e3cdf
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Demangle/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn (diff)
Commit a72499e47537c02a33d7c1c2e512d0b4a0ecbb89 by rtenneti
[libc] Introduce asctime, asctime_r to LLVM libc

[libc] Introduce asctime, asctime_r to LLVM libc

asctime and asctime_r share the same common code. They call asctime_internal
a static inline function.

asctime uses snprintf to return the string representation in a buffer.
It uses the following format (26 characters is the buffer size) as per
7.27.3.1 section in http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2478.pdf.
The buf parameter for asctime_r shall point to a buffer of at least 26 bytes.

snprintf(buf, 26, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n",...)

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D99686
The file was modifiedlibc/config/linux/api.td (diff)
The file was addedlibc/test/src/time/TmHelper.h
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt (diff)
The file was modifiedlibc/test/src/time/mktime_test.cpp (diff)
The file was addedlibc/src/time/asctime_r.cpp
The file was addedlibc/src/time/asctime.cpp
The file was addedlibc/test/src/time/asctime_test.cpp
The file was addedlibc/test/src/time/asctime_r_test.cpp
The file was modifiedlibc/spec/stdc.td (diff)
The file was addedlibc/src/time/asctime_r.h
The file was modifiedlibc/src/time/CMakeLists.txt (diff)
The file was addedlibc/src/time/asctime.h
The file was modifiedlibc/src/time/time_utils.h (diff)
The file was modifiedlibc/test/src/time/CMakeLists.txt (diff)
Commit 4ef1f90e4d564b872e3598ccef45adb740eb0f0d by sbc
[lld][WebAssembly] Convert more tests to asm format. NFC

Two of these are trivial.  The third (shared.s) did have some
expectations changes but only due to two data symbols being re-ordered.

Differential Revision: https://reviews.llvm.org/D101711
The file was addedlld/test/wasm/shared.s
The file was removedlld/test/wasm/shared.ll
The file was removedlld/test/wasm/shared-export-dynamic.ll
The file was removedlld/test/wasm/shared-needed.ll
The file was addedlld/test/wasm/shared-needed.s
The file was addedlld/test/wasm/shared-export-dynamic.s
Commit d14d84af2f5ebb8ae2188ce6884a29a586dc0a40 by aeubanks
[NewPM] Only invalidate modified functions' analyses in CGSCC passes

Previously, any change in any function in an SCC would cause all
analyses for all functions in the SCC to be invalidated. With this
change, we now manually invalidate analyses for functions we modify,
then let the pass manager know that all function analyses should be
preserved.

So far this only touches the inliner, argpromotion, funcattrs, and
updateCGAndAnalysisManager(), since they are the most used.

Slight compile time improvements:
http://llvm-compile-time-tracker.com/compare.php?from=326da4adcb8def2abdd530299d87ce951c0edec9&to=8942c7669f330082ef159f3c6c57c3c28484f4be&stat=instructions

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D100917
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp (diff)
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll (diff)
The file was modifiedllvm/test/Transforms/Inline/cgscc-incremental-invalidate.ll (diff)
The file was modifiedllvm/lib/Transforms/IPO/FunctionAttrs.cpp (diff)
The file was addedllvm/test/Transforms/Inline/analysis-invalidation.ll
The file was modifiedllvm/lib/Transforms/IPO/ArgumentPromotion.cpp (diff)
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll (diff)
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp (diff)
Commit 60ad0fd3c8bf18dc1a307b97e9e3eb21dd5e4cfb by jingham
Clarify the help for "breakpoint command add" and "watchpoint command add".

These two commands add a list of commands to the breakpoint/watchpoint. The current
implementation only supports replacing the current command list.  I started with
that as overwrite seems to be the most common operation.  But using "add" will
allow us to later offer other add-modes: "prepend", "append" and "insert".
That and "overwrite" then make up a useful set of options for this operation.
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp (diff)
Commit 012f01e227eeb071dbce270aa36745fd6ca95af5 by aqjune
Precommit tests for D101720 (NFC)
The file was addedllvm/test/Transforms/InstCombine/select-safe-impliedcond-transforms.ll
Commit 24ce194cfe493bb743c288ed049fcd86c37aace2 by aqjune
[InstCombine] generalize select + select/and/or folding using implied conditions

This patch optimizes the remaining possible cases in D101191 by generalizing isImpliedCondition()-based
foldings.

Assume that there is `op a, (select b, _, _)` where op is one of `and i1`, `or i1` or their select forms.

We can do the following optimization based on the result of `isImpliedCondition(a, b)`:

If a = true implies…
- b = true:
    - select a, (select b, A, B), false => select a, A, false : https://alive2.llvm.org/ce/z/WCnZYh
    - and a, (select b, A, B) => select a, A, false : https://alive2.llvm.org/ce/z/uZhcMG
- b = false:
    - select a, (select b, A, B), false => select a, B, false : https://alive2.llvm.org/ce/z/c2hJpV
    - and a, (select b, A, B) => select a, B, false : https://alive2.llvm.org/ce/z/5ggwMM

If a = false implies…
- b = true:
    - select a, true, (select b, A, B) => select a, true, A : https://alive2.llvm.org/ce/z/tidKvH
    - or a, (select b, A, B) =>  select a, true, A : https://alive2.llvm.org/ce/z/cC-uyb
- b = false:
    - select a, true, (select b, A, B) => select a, true, B : https://alive2.llvm.org/ce/z/ZXpJq9
    - or a, (select b, A, B) => select a, true, B : https://alive2.llvm.org/ce/z/hnDrJj

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D101720
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h (diff)
The file was modifiedllvm/test/Transforms/InstCombine/select-safe-impliedcond-transforms.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll (diff)
Commit 808fcddae406181cfc396df3dd065e821147c4c4 by sbc
[lld][WebAssembly] Fix crash with `-pie` without `--allow-undefined`

`shouldImport` was not returning true in PIC mode even though out
assumption elsewhere (in Relocations.cpp:scanRelocations) is that we
don't report undefined symbols in PIC mode today.  This was resulting
functions that were undefined and but also not imported which hits an
assert later on that all functions have valid indexes.

Differential Revision: https://reviews.llvm.org/D101716
The file was modifiedlld/wasm/Writer.cpp (diff)
The file was modifiedlld/wasm/Relocations.cpp (diff)
The file was modifiedlld/test/wasm/pie.ll (diff)
Commit 11326cbcdb9710311832774ccb08e69a607813ef by listmail
[IndVarSimplify][NFC] Removed mayThrow from if-condition in predicateLoopExits of IndVarSimplify

Instruction has mayHaveSideEffects method that returns true if mayThrow return true because this is called internally in the first method.  As such, the call being removed is redundant.

Patch By: vdsered (Daniil Seredkin)
Differential Revision: https://reviews.llvm.org/D101685
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp (diff)
Commit 07ce5c99d791a43efeefbbae30f951703e84bc46 by rob.suderman
[mlir][tosa] Add lowerings for tosa.equal and tosa.arithmetic_right_shift

Lowerings equal and arithmetic_right_shift for elementwise ops to linalg dialect using linalg.generic

Reviewed By: rsuderman

Differential Revision: https://reviews.llvm.org/D101804
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp (diff)
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir (diff)
Commit aa58281979710a1cee6f1635dc1074c4dfc44650 by springerm
[mlir] Fix bug in TransferOpReduceRank when all dims are broadcasts

TransferReadOps that are a scalar read + broadcast are handled by TransferReadToVectorLoadLowering.

Differential Revision: https://reviews.llvm.org/D101808
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp (diff)
Commit 2669abaecfc47d4d2436559ab8c1fb49ad6e35c3 by Alex Lorenz
[clang][CodeGen] Use llvm::stable_sort for multi version resolver options

The use of llvm::sort causes periodic failures on the bot with EXPENSIVE_CHECKS enabled,
as the regular sort pre-shuffles the array in the expensive checks mode, leading to a
non-deterministic test result which causes the CodeGenCXX/attr-cpuspecific-outoflinedefs.cpp
testcase to fail on the bot (http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-expensive/).
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp (diff)
Commit 959eec1fddc83c90c208789f20cb6573b2a20642 by noreply
[NFC] Give better diagnose on clang-format not found error

Contributors often confused by whether this is a server or local issue.
The file was modifiedutils/arcanist/clang-format.sh (diff)
Commit 27b426b0c8ab388fa7729c0ca2fe1d97141bcb72 by gkm
[lld-macho] Implement builtin section renaming

ld64 automatically renames many sections depending on output type and assorted flags. Here, we implement the most common configs. We can add more obscure flags and behaviors as needed.

Depends on D101393

Differential Revision: https://reviews.llvm.org/D101395
The file was modifiedlld/test/MachO/load-command-sequence.s (diff)
The file was modifiedlld/MachO/MergedOutputSection.h (diff)
The file was modifiedlld/MachO/Config.h (diff)
The file was addedlld/test/MachO/builtin-rename.s
The file was modifiedlld/MachO/Writer.cpp (diff)
The file was modifiedlld/MachO/MergedOutputSection.cpp (diff)
The file was modifiedlld/MachO/Driver.cpp (diff)
The file was modifiedlld/test/MachO/local-got.s (diff)
The file was modifiedlld/test/MachO/x86-64-stubs.s (diff)
The file was modifiedlld/test/MachO/x86-64-relocs.s (diff)
The file was modifiedlld/MachO/Options.td (diff)
Commit ed51156084dd84aa10d78eac14a66b36663069bc by Reshabhkumar.Sharma
[ModuleUtils] NFC: Add unit tests for appendToUsedList

This patch adds initial unit tests for appendToUsedList
in the ModuleUtils. It specifically tests changes from
https://reviews.llvm.org/D101363 which intent to allow
insertion of globals in non-zero address spaces into the
llvm used lists.

Reviewed by: dblaikie

Differential Revision: https://reviews.llvm.org/D101746
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt (diff)
The file was addedllvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp
Commit 97f4789c38f6cab60c10c5132816bc4822503a79 by llvmgnsyncbot
[gn build] Port ed51156084dd
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn (diff)
Commit 18883a3fec5a153ab64fb756f6c7f92bce9f9283 by david.green
[TTI] Replace ceil lambdas with divideCeil. NFCI

As pointed out in D101726, this function already exists in MathExtras.
It uses different types, but with the values used here I believe that
should not make a functional difference.
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h (diff)
Commit 46fa214a6f24549d83a69793b7e14585c2eefa2b by fraser
[RISCV] Lower splats of non-constant i1s as SETCCs

This patch adds support for splatting i1 types to fixed-length or
scalable vector types. It does so by lowering the operation to a SETCC
of the equivalent i8 type.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D101465
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsplats-i1.ll (diff)
Commit b83b23275b745287bf9d3d72a93b593119f53f75 by sguelton
Introduce -Wreserved-identifier

Warn when a declaration uses an identifier that doesn't obey the reserved
identifier rule from C and/or C++.

Differential Revision: https://reviews.llvm.org/D93095
The file was modifiedclang/test/Preprocessor/macro-reserved.c (diff)
The file was modifiedclang/lib/Basic/IdentifierTable.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp (diff)
The file was modifiedclang/test/Preprocessor/macro-reserved.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was addedclang/test/Sema/reserved-identifier.c
The file was modifiedclang/lib/AST/Decl.cpp (diff)
The file was modifiedclang/lib/Sema/SemaTemplate.cpp (diff)
The file was modifiedclang/include/clang/AST/Decl.h (diff)
The file was modifiedclang/include/clang/Basic/IdentifierTable.h (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td (diff)
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp (diff)
The file was addedclang/test/Sema/reserved-identifier.cpp
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
The file was modifiedclang/lib/Sema/SemaStmt.cpp (diff)
Commit f800ac8309417b78c084f2eabfd54d43a66b64a2 by kadircet
[clangd] Fix hover crash on broken code

Differential Revision: https://reviews.llvm.org/D101743
The file was modifiedclang-tools-extra/clangd/Hover.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp (diff)
Commit 1db4dbba24dd36bd5a91ed58bd9d92dce2060c9f by simon.moll
Recommit "[VP,Integer,#2] ExpandVectorPredication pass"

This reverts the revert 02c5ba8679873e878ae7a76fb26808a47940275b

Fix:

Pass was registered as DUMMY_FUNCTION_PASS causing the newpm-pass
functions to be doubly defined. Triggered in -DLLVM_ENABLE_MODULE=1
builds.

Original commit:

This patch implements expansion of llvm.vp.* intrinsics
(https://llvm.org/docs/LangRef.html#vector-predication-intrinsics).

VP expansion is required for targets that do not implement VP code
generation. Since expansion is controllable with TTI, targets can switch
on the VP intrinsics they do support in their backend offering a smooth
transition strategy for VP code generation (VE, RISC-V V, ARM SVE,
AVX512, ..).

Reviewed By: rogfer01

Differential Revision: https://reviews.llvm.org/D78203
The file was modifiedllvm/tools/llc/llc.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/MachinePassRegistry.def (diff)
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h (diff)
The file was modifiedllvm/include/llvm/InitializePasses.h (diff)
The file was modifiedllvm/include/llvm/LinkAllPasses.h (diff)
The file was modifiedllvm/test/CodeGen/X86/opt-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll (diff)
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/Passes.h (diff)
The file was addedllvm/test/CodeGen/Generic/expand-vp.ll
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h (diff)
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp (diff)
The file was addedllvm/lib/CodeGen/ExpandVectorPredication.cpp
The file was modifiedllvm/tools/opt/opt.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll (diff)
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h (diff)
The file was addedllvm/include/llvm/CodeGen/ExpandVectorPredication.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt (diff)
Commit 3655f0757f2b4b61419446b326410118658826ba by bjorn.a.pettersson
Make dependency between certain analysis passes transitive

LazyBlockFrequenceInfoPass, LazyBranchProbabilityInfoPass and
LoopAccessLegacyAnalysis all cache pointers to their nestled required
analysis passes. One need to use addRequiredTransitive to describe
that the nestled passes can't be freed until those analysis passes
no longer are used themselves.

There is still a bit of a mess considering the getLazyBPIAnalysisUsage
and getLazyBFIAnalysisUsage functions. Those functions are used from
both Transform, CodeGen and Analysis passes. I figure it is OK to
use addRequiredTransitive also when being used from Transform and
CodeGen passes. On the other hand, I figure we must do it when
used from other Analysis passes. So using addRequiredTransitive should
be more correct here. An alternative solution would be to add a
bool option in those functions to let the user tell if it is a
analysis pass or not. Since those lazy passes will be obsolete when
new PM has conquered the world I figure we can leave it like this
right now.

Intention with the patch is to fix PR49950. It at least solves the
problem for the reproducer in PR49950. However, that reproducer
need five passes in a specific order, so there are lots of various
"solutions" that could avoid the crash without actually fixing the
root cause.

Differential Revision: https://reviews.llvm.org/D100958
The file was modifiedllvm/lib/Analysis/LazyBlockFrequencyInfo.cpp (diff)
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp (diff)
The file was modifiedllvm/lib/Analysis/LazyBranchProbabilityInfo.cpp (diff)
The file was addedllvm/test/Other/pr49950.ll
Commit caa84314049f27bfd4609d988f13ee95c16eb5ba by llvmgnsyncbot
[gn build] Port 1db4dbba24dd
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn (diff)
Commit 05146fe5171076eaec3ef6a9eeeab4c8a33acf15 by dave
[llvm] Unbreak no-assertion testing
The file was modifiedllvm/test/Transforms/OpenMP/single_threaded_execution.ll (diff)
Commit fb92cf92080d34f0bb0b2b0120086ee520f624b8 by jrtc27
[RISCV] Pre-commit tests for D101342

These tests show inefficient sign extension for AMOs on RISC-V. The
normal CodeGen tests use anyext return values, but if marked signext
then we end up generating unnecessary sign extension instructions. This
can be seen when compiling C that returns an i32 (signed or unsigned),
where the calling convention results in a signext return value.
The file was addedllvm/test/CodeGen/RISCV/atomic-signext.ll
Commit 8fa56f7ededcbe28cbbb810b5d261b72ab0d8035 by krasimir
[clang-format] Prevent extraneous space insertion in bitshift operators

This serves to augment the improvements made in https://reviews.llvm.org/D86581. It prevents clang-format from interpreting bitshift operators as template arguments in certain circumstances. This is an attempt at fixing https://bugs.llvm.org/show_bug.cgi?id=49868

Reviewed By: MyDeveloperDay, krasimir

Differential Revision: https://reviews.llvm.org/D100778
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/lib/Format/TokenAnnotator.cpp (diff)
Commit 34593ae9982ad267639893ed4ce41242f9493056 by kbobyrev
Introduce clangd-server-monitor tool

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D101516
The file was modifiedclang-tools-extra/clangd/index/remote/CMakeLists.txt (diff)
The file was addedclang-tools-extra/clangd/index/remote/monitor/Monitor.cpp
The file was modifiedclang-tools-extra/clangd/test/remote-index/pipeline_helper.py (diff)
The file was addedclang-tools-extra/clangd/index/remote/monitor/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/test/CMakeLists.txt (diff)
The file was modifiedclang-tools-extra/clangd/test/remote-index/pipeline.test (diff)
Commit c2e9baf2e8dafe92f57fe4171d4b6a5f50d5999e by jubnzv
[clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list

This commit fixes cppcoreguidelines-pro-type-vararg false positives on
'char *' variables.

The incorrect warnings generated by clang-tidy can be illustrated with
the following minimal example:

```
goid foo(char* in) {
  char *tmp = in;
}
```

The problem is that __builtin_ms_va_list desugared as 'char *', which
leads to false positives.

Fixes bugzilla issue 48042.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101259
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-vararg.cpp (diff)
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp (diff)
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-vararg-ms.cpp
Commit 80b897e21bf0ac56b04d415cf9bf671f81a84416 by Dávid Bolvanský
[InstCombine] ctpop(X) ^ ctpop(Y) & 1 --> ctpop(X^Y) & 1 (PR50094)

Original pattern: (__builtin_parity(x) ^ __builtin_parity(y))

LLVM rewrites it as: (__builtin_popcount(x) ^ __builtin_popcount(y)) & 1

Optimized form:  __builtin_popcount(X^Y) & 1

Alive proof: https://alive2.llvm.org/ce/z/-GdWFr

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D101802
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp (diff)
Commit 369cd2ae5205e880e2db209070abadf459289322 by a.bataev
Revert "[SLP]Allow masked gathers only if allowed by target."

This reverts commit fd18547e0721983dcb273670d16341921f831e50. Need to
add a check for the size of the vectorization tree to avoid some extra
vectorization.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit d65e5f60f110046898ad146c508a7d225d398549 by flo
[IndVarSimplify] Add additional tests using isImpliedViaMerge.
The file was modifiedllvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll (diff)
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-exit.ll (diff)
Commit 8f2948731ed35a291c94965c2a0ba808609383c2 by david.stuttard
[AMDGPU][AsmParser] Correct the order of optional operands to mimg

Ordering of operands was incorrect meaning that a16 operand was treated as tfe

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

Change-Id: I3b15e71ef5ff625f19f52823414ab684d76aca33
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp (diff)
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_mimg.s (diff)
Commit 93537fabcee8fcfa3316d7abd5e935f7fe9b468f by akuegel
[mlir] Add lowering from math.expm1 to LLVM.

Differential Revision: https://reviews.llvm.org/D96776
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir (diff)
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp (diff)
Commit d0e3a15e36830d0fe6049eb0543f0af5a2e1ad12 by Jan Svoboda
[clang][cli] NFC: Remove confusing `EmptyKPM` variable
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedllvm/include/llvm/Option/OptParser.td (diff)
Commit bd82cec016ad1cb4ef75d710ff6628837c4d5151 by llvm-dev
[X86] Update PR20841 test description to make it clear we SHOULDN'T be folding EFLAGS with XADD
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
Commit e0dd708f4050798fa3bac603ada5f4499f6a38a0 by llvm-dev
[CodeGenPrepare][X86] Add bitreverse detection tests

Initially only test for XOP which is the only thing that supports scalar bitreverse - we can add vector tests later.
The file was addedllvm/test/Transforms/CodeGenPrepare/X86/bitreverse-recognize.ll
Commit 2bb41851a10c1473bda9a87b4bfabf99527b3929 by llvm-dev
[Utils] recognizeBSwapOrBitReverseIdiom - support matching from funnel shift roots (PR40058)

We were missing bitreverse matches in cases where InstCombine had seen a byte-level rotation at the end of a bitreverse sequence (replacing or() with fshl()), hindering the exhaustive bitreverse matching in CodeGenPrepare later on.
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/bitreverse-recognize.ll (diff)
Commit 00895831ab23f4de2713a6ad529ba48773d067c1 by Jan Svoboda
[clang][cli][docs] Clarify marshalling infrastructure documentation
The file was modifiedllvm/include/llvm/Option/OptParser.td (diff)
The file was modifiedclang/docs/InternalsManual.rst (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
Commit 64911eec75bb0c54e40665a2c3f744f046c66a59 by anastasia.stulova
[OpenCL] Allow pipe as a valid identifier prior to OpenCL 2.0.

Pipe has not been a reserved keyword in the earlier OpenCL
standards. However we failed to allow its use as an identifier
in the original commit. This issues is fixed now and testing
is improved accordingly.

Differential Revision: https://reviews.llvm.org/D101052
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl1.2.cl (diff)
The file was modifiedclang/lib/Parse/ParseDecl.cpp (diff)
Commit b04148f77713c92ee57b33b7b858ad18ce8d78e3 by llvm-dev
Local.cpp - Avoid DebugLoc copies - use const reference from getDebugLoc. NFCI.
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
Commit 9f37980d45c7ea05c16851b1d672ab41907a38b7 by bradley.smith
[AArch64][SVE] Fold insert(zero, extract(X, 0), 0) -> X, when X is known to zero lanes 1-N

Specifically, this allow us to rely on the lane zero'ing behaviour of
SVE reduce instructions.

Co-authored-by: Paul Walker <paul.walker@arm.com>

Differential Revision: https://reviews.llvm.org/D101369
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
The file was addedllvm/test/CodeGen/AArch64/sve-implicit-zero-filling.ll
Commit d7ec48d71bd67118e7996c45e9c7fb1b09d4f59a by thakis
[clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=

Use that for internal names (including the default ignorelists of the
sanitizers).

Differential Revision: https://reviews.llvm.org/D101832
The file was removedclang/test/CodeGen/ubsan-blacklist-vfs.c
The file was removedcompiler-rt/lib/asan/asan_blacklist.txt
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-ignorelist.c
The file was removedcompiler-rt/test/asan/TestCases/default_blacklist.cpp
The file was removedcompiler-rt/test/asan/TestCases/Helpers/initialization-blacklist-extra.cpp
The file was modifiedclang/test/CodeGen/shadowcallstack-attr.c (diff)
The file was removedcompiler-rt/test/tsan/blacklist.cpp
The file was addedcompiler-rt/lib/hwasan/hwasan_ignorelist.txt
The file was modifiedclang/docs/AddressSanitizer.rst (diff)
The file was modifiedclang/test/CodeGen/sanitize-init-order.cpp (diff)
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-blacklist.c
The file was addedcompiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist-extra.cpp
The file was addedcompiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-ignorelist.cppp
The file was addedclang/test/CodeGen/ubsan-ignorelist-vfs.c
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.cpp (diff)
The file was addedcompiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist.txt
The file was modifiedcompiler-rt/lib/hwasan/CMakeLists.txt (diff)
The file was modifiedclang/docs/MemorySanitizer.rst (diff)
The file was addedclang/test/Frontend/Inputs/resource_dir_with_sanitizer_ignorelist/share/ubsan_ignorelist.txt
The file was modifiedcompiler-rt/lib/asan/CMakeLists.txt (diff)
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp (diff)
The file was removedcompiler-rt/test/asan/TestCases/initialization-blacklist.cpp
The file was modifiedcompiler-rt/lib/msan/CMakeLists.txt (diff)
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-blacklist.c
The file was modifiedclang/include/clang/Frontend/DependencyOutputOptions.h (diff)
The file was modifiedclang/test/Frontend/print-header-includes.c (diff)
The file was modifiedclang/include/clang/Basic/SanitizerSpecialCaseList.h (diff)
The file was removedcompiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-blacklist.cpp
The file was modifiedclang/docs/SanitizerSpecialCaseList.rst (diff)
The file was addedcompiler-rt/test/asan/TestCases/initialization-ignorelist.cpp
The file was addedcompiler-rt/test/tsan/ignorelist.cpp
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-blacklist.c
The file was modifiedcompiler-rt/test/dfsan/flags.c (diff)
The file was removedclang/test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt
The file was addedcompiler-rt/lib/cfi/cfi_ignorelist.txt
The file was addedcompiler-rt/lib/asan/asan_ignorelist.txt
The file was removedcompiler-rt/test/asan/TestCases/blacklist.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp (diff)
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn (diff)
The file was addedclang/test/Driver/Inputs/resource_dir/share/vtables_ignorelist.txt
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-ignorelist.c
The file was removedcompiler-rt/test/asan/TestCases/Helpers/initialization-blacklist.txt
The file was removedcompiler-rt/test/msan/default_blacklist.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h (diff)
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
The file was removedcompiler-rt/test/tsan/blacklist2.cpp
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.ignore (diff)
The file was modifiedcompiler-rt/lib/msan/tests/CMakeLists.txt (diff)
The file was modifiedclang/test/CodeGen/sanitizer-special-case-list.c (diff)
The file was addedclang/test/Driver/Inputs/resource_dir/share/asan_ignorelist.txt
The file was addedcompiler-rt/lib/msan/msan_ignorelist.txt
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-blacklist.c
The file was modifiedcompiler-rt/lib/cfi/CMakeLists.txt (diff)
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn (diff)
The file was removedclang/test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt
The file was addedcompiler-rt/test/tsan/ignorelist2.cpp
The file was modifiedclang/docs/ControlFlowIntegrity.rst (diff)
The file was modifiedclang/test/Frontend/dependency-gen.c (diff)
The file was addedcompiler-rt/test/asan/TestCases/default_ignorelist.cpp
The file was removedcompiler-rt/lib/hwasan/hwasan_blacklist.txt
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-ignorelist.c
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn (diff)
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp (diff)
The file was removedcompiler-rt/lib/msan/msan_blacklist.txt
The file was modifiedcompiler-rt/lib/asan/tests/CMakeLists.txt (diff)
The file was removedcompiler-rt/test/asan/TestCases/Helpers/initialization-blacklist-extra2.cpp
The file was modifiedclang/unittests/Driver/SanitizerArgsTest.cpp (diff)
The file was modifiedclang/docs/UsersManual.rst (diff)
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h (diff)
The file was removedclang/test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt
The file was removedcompiler-rt/lib/cfi/cfi_blacklist.txt
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn (diff)
The file was removedclang/test/Driver/Inputs/resource_dir/share/asan_blacklist.txt
The file was addedclang/test/CodeGen/ubsan-type-ignorelist.cpp
The file was removedclang/test/Driver/fsanitize-blacklist.c
The file was removedclang/test/Frontend/Inputs/resource_dir_with_sanitizer_blacklist/share/ubsan_blacklist.txt
The file was modifiedclang/test/Driver/print-file-name.c (diff)
The file was addedcompiler-rt/test/asan/TestCases/ignorelist.cpp
The file was addedcompiler-rt/test/asan/TestCases/Helpers/ignorelist-extra.cpp
The file was addedclang/test/Driver/Inputs/resource_dir/share/hwasan_ignorelist.txt
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/iostream_sbo.cpp (diff)
The file was addedcompiler-rt/test/msan/default_ignorelist.cpp
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/docs/ClangCommandLineReference.rst (diff)
The file was addedclang/test/Driver/fsanitize-ignorelist.c
The file was removedcompiler-rt/test/asan/TestCases/Helpers/blacklist-extra.cpp
The file was modifiedcompiler-rt/lib/asan/tests/asan_test_config.h (diff)
The file was addedcompiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist-extra2.cpp
The file was modifiedclang/docs/UndefinedBehaviorSanitizer.rst (diff)
The file was modifiedclang/docs/ThreadSanitizer.rst (diff)
The file was addedclang/test/Driver/Inputs/resource_dir/share/ubsan_ignorelist.txt
The file was removedcompiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_blocklist.cpp
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-ignorelist.c
The file was addedcompiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td (diff)
The file was removedclang/test/CodeGen/ubsan-type-blacklist.cpp
Commit db210bc69bb50979fb843b68fcb71a9c905e971b by flo
[Matrix] Implement C-style explicit type conversions in CXX for matrix types

This patch implements C-style explicit type conversions in CXX for matrix types. It is part of fixing https://bugs.llvm.org/show_bug.cgi?id=47141

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D101696
The file was addedclang/test/CodeGenCXX/matrix-casts.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp (diff)
The file was modifiedclang/test/SemaCXX/matrix-casts.cpp (diff)
Commit 05d2297b869444465134a17ce625b35f859958d0 by gysit
[mlir][linalg] Always lower index operations during loop lowering.

Ensure the index operations are lowered on all linalg loop lowering paths.

Differential Revision: https://reviews.llvm.org/D101827
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp (diff)
Commit bfb9c749c02402ba082e81bfdadb15fb331c59ae by thakis
Fix some typos in d7ec48d71bd671
The file was modifiedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-ignorelist.c (diff)
The file was modifiedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-ignorelist.c (diff)
Commit 9931ae645eb41f5e96ef12c871ee2eeb1b7252f6 by sander.desmalen
Reland "[LV] Calculate max feasible scalable VF."

Relands https://reviews.llvm.org/D98509

This reverts commit 51d648c119d7773ce6fb809353bd6bd14bca8818.
The file was modifiedllvm/test/Transforms/LoopVectorize/scalable-vf-hint.ll (diff)
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-analysis.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-reductions.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-hint.ll (diff)
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorize.h (diff)
Commit 2d480abd9a908fe1c5a86ec1a67cd2e7aeeb66c9 by fraser
[LangRef] Fix a typo in the vector-type memory layout section
The file was modifiedllvm/docs/LangRef.rst (diff)
Commit d882750f1105b20d892545e7ebd96f82166dcb53 by balazs.benics
[analyzer] Fix a crash for dereferencing an empty llvm::Optional variable in SMTConstraintManager.h.

The first crash reported in the bug report 44338.

Condition `!isSat.hasValue() || isNotSat.getValue()` here should be
`!isNotSat.hasValue() || isNotSat.getValue()`.
`getValue()` here crashed when we used the static analyzer to analyze
postgresql-12.0.

Patch By: OikawaKirie

Reviewed By: steakhal, martong

Differential Revision: https://reviews.llvm.org/D83660
The file was addedclang/test/Analysis/z3/D83660.c
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h (diff)
The file was addedclang/test/Analysis/z3/Inputs/MockZ3_solver_check.c
Commit 4f8d585fbf146f1b9ea4b895e6abe1b24ab65090 by brock.wyma
[CodeView] Truncate Long Type Names With An MD5 Hash

Replace long CodeView type names with an MD5 hash of the name.

Differential Revision: https://reviews.llvm.org/D97881
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp (diff)
The file was modifiedllvm/test/DebugInfo/COFF/long-type-name.ll (diff)
Commit 2021d272ad6c49e63deeb2314c8553da335284f6 by Louis Dionne
[libc++] Implement ranges::view

Differential Revision: https://reviews.llvm.org/D101547
The file was modifiedlibcxx/test/std/containers/associative/set/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.view/view_base.compile.pass.cpp
The file was modifiedlibcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.view/enable_view.compile.pass.cpp
The file was modifiedlibcxx/docs/OneRangesProposalStatus.csv (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/include/__ranges/view.h
The file was modifiedlibcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.set/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.view/view.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/ranges (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/ranges/range.view/view.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp (diff)
Commit 6ede28c9e129f816571efbb1c22b0f0fd350a77b by llvmgnsyncbot
[gn build] Port 2021d272ad6c
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit 75952d6df6357d32db1f43e30186c1f9be6a677e by Louis Dionne
[libc++] Move the Debug iterators check to CI stage 3

It's not a default configuration, so it belongs to stage 3.
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml (diff)
Commit 54bff1522fc863329894d875d54c2fe4cd1b4f3f by aaron
Rename a template parameter that conflicted with a common macro; NFC

The CALLBACK macro is used extensively in the Windows SDK.
The file was modifiedclang/include/clang/Analysis/CFG.h (diff)
Commit 93297e4bacd99f8c6711c136a4000c8526a7ea31 by gh
[MLIR] Replace a not of a comparison with appropriate comparison

Differential Revision: https://reviews.llvm.org/D101710
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td (diff)
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir (diff)
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp (diff)
Commit 4ba8720f8844ae740e9424f90487ec308a22f40c by flo
[VPlan] Representing backedge def-use feeding reduction phis.

This patch updates the code handling reduction recipes to also keep
track of the incoming value from the latch in the recipe. This is needed
to model the def-use chains completely in VPlan, so that it is possible
to replace the incoming value with an arbitrary VPValue.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D99294
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPRecipeBuilder.h (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-printing.ll (diff)
Commit 8e211bf1c895a31b3e9f49014b5494d8e1dabcf6 by gh
[MLIR][SCF] Assume uses of condition in the body of scf.while is true

Differential Revision: https://reviews.llvm.org/D101801
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td (diff)
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp (diff)
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir (diff)
Commit 3273f276923725bc84ba214df6e1fe4569c1007e by gbreynoo
[llvm-objdump] Remove --cfg option from command guide

The llvm-objdump command guide has the option --cfg which was removed
from the tool by 888320e9fa5eb33194c066f68d50f1e73c5fff5e in 2014. This
change updates the command guide to reflect this.

Differential Revision: https://reviews.llvm.org/D101648
The file was modifiedllvm/docs/CommandGuide/llvm-objdump.rst (diff)
Commit cb395b84b09d1d411f65ae97f25c3a7a05b9bb7f by gh
[MLIR] Add not icmp canonicalization documentation

See: https://reviews.llvm.org/D101710
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp (diff)
Commit 1998a086551ce48ca62dfe75d41c250284ac0982 by amy.kwan1
[PowerPC][NFC] Update atomic patterns to use the refactored load/store implementation

This patch updates the scalar atomic patterns to use the refactored load/store
implementation introduced in D93370.
All existing test cases pass with when the refactored patterns are utilized.

Differential Revision: https://reviews.llvm.org/D94498
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td (diff)
Commit 73686247ac3e60c91fa5943c98956093df5e49ff by gbreynoo
[llvm-objdump] Remove Generic Options group from help text output

Looking at other tools using tablegen for help output, general options
like --help are not separated from other options. This change removes
the "Generic Options" option group so the options are listed together.
the macho specific option group is left unaffected.

The test help.test was modified to reflect this change.

Differential Revision: https://reviews.llvm.org/D101652
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td (diff)
The file was modifiedllvm/test/tools/llvm-objdump/help.test (diff)
Commit a6f79b56711e009440d00685e36c1fb919659202 by spatel
[InstCombine] avoid infinite loops with select/icmp transforms

This fixes https://llvm.org/PR48900 , but as seen in the
regression tests prevents some optimizations.

There are a few options to restore those (switch to min/max
intrinsics, add larger pattern matching for select with
dominating condition, improve CVP), but we need to prevent
the bug 1st.
The file was modifiedllvm/test/Transforms/InstCombine/icmp-dom.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp (diff)
Commit b1048ff68298c1c4e303bbb77ca1832b2f873cd6 by mascasa
[libFuzzer] Preserve position hint in auto dictionary

Currently, the position hint of an entry in the persistent auto
dictionary is fixed to 1. As a consequence, with a 50% chance, the entry
is applied right after the first byte of the input. As the position 1
does not appear to have any particular significance, this is likely a
bug that may have been caused by confusing the constructor parameter
with a success count.

This commit resolves the issue by preserving any existing position hint
or disabling the hint if the original entry didn't have one.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101686
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.cpp (diff)
Commit 5285748c2c764c1d7fb3f882ba9f11ed79f676a1 by jennifer.yu
Fix assert on the variable which is used in omp clause is not marked
as used.

The problem only happens with constexpr variable, for constexpr variable,
variable is not marked during parser variable.   This is because compiler
might find some var's associate expressions may not actully an odr-used
later,  the variables get kept in MaybeODRUseExprs, in normal case, at
end of process fullExpr, the variable will be marked during the call to
CleanupVarDeclMarking(). Since we are processing expression of OpenMP
clauses, and the ActOnFinishFullExpr is not getting called that casue
variable is not get marked.

One way to fix this is to call CleanupVarDeclMarking() in EndOpenMPClause
for each omp directive.

This to fix https://bugs.llvm.org/show_bug.cgi?id=50206

Differential Revision: https://reviews.llvm.org/D101781
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp (diff)
The file was modifiedclang/test/OpenMP/constexpr_capture.cpp (diff)
Commit 7e83a7f1fdfcc2edde61f0a535f9d7a56f531db9 by dimitry
Reland "[MC][ELF] Work around R_MIPS_LO16 relocation handling problem"

This fixes PR49821, and avoids "ld.lld: error: test.o:(.rodata.str1.1):
offset is outside the section" errors when linking MIPS objects with
negative R_MIPS_LO16 implicit addends.

ld.lld handles R_MIPS_HI16/R_MIPS_LO16 separately, not as a whole, so it
doesn't know that an R_MIPS_HI16 with implicit addend 1 and an
R_MIPS_LO16 with implicit addend -32768 represents 32768, which is in
range of a MergeInputSection. We could introduce a new RelExpr member
(like R_RISCV_PC_INDIRECT for R_RISCV_PCREL_HI20 / R_RISCV_PCREL_LO12)
but the complexity is unnecessary given that GNU as keeps the original
symbol for this case as well.

Adds a new test case for PR49821, and also updates two other test cases
that are affected by this change.

Reviewed By: atanasyan, MaskRay

Differential Revision: https://reviews.llvm.org/D101773
The file was modifiedllvm/test/MC/Mips/elf-relsym.s (diff)
The file was addedllvm/test/MC/Mips/mips_lo16.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp (diff)
The file was modifiedllvm/test/MC/Mips/xgot.s (diff)
Commit 80c79035ef06b4429c4bb6aa5504fff08ace4b05 by Christudasan.Devadasan
DAG: Cleanup assertion in EmitFuncArgumentDbgValue

Removing an assertion introduced with D68945. The
patch was later reverted with 6531a78ac4b5, but failed
to remove this assertion. It causes a problem while
trying to split a 64-bit argument into sub registers.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D101594
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/ptr-arg-dbg-value.ll
Commit dffddde73ab73cc5d89818330b11eb2dc3610ed7 by dimitry
Revert "[llvm-objdump] Remove Generic Options group from help text output"

This reverts commit 73686247ac3e60c91fa5943c98956093df5e49ff, as there
were git stash conflict markers left unresolved.
The file was modifiedllvm/test/tools/llvm-objdump/help.test (diff)
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td (diff)
Commit 0c3f762c8fd142464f9f3146091045a9b63db2c1 by medismail.bennani
[lldb/Utility] Update path in FileSpec documentation (NFC)

Update FileSpec doxygen path to reflect its actual location in the
source-tree.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/include/lldb/Utility/FileSpec.h (diff)
Commit 1435f6b00be79f1042818da8714ad4de2aef7848 by medismail.bennani
[lldb] Move and clean-up the Declaration class (NFC)

This patch moves the Declaration class from the Symbol library to the
Core library. This will allow to use it in a more generic fashion and
aims to lower the dependency cycles when it comes to the linking.

The patch also does some cleaning up by making column information
permanent and removing the LLDB_ENABLE_DECLARATION_COLUMNS directives.

Differential revision: https://reviews.llvm.org/D101556

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was addedlldb/source/Core/Declaration.cpp
The file was modifiedlldb/source/Core/ValueObjectVariable.cpp (diff)
The file was modifiedlldb/unittests/Symbol/TestTypeSystemClang.cpp (diff)
The file was modifiedlldb/include/lldb/Symbol/Function.h (diff)
The file was modifiedlldb/source/API/SBValue.cpp (diff)
The file was modifiedlldb/include/lldb/Symbol/Type.h (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp (diff)
The file was removedlldb/source/Symbol/Declaration.cpp
The file was addedlldb/include/lldb/Core/Declaration.h
The file was modifiedlldb/source/API/SBDeclaration.cpp (diff)
The file was modifiedlldb/source/Symbol/CMakeLists.txt (diff)
The file was modifiedlldb/source/Core/ValueObject.cpp (diff)
The file was modifiedlldb/unittests/Symbol/TestClangASTImporter.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp (diff)
The file was modifiedlldb/include/lldb/Symbol/Variable.h (diff)
The file was modifiedlldb/source/Core/Address.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h (diff)
The file was removedlldb/include/lldb/Symbol/Declaration.h
The file was modifiedlldb/source/Core/CMakeLists.txt (diff)
Commit adfffebec6d6910304e4b1ccdbef78e226a8fd32 by medismail.bennani
[lldb/Core] Add SourceLocationSpec class (NFC)

A source location specifier class that holds a Declaration object containing
a FileSpec with line and column information. The column line is optional.
It also holds search flags that can be fetched by resolvers to look inlined
declarations and/or exact matches.

It describes a specific location in a source file and allows the user
to perform checks and comparaisons between multiple instances of that class.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was addedlldb/source/Core/SourceLocationSpec.cpp
The file was modifiedlldb/source/Core/CMakeLists.txt (diff)
The file was modifiedlldb/unittests/Core/CMakeLists.txt (diff)
The file was addedlldb/unittests/Core/SourceLocationSpecTest.cpp
The file was addedlldb/include/lldb/Core/SourceLocationSpec.h
Commit a617e2064d694ce5ea608b24c52ee255a14c2ef7 by gbreynoo
[llvm-objdump] Remove Generic Options group from help text output

Reapply 7368624 after revert and fix

Looking at other tools using tablegen for help output, general options
like --help are not separated from other options. This change removes
the "Generic Options" option group so the options are listed together.
the macho specific option group is left unaffected.

The test help.test was modified to reflect this change.

Differential Revision: https://reviews.llvm.org/D101652
The file was modifiedllvm/test/tools/llvm-objdump/help.test (diff)
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td (diff)
Commit 0c2e2f88fbd3f3ffa2e441e08cdd17141e7bea97 by i
[llvm-objdump] Improve newline consistency between different pieces of information

When dumping multiple pieces of information (e.g. --all-headers),
there is sometimes no separator between two pieces.
This patch uses the "\nheader:\n" style, which generally improves
compatibility with GNU objdump.

Note: objdump -t/-T does not add a newline before "SYMBOL TABLE:" and "DYNAMIC SYMBOL TABLE:".
We add a newline to be consistent with other information.

`objdump -d` prints two empty lines before the first 'Disassembly of section'.
We print just one with this patch.

Differential Revision: https://reviews.llvm.org/D101796
The file was modifiedllvm/test/tools/llvm-objdump/ELF/verneed.test (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx9.s (diff)
The file was modifiedlld/test/MachO/arm64-reloc-got-load.s (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-failure.s (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-raw.s (diff)
The file was modifiedllvm/test/tools/llvm-objdump/MachO/section-headers.test (diff)
The file was modifiedllvm/test/tools/llvm-objdump/all-headers.test (diff)
The file was modifiedlld/test/MachO/arm64-32-reloc-got-load.s (diff)
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-dynamic-symbols.test (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/symbol-table.test (diff)
The file was modifiedlld/test/MachO/arm64-reloc-tlv-load.s (diff)
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s (diff)
The file was modifiedllvm/tools/llvm-objdump/ELFDump.cpp (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/verdef.test (diff)
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-section-name.s (diff)
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s (diff)
Commit 82956de05f9d63e5fbc170702649e5d978b51b80 by wmi
[SampleFDO] Fix a bug when appending function symbol into the Callees set of
Root node in ProfiledCallGraph.

In ProfiledCallGraph::addProfiledFunction, to add a function symbol into the
ProfiledCallGraph, currently an uninitialized ProfiledCallGraphNode node is
created by ProfiledFunctions[Name] and inserted into Callees set of Root node
before the node is initialized. The Callees set use
ProfiledCallGraphNodeComparer as its comparator so the uninitialized
ProfiledCallGraphNode may fail to be inserted into Callees set if it happens
to contain a name in memory which has been inserted into the Callees set
before. The problem will prevent some function symbols from being annotated
with profiles and cause performance regression. The patch fixes the problem.

Differential Revision: https://reviews.llvm.org/D101815
The file was modifiedllvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h (diff)
Commit 6da1c46227e0176269e41fc9620a534a6b14fe43 by Louis Dionne
[libc++] NFC: Fix typo in Ranges Status
The file was modifiedlibcxx/docs/OneRangesProposalStatus.csv (diff)
Commit 33ff3c20498ef5c2057730d91a9dbee21a027a31 by bjorn.a.pettersson
Revert "Make dependency between certain analysis passes transitive"

This reverts commit 3655f0757f2b4b61419446b326410118658826ba.

It caused assertion failures related to setLastUser in polly builds.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp (diff)
The file was modifiedllvm/lib/Analysis/LazyBranchProbabilityInfo.cpp (diff)
The file was modifiedllvm/lib/Analysis/LazyBlockFrequencyInfo.cpp (diff)
The file was removedllvm/test/Other/pr49950.ll
Commit 670736a904746e92dde141266b6d4881b56d51a2 by saghir
[PowerPC] Prevent argument promotion of types with size greater than 128 bits

This patch prevents argument promotion of types having
type size greater than 128 bits.

Fixes Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=49952

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D101188
The file was addedllvm/test/CodeGen/PowerPC/arg_promotion.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h (diff)
Commit 6523ff6d4759b2bca7a0c056e31e4bb76caf7324 by fraser
[ValueTypes] Add MVTs for v256i16 and v256f16

This patch adds the two MVTs to fix a legalizer crash when using vector
shuffles of <256 x i16> and <128 x i16> on RISC-V. The legalizer can't
promote the operand of `v256i32 = any_extend_vector_inreg v128i16`.

Reviewed By: craig.topper, RKSimon

Differential Revision: https://reviews.llvm.org/D101769
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td (diff)
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp (diff)
The file was modifiedllvm/include/llvm/Support/MachineValueType.h (diff)
The file was addedllvm/test/CodeGen/RISCV/rvv/interleave-crash.ll
Commit dcf6d0d389dfb6b83aa1a6c20db32dc31c19f531 by i
[llvm-objdump] Fix -a after D100433

-a is alias for --archive-headers, not --all-headers
The file was modifiedllvm/test/tools/llvm-objdump/archive-headers.test (diff)
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td (diff)
Commit e1c729c56829d3b9502b9ac2439003f87231db50 by n.james93
[clang-tidy][NFC] Update tests and Default options to use boolean value

Change instances where options which are boolean are assigned the value 1|0 to use true|false instead.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101721
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-pointer-offset.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-bool-literals.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-assert-side-effect.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-bool-literals-ignore-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-uppercase-literal-suffix-integer-macro.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-caps-only.cpp (diff)
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-not-null-terminated-result-memcpy-before-safe.c (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-int.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-non-private-member-variables-in-classes.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-inconsistent-declaration-parameter-name-strict.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-reserved-identifier-invert.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-array-subscript-expression.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-min-type-name-length.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/hicpp-signed-bitwise-integer-literals.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-sizeof-expression.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-inefficient-vector-operation.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-member-init.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-command-line-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-new-remove-stars.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-access-specifiers-check-first-declaration.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-literals.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-ignore-single-argument.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-chained-conditional-assignment.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-main-like.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-override-no-destructors.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/portability-simd-intrinsics-ppc.cpp (diff)
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-strict.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-cast-remove-stars.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init-assignment.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/44/.clang-tidy (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init-assignment.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-default-copy.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-using-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-raw-string-literal.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/hicpp-multiway-paths-covered-else.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-enum-usage-strict.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-allow-missing-move-when-copy-is-deleted.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-implicit-bool-conversion-allow-in-conditions.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-chained-conditional-return.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-inconsistent-declaration-parameter-name-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-enum-usage.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-noexcept-opt.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-avoid-bind-permissive-parameter-list.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-self-assignment-warn-only-if-this-has-suspicious-field.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-delete-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-raw-string-literal-delimiter.cpp (diff)
The file was modifiedclang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/.clang-tidy (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-widening-cast-implicit-enabled.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-unused-parameters-strict.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-emplace-ignore-implicit-constructors.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/portability-simd-intrinsics-x86.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-for-range-copy-warn-on-all-auto-copies.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-make-unique-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration-ignore-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-string-compare.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-smartptr-get-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-relaxed.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-string-compare.c (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/duplicate-conflicted-fixes-of-alias-checkers.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-member-init-use-assignment.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-widening-cast-explicit-only.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-move-const-arg-trivially-copyable.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-pedanticmode-option.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-default-macros.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-move-constructor-init.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-no-warn.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-override-allow-override-and-final.cpp (diff)
Commit 0172b1389ecfef2140d459db68f564125d5d41b6 by aeubanks
[docs] Fix some wording
The file was modifiedllvm/docs/NewPassManager.rst (diff)
Commit b451ecd86e13ec6ef47caf37f62977645c4f748e by andrew.savonichev
[Clang][AArch64] Disable rounding of return values for AArch64

If a return value is explicitly rounded to 64 bits, an additional zext
instruction is emitted, and in some cases it prevents tail call
optimization.

As discussed in D100225, this rounding is not necessary and can be
disabled.

Differential Revision: https://reviews.llvm.org/D100591
The file was modifiedclang/test/CodeGen/arm64-arguments.c (diff)
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp (diff)
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp (diff)
The file was modifiedclang/test/CodeGen/attr-noundef.cpp (diff)
The file was modifiedclang/test/CodeGen/aarch64-varargs.c (diff)
The file was modifiedclang/test/CodeGen/arm64-microsoft-arguments.cpp (diff)
The file was modifiedclang/test/CodeGenCXX/trivial_abi.cpp (diff)
Commit 4e7a4c73dab6605f4fcc7bf09c2ee85e7925f6d7 by Dávid Bolvanský
[InstSimplify] Added tests for PR50173, NFC
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll (diff)
Commit 1a79381bfaefa6320a3fd7267b7fb2dc2a3ef113 by i
[RISCV][test] Migrate llvm-objdump --riscv-no-aliases to -M no-aliases

--riscv-no-aliases is an internal cl::opt option not intended to be exported.
Use the user-facing -M no-aliases instead.
The file was modifiedllvm/test/MC/RISCV/rv32b-aliases-valid.s (diff)
The file was modifiedllvm/test/MC/RISCV/rvv/fothers.s (diff)
The file was modifiedllvm/test/MC/RISCV/rvv/store.s (diff)
The file was modifiedllvm/test/MC/RISCV/rvv/others.s (diff)
The file was modifiedllvm/test/MC/RISCV/rv64b-aliases-valid.s (diff)
The file was modifiedllvm/test/MC/RISCV/rvv/load.s (diff)
The file was modifiedllvm/test/MC/RISCV/rvv/zvlsseg.s (diff)
Commit 05a5073788ee6c32c9696994dcbbd25840c1e804 by i
[llvm-objdump] Delete temporary workaround option --riscv-no-aliases

Use the user-facing `-M no-aliases` instead.
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td (diff)
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp (diff)
Commit 632ee385134905a882c1d1d009afabb2d352b073 by mascasa
[libFuzzer] Further deflake exec-time test.

Increase runs to 200,000 since we currently get a random failure about
once per day on the buildbot.
The file was modifiedcompiler-rt/test/fuzzer/entropic-scale-per-exec-time.test (diff)
Commit 44fd4575b39a14f98f6c3ace91795bd75e14732c by nikita.ppv
[SimplifyCFG] Extract helper for creating logical op (NFC)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
Commit 54db12ff5a5ed33662c75bc465c5a44ac234c6f2 by nikita.ppv
[SimplifyCFG] Regenerate test checks (NFC)

Regenerate the branch weight test using --check-globals.
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll (diff)
Commit e20897726f080d6378668f8b4b656bbb34313578 by nikita.ppv
[SimplifyCFG] Create logical or in SimplifyCondBranchToCondBranch()

We need to use a logical or instead of a bitwise or to preserve
poison behavior. Poison from the second condition should not
propagate if the first condition is true.

We were already handling this correctly in FoldBranchToCommonDest(),
but not in this fold. (There are still other folds with this issue.)
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/wc-widen-block.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/SimplifyEqualityComparisonWithOnlyPredecessor-domtree-preservation-edgecase.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/extract-cost.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-fold.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
Commit 84bf107d50af1b8af122024773088f2e53b0802a by mascasa
[libFuzzer] Disable non-exec-time test again.

It was previously disabled for the past 6+ months.  I tried to re-enable
it after some deflaking, but it still fails occasionally.
The file was modifiedcompiler-rt/test/fuzzer/entropic-scale-per-exec-time.test (diff)
Commit 84c475437267e7fffedc40029ce274b099d8f8f3 by leonardchan
[clang] Add -fc++-abi= flag for specifying which C++ ABI to use

This implements the flag proposed in RFC
http://lists.llvm.org/pipermail/cfe-dev/2020-August/066437.html.

The goal is to add a way to override the default target C++ ABI through a
compiler flag. This makes it easier to test and transition between different
C++ ABIs through compile flags rather than build flags.

In this patch:

- Store -fc++-abi= in a LangOpt. This isn't stored in a CodeGenOpt because
  there are instances outside of codegen where Clang needs to know what the
  ABI is (particularly through ASTContext::createCXXABI), and we should be
  able to override the target default if the flag is provided at that point.
- Expose the existing ABIs in TargetCXXABI as values that can be passed
  through this flag.
  - Create a .def file for these ABIs to make it easier to check flag values.
  - Add an error for diagnosing bad ABI flag values.

Differential Revision: https://reviews.llvm.org/D85802
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td (diff)
The file was addedclang/test/Frontend/invalid-cxx-abi.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h (diff)
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was addedclang/test/CodeGenCXX/cxx-abi-switch.cpp
The file was addedclang/include/clang/Basic/TargetCXXABI.def
The file was modifiedclang/include/clang/Basic/LangOptions.h (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp (diff)
The file was modifiedclang/include/clang/Basic/TargetCXXABI.h (diff)
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
The file was modifiedclang/lib/AST/ASTContext.cpp (diff)
Commit e9edd11cda55834cc148798b1692911a5a646ace by i
[Hexagon][test] Migrate llvm-objdump --mv6[0567]t?/--mhvx to --mcpu=hexagonv*/--mattr=+hvx
The file was modifiedllvm/test/MC/Hexagon/v60-alu.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60lookup.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v66.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-vmem.s (diff)
The file was modifiedllvm/test/CodeGen/Hexagon/vect-regpairs.ll (diff)
The file was modifiedllvm/test/MC/Hexagon/hvx-double-implies-hvx.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v67.s (diff)
The file was modifiedllvm/test/MC/Hexagon/align.s (diff)
The file was modifiedllvm/test/MC/Hexagon/extensions/v67_hvx.s (diff)
The file was modifiedllvm/test/MC/Hexagon/smallcore_dis.s (diff)
The file was modifiedllvm/test/MC/Hexagon/z-instructions.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-permute.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-vcmp.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v62_all.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v67_all.s (diff)
The file was modifiedllvm/test/MC/Hexagon/cmpyrw.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v65_all.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-vmpy1.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-misc.s (diff)
The file was modifiedllvm/test/MC/Hexagon/hvx-swapped-regpairs.s (diff)
The file was modifiedllvm/test/CodeGen/Hexagon/bug18008.ll (diff)
The file was modifiedllvm/test/MC/Hexagon/quad_regs.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-vmpy-acc.s (diff)
The file was modifiedllvm/test/MC/Hexagon/v60-shift.s (diff)
Commit 61dc0f2b593da149a4c0cea67819cd7bdbdd50b8 by n.james93
[Format] Don't sort includes if DisableFormat is true

Fixes https://llvm.org/PR35099.

I'm not sure if this decision was intentional but its definitely confusing for users.

Reviewed By: MyDeveloperDay, HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D101628
The file was modifiedclang/lib/Format/Format.cpp (diff)
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp (diff)
Commit 23e2c1b1b385c7677cd60867797abaa6e4e8f0f5 by i
[llvm-objdump] Delete temporary Hexagon workaround options
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td (diff)
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp (diff)
Commit 974ff623aa898465b7f62802d83830805c4a516c by asbirlea
Add monthly MemorySSA sync.
The file was modifiedllvm/docs/GettingInvolved.rst (diff)
Commit 1971823ecb9eaa077554a5d268a44c7cb75eccce by Dan Liew
[Driver] Fix `ToolChain::getCompilerRTPath()` to return the correct path on Apple platforms.

When the target triple was an Apple platform `ToolChain::getOSLibName()`
(called by `getCompilerRTPath()`) would return the full OS name
including the version number (e.g. `darwin20.3.0`). This is not correct
because the library directory for all Apple platforms is `darwin`.

This in turn caused

* `-print-runtime-dir` to return a non-existant path.
* `-print-file-name=<any compiler-rt library>` to return the filename
  instead of the full path to the library.

Two regression tests are included.

rdar://77417317

Differential Revision: https://reviews.llvm.org/D101682
The file was modifiedclang/lib/Driver/ToolChain.cpp (diff)
The file was addedclang/test/Driver/darwin-print-file-name.c
The file was addedclang/test/Driver/darwin-print-runtime-dir.c
Commit 9c72a210b58f19632af0e91679da7aa63f51ad7a by leonardchan
Fix for test failure caused by 84c475437267e7fffedc40029ce274b099d8f8f3.

Reduces the number of targets/triples for this test since not all cmake
invocations will build for those targets.
The file was modifiedclang/test/Frontend/invalid-cxx-abi.cpp (diff)
Commit 313ee609e16b93a7d81cd595f8cffdb408390495 by georgakoudis1
[OpenMP] Fix non-determinism in clang task codegen (lastprivates)

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101800
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp (diff)
Commit 92f2c39f915adc8f71be02d2604df4916069c9d4 by georgakoudis1
[Utils] Run non-filecheck runlines in-order in update_cc_test_checks

The script update_cc_test_checks runs all non-filechecked runlines before the filechecked ones. This creates problems since outputs of those non-filechecked runlines may conflict and that will fail the execution of update_cc_test_checks. This patch executes non-filechecked in the order specified in the test file to avoid this issue.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101683
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/exec-all-runlines.c.expected (diff)
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/exec-all-runlines.c (diff)
The file was modifiedllvm/utils/update_cc_test_checks.py (diff)
Commit e87fb6d3875569bbc2e729732433e4865cdd1eff by martin
[libcxx] Update docs regarding the need for bash/posix tools for tests on Windows. NFC.

After 39bbfb77264a4a7a216921c2b70a30ba0f27eb56, bash is no longer
a hard requirement.

Differential Revision: https://reviews.llvm.org/D101779
The file was modifiedlibcxx/docs/BuildingLibcxx.rst (diff)
Commit 82de4e075339f5ad8d68cfe31eb45b771d4750ae by martin
[LLD] [COFF] Actually include the exported comdat symbols

This is a followup to 2b01a417d7ccb001ccc1185ef5fdc967c9fac8d7;
previously the RVAs of the exported symbols from comdats were left
zero.

Thanks to Kleis Auke Wolthuizen for the fix suggestion and pointing
out the omission.

Differential Revision: https://reviews.llvm.org/D101615
The file was modifiedlld/test/COFF/export-all.s (diff)
The file was modifiedlld/COFF/Driver.cpp (diff)
Commit 70c4930637fa9a43eabcbde66e5a74262da1e46c by martin
[llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones

Unwind info generated by MSVC tends to have relocations pointing at
static "label" symbols like "$LN4" instead of regular ones based on
the actual function's name. Try to resolve such symbols to a non-label
symbol if possible (ideally to an external symbol), to improve
the readability.

Differential Revision: https://reviews.llvm.org/D101567
The file was modifiedllvm/tools/llvm-readobj/ARMWinEHPrinter.cpp (diff)
The file was modifiedllvm/tools/llvm-readobj/ARMWinEHPrinter.h (diff)
The file was addedllvm/test/tools/llvm-readobj/COFF/arm64-unwind-preferred-symbol.yaml
Commit 6c3a10760da3707186d5204bd9283e99344fa90f by Adrian Prantl
Mark Basic/TargetCXXABI.def as textual in the module map.
The file was modifiedclang/include/clang/module.modulemap (diff)
Commit def86413d4c7bd088c3dbf445480a3eb2074da66 by lxfind
[Coroutines] Do not add alloca to the frame if the size is 0

This patch is to address https://bugs.llvm.org/show_bug.cgi?id=49916.
When the size of an alloca is 0, it will trigger an assertion in OptimizedStructLayout when being added to the frame.
Fix it by not adding it at all. We return index 0 (beginning of the frame) for all 0-sized allocas.

Differential Revision: https://reviews.llvm.org/D101841
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp (diff)
The file was addedllvm/test/Transforms/Coroutines/coro-zero-alloca.ll
Commit b14c8f5f6eb96e70adb553cc8a4257524881e029 by asbirlea
Add cal entry for MemorySSA syncs.
The file was modifiedllvm/docs/GettingInvolved.rst (diff)
Commit 14ca2e5e22e7806c77ca3e5b126e888c9b1c4041 by tlively
[WebAssembly] Mark abs of v2i64 as legal

We previously had an ISel pattern for i64x2.abs, but because the ISDNode was not
marked legal for v2i64, the instruction was not being selected.

Differential Revision: https://reviews.llvm.org/D101803
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (diff)
Commit 3d473ae72ea3f1bff6db6a3ebc226f3032cf530d by i
[MC] Remove unneeded "in '.xxx' directive" from diagnostics

The directive name is not useful because the next line replicates the error line
which includes the directive.
The file was modifiedllvm/test/MC/AsmParser/equ.s (diff)
The file was modifiedllvm/test/MC/AsmParser/floating-literals.s (diff)
The file was modifiedllvm/test/MC/ELF/lto-discard.s (diff)
The file was modifiedllvm/test/MC/Mips/asciiz-directive-bad.s (diff)
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp (diff)
The file was modifiedllvm/test/MC/AsmParser/exprs-invalid.s (diff)
The file was modifiedllvm/test/MC/COFF/cv-fpo-errors.s (diff)
The file was modifiedllvm/test/MC/ELF/cfi.s (diff)
The file was modifiedllvm/test/MC/Hexagon/data-directives-invalid.s (diff)
The file was modifiedllvm/test/MC/AsmParser/AArch64/directive-parse-err.s (diff)
The file was modifiedllvm/test/MC/RISCV/data-directives-invalid.s (diff)
Commit 6dd883477249dae1c57e07f6c4375eb90c2df297 by Matthew.Arsenault
X86/GlobalISel: Rely on default assignValueToReg

The resulting output is semantically closer to what the DAG emits and
is more compatible with the existing CCAssignFns.

The returns of f32 in f80 are clearly broken, but they were broken
before when using G_ANYEXT to go from f32 to f80.
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll (diff)
Commit ccfe0175109af904942672dcbb0dd32963f71338 by Matthew.Arsenault
GlobalISel: Fix missing newline in debug printing
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp (diff)
Commit 7b1e1fccb02af234cca44d84bfb045faef9e21c8 by i
[MC] Don't capitalize a floating point diagnostic
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp (diff)
The file was modifiedllvm/test/MC/AsmParser/floating-literals.s (diff)
Commit 17f2d1cb9b93d336d4187cd14307bef1ab535808 by Louis Dionne
[libc++] Fix QoI bug with construction of std::tuple involving std::any

In std::tuple, we should try to avoid calling std::is_copy_constructible
whenever we can to avoid surprising interactions with (I believe) compiler
builtins. This bug was reported in https://reviews.llvm.org/D96523#2730953.

The issue was that when tuple<_Up...> was the same as tuple<_Tp...>, we
would short-circuit the _Or (because sizeof...(_Tp) != 1) and go evaluate
the following `is_constructible<_Tp, const _Up&>...`. That shouldn't
actually be a problem, but see the analysis in https://reviews.llvm.org/D101770#2736470
for why it is with Clang and GCC.

Instead, after this patch, we check whether the constructed-from tuple
is the same as the current tuple regardless of the number of elements,
since we should always prefer the normal copy constructor in that case
anyway.

Differential Revision: https://reviews.llvm.org/D101770
The file was addedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/cnstr_with_any.compile.pass.cpp
The file was modifiedlibcxx/include/tuple (diff)
Commit 6a17609157196878b9cd9aa9ce71bde247ca14db by baptiste.saleil
[AMDGPU] Disable the scalar IR, SDWA and load store vectorizer passes at -O1

This patch disables some of the passes at -O1. These passes have a significant
impact on compilation time, so we only want them to be enabled starting from -O2.

Differential Revision: https://reviews.llvm.org/D101414
The file was addedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (diff)
Commit da456167f56a604810aaeb89d21d3c7047945566 by Louis Dionne
[libc++] Make sure std::to_address doesn't depend on P::element_type.

Differential Revision: https://reviews.llvm.org/D101638
The file was addedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was addedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was modifiedlibcxx/include/__memory/pointer_traits.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address.pass.cpp (diff)
The file was addedlibcxx/test/std/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was modifiedlibcxx/include/iterator (diff)
Commit 62fcda93788a93726f7bc7cb5c0699595e009ceb by Dávid Bolvanský
Revert "[InstSimplify] Added tests for PR50173, NFC"

This reverts commit 4e7a4c73dab6605f4fcc7bf09c2ee85e7925f6d7. Not needed, pattern is handled by instcombine already.
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll (diff)
Commit 7cac6a9d7a1d637bf6a0701ec56c69d2b58fda69 by i
[MC] Add MCAsmParser::parseComma to improve diagnostics

llvm-mc will error "expected comma" instead of "unexpected token".
The file was modifiedllvm/test/MC/ELF/cfi.s (diff)
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp (diff)
The file was modifiedllvm/test/MC/AsmParser/directive_dcb.s (diff)
The file was modifiedllvm/include/llvm/MC/MCParser/MCAsmParser.h (diff)
Commit a018bd51998df808b0e4eceb5edea9ba84488864 by baptiste.saleil
[AMDGPU] Fix lit failure introduced by 6a17609157196878b9cd9aa9ce71bde247ca14db
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll (diff)
Commit 1f7adf8cb1d77ba35b8fa322c93d0d88a4cdc1f0 by rob.suderman
[mlir][tosa] Fix tosa.concat by inserting linalg.fill after linalg.init

All linalg.init operations must be fed into a linalg operation before
subtensor. The inserted linalg.fill guarantees it executes correctly.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D101848
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir (diff)
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp (diff)
Commit ccebf7a1096a887e29d1f765cf6b27878466d0f4 by flo
[VPlan] Properly handle sinking of replicate regions.

This patch updates the code that sinks recipes required for first-order
recurrences to properly handle replicate-regions. At the moment, the
code would just move the replicate recipe out of its replicate-region,
producing an invalid VPlan.

When sinking a recipe in a replicate-region, we have to sink the whole
region. To do that, we first need to split the block at the target
recipe and move the region in between.

This patch also adds a splitAt helper to VPBasicBlock to split a
VPBasicBlock at a given iterator.

Fixes PR50009.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D100751
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp (diff)
The file was addedllvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
Commit c1c1df6347bff3167e9aa795b508f56b8fe5fbc1 by riddleriver
[mlir] Fix region successor bug in forward dataflow analysis

We weren't properly visiting region successors when the terminator wasn't return like, which could create incorrect results in the analysis. This revision ensures that we properly visit region successors, to avoid optimistically assuming a value is constant when it isn't.

Differential Revision: https://reviews.llvm.org/D101783
The file was modifiedmlir/test/Transforms/sccp-structured.mlir (diff)
The file was modifiedmlir/lib/Analysis/DataFlowAnalysis.cpp (diff)
Commit 845c8a60e9f3f6ce9bd8e7d312438f8824fbfdac by baptiste.saleil
[AMDGPU] Add rm line to lit test to cleanup bots
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll (diff)
Commit 347f69c55f45acd80070f522bed7417d402f84b0 by Louis Dionne
[libc++] Revert the std::to_address change to avoid relying on element_type.

This reverts commit da456167, which broke the Clang build. I'm able to
reproduce it but I want to give myself a bit more time to investigate.

Differential Revision: https://reviews.llvm.org/D101638
The file was modifiedlibcxx/include/__memory/pointer_traits.h (diff)
The file was removedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was removedlibcxx/test/std/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address.pass.cpp (diff)
The file was removedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was modifiedlibcxx/include/iterator (diff)
Commit 0277a24f4bbac284ba7a2ace7eeefdf6305e7f69 by leonardchan
[clang][test] Update -fc++-abi tests

This attempts to move driver tests out of Frontend and to Driver, separates
RUNs that should fail from RUNs that should succeed, and prevent creating
output files or dumping output.

Differential Revision: https://reviews.llvm.org/D101867
The file was addedclang/test/Frontend/valid-cxx-abi.cpp
The file was modifiedclang/test/Frontend/invalid-cxx-abi.cpp (diff)
The file was addedclang/test/Driver/cxx-abi-flag.cpp
Commit 36cec26b38573bccbf6a7ff9f661441276b8f545 by jianzhouzh
[dfsan] move dfsan_flags.h to cc files

D101666 needs this change.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101857
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h (diff)
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp (diff)
Commit 3e2ed7440569d59e073d4799b310255547bd2dd2 by medismail.bennani
[lldb] Refactor argument group by SourceLocationSpec (NFCI)

This patch refactors a good part of the code base turning the usual
FileSpec, Line, Column, CheckInlines, ExactMatch arguments into a
SourceLocationSpec object.

This change is required for a following patch that will add handling of the
column line information when doing symbol resolution.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h (diff)
The file was modifiedlldb/source/Breakpoint/Breakpoint.cpp (diff)
The file was modifiedlldb/source/Breakpoint/BreakpointResolver.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h (diff)
The file was modifiedlldb/source/Core/Module.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp (diff)
The file was modifiedlldb/source/Target/Target.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h (diff)
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolver.h (diff)
The file was modifiedlldb/source/Core/AddressResolverFileLine.cpp (diff)
The file was modifiedlldb/unittests/Symbol/TestLineEntry.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp (diff)
The file was modifiedlldb/include/lldb/Symbol/LineTable.h (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (diff)
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h (diff)
The file was modifiedlldb/source/Symbol/CompileUnit.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp (diff)
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileRegex.cpp (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h (diff)
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h (diff)
The file was modifiedlldb/source/Symbol/SymbolFile.cpp (diff)
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h (diff)
The file was modifiedlldb/source/API/SBThread.cpp (diff)
The file was modifiedlldb/source/Symbol/LineTable.cpp (diff)
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileLine.cpp (diff)
Commit f3b769e82ff3340e96c2e50ac2bd6361fbc3d797 by tlively
[WebAssembly] Add codegen test for wasm_simd128.h

We previously did not have tests demonstrating that the intrinsics in
wasm_simd128.h lower to reasonable LLVM IR. This commit adds such a test.

Differential Revision: https://reviews.llvm.org/D101805
The file was modifiedclang/test/Headers/wasm.c (diff)
Commit 956cae2f09b21429dbcb02066c99e35a239aa4bf by georgakoudis1
[OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks

This patch refactors a subset of Clang OpenMP tests, generating checklines using the update_cc_test_checks script. This refactoring facilitates updating the Clang OpenMP code generation codebase by automating test generation.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101849
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp (diff)
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp (diff)
The file was modified