AbortedChanges

Summary

  1. Reduce the number of parallell LLDB tests executing. (details)
  2. Also limit the number of parallel debuginfo-tests (details)
  3. Reduce the amount of parallelism in the debuginfo tests even further. (details)
  4. Add flang slaves builds with clang10 and gcc10 (details)
  5. [lldb] Increase test time-out from 60 to 90 minutes (details)
  6. Revert "Reduce the amount of parallelism in the debuginfo tests even further." (details)
  7. Add a one-time retry to debuginfo-tests. (details)
Commit 382c69834410f98b4ddda45a820d097a7709e039 by Adrian Prantl
Reduce the number of parallell LLDB tests executing.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit 82db1ca53f02d6b9d9da834851a69bfc3baa1c2f by Adrian Prantl
Also limit the number of parallel debuginfo-tests
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit da75a91597836a646a345fb5ba699915a6baa69e by Adrian Prantl
Reduce the amount of parallelism in the debuginfo tests even further.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit b06887ba004d88769b9d55fa4572aa92d95eec68 by caroline.concatto
Add flang slaves builds with clang10 and gcc10

Differential Revision: https://reviews.llvm.org/D85529
The file was modifiedbuildbot/osuosl/master/config/status.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/slaves.py (diff)
Commit cda7af100c2790582410858611b41791397bc366 by Jonas Devlieghere
[lldb] Increase test time-out from 60 to 90 minutes

This should account for the slower node while still giving us some
signal when the testing time regresses.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit c7fa651e0799f944904619af25f3bdba0e6f2f17 by Adrian Prantl
Revert "Reduce the amount of parallelism in the debuginfo tests even further."

This reverts commit da75a91597836a646a345fb5ba699915a6baa69e.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit 303368a0a9deff12488203e0b4b009d90c303db0 by Adrian Prantl
Add a one-time retry to debuginfo-tests.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)

Summary

  1. Add override to fix -Winconsistent-missing-override warning. (details)
  2. [NFC][StackSafety] Avoid assert in getBaseObjec (details)
  3. [StackSafety] Fix union which produces wrapped sets (details)
  4. Improve modeling of variable template specializations with dependent (details)
  5. [NFC][Attributor] Add missing override (details)
  6. [NFC][StackSafety] Count dataflow inputs (details)
  7. More cleanup after removing the ability to reference a dependent (details)
  8. [NFC][StackSafety] Add a couple of early returns (details)
  9. [clang] Allow DynTypedNode to store a TemplateArgumentLoc (details)
  10. [Concepts] Dump template arguments for immediately declared constraint. (details)
  11. [clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` was undefined after definition. (details)
  12. AMDGPU/GlobalISel: Lower G_FREM (details)
  13. Free the memory allocated by mlirOperationStateAddXXX methods in mlirOperationCreate. (details)
  14. [DebugInfo] Fix initialization of DwarfCompileUnit::LabelBegin. (details)
  15. [lldb][NFC] Remove dead code in BreakpointResolverAddress (details)
  16. [ScalarizeMaskedMemIntrin] Scalarize constant mask expandload as shuffle(build_vector,pass_through) (details)
  17. [ScalarizeMaskedMemIntrin][X86] Refresh missed transform test cases from rGc0c3b9a25fee (details)
  18. [PowerPC] Add intrinsic to read or set FPSCR register (details)
  19. [SyntaxTree] Implement the List construct. (details)
  20. [LoopInterchange] Form LCSSA phis for values in orig outer loop header. (details)
  21. [LoopInterchange] Move instructions from preheader to outer loop header. (details)
  22. [DebugInfo] Don't error for zero-length arange entries (details)
  23. [clangd] Fix the background index is not disabled when using remote-index. (details)
  24. [InstCombine] rearrange code for readability; NFC (details)
  25. [clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` is not a literal. (details)
  26. Revert "[DebugInfo] Don't error for zero-length arange entries" (details)
  27. [InstCombine] auto-generate test checks; NFC (details)
  28. AMDGPU/GlobalISel: Use nicer form of buildInstr (details)
  29. AMDGPU/GlobalISel: Fix typo (details)
  30. AMDGPU/GlobalISel: Merge load/store select cases (details)
  31. GlobalISel: Remove redundant check for empty blocks (details)
  32. PeepholeOptimizer: Use Register (details)
  33. AMDGPU/GlobalISel: Don't try to handle undef source operand (details)
  34. [clang-format] Add space between method modifier and a tuple return type in C# (details)
  35. [X86][SSE] combineTargetShuffle - rearrange shuffle(hop,hop) matching to delay shuffle mask manipulation. NFC. (details)
  36. [X86][SSE] Add single undef element HADD test cases from PR34724 (details)
  37. [SyntaxTree] Implement `NestedNameSpecifier` using the `List` base API (details)
  38. [DebugInfo] Don't error for zero-length arange entries (details)
  39. [ARM] Unrestrict Armv8-a IT when at minsize (details)
  40. [PowerPC] Add option to control PCRel GOT indirect linker optimization (details)
  41. [X86][SSE] Pull out shuffle(hop,hop) combine into combineShuffleWithHorizOp helper. NFC. (details)
  42. [AIX] Static init frontend recovery and backend support (details)
  43. Author: Shuhong Liu <shuhong.liu@ibm.com> (details)
  44. [XCOFF] Adjust .rename emission sequence (details)
  45. [PGO][CUDA][HIP] Skip generating profile on the device stub and wrong-side functions. (details)
  46. [SLP] Regenerate load-merge.ll tests (details)
  47. [X86][SSE] shuffle(hop,hop) - canonicalize unary hop(x,x) shuffle masks (details)
  48. [lld][WebAssembly] Handle weakly referenced symbols when lazy (archive) version is see first (details)
  49. [flang] Version information in flang/f18 (details)
  50. [llvm-symbolizer] Add back --version and add a -v alias (details)
  51. [Hexagon] Avoid creating an empty target feature (details)
  52. [SyntaxTree] Expand support for `NestedNameSpecifier` (details)
  53. Correctly set CompilingPCH in PrecompilePreambleAction. (details)
  54. [gn build] Port e2d61ae5733 (details)
  55. [mlir][vector] Relax transfer_read/transfer_write restriction on memref operand (details)
  56. [PGO] Delete dead comdat renaming code related to GlobalAlias. NFC (details)
  57. [NFC][MLInliner] Set up the logger outside the development mode advisor (details)
  58. [NFC][MLInliner] remove curly braces for a few sinle-line loops (details)
  59. [lldb] Fix NSArray0 data formatter and add test (details)
  60. [clangd] Fix crash-bug in preamble indexing when using modules. (details)
  61. [mlir][spirv] Add OpGroupBroadcast (details)
  62. [lldb] Skip TestSimulatorPlatform with out-of-tree debugserver (details)
  63. [MLIR][TableGen] Fix ambiguous build methods when inferring result types. (details)
  64. [ELF] Avoid creating a 2.1GB output file in arm-exidx-range.s (details)
  65. [WebAssembly] wasm64: fix memory.init operand types (details)
  66. [clangd] Have template template arguments target their referenced template decl (details)
  67. [MLIR] Make gpu.launch_func rewrite pattern part of the LLVM lowering pass. (details)
  68. [BreakFalseDeps][X86] Move operand loop out of X86's getUndefRegClearance and put in the pass. (details)
  69. Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record (details)
  70. AMDGPU: Fix visiting physreg dest users when folding immediate copies (details)
  71. AMDGPU: Fix assertion in performSHLPtrCombine for 64-bit pointers (details)
  72. [lldb] tab completion for `platform target-install` (details)
  73. [flang] Fix edge case with Hollerith (details)
  74. [flang] Avoid cascading error in subscript triplet (details)
  75. Unbundle KILL bundles in VirtRegRewriter (details)
  76. Fix "CHECK-LABEL: @" typos in llvm/test/CodeGen/AArch64/sve-fixed-length-*.ll (details)
  77. [MSAN RT] Use __sanitizer::mem_is_zero in __msan_test_shadow (details)
  78. [WebAssembly][ConstantFolding] Fold fp-to-int truncation intrinsics (details)
  79. [SampleFDO] Stop letting findCalleeFunctionSamples return unrelated profiles (details)
  80. [MachineOutliner][AArch64] WA for multiple stack fixup cases in MachineOutliner. (details)
  81. [XCOFF][AIX] Use TE storage mapping class when large code model is enabled (details)
  82. Fix "last accessed time" test failing on Windows (details)
  83. [AIX] Try to not use LLVM tools while building runtimes (details)
  84. [InstSimplify] Add test for expand binop undef issue (NFC) (details)
  85. [MLIR] Adding gpu.host_register op and lower it to a runtime call. (details)
  86. [Diagnostics] Avoid false positives with -Wstring-concatenation (details)
  87. [ARM] Speed up arm-cortex-cpus.c test (details)
  88. [Diagnostics] Move -Wstring-concatenation to -Wextra (details)
  89. [InstSimplify][test] Remove unused parameter in vscale.ll (details)
  90. [mlir][Linalg] Allow distribution `scf.parallel` loops generated in (details)
  91. [Clang] implement -fno-eliminate-unused-debug-types (details)
  92. [OpenMP][NFC] Reuse OMPIRBuilder `struct ident_t` handling in Clang (details)
  93. python bindings: fix DeprecationWarning (details)
  94. [mlir] Fix mlir build break due to warning when NDEBUG is not set (details)
  95. [Diagnostics] Ignore structs and long text for -Wstring-concatenation (details)
  96. Add regression test from PR46487. (details)
  97. [CUDA][HIP] Do not externalize implicit constant static variable (details)
  98. Improve diagnostic for an expression that's not constant because it uses (details)
  99. [llvm-jitlink] Update llvm-jitlink to use TargetProcessControl. (details)
  100. [CodeGen] Make MMI immutable NPM pass (details)
  101. test commit (details)
  102. Revert "[AIX] Try to not use LLVM tools while building runtimes" (details)
  103. [lld-macho] Handle command-line option -sectcreate SEG SECT FILE (details)
  104. [lld-macho] improve handling of -platform_version (details)
  105. [macho2yaml] Refactor the DWARF section dumpers. (details)
  106. [AST] add parenthesis locations for IfStmt and SwitchStmt (details)
  107. [lldb] Fix typo in AppleDWARFIndex (details)
  108. [X86][FPEnv] Teach X86 mask compare intrinsics to respect strict FP semantics. (details)
  109. [Sema] Fix missing warning on initializer lists on field initializers with overloaded operators (details)
  110. [macho2yaml][test] Specify the object file's endianness. NFC. (details)
  111. [macho2yaml][test] Specify the object file's endianness. NFC. (details)
  112. [lldb] Add missings moves where appropiate (NFC) (details)
  113. [Sparc] Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP macros on SPARCv9 (details)
  114. [mlir][shape] Fix description copy pasta (details)
  115. Move ELFObjHandler to TextAPI library (details)
  116. [gn build] Port e6f8ba12e6e (details)
  117. Revert "Move ELFObjHandler to TextAPI library" (details)
  118. [gn build] Port db91320a898 (details)
  119. [lldb] Use modern CMake to avoid repetition (NFC) (details)
  120. [lldb] Remove redundant add_definitions() in CMake (NFC) (details)
  121. [CodeGen] Expand float operand for STRICT_FSETCC/STRICT_FSETCCS (details)
  122. [X86] Custom match X86ISD::VPTERNLOG in X86ISelDAGToDAG in order to reduce isel patterns. (details)
  123. [Attributor][NFC] Connect AAPotentialValues with AAValueSimplify (details)
  124. Test requires a debug build to pass. (details)
  125. [LazyValueInfo] Let getEdgeValueLocal look into freeze instructions (details)
  126. Revert "[flang] Version information in flang/f18" (details)
  127. [clangd] Improve diagnostics in dexp interface (details)
  128. [lldb] tab completion for `watchpoint set variable` (details)
  129. [lldb] tab completion for `disassemble -F` (details)
  130. [RDA] Fix DBG_VALUE issues (details)
  131. [lldb][NFC] Remove unused custom reimplementation of realpath for Windows (details)
  132. [Analyzer] Improve invalid dereference bug reporting in DereferenceChecker. (details)
  133. [lldb] tab completion for `thread plan discard` (details)
  134. [lldb][NFC] Fix warning in Thread::AutoCompleteThreadPlans (details)
  135. [lldb] tab completion for 'command delete/unalias' (details)
  136. [SCEVExpander] Add helper to clean up instrs inserted while expanding. (details)
  137. [InstCombine] ~(~X + Y) -> X - Y (details)
  138. [lldb] type language common completion (details)
  139. [SLP] Make sure instructions are ordered when computing spill cost. (details)
  140. [Docs] Fixed missing closing quote character (details)
  141. [SystemZ/ZOS] Add binary format goff and operating system zos to the triple (details)
  142. [NFC] Fix typo in comment. (details)
  143. [lldb] tab completion for `target modules search-paths insert​` (details)
  144. Add missing `-o -` to a recent test (details)
  145. [lldb] move the frame index completion into a common completion and apply it to `thread backtrace -s` (details)
  146. [SVE] Lower fixed length vector integer subtract operations. (details)
  147. [lldb] tab completion for `target modules load -u` (details)
  148. [clangd] RIFF.cpp - Use logical && instead of bitwise & for padding check (details)
  149. [X86] Rename combineVectorPackWithShuffle -> combineHorizOpWithShuffle. NFC. (details)
  150. [SVE] Add ISD nodes for predicated integer extend inreg operations. (details)
  151. [VE] Update bit operations (details)
  152. [compiler-rt][ubsan][test] Fix TypeCheck/misaligned.cpp on Sparc (details)
  153. [lldb] Fix unhandled switch case for GOFF in GDBRemoteCommunicationClient (details)
  154. [X86][FPEnv] Fix a use after free (details)
  155. [lldb] stop-hook ID common completion for commands `target stop-hook enable/disable/delete' (details)
  156. [CodeGen] Refactor getMemBasePlusOffset & getObjectPtrOffset to accept a TypeSize (details)
  157. [AutoUpgrade] Simplify code (details)
  158. [clangd] Enforce trailing slash for remote index's project root (details)
  159. [lldb] thread index common completion for commands like `thread select/step-over` (details)
  160. [DebugInfo] Refactor .debug_macro checks. NFCI (details)
  161. [DebugInfo] Introduce GNU macro extension entry encodings (details)
  162. [DebugInfo] Allow GNU macro extension to be read (details)
  163. [AST][RecoveryExpr] Don't preserve the return type if the FunctionDecl is invalid. (details)
  164. Fix Wdocumentation unknown param warning. NFC. (details)
  165. Fix Wdocumentation unknown param warnings. NFC. (details)
  166. [SVE][CodeGen] Legalisation of INSERT_VECTOR_ELT for scalable vectors (details)
  167. [LLD][ELF] - Update and fix gnu-ifunc* tests. (details)
  168. [SCEV] ] If RHS >= Start, simplify (Start smax RHS) to RHS for trip counts. (details)
  169. [lldb] watchpoint ID common completion for commands `watchpoint delete/enable/disable/modify/ignore` (details)
  170. [lldb] Add SubstTemplateTypeParm to RemoveWrappingTypes (details)
  171. [clang-format] use spaces for alignment of binary/ternary expressions with UT_AlignWithSpaces (details)
  172. [X86][SSE] Add tests for HOP(LOSUBVECTOR(SHUFFLE(X)),HISUBVECTOR(SHUFFLE(X))) patterns (details)
  173. [X86][SSE] Add tests for 256-bit HOP(SHUFFLE(X,Y),SHUFFLE(X,Y)) --> SHUFFLE(HOP(X,Y)) patterns (details)
  174. [cmake] Make gtest macro definitions a part the library interface (details)
  175. [lld] s/dyn_cast/isa (details)
  176. [ARM][MVE] Added extra tail-predication runs for auto-correlation test case. NFC (details)
  177. [llvm-readobj] - Refine program headers testing (`-l`, `--program-headers` and `--segment`). (details)
  178. [flang][directives] Use TableGen information for clause classes in parse-tree (details)
  179. [llvm-readobj][test] - Rename gnu-phdrs.test to program-headers.test, NFCI. (details)
  180. [compiler-rt][builtins] Un-xfail two tests on sparcv9 (details)
  181. [llvm-readobj/elf] - Remove `unwrapOrError` calls from DumpStyle<ELFT>::printRelocationsHelper. (details)
  182. Revert "[flang][directives] Use TableGen information for clause classes in parse-tree" (details)
  183. [clangd] Unify macro matching in code completion for AST and Index based macros (details)
  184. [clangd] Disable ExtractFunction for C (details)
  185. [clang][HeaderInsert] Do not treat defines with values as header guards (details)
  186. [NFC][ARM][SimplifyCFG] Add some tests. (details)
  187. [flang] Disable -Wmaybe-uninitialized for GCC (details)
  188. TableGen/GlobalISel: Hack the operand order for atomic_store (details)
  189. [clang] Don't make synthesized accessor stub functions visible twice (details)
  190. [clang] Don't make ObjCIvarDecl visible twice when adding them to an implicit ObjCInterfaceDecl (details)
  191. [NFC] Guard the cost report block of debug outputs with NDEBUG and (details)
  192. GlobalISel: Implement bitcast action for G_INSERT_VECTOR_ELT (details)
  193. [flang][directives] Use TableGen information for clause classes in parse-tree (details)
  194. [DWARFYAML] Let the address size of line tables inferred from the object file. (details)
  195. [GlobalISel] Remove unused variable. NFC. (details)
  196. [DebugInfo] Simplify DwarfDebug::emitMacro (details)
  197. [DebugInfo] Allow GNU macro extension to be emitted (details)
  198. [clang] Add a matcher for template template parameters. (details)
  199. [split-file] Fix sys::fs::remove() on Solaris after D83834 (details)
  200. [ELF][test] Enhance x86-64-split-stack-prologue-adjust-success.s & non-abs-reloc.s (details)
  201. [ELF] Move the outSecOff addend from relocAlloc/relocNonAlloc/... to InputSectionBase::relocate (details)
  202. AMDGPU/GlobalISel: Fix test bugs and add a few more cases (details)
  203. AMDGPU/GlobalISel: Prepare for more custom load lowerings (details)
  204. [X86][SSE] Add HADD/SUB support to combineHorizOpWithShuffle (details)
  205. [mlir] Add verification to LLVM dialect types (details)
  206. [InstCombine] add tests for pointer casts with insertelement; NFC (details)
  207. [InstSimplify] add tests for min/max intrinsics with common operands; NFC (details)
  208. [InstSimplify] fold min/max with matching min/max operands (details)
  209. [Sema] Iteratively strip sugar when removing address spaces. (details)
  210. [clang] Do not crash for unsupported fixed point to floating point conversion (details)
  211. [GlobalISel] Add G_ABS (details)
  212. [NFC][LoopUnrollAndJam] Use BasicBlock::replacePhiUsesWith instead of (details)
  213. [flang] Allow compiler directives in more places (details)
  214. AMDGPU/GlobalISel: Manually select llvm.amdgcn.writelane (details)
  215. [lldb/CMake] Separate CMake code for Lua and Python (NFC) (details)
  216. [X86][SSE] combineShuffleWithHorizOp - avoid unnecessary subtraction. NFCI. (details)
  217. [DWARFYAML] Teach yaml2obj emit the correct line table program. (details)
  218. Fold Opcode into assert uses to fix an unused variable warning without asserts. (details)
  219. [libTooling] Cleanup and reorder `RewriteRule.h`. (details)
  220. [clangd][ObjC] Improve xrefs for protocols and classes (details)
  221. [InstSimplify] Forbid undef folds in expandBinOp (details)
  222. [libTooling] Move RewriteRule include edits to ASTEdit granularity. (details)
  223. [llvm-jitlink] Fix a file comment. (details)
  224. [ORC] Move file-descriptor based raw byte channel into a public header. (details)
  225. GlobalISel: Fix typo (details)
  226. [X86][SSE] combineShuffleWithHorizOp - canonicalize SHUFFLE(HOP(X,Y),HOP(Y,X)) -> SHUFFLE(HOP(X,Y)) (details)
  227. Fix MSVC "not all control paths return a value" warning. NFC. (details)
  228. [XCOFF][llvm-readobj] Move XCOFF test to XCOFF directory (details)
  229. [NFC][llvm-objcopy] Fix redundant config checks. (details)
  230. [GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y)) (details)
  231. [libc] Add strtok implementation. (details)
  232. [Flang] Fix release blocker issue #46931 related to documentation. (details)
  233. [lldb] Look beyond the first line to find the PID in TestAppleSimulatorOSType (details)
  234. [SLPVectorizer] Pre-commit a test for D85759 (details)
  235. Update AMDGPU testcases after bebe6a6449811e877f7eba3f1798ddd1fa83e440 (details)
  236. [lldb] Enable inheriting TCC permissions in lldb-test (details)
  237. [BPI] Teach BPI about bcmp function (details)
  238. [OpenMP] split execution of a long test into smaller parts. (details)
  239. [compiler-rt] XFAIL test on iOS (details)
  240. NFC. Constify MachineVerifier::verify parameter (details)
  241. Revert "[SLPVectorizer] Pre-commit a test for D85759" (details)
  242. Reland "[SLPVectorizer] Pre-commit a test for D85759" (details)
  243. [libunwind][NFC] Fix typo in comment (details)
  244. [AIX][XCOFF] change the operand of branch instruction from symbol name to qualified symbol name for function declarations (details)
  245. [WebAssembly][NFC] Replace WASM with standard Wasm (details)
  246. [gn build] Fix CodeGenTests (details)
  247. [libunwind] Fix incorrect check for out-of-boundedness (details)
  248. [NFC][InstCombine] Add tests for PHI merging/aggregate reconstruction (PR47060) (details)
  249. [lldb] Fix the last remaining tests not inheriting TCC permissions (details)
  250. [InstSimplify] Respect CanUseUndef in more places (details)
Commit b529c5270c99e0ca18e3cbd9a5f50eb0970e560a by echristo
Add override to fix -Winconsistent-missing-override warning.
The file was modifiedlldb/include/lldb/Target/ThreadPlanPython.h
Commit a6feeb1c6b614ff17ee65a78e0525561adf514af by Vitaly Buka
[NFC][StackSafety] Avoid assert in getBaseObjec
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit dee812a297c2a5810be7674680314ba9150fe50c by Vitaly Buka
[StackSafety] Fix union which produces wrapped sets
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
Commit 617007240cbfb97c8ccf6d61b0c4ca0bb62d43c9 by richard
Improve modeling of variable template specializations with dependent
arguments.

Don't build a variable template specialization declaration until its
scope and template arguments are non-dependent.

No functionality change intended, but the AST representation is now more
consistent with how we model other templates.
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Sema/SemaExprMember.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit fbd33baa27f8acce24ea58013fda0c2421c928f9 by Vitaly Buka
[NFC][Attributor] Add missing override
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 8d91ce8f589c0ab62bd782fd314cecdc979556f7 by Vitaly Buka
[NFC][StackSafety] Count dataflow inputs
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit a4ca710d9ca9a779a97050149a483f7a5b24dd02 by richard
More cleanup after removing the ability to reference a dependent
VarTemplateSpecializationDecl.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 1970eefb17e9790ed8a1087805ac2a05a7f36727 by Vitaly Buka
[NFC][StackSafety] Add a couple of early returns
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit b1c7f84643ffa63e72733b7089cea89723b82afc by zeratul976
[clang] Allow DynTypedNode to store a TemplateArgumentLoc

The patch also adds a templateArgumentLoc() AST matcher.

Differential Revision: https://reviews.llvm.org/D85621
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/include/clang/AST/ASTTypeTraits.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/lib/AST/ASTTypeTraits.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchFinder.h
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
Commit 626d0f5818b223f04904c510eaa682db7a41c2dd by hokein.wu
[Concepts] Dump template arguments for immediately declared constraint.

The template arguments were dumped as part of the TemplateTypeParmDecl, which
was incorrect.

Differential Revision: https://reviews.llvm.org/D85282
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/test/AST/ast-dump-concepts.cpp
Commit 5965fbf81b25217c40b09b48bd808a8f4a5d4e89 by platonov.aleksandr
[clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` was undefined after definition.

PP->getMacroInfo() returns nullptr for undefined macro, so we need to check this return value before dereference.
Stack dump:
```
#0 0x0000000002185e6a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/llvm-project/build/bin/clang-tidy+0x2185e6a)
#1 0x0000000002183e8c llvm::sys::RunSignalHandlers() (/llvm-project/build/bin/clang-tidy+0x2183e8c)
#2 0x0000000002183ff3 SignalHandler(int) (/llvm-project/build/bin/clang-tidy+0x2183ff3)
#3 0x00007f37df9b1390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#4 0x000000000052054e clang::tidy::bugprone::NotNullTerminatedResultCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) (/llvm-project/build/bin/clang-tidy+0x52054e)
```

Reviewed By: hokein

Differential Revision: https://reviews.llvm.org/D85523
The file was modifiedclang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-not-null-terminated-result-undef-stdc-want-lib-ext1.c
Commit 0d58d9e8fb937b422baaf96dc7c60e7c3a128302 by petar.avramovic
AMDGPU/GlobalISel: Lower G_FREM

Add custom lower for G_FREM.

Differential Revision: https://reviews.llvm.org/D84324
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll
Commit 69eb7e36aa3c71997811054bb31d4546b08bfff0 by zinenko
Free the memory allocated by mlirOperationStateAddXXX methods in mlirOperationCreate.

Previously, the memory leaks on heap. Since the MlirOperationState is not intended to be used again after mlirOperationCreate, the patch simplify frees the memory in mlirOperationCreate instead of creating any new API.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D85629
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
Commit d400606f8cb2474a436df42d7d6c897ba6c9c4ee by ikudrin
[DebugInfo] Fix initialization of DwarfCompileUnit::LabelBegin.

This also fixes the condition in the assertion in
DwarfCompileUnit::getLabelBegin() because it checked something unrelated
to the returned value.

Differential Revision: https://reviews.llvm.org/D85437
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
Commit 8119d6c14695b436adb66f0d891863eeea9e62ad by Raphael Isemann
[lldb][NFC] Remove dead code in BreakpointResolverAddress
The file was modifiedlldb/source/Breakpoint/BreakpointResolverAddress.cpp
Commit c0c3b9a25feec84e739cc3a2b30e1ac336648799 by llvm-dev
[ScalarizeMaskedMemIntrin] Scalarize constant mask expandload as shuffle(build_vector,pass_through)

As noticed on D66004, scalarization of an expandload with a constant mask as a chain of irregular loads+inserts makes it tricky to optimize before lowering, resulting in difficulties in merging loads etc.

This patch instead scalarizes the expansion to a build_vector(load0, load1, undef, load2,....) style pattern and then performs a blend shuffle with the pass through vector. This allows us to more easily make use of all the build_vector combines, merging of consecutive loads etc.

Differential Revision: https://reviews.llvm.org/D85416
The file was modifiedllvm/test/CodeGen/X86/masked_expandload.ll
The file was modifiedllvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
Commit 0b26c9eddc4f0112f18f75f64c0fb4e5839a6795 by llvm-dev
[ScalarizeMaskedMemIntrin][X86] Refresh missed transform test cases from rGc0c3b9a25fee

Differential Revision: https://reviews.llvm.org/D85416
The file was modifiedllvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-expandload.ll
Commit dbcfbffc7ae46cc7b84257787681676144a1bd5f by qiucofan
[PowerPC] Add intrinsic to read or set FPSCR register

This patch introduces two intrinsics: llvm.ppc.setflm and
llvm.ppc.readflm. They read from or write to FPSCR register
(floating-point status & control) which contains rounding mode and
exception status.

To ensure correctness of program, we need to prevent FP operations from
being moved across these intrinsics (mffs/mtfsf instruction), so here I
set them as scheduling boundaries. We can relax such restriction if
FPSCR is modeled well in the future.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D84914
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
The file was addedllvm/test/CodeGen/PowerPC/read-set-flm.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
Commit a90c78ac52615d256142ecd64fbedabb612dc73f by ecaldas
[SyntaxTree] Implement the List construct.

We defined a List construct to help with the implementation of list-like
grammar rules. This is a first implementation of this API.

Differential Revision: https://reviews.llvm.org/D85295
The file was modifiedclang/include/clang/Tooling/Syntax/Tree.h
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
The file was modifiedclang/lib/Tooling/Syntax/Nodes.cpp
The file was modifiedclang/include/clang/Tooling/Syntax/Nodes.h
Commit 54cb552b962097d0e3ef7306b69a3c82cc7fff37 by flo
[LoopInterchange] Form LCSSA phis for values in orig outer loop header.

Values defined in the outer loop header could be used in the inner loop
latch. In that case, we need to create LCSSA phis for them, because after
interchanging they will be defined in the new inner loop and used in the
new outer loop.
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
The file was modifiedllvm/test/Transforms/LoopInterchange/lcssa-preheader.ll
Commit 8393b9fd1f36d9273fa0720872e3996495aacc1c by flo
[LoopInterchange] Move instructions from preheader to outer loop header.

Instructions defined in the original inner loop preheader may depend on
values defined in the outer loop header, but the inner loop header will
become the entry block in the loop nest. Move the instructions from the
preheader to the outer loop header, so we do not break dominance. We
also have to check for unsafe instructions in the preheader. If there
are no unsafe instructions, all instructions should be movable.

Currently we move all instructions except the terminator and rely on
LICM to hoist out invariant instructions later.

Fixes PR45743
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
The file was addedllvm/test/Transforms/LoopInterchange/pr45743-move-from-inner-preheader.ll
The file was modifiedllvm/test/Transforms/LoopInterchange/lcssa-preheader.ll
Commit cb3a598c87db2db997401b82dfb3f7f80707194e by james.henderson
[DebugInfo] Don't error for zero-length arange entries

Although the DWARF specification states that .debug_aranges entries
can't have length zero, these can occur in the wild. There's no
particular reason to enforce this part of the spec, since functionally
they have no impact. The patch removes the error and introduces a new
warning for premature terminator entries which does not stop parsing.

Fixes https://bugs.llvm.org/show_bug.cgi?id=46805. See also
https://reviews.llvm.org/D71932 which originally introduced the error.

Reviewed by: ikudrin, dblaikie

Differential Revision: https://reviews.llvm.org/D85313
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp
Commit 3d2cf72943295d167062b54e663e2f5236df2c5d by hokein.wu
[clangd] Fix the background index is not disabled when using remote-index.

Differential Revision: https://reviews.llvm.org/D85637
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp
Commit bebca662d4ff77a69f5f492dc7b14dcc5208840a by spatel
[InstCombine] rearrange code for readability; NFC

The code comment refers to the path where we change the
size of the integer type, so handle that first, otherwise
deal with the general case.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit dcb8d3b72234ea557df2af1141ad30bf1670a03a by platonov.aleksandr
[clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` is not a literal.

If `__STDC_WANT_LIB_EXT1__` is not a literal (e.g. `#define __STDC_WANT_LIB_EXT1__ ((unsigned)1)`) bugprone-not-null-terminated-result check crashes.
Stack dump:
```
#0 0x0000000002185e6a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/llvm-project/build/bin/clang-tidy+0x2185e6a)
#1 0x0000000002183e8c llvm::sys::RunSignalHandlers() (/llvm-project/build/bin/clang-tidy+0x2183e8c)
#2 0x0000000002183ff3 SignalHandler(int) (/llvm-project/build/bin/clang-tidy+0x2183ff3)
#3 0x00007f08d91b1390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#4 0x00000000021338bb llvm::StringRef::getAsInteger(unsigned int, llvm::APInt&) const (/llvm-project/build/bin/clang-tidy+0x21338bb)
#5 0x000000000052051c clang::tidy::bugprone::NotNullTerminatedResultCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) (/llvm-project/build/bin/clang-tidy+0x52051c)
```

Reviewed By: hokein

Differential Revision: https://reviews.llvm.org/D85525
The file was modifiedclang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-not-null-terminated-result-stdc-want-lib-ext1-not-a-literal.c
Commit bc5d68dd8a17d2e9cc80481478f3d0c149df32e7 by thakis
Revert "[DebugInfo] Don't error for zero-length arange entries"

This reverts commit cb3a598c87db2db997401b82dfb3f7f80707194e.
Breaks build of check-llvm dep obj2yaml everywhere.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp
Commit 3d5118b75c657c64251e191cd9686633b09170df by spatel
[InstCombine] auto-generate test checks; NFC
The file was modifiedllvm/test/Transforms/InstCombine/cast_ptr.ll
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
Commit 9533f0ea68266b0c7c7ba2bed1d4ae410ce23f36 by Matthew.Arsenault
AMDGPU/GlobalISel: Use nicer form of buildInstr
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit c8b17874e571d163637cfac57fd4c876ba242bef by Matthew.Arsenault
AMDGPU/GlobalISel: Fix typo
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit a0ec81f70de2de5367f02e3c2a07e877c7ec7edb by Matthew.Arsenault
AMDGPU/GlobalISel: Merge load/store select cases
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 0bbf4bb8db29bd97ae54fe741baebc3062be60d9 by Matthew.Arsenault
GlobalISel: Remove redundant check for empty blocks
The file was modifiedllvm/lib/CodeGen/GlobalISel/Combiner.cpp
Commit f9c279b0574e8f98cd638170c99f29bd4dea4130 by Matthew.Arsenault
PeepholeOptimizer: Use Register
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/CodeGen/PeepholeOptimizer.cpp
Commit 40188f807dc7e59a5d1db9cd5d59f234af2aa2d6 by Matthew.Arsenault
AMDGPU/GlobalISel: Don't try to handle undef source operand

This is now illegal MIR
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 5f104a809983aa3b90f75fb411a9c8472545d270 by jbcoe
[clang-format] Add space between method modifier and a tuple return type in C#

"public (string name, int age) methodTuple() {}" is now properly spaced

Patch by lukaszkrawczyk@google.com

Reviewed By: jbcoe, krasimir

Differential Revision: https://reviews.llvm.org/D85016
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit e6dc2c8ce7dbc307c89f9ca5020087a6a6fb15d0 by llvm-dev
[X86][SSE] combineTargetShuffle - rearrange shuffle(hop,hop) matching to delay shuffle mask manipulation. NFC.

Check that we're shuffling hadd/pack ops first before altering shuffle masks.

First step towards adding extra functionality, plus it avoids costly shuffle mask manipulation if not necessary.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 891ddfc6438028c954b20683b31890e553ac109c by llvm-dev
[X86][SSE] Add single undef element HADD test cases from PR34724
The file was modifiedllvm/test/CodeGen/X86/haddsub-undef.ll
Commit fdbd5996533dad25f00687f27ce8e7a8b7573ba3 by ecaldas
[SyntaxTree] Implement `NestedNameSpecifier` using the `List` base API
The file was modifiedclang/include/clang/Tooling/Syntax/Nodes.h
The file was modifiedclang/lib/Tooling/Syntax/Nodes.cpp
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
Commit ca05601cd2a1b75050538ef2e78de205f1300692 by james.henderson
[DebugInfo] Don't error for zero-length arange entries

Although the DWARF specification states that .debug_aranges entries
can't have length zero, these can occur in the wild. There's no
particular reason to enforce this part of the spec, since functionally
they have no impact. The patch removes the error and introduces a new
warning for premature terminator entries which does not stop parsing.

This is a relanding of cb3a598c87db, adding the missing obj2yaml part
that was needed.

Fixes https://bugs.llvm.org/show_bug.cgi?id=46805. See also
https://reviews.llvm.org/D71932 which originally introduced the error.

Reviewed by: ikudrin, dblaikie, Higuoxing

Differential Revision: https://reviews.llvm.org/D85313
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-aranges.yaml
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp
Commit 4f9f4b21e07ba8137b40659ac5d3955586ce81bb by sam.parker
[ARM] Unrestrict Armv8-a IT when at minsize

IT blocks with more than one instruction were performance deprecated in Armv8
but that doesn't mean we should follow that advise when optimising for size.

Differential Revision: https://reviews.llvm.org/D85638
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/ARM/ifcvt-size.mir
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/test/CodeGen/ARM/codesize-ifcvt.mir
Commit 81883ca074556f9598a8a2f43ccfb81489baeb78 by stefanp
[PowerPC] Add option to control PCRel GOT indirect linker optimization

Add a hidden option to the compiler to control a the PC Relative GOT indirect
linker optimization.

If this option is set to false the compiler will no loger produce the
relocations required by the linker to perform the optimization.

Reviewed By: nemanjai, NeHuang, #powerpc

Differential Revision: https://reviews.llvm.org/D85377
The file was modifiedllvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
The file was addedllvm/test/CodeGen/PowerPC/pcrel-linkeropt-option.ll
Commit 07e673a02bb163a70b2b5eff8231578646a20120 by llvm-dev
[X86][SSE] Pull out shuffle(hop,hop) combine into combineShuffleWithHorizOp helper. NFC.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 6ef801aa6bc01fc49a8e83ddb217470b5e2337dd by Xiangling.Liao
[AIX] Static init frontend recovery and backend support

On the frontend side, this patch recovers AIX static init implementation to
use the linkage type and function names Clang chooses for sinit related function.

On the backend side, this patch sets correct linkage and function names on aliases
created for sinit/sterm functions.

Differential Revision: https://reviews.llvm.org/D84534
The file was modifiedclang/test/CodeGenCXX/aix-static-init-debug-info.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was addedclang/test/CodeGenCXX/aix-static-init-temp-spec-and-inline-var.cpp
The file was modifiedclang/unittests/CodeGen/IncrementalProcessingTest.cpp
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-static-init-non-default-priority.ll
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
The file was addedllvm/test/CodeGen/PowerPC/aix-static-init-key-object.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-static-init-default-priority.ll
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/test/CodeGenCXX/aix-static-init.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-static-init-no-unique-module-id.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit b129c9d81aff8ece71eb29df1e5f31136a48c040 by shuhong.liu
Author: Shuhong Liu <shuhong.liu@ibm.com>
Date:   Mon Aug 10 10:31:50 2020 +0300

    [AIX][Clang][Driver] Generate reference to the C++ library on the link step

    Have the linker find libc++ on its search path by adding -lc++.

    Reviewed by: daltenty, hubert.reinterpretcast, stevewan

    Differential Revision: https://reviews.llvm.org/D85315
The file was modifiedclang/test/Driver/aix-ld.c
The file was modifiedclang/lib/Driver/ToolChains/AIX.h
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp
Commit 7866442b3f5d395e7f92a5d6b6ed0df3e4ba429b by jasonliu
[XCOFF] Adjust .rename emission sequence

Summary:
AIX assembler does not generate correct relocation when .rename
appear between tc entry label and .tc directive.
So only emit .rename after .tc/.comm or other linkage is emitted.

Reviewed By: daltenty, hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D85317
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
Commit c7b683c126b849dab5c81e7deecfc1e61f8563a0 by michael.hliao
[PGO][CUDA][HIP] Skip generating profile on the device stub and wrong-side functions.

- Skip generating profile data on `__global__` function in the host
  compilation. It's a host-side stub function only and don't have
  profile instrumentation generated on the real function body. The extra
  profile data results in the malformed instrumentation profile data.
- Skip generating region mapping on functions in the wrong-side, i.e.,
  + For the device compilation, skip host-only functions; and,
  + For the host compilation, skip device-only functions (including
    `__global__` functions.)
- As the device-side profiling is not ready yet, only host-side profile
  code generation is checked.

Differential Revision: https://reviews.llvm.org/D85276
The file was modifiedclang/lib/CodeGen/CodeGenPGO.cpp
The file was addedclang/test/CodeGenCUDA/profile-coverage-mapping.cu
Commit 90f721404ff84d904085687bcb58ae798b5d5209 by llvm-dev
[SLP] Regenerate load-merge.ll tests

Noticed this NFC change in D57779
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
Commit 9a368d2b0088a8b7209c4a435427dfe8ad62744f by llvm-dev
[X86][SSE] shuffle(hop,hop) - canonicalize unary hop(x,x) shuffle masks

If a shuffle is referring to both the lower and upper half lanes of an unary horizontal op, then canonicalize the mask to only refer to the lower half.
The file was modifiedllvm/test/CodeGen/X86/haddsub-undef.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b34ec5969f1ad27f48ebc0d35a3fe37e810a8a32 by sbc
[lld][WebAssembly] Handle weakly referenced symbols when lazy (archive) version is see first

When a weak reference of a lazy symbol occurs we were not correctly
updating the lazy symbol.  We need to tag the existing lazy symbol
as weak and, in the case of a function symbol, give it a signature.

Without the signature we can't then create the dummy function which
is needed when an weakly undefined function is called.

We had tests for weakly referenced lazy symbols but we were only
tests in the case where the reference was seen before the lazy
symbol.

See: https://github.com/WebAssembly/wasi-libc/pull/214

Differential Revision: https://reviews.llvm.org/D85567
The file was modifiedlld/test/wasm/archive-weak-undefined.ll
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/Symbols.cpp
The file was modifiedlld/wasm/Symbols.h
Commit 89a9db438f85c6d4c0f11ecd0448bb71e1deac24 by richard.barton
[flang] Version information in flang/f18

Fixed some version information in flang/f18:

  - fixed the behavior of the -v switch: this flag enables verbosity with used with arguments, but just displays the version when used alone (related to this bug: https://bugs.llvm.org/show_bug.cgi?id=46017)
- added __FLANG, __FLANG_MAJOR__, __FLANG_MINOR__ and __FLANG_PATCHLEVEL__ (similar to their __F18* counterparts) for compatibility purpose

Reviewed By: sscalpone, AlexisPerry, richard.barton.arm, tskeith

Differential Revision: https://reviews.llvm.org/D84334
The file was addedflang/tools/f18/f18_version.h.in
The file was modifiedflang/tools/f18/f18.cpp
The file was modifiedflang/test/Driver/version_test.f90
The file was addedflang/test/Preprocessing/compiler_defined_macros.F90
The file was modifiedflang/tools/f18/CMakeLists.txt
Commit 0b7f12521966e04bd60df3e7a5327556631d2057 by i
[llvm-symbolizer] Add back --version and add a -v alias

The switch from llvm::cl to OptTable (D83530) dropped --version, which
is needed by some users.

This patch also adds a -v alias, which is available in GNU addr2line.

The version dumping is similar to llvm-objcopy --version (exotic):

```
llvm-symbolizer
LLVM (http://llvm.org/):
  LLVM version 12.0.0git
  Optimized build with assertions.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: skylake-avx512
```

Reviewed By: dyung, jhenderson

Differential Revision: https://reviews.llvm.org/D85624
The file was modifiedllvm/docs/CommandGuide/llvm-symbolizer.rst
The file was modifiedllvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
The file was addedllvm/test/tools/llvm-symbolizer/version.test
The file was modifiedllvm/tools/llvm-symbolizer/Opts.td
Commit 7406eb4f6afd8df9bd4dbb918f5e7005ba71d58c by kparzysz
[Hexagon] Avoid creating an empty target feature

If the CPU string is empty, the target feature map may end up having
an empty string inserted to it. The symptom of the problem is a warning
message:
  '+' is not a recognized feature for this target (ignoring feature)
Also, the target-features attribute in the module will have an empty
string in it.
The file was addedclang/test/CodeGen/hexagon-empty-cpu-feature.c
The file was modifiedclang/lib/Basic/Targets/Hexagon.cpp
Commit f9500cc487573c55ea37b4ee6e9162d115753a48 by ecaldas
[SyntaxTree] Expand support for `NestedNameSpecifier`

Summary:
We want NestedNameSpecifier syntax nodes to be generally supported, not
only for `DeclRefExpr` and `DependentScopedDeclRefExpr`.

To achieve this we:
* Use the `RecursiveASTVisitor`'s API to traverse
`NestedNameSpecifierLoc`s and automatically create its syntax nodes
* Add links from the `NestedNameSpecifierLoc`s to their syntax nodes.

In this way, from any semantic construct that has a `NestedNameSpecifier`,
we implicitly generate its syntax node via RAV and we can easily access
this syntax node via the links we added.
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
The file was modifiedclang/include/clang/AST/NestedNameSpecifier.h
Commit e2d61ae5733316a14783b36c84b8e7681b0e3d59 by adamcz
Correctly set CompilingPCH in PrecompilePreambleAction.

This fixes a crash bug in clangd when used with modules. ASTWriter would
end up writing references to submodules into the PCH file, but upon
reading the submodules would not exists and
HeaderFileInfoTrait::ReadData would crash.

Differential Revision: https://reviews.llvm.org/D85532
The file was modifiedclang/unittests/Frontend/ASTUnitTest.cpp
The file was addedclang-tools-extra/clangd/unittests/ModulesTests.cpp
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt
Commit 1042f079ee658df896766bbbb84126501aa56221 by llvmgnsyncbot
[gn build] Port e2d61ae5733
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
Commit 68330ee0a977926d2f2857c62420b7729f4e45d3 by thomasraoux
[mlir][vector] Relax transfer_read/transfer_write restriction on memref operand

Relax the verifier for transfer_read/transfer_write operation so that it can
take a memref with a different element type than the vector being read/written.

This is based on the discourse discussion:
https://llvm.discourse.group/t/memref-cast/1514

Differential Revision: https://reviews.llvm.org/D85244
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
Commit 3b21a07fd7fd09618032db49f919cf917ef8afd7 by i
[PGO] Delete dead comdat renaming code related to GlobalAlias. NFC

A GlobalAlias is an address-taken user of its aliased function.
canRenameComdatFunc has excluded such cases.

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D85597
The file was modifiedllvm/test/Transforms/PGOProfile/comdat_rename.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Commit d5c81be3ca2504e32a99b57711ae101e02d810fa by mtrofin
[NFC][MLInliner] Set up the logger outside the development mode advisor

This allows us to subsequently configure the logger for the case when we
use a model evaluator and want to log additional outputs.

Differential Revision: https://reviews.llvm.org/D85577
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
Commit 211117b66029f974c059366003c236713adfcfcb by mtrofin
[NFC][MLInliner] remove curly braces for a few sinle-line loops
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
Commit b8ff0daeac0752689ffca9345686845d1b7cfed8 by Jonas Devlieghere
[lldb] Fix NSArray0 data formatter and add test

Fixes PR47089
The file was modifiedlldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py
The file was modifiedlldb/test/API/functionalities/data-formatter/nsarraysynth/main.m
The file was modifiedlldb/source/Plugins/Language/ObjC/NSArray.cpp
Commit 4061d9e42cff621462931ac7df9666806c77a237 by adamcz
[clangd] Fix crash-bug in preamble indexing when using modules.

Summary:
When preamble contains #undef, indexing code finds the matching #define
and uses that during indexing. However, it would only look for local
definitions. If the macro was defined in a module, MacroInfo
would be nullptr and clangd would crash.

This change makes clangd ignore any #undef without a matching #define
inside the same TU.

The indexing of macros happens for preamble only, so then #undef must be
in the preamble, which is why we need two .h files in a test.

Note that clangd is currently not ready for module support, but this
brings us one step closer.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80525
The file was modifiedclang-tools-extra/clangd/unittests/TestTU.cpp
The file was modifiedclang/lib/Index/IndexingAction.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TestFS.h
The file was modifiedclang-tools-extra/clangd/unittests/TestTU.h
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Commit a8fe40d9732721ed9a083cb917650f8f12b787b3 by thomasraoux
[mlir][spirv] Add OpGroupBroadcast

OpGroupBroadcast added to SPIRV dialect

Differential Revision: https://reviews.llvm.org/D85435
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td
The file was modifiedmlir/test/Dialect/SPIRV/group-ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/group-ops.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
Commit 3162c6aa4587d5161008d2b9729b5f2873b0fff9 by Jonas Devlieghere
[lldb] Skip TestSimulatorPlatform with out-of-tree debugserver
The file was modifiedlldb/test/API/macosx/simulator/TestSimulatorPlatform.py
Commit 13d05787d0d2dfdfd81939c2e5c41b6a913f5619 by jurahul
[MLIR][TableGen] Fix ambiguous build methods when inferring result types.

- Fix ODS framework to suppress build methods that infer result types and are
  ambiguous with collective variants. This applies to operations with a single variadic
  inputs whose result types can be inferred.
- Extended OpBuildGenTest to test these kinds of ops.

Differential Revision: https://reviews.llvm.org/D85060
The file was modifiedmlir/unittests/TableGen/OpBuildGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-result.td
The file was modifiedmlir/lib/TableGen/Operator.cpp
The file was modifiedmlir/include/mlir/TableGen/Operator.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit e912fffd3a8c6c9f6e09d2eac4c1ee3a32800a22 by Alexander.Richardson
[ELF] Avoid creating a 2.1GB output file in arm-exidx-range.s

Currently both sections will be placed in the same PT_LOAD and therefore
lld generates a contiguous output file containing both sections.
By using AT(0xffff0000) the .vectors is placed a separate PT_LOAD and the
resulting file is now only a few kilobytes.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D85661
The file was modifiedlld/test/ELF/arm-exidx-range.s
Commit 582fd474ddc0318ca23ade8e22de20df85c492cc by aardappel
[WebAssembly] wasm64: fix memory.init operand types

I had assumed they would all become in i64, but this is not necessary as long as data segments stay 32-bit, see:
https://github.com/WebAssembly/memory64/blob/master/proposals/memory64/Overview.md

Differential Revision: https://reviews.llvm.org/D85552
The file was modifiedlld/wasm/InputChunks.cpp
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/OutputSegment.h
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrBulkMemory.td
Commit 70d583ad12872ef8714b15f1d1e982f1db6d9a15 by zeratul976
[clangd] Have template template arguments target their referenced template decl

Fixes https://github.com/clangd/clangd/issues/473

Differential Revision: https://reviews.llvm.org/D85503
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
Commit 0d4b7adb8220f68f5eca08bb53d8af0b0d139c5d by csigg
[MLIR] Make gpu.launch_func rewrite pattern part of the LLVM lowering pass.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D85073
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
Commit 96dfc783b2bf2eca9b01c6b2161a375cc3ea704d by craig.topper
[BreakFalseDeps][X86] Move operand loop out of X86's getUndefRegClearance and put in the pass.

X86 is the only user of this interface in tree. Previously the
X86 pass would loop over operands looking for one undef operand for
the pass to fix. But there could theoretically be multiple operands
to fix. So it makes more sense for the pass to do the looping and
ask the target if an operand needs to be fixed.
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
Commit a3036b386383f1c1e9d32c2c8dba995087959da3 by alexandre.ganea
Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record

This patch adds the missing information to the LF_BUILDINFO record, which allows for rebuilding a .CPP without any external dependency but the .OBJ itself (other than the compiler).

Some external tools that we are using (Recode, Live++) are extracting the information to reproduce a build without any knowledge of the build system. The LF_BUILDINFO stores a full path to the compiler, the PWD (CWD at program startup), a relative or absolute path to the TU, and the full CC1 command line. The command line needs to be freestanding (not depend on any environment variables). In the same way, MSVC doesn't store the provided command-line, but an expanded version (somehow their equivalent of CC1) which is also freestanding.

For more information see PR36198 and D43002.

Differential Revision: https://reviews.llvm.org/D80833
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedclang/cmake/caches/BaremetalARM.cmake
The file was modifiedlld/test/COFF/pdb-relative-source-lines.test
The file was addedclang/test/CodeGen/debug-info-codeview-buildinfo.c
The file was addedlld/test/COFF/pdb-relative-source-lines2.test
The file was modifiedlld/test/COFF/Inputs/pdb_lines_2_relative.yaml
The file was modifiedllvm/test/DebugInfo/COFF/global-type-hashes.ll
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedllvm/test/DebugInfo/COFF/types-basic.ll
The file was modifiedllvm/test/DebugInfo/COFF/build-info.ll
The file was modifiedclang/cmake/caches/CrossWinToARMLinux.cmake
The file was modifiedllvm/test/DebugInfo/COFF/types-data-members.ll
The file was modifiedlld/test/COFF/Inputs/pdb_lines_1_relative.yaml
Commit 68fab44acfc7ce7fecd86ad784fb207f088c5366 by Matthew.Arsenault
AMDGPU: Fix visiting physreg dest users when folding immediate copies

This can fold the immediate into the physical destination, but this
should not look for further users of the register. Fixes regression
introduced by 766cb615a3b96025192707f4670cdf171da84034.
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was addedllvm/test/CodeGen/AMDGPU/visit-physreg-vgpr-imm-folding-bug.ll
Commit 6fe6b29c294e8ad7eb9842e2a5e9b6334ecf9483 by Matthew.Arsenault
AMDGPU: Fix assertion in performSHLPtrCombine for 64-bit pointers
The file was addedllvm/test/CodeGen/AMDGPU/shl_add_ptr_global.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit e3820570d406f56a25eee681df03a394882febb0 by Raphael Isemann
[lldb] tab completion for `platform target-install`

1. Applied the common completion `eDiskFileCompletion` to the first argument of
the command `platform target-install`.
2. Added a related test case.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D84179
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
Commit 189c0833dfd654f08a8655ca765e11e8890a92ae by pklausler
[flang] Fix edge case with Hollerith

To prevent mistokenization of CHARACTER*2HXY as a Hollerith
literal constant while allowing it in DATA A/2*2HXY/, there's
a little state that tracks whether a / has been seen earlier
in the same statement.  But it was being reset on each line,
not statement, so Hollerith in a DATA statement continuation
line was incorrectly tokenized.  Fixed.

Differential Revision: https://reviews.llvm.org/D85571
The file was addedflang/test/Preprocessing/hollerith.f
The file was modifiedflang/lib/Parser/prescan.cpp
The file was modifiedflang/lib/Parser/prescan.h
Commit 7f5928ef5a5743ee7e65c6c9d1e1c9bc6af03063 by tkeith
[flang] Avoid cascading error in subscript triplet

If a bound of a subscript triplet is present but fails to analyze
due to an error, return nullopt rather than returning a Triplet with
that bound missing. This is so we can distinguish an absent bound from
an erroneous one and avoid spurious errors.

Differential Revision: https://reviews.llvm.org/D85672
The file was modifiedflang/test/Semantics/assign04.f90
The file was modifiedflang/lib/Semantics/expression.cpp
Commit 08803f0e62e82539756b94e2655dabdbdab39014 by Stanislav.Mekhanoshin
Unbundle KILL bundles in VirtRegRewriter

SplitKit forms invalid COPY subreg bundles without a leading
BUNDLE instruction. That manifests itself in post-RA scheduler
counting instruction and asserting on "Instruction count mismatch".

The bundle shall be undone by VirtRegRewriter::expandCopyBundle(),
but it does not because VirtRegRewriter::handleIdentityCopy() can
turn COPY bundle into a KILL bundle.

Process KILLs as well.

Differential Revision: https://reviews.llvm.org/D85484
The file was addedllvm/test/CodeGen/AMDGPU/splitkit-copy-bundle.mir
The file was modifiedllvm/lib/CodeGen/VirtRegMap.cpp
Commit ab6a517ea41e1cb63856cce6f7fa4a196ffca368 by paul.walker
Fix "CHECK-LABEL: @" typos in llvm/test/CodeGen/AArch64/sve-fixed-length-*.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-fp-arith.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-arith.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-log.ll
Commit c0b5000bd848303320c03f80fbf84d71e74518c9 by guiand
[MSAN RT] Use __sanitizer::mem_is_zero in __msan_test_shadow

The former function is particularly optimized for exactly the
use case we're interested in: an all-zero buffer.

This reduces the overhead of calling this function some 80% or
more. This is particularly for instrumenting code heavy with
string processing functions, like grep. An invocation of grep
with the pattern '[aeiou]k[aeiou]' has its runtime reduced by
~75% with this patch

Differential Revision: https://reviews.llvm.org/D84961
The file was modifiedcompiler-rt/lib/msan/msan.cpp
Commit 514445e0353e82fa0bd59eeea437499500e232cd by tlively
[WebAssembly][ConstantFolding] Fold fp-to-int truncation intrinsics

Constant fold both the trapping and saturating versions of the
WebAssembly truncation intrinsics. The tests are adapted from the
WebAssembly spec tests for the corresponding instructions.

Requested in PR46982.

Differential Revision: https://reviews.llvm.org/D85392
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was addedllvm/test/Analysis/ConstantFolding/WebAssembly/trunc_saturate.ll
The file was addedllvm/test/Analysis/ConstantFolding/WebAssembly/trunc.ll
Commit 4cd8e9b169f4dc5dde19807585c86f6d6113d3ff by wmi
[SampleFDO] Stop letting findCalleeFunctionSamples return unrelated profiles
for invoke instructions.

We see a warning of "No debug information found in function foo: Function
profile not used" in a case. The function foo is called by an invoke
instruction. It has no debug information because it has attribute((nodebug))
in the definition. It shouldn't have profile instance in the sample profile
but compiler thinks it does, that turns out to be a compiler bug in
findCalleeFunctionSamples. The bug is exposed when sample-profile-merge-inlinee
is enabled recently.

Currently in findCalleeFunctionSamples, CalleeName is unset and is empty for
invoke instruction. For empty CalleeName, findFunctionSamplesAt will treat
the call as an indirect call and will return any inline instance profile at
the same location as the instruction. That leads to a wrong profile being
returned to function foo.

The patch set CalleeName when the instruction is an invoke.

Differential Revision: https://reviews.llvm.org/D85664
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was addedllvm/test/Transforms/SampleProfile/nodebug-error.ll
Commit 7bc03f55539f7f081daea5363f2e4845b2e75f57 by puyan
[MachineOutliner][AArch64] WA for multiple stack fixup cases in MachineOutliner.

In cases where MachineOutliner candidates either are:

  * noreturn
  * have calls with no available LR or free regs
  * Don't use SP

we can end up hitting stack fixup code for the caller and the callee for
a FrameID of MachineOutlinerDefault. This triggers the assert:

  `assert(OF.FrameConstructionID != MachineOutlinerDefault &&
          "Can only fix up stack references once");`

in AArch64InstrInfo.cpp. This assert exists for now because a lot of the
fixup code is not tested to handle fixing up more than once and needs
some better checks and enhancements to avoid potentially generating
illegal code.

I've filed a Bugzilla report to track this until these cases are handled
by the AArch64 MachineOutliner: https://bugs.llvm.org/show_bug.cgi?id=46767

This diff detects cases that will cause these multiple stack fixups and
prune the Candidates from `RepeatedSequenceLocs`.

    Differential Revision: https://reviews.llvm.org/D83923
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-no-noreturn-no-stack.mir
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-noreturn-no-stack.mir
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-2fixup-blr-terminator.mir
Commit 20abff0481d598c850d2690083f90700fc8c9603 by jasonliu
[XCOFF][AIX] Use TE storage mapping class when large code model is enabled

Summary:
Use TE SMC instead of TC SMC in large code model mode,
so that large code model TOC entries could get placed after all
the small code model TOC entries, which reduces the chance of TOC overflow.

Reviewed By: Xiangling_L

Differential Revision: https://reviews.llvm.org/D85455
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-block-address.ll
The file was modifiedllvm/include/llvm/Target/TargetLoweringObjectFile.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll
The file was modifiedllvm/lib/MC/MCSectionXCOFF.cpp
Commit a680ea2c720751a3d724fd8282515924acb3bd32 by alexandre.ganea
Fix "last accessed time" test failing on Windows

Before this patch, the tests in llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test used to fail on my machine, because the "last accessed time" is disabled in the OS by default since Windows XP. One needs to explicitly enable it for the feature to work. Otherwise the last access time is the last write time. Please see: https://superuser.com/questions/251263/the-last-access-date-is-not-changed-even-after-reading-the-file-on-windows-7

    Differential Revision: https://reviews.llvm.org/D85669
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
Commit 50dd75c8e0b81815c6da209d5a3dd7bf899d1262 by daltenty
[AIX] Try to not use LLVM tools while building runtimes

Since 64-bit XCOFF and the big AR format is not yet supported in some of these tools, this patch avoids additional setup of these tools. This patch is not intended to prevent picking up the LLVM tools if they happen to be available otherwise.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D85329
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 566a66703f020996d07191323ae8ad6f7ad827b3 by nikita.ppv
[InstSimplify] Add test for expand binop undef issue (NFC)

Add test case from https://reviews.llvm.org/D83360#2146539.
The file was modifiedllvm/test/Transforms/InstSimplify/select.ll
Commit 2c48e3629cfb25ac1034117fa8945fd0d342f2ae by csigg
[MLIR] Adding gpu.host_register op and lower it to a runtime call.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D85631
The file was modifiedmlir/test/mlir-rocm-runner/vecadd.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-min.mlir
The file was modifiedmlir/test/mlir-rocm-runner/two-modules.mlir
The file was modifiedmlir/tools/mlir-rocm-runner/rocm-runtime-wrappers.cpp
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-and.mlir
The file was modifiedmlir/test/mlir-cuda-runner/multiple-all-reduce.mlir
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/test/mlir-cuda-runner/gpu-to-cubin.mlir
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-max.mlir
The file was modifiedmlir/test/mlir-rocm-runner/vector-transferops.mlir
The file was modifiedmlir/test/mlir-cuda-runner/two-modules.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-op.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-xor.mlir
The file was modifiedmlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
The file was modifiedmlir/test/mlir-cuda-runner/shuffle.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-or.mlir
The file was modifiedmlir/test/mlir-rocm-runner/gpu-to-hsaco.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-region.mlir
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
Commit 62223ff1376b540dc9612239fdfb11b376d796d3 by Dávid Bolvanský
[Diagnostics] Avoid false positives with -Wstring-concatenation
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/string-concat.c
Commit 9c8ae40860311e94de0a898101818f706228e958 by tra
[ARM] Speed up arm-cortex-cpus.c test

Trailing wildcard regex searches greedily continue searching through the whole
input and make the test unnecessarily slow.

Using equivalent plain text partial match speeds up the test execution time from
~35s to ~12s.

Differential Revision: https://reviews.llvm.org/D85575
The file was modifiedclang/test/Driver/arm-cortex-cpus.c
Commit b2c9b631bb48087c988d798adc5465499b155a9a by Dávid Bolvanský
[Diagnostics] Move -Wstring-concatenation to -Wextra
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Sema/string-concat.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit aae349e2760e5e5986b34ca5ca9f2672377c41bf by aeubanks
[InstSimplify][test] Remove unused parameter in vscale.ll

Reviewed By: huihuiz

Differential Revision: https://reviews.llvm.org/D85688
The file was modifiedllvm/test/Transforms/InstSimplify/vscale.ll
Commit 41d4120017f99386a62a9c0aac25fd2a369d0e02 by ravishankarm
[mlir][Linalg] Allow distribution `scf.parallel` loops generated in
Linalg to processors.

This changes adds infrastructure to distribute the loops generated in
Linalg to processors at the time of generation. This addresses use
case where the instantiation of loop is done just to distribute
them. The option to distribute is added to TilingOptions for now and
will allow specifying the distribution as a transformation option,
just like tiling and promotion are specified as options.

Differential Revision: https://reviews.llvm.org/D85147
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was addedmlir/test/Dialect/Linalg/tile-and-distribute.mlir
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
Commit 4f2ad15db535873dda9bfe248a2771023b64a43c by ndesaulniers
[Clang] implement -fno-eliminate-unused-debug-types

Fixes pr/11710.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>

Resubmit after breaking Windows and OSX builds.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D80242
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/include/clang/Basic/DebugInfoOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was addedclang/test/CodeGen/debug-info-unused-types.c
The file was addedclang/test/CodeGen/debug-info-unused-types.cpp
The file was modifiedclang/docs/CommandGuide/clang.rst
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/debug-options.c
Commit fa5d22a045de543b4df9eb5edfb8d70ce43bd13a by johannes
[OpenMP][NFC] Reuse OMPIRBuilder `struct ident_t` handling in Clang

Replace the `ident_t` handling in Clang with the methods offered by the
OMPIRBuilder. This cuts down on the clang code as well as the
differences between the two, making further transitions easier. Tests
have changed but there should not be a real functional change. The most
interesting difference is probably that we stop generating local ident_t
allocations for now and just use globals. Given that this happens only
with debug info, the location part of the `ident_t` is probably bigger
than the test anyway. As the location part is already a global, we can
avoid the allocation, memcpy, and store in favor of a constant global
that is slightly bigger. This can be revisited if there are
complications.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D80735
The file was modifiedclang/test/OpenMP/sections_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/ordered_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_reduction_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/deduplication.ll
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/for_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_reduction_codegen.cpp
Commit 05d74dbc3bb1d943a029e4abea211288c920f559 by ndesaulniers
python bindings: fix DeprecationWarning

Fixes observed warning running `ninja check-all`:
llvm-project/clang/bindings/python/tests/cindex/test_diagnostics.py:100:
DeprecationWarning: Please use assertRegex instead.
  self.assertRegexpMatches(children[0].spelling

Looks like unittest.assertRegexpMatches has been deprecated in favor of
unittest.assertRegex since Python 3.2, according to:
https://docs.python.org/3/library/unittest.html#deprecated-aliases

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D85692
The file was modifiedclang/bindings/python/tests/cindex/test_diagnostics.py
Commit 0de60b550b727fa3a0202a9ab5ca30520e291dd5 by thomasraoux
[mlir] Fix mlir build break due to warning when NDEBUG is not set
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
Commit 4b59dc77dc473bba849c1b08f3a1ab7be5733ad1 by Dávid Bolvanský
[Diagnostics] Ignore structs and long text for -Wstring-concatenation
The file was modifiedclang/test/Sema/string-concat.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 09517a90682f05f13dca7d976aeaa5437beeb8f3 by richard
Add regression test from PR46487.

The underlying crash here has already been fixed, presumably by ongoing
work on error recovery.
The file was modifiedclang/test/SemaCXX/typo-correction.cpp
Commit fb04d7b4a69831f6b999b1776da738557b108e0d by Yaxun.Liu
[CUDA][HIP] Do not externalize implicit constant static variable

Differential Revision: https://reviews.llvm.org/D85686
The file was modifiedclang/test/CodeGenCUDA/static-device-var-no-rdc.cu
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 0fd3d379e26da3cb02b6d960198e2efbc5190650 by richard
Improve diagnostic for an expression that's not constant because it uses
the address of a constexpr local variable.

Suggest adding 'static' to give the constexpr local variable a constant
address.
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/builtins.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
Commit 6fd30f0669a2dd9af7b87325e30ec1af79b86f28 by Lang Hames
[llvm-jitlink] Update llvm-jitlink to use TargetProcessControl.
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcessControl.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/TargetProcessControl.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
Commit d04f3e028d3287e43d4b84efcc33c2816ac9d3d6 by Yuanfang Chen
[CodeGen] Make MMI immutable NPM pass
The file was modifiedllvm/include/llvm/CodeGen/MachineModuleInfo.h
Commit ed66df6705a9dffc36fecc3468cc3ab430849182 by conanap
test commit
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
Commit 48cd6b8ca54edaa4682153874301df216747fc2d by hubert.reinterpretcast
Revert "[AIX] Try to not use LLVM tools while building runtimes"

This reverts commit 50dd75c8e0b81815c6da209d5a3dd7bf899d1262.
@phosek reports a build break.
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit a379f2c251d0dbe3b191888fcd9c3d1eb42a980b by jezng
[lld-macho] Handle command-line option -sectcreate SEG SECT FILE

Handle command-line option `-sectcreate SEG SECT FILE`, which inputs a binary blob from `FILE` into `SEG,SECT`

Reviewed By: int3

Differential Revision: https://reviews.llvm.org/D85501
The file was addedlld/test/MachO/sectcreate.s
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/InputFiles.h
The file was modifiedlld/MachO/Options.td
The file was modifiedlld/MachO/Driver.cpp
Commit 49fb1c2e901848c31ff1ea1caaf34cd51b85c5a3 by jezng
[lld-macho] improve handling of -platform_version

This improves the handling of `-platform_version` by addressing the FIXME in the code to process the arguments.

Reviewed By: int3, #lld-macho

Differential Revision: https://reviews.llvm.org/D81413
The file was removedlld/test/MachO/platform-version.test
The file was modifiedlld/MachO/Config.h
The file was modifiedlld/MachO/Driver.cpp
The file was addedlld/test/MachO/platform-version.s
Commit 3c5758964c591481947dd7ab99ba901688068488 by Xing
[macho2yaml] Refactor the DWARF section dumpers.

This patch refactors the DWARF section dumpers. When dumping a DWARF
section, if the DWARF parser fails to parse the section, we will dump it
as a raw content section. This patch also fixes a bug in
DWARFYAML::Data::isEmpty(). Finally, a test case that tests dumping the
__debug_aranges section is added.

Reviewed By: jhenderson, grimar

Differential Revision: https://reviews.llvm.org/D85506
The file was modifiedllvm/tools/obj2yaml/macho2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
The file was addedllvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
The file was addedllvm/test/tools/obj2yaml/MachO/unrecognized-debug-section.yaml
The file was removedllvm/test/tools/obj2yaml/MachO/DWARF-debug_aranges-error.yaml
The file was modifiedllvm/tools/obj2yaml/obj2yaml.h
Commit 94c6ceab539efe26a1707124e803f444139c1b12 by zequanwu
[AST] add parenthesis locations for IfStmt and SwitchStmt

Differential Revision: https://reviews.llvm.org/D85696
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/AST/Stmt.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
Commit b448eda4066ff5dee2517018e386893ab629f9e8 by Jonas Devlieghere
[lldb] Fix typo in AppleDWARFIndex

apple_names_table_up appeared twice in the binary expression, while the
second instance was meant to check apple_namespaces_table_up.

Fixes PR47101
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
Commit 9512525947028df71ed5c5312629a1a0ce25d661 by pengfei.wang
[X86][FPEnv] Teach X86 mask compare intrinsics to respect strict FP semantics.

When we use mask compare intrinsics under strict FP option, the masked
elements shouldn't raise any exception. So, we cann't replace the
intrinsic with a full compare + "and" operation.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D85385
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-avx512.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsX86.td
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedclang/test/CodeGen/avx512vl-builtins-constrained-cmp.c
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
The file was modifiedllvm/lib/Target/X86/X86IntrinsicsInfo.h
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-cmp-kor-sequence.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
The file was modifiedclang/test/CodeGen/avx512f-builtins-constrained-cmp.c
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics.ll
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-cmp-mask.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-v1.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was removedllvm/test/Transforms/InstCombine/X86/X86FsubCmpCombine.ll
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-avx512vl.ll
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
Commit 4aaa97700377a811dbcaf88a81ec068a5b517a4d by zequanwu
[Sema] Fix missing warning on initializer lists on field initializers with overloaded operators

Differential Revision: https://reviews.llvm.org/D85574
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/SemaCXX/uninitialized.cpp
Commit 655923de3d8a5a40b2dc4592ed78f0d6f38a6fbe by Xing
[macho2yaml][test] Specify the object file's endianness. NFC.

This change specifies the endianness of the generated object file to fix
the testing failure.

Testing failure: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/52449
The file was modifiedllvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
Commit 02af25df2be7a52fb8620782afa1f5e8c1b91159 by Xing
[macho2yaml][test] Specify the object file's endianness. NFC.

This patch is intended to fix testing failure on big endian machine.

Failed testing: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/52450
The file was modifiedllvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
Commit c4701c9c620fecfd6975e2885dae02d6e1b96698 by Jonas Devlieghere
[lldb] Add missings moves where appropiate (NFC)

Manually curated list of things found by clang-tidy's
performance-unnecessary-value-param.
The file was modifiedlldb/include/lldb/DataFormatters/TypeSynthetic.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/source/Core/ValueObjectSyntheticFilter.cpp
The file was modifiedlldb/include/lldb/DataFormatters/StringPrinter.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSummary.h
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeCategory.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeCategoryMap.h
The file was modifiedlldb/include/lldb/Breakpoint/Breakpoint.h
The file was modifiedlldb/include/lldb/Host/FileSystem.h
The file was modifiedlldb/include/lldb/Target/InstrumentationRuntime.h
The file was modifiedlldb/source/Core/Debugger.cpp
Commit 5fe171321c018a811debc306a776dbdf27a306dd by brad
[Sparc] Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP macros on SPARCv9
The file was modifiedclang/lib/Basic/Targets/Sparc.cpp
The file was modifiedclang/test/Preprocessor/predefined-arch-macros.c
Commit 4514a3cfa4765ec77e8ccf56e84ae124ea5afa63 by jpienaar
[mlir][shape] Fix description copy pasta
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
Commit e6f8ba12e6ea97cbf4374b70e78309c2d859ca1c by haowei
Move ELFObjHandler to TextAPI library

This change moves ELFObjHandler to llvm/TextAPI library so it can
be used by different llvm tools.
The file was modifiedllvm/lib/TextAPI/CMakeLists.txt
The file was removedllvm/tools/llvm-elfabi/ELFObjHandler.h
The file was modifiedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was addedllvm/include/llvm/TextAPI/ELF/ELFObjHandler.h
The file was addedllvm/lib/TextAPI/ELF/ELFObjHandler.cpp
The file was removedllvm/tools/llvm-elfabi/ELFObjHandler.cpp
The file was modifiedllvm/tools/llvm-elfabi/CMakeLists.txt
Commit a423c1846251303bff38e40750b9e206320a992b by llvmgnsyncbot
[gn build] Port e6f8ba12e6e
The file was modifiedllvm/utils/gn/secondary/llvm/lib/TextAPI/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-elfabi/BUILD.gn
Commit db91320a898625484184d47a86b8ac1e4ae25aee by haowei
Revert "Move ELFObjHandler to TextAPI library"

This reverts commit e6f8ba12e6ea97cbf4374b70e78309c2d859ca1c due
to build failures.
The file was modifiedllvm/lib/TextAPI/CMakeLists.txt
The file was addedllvm/tools/llvm-elfabi/ELFObjHandler.cpp
The file was removedllvm/lib/TextAPI/ELF/ELFObjHandler.cpp
The file was modifiedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was removedllvm/include/llvm/TextAPI/ELF/ELFObjHandler.h
The file was addedllvm/tools/llvm-elfabi/ELFObjHandler.h
The file was modifiedllvm/tools/llvm-elfabi/CMakeLists.txt
Commit a542eec4622c62bdb7b35d8f6dae7560f581ba50 by llvmgnsyncbot
[gn build] Port db91320a898
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-elfabi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/TextAPI/BUILD.gn
Commit bca43666e7dc41207b91fe28d7c6442b60d0e787 by Jonas Devlieghere
[lldb] Use modern CMake to avoid repetition (NFC)

Use the target variants of include_directories and add_definitions to
avoid repetition.
The file was modifiedlldb/unittests/Process/Linux/CMakeLists.txt
The file was modifiedlldb/unittests/Process/POSIX/CMakeLists.txt
The file was modifiedlldb/unittests/TestingSupport/Symbol/CMakeLists.txt
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
The file was modifiedlldb/unittests/debugserver/CMakeLists.txt
Commit a22301ef9899b77d02cc8ad6bea68009baa60413 by Jonas Devlieghere
[lldb] Remove redundant add_definitions() in CMake (NFC)

Remove the unused LLDB_CONFIGURATION_RELEASE and move LLDB_USE_OS_LOG
under debugserver which is the only one using it.
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit 61ede38da0c4760e0824dc38c96e95a1c81d4eb1 by qshanz
[CodeGen] Expand float operand for STRICT_FSETCC/STRICT_FSETCCS

This patch is the continue work of https://reviews.llvm.org/D69281
to implement the way that expands STRICT_FSETCC/STRICT_FSETCCS.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D81906
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-fcmp.ll
Commit 9201efb3b96e5ae229268aba8576832e80acef71 by craig.topper
[X86] Custom match X86ISD::VPTERNLOG in X86ISelDAGToDAG in order to reduce isel patterns.

By factoring out the end of tryVPTERNLOG, we can use the same code
to directly match X86ISD::VPTERNLOG. This allows us to remove
around 3-4K worth of X86GenDAGISel.inc.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit 06eee8748fb4089d6ab859c56f3a0a4a7e8acf93 by okuraofvegetable
[Attributor][NFC] Connect AAPotentialValues with AAValueSimplify

This patch enables `AAValueSimplify` to use information from `AAPotentialValues`

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D85668
The file was modifiedllvm/test/Transforms/Attributor/potential.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 9564821144f8ac5159d346e6ec8176c6b63c0b36 by echristo
Test requires a debug build to pass.
The file was modifiedllvm/test/CodeGen/PowerPC/read-set-flm.ll
Commit 63b5b92bc958291637bfd4ebb52e4f2eb58da1e6 by aqjune
[LazyValueInfo] Let getEdgeValueLocal look into freeze instructions

This patch makes getEdgeValueLocal more precise when a freeze instruction is
given, by adding support for freeze into constantFoldUser

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D84629
The file was modifiedllvm/test/Transforms/JumpThreading/freeze-lvi-edgevaluelocal.ll
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit 0057532e3f45508bd9aa2115948afee5859ed70c by richard.barton
Revert "[flang] Version information in flang/f18"

Patch breaks out of tree builds and fails its regression test on buildbots.

This reverts commit 6e67a74ed73e60a9609f2666e9ac9f44c63c3e0f.
The file was modifiedflang/tools/f18/f18.cpp
The file was removedflang/test/Preprocessing/compiler_defined_macros.F90
The file was modifiedflang/tools/f18/CMakeLists.txt
The file was removedflang/tools/f18/f18_version.h.in
The file was modifiedflang/test/Driver/version_test.f90
Commit c6d2078a35d536c8fa152fa9205924f8f10cbaac by kbobyrev
[clangd] Improve diagnostics in dexp interface

When running dexp in remote mode without --project-root it shuts down
with an assertion. This is not the desired behaviour: instruct user on
how to run it properly when the configuration is incorrect.
The file was modifiedclang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
Commit 2e653327e364aae564209af99d3b6a4625e25b68 by Raphael Isemann
[lldb] tab completion for `watchpoint set variable`

1. Applied the common completion `eVariablePathCompletion` to command
`watchpoint set variable`;

2. Added a related test case.

Reviewed By: teemperor, JDevlieghere

Differential Revision: https://reviews.llvm.org/D84177
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
Commit 8a5e296975b3da5d5d849ae8185ef3d98ca77795 by Raphael Isemann
[lldb] tab completion for `disassemble -F`

1.Added a new common completion DisassemblyFlavors;

2. Bound DisassemblyFlavors to argument of type eArgTypeDisassemblyFlavor in
CommandObject.cpp;

3. Added a related test case.
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
Commit 8f92f3c2eab02fe17a03fc39fefa0082b1c4b72f by sam.parker
[RDA] Fix DBG_VALUE issues

We skip debug instructions in RDA so we cannot attempt to look them
up in our instruction map without causing a crash. But some of the
methods select the last instruction in the block and this
instruction may be a debug instruction... So, use getLastNonDebugInstr
instead of calling back on a MachineBasicBlock.

MachineBasicBlock iterators have also been updated to use
instructionsWithoutDebug so we can avoid the manual checks for debug
instructions.

Differential Revision: https://reviews.llvm.org/D85658
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
Commit 51117e3c51754f3732ee34758310a0abc6fd3b75 by Raphael Isemann
[lldb][NFC] Remove unused custom reimplementation of realpath for Windows

No one is calling this function it seems and according to
https://bugs.llvm.org/show_bug.cgi?id=47088 this can leak memory, so let's just
remove it:

Quote from the bug report:
> Before return on line 146, the memory allocated on line 130 is not freed.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D85633
The file was modifiedlldb/source/Host/windows/Windows.cpp
The file was modifiedlldb/include/lldb/Host/windows/PosixApi.h
Commit 497d060d0a741e13dd5e6218ba7301a7ec96f332 by 1.int32
[Analyzer] Improve invalid dereference bug reporting in DereferenceChecker.

Report undefined pointer dereference in similar way as null pointer dereference.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D84520
The file was addedclang/test/Analysis/invalid-deref.c
The file was modifiedclang/test/Analysis/misc-ps-region-store.m
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
Commit f99a18bbaa02037b8f2e9fc066d50e2373b5017e by Raphael Isemann
[lldb] tab completion for `thread plan discard`

Dedicated completion for the command `thread plan discard` with a corresponding
test case.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D83234
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was addedlldb/test/API/functionalities/completion/thread_plan_script.py
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
Commit df916062c885f9b010f8348c87e9effae06a10c4 by Raphael Isemann
[lldb][NFC] Fix warning in Thread::AutoCompleteThreadPlans
The file was modifiedlldb/source/Target/Thread.cpp
Commit 31fd64ac57a2005c0691b8870e28b4421cf67047 by Raphael Isemann
[lldb] tab completion for 'command delete/unalias'

Provided dedicated tab completions for `command delete/unalias`.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D81128
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
Commit 7829c33084a7a5097533cf862daef521380c4e63 by flo
[SCEVExpander] Add helper to clean up instrs inserted while expanding.

SCEVExpander already tracks which instructions have been inserted n
InsertedValues/InsertedPostIncValues. This patch adds an additional
vector to collect the instructions in insertion order. This can then be
used to remove exactly the instructions inserted by the expander.

This replaces ExpandedValuesCleaner, which in some cases might remove
values not inserted by the expander (e.g. if a value was dead before
insertion and is then used during expansion).

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D84327
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
Commit c2f0101310133ed282d6dd187b2d3f4cac356a83 by Dávid Bolvanský
[InstCombine] ~(~X + Y) -> X - Y

Proof:
https://alive2.llvm.org/ce/z/4xharr

Solves PR47051

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D85593
The file was modifiedllvm/test/Transforms/InstCombine/not-add.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit 3ce57e012110519c1d3a49fc98959a64634d5d8f by Raphael Isemann
[lldb] type language common completion

1. Added a new common completion TypeLanguages to provide a list of supporting languages;
2. Bound the completion to eArgTypeLanguage;
3. Added a related test case.
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
Commit 0b774acf1189f589140ad49e9146e1406be91ca1 by Dávid Bolvanský
[SLP] Make sure instructions are ordered when computing spill cost.

The entries in VectorizableTree are not necessarily ordered by their
position in basic blocks. Collect them and order them by dominance so
later instructions are guaranteed to be visited first. For instructions
in different basic blocks, we only scan to the beginning of the block,
so their order does not matter, as long as all instructions in a basic
block are grouped together. Using dominance ensures a deterministic order.

The modified test case contains an example where we compute a wrong
spill cost (2) without this patch, even though there is no call between
any instruction in the bundle.

This seems to have limited practical impact, .e.g on X86 with a recent
Intel Xeon CPU with -O3 -march=native -flto on MultiSource,SPEC2000,SPEC2006
there are no binary changes.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D82444
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/spillcost-order.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 36e1fc5f68e918ba69ccd9033b38240265617c4e by Dávid Bolvanský
[Docs] Fixed missing closing quote character
The file was modifiedllvm/docs/DeveloperPolicy.rst
Commit b3aece05313e740d26e517a9f32af90818ee4390 by kai
[SystemZ/ZOS] Add binary format goff and operating system zos to the triple

Adds the binary format goff and the operating system zos to the triple
class. goff is selected as default binary format if zos is choosen as
operating system. No further functionality is added.

Reviewers: efriedma, tahonermann, hubert.reinterpertcast, MaskRay

Reviewed By: efriedma, tahonermann, hubert.reinterpertcast

Differential Revision: https://reviews.llvm.org/D82081
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was modifiedllvm/include/llvm/Support/TargetRegistry.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
Commit d6f710fd46dc87cb426859cc48877fc61ac37682 by kai
[NFC] Fix typo in comment.

Twelvth -> Twelfth
The file was modifiedllvm/lib/Target/SystemZ/SystemZFeatures.td
Commit 24bc8afd4baf703be7f4f4d70745d7680ceb54e2 by Raphael Isemann
[lldb] tab completion for `target modules search-paths insert​`

Dedicated completion for the command `target modules search-paths insert​` with a test case.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D83309
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
Commit ef0c0844fef6b1ee2497e64363fcacee2ff1b107 by dave
Add missing `-o -` to a recent test

Caught with a build-system that remounts the source directory read-only.
The file was modifiedllvm/test/CodeGen/PowerPC/aix-static-init-no-unique-module-id.ll
Commit 66fa73fa27991c2c12a4cc83143ed1f81874ded5 by Raphael Isemann
[lldb] move the frame index completion into a common completion and apply it to `thread backtrace -s`

Commands frame select and thread backtrace -s can be completed in the same way.
Moved the dedicated completion of frame select into a common completion and
apply it to the both commands, along with the test modified.
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
Commit d542feb8e49bd3d43363724531c8f65b82d9759f by paul.walker
[SVE] Lower fixed length vector integer subtract operations.

Differential Revision: https://reviews.llvm.org/D85665
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-arith.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 419f1be7b54ef2c285050c24e4b4c333cb108cfc by Raphael Isemann
[lldb] tab completion for `target modules load -u`

1. Added a common completion ModuleUUIDs to provide a list of the UUIDs of modules for completion;
2. Added a new enumeration item eArgTypeModuleUUID to CommandArgumentType which is set as the option argument type of OptionGroupUUID;
3. Applied the module UUID completion to the argument of the type eArgTypeModuleUUID in lldb/source/Interpreter/CommandObject.cpp;
4. Added an related test case in lldb/test/API/functionalities/completion/TestCompletion.py.
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Interpreter/OptionGroupUUID.cpp
Commit 73a6a36469468bb72d409d5179c6244e751545e2 by llvm-dev
[clangd] RIFF.cpp - Use logical && instead of bitwise & for padding check

Fixes PR47070
The file was modifiedclang-tools-extra/clangd/RIFF.cpp
Commit 49016eeab6bc7871e205935139c4924c22904df7 by llvm-dev
[X86] Rename combineVectorPackWithShuffle -> combineHorizOpWithShuffle. NFC.

The plan is to use this for (F)HADD/SUB opcodes as well as PACKs - similar to how we use combineShuffleWithHorizOp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b6c7b7fa31b738d97181416f06bbcc3dc5905407 by paul.walker
[SVE] Add ISD nodes for predicated integer extend inreg operations.

These are useful instructions when lowering fixed length vector
extends, so I've broken this patch out as kind of NFC like work.

Differential Revision: https://reviews.llvm.org/D85546
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 59703f17361815e3854aeb0822961278246fb666 by marukawa
[VE] Update bit operations

Change bitreverse/bswap/ctlz/ctpop/cttz regression tests to support i128
and signext/zeroext i32 types.  This patch also change the way to support
i32 types using 64 bits VE instructions.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D85712
The file was modifiedllvm/test/CodeGen/VE/ctpop.ll
The file was modifiedllvm/test/CodeGen/VE/cttz.ll
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was modifiedllvm/test/CodeGen/VE/ctlz.ll
The file was modifiedllvm/lib/Target/VE/VEISelLowering.h
The file was modifiedllvm/test/CodeGen/VE/bitreverse.ll
The file was modifiedllvm/test/CodeGen/VE/bswap.ll
Commit 8144a7d8fc00c1ed779cb2dfabd826eedb19f296 by ro
[compiler-rt][ubsan][test] Fix TypeCheck/misaligned.cpp on Sparc

Two ubsan tests FAIL on Sparc:

  UBSan-Standalone-sparc :: TestCases/TypeCheck/misaligned.cpp
  UBSan-Standalone-sparcv9 :: TestCases/TypeCheck/misaligned.cpp

I've reported the details in Bug 47015, but it boils down to the fact that
the `s1` subtest actually incurs a fault on strict-alignment targets like
Sparc which UBSan doesn't expect.

This can be fixed like the `w1` subtest by compiling with
`-fno-sanitize-recover=alignment`.

Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and
`x86_64-pc-linux-gnu`.

Differential Revision: https://reviews.llvm.org/D85433
The file was modifiedcompiler-rt/test/ubsan/TestCases/TypeCheck/misaligned.cpp
Commit 33d0031edba2483579b875fc20171cafef2f6a64 by Raphael Isemann
[lldb] Fix unhandled switch case for GOFF in GDBRemoteCommunicationClient

Just implementing the default case that emits an error to supress the compiler
warning.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 1de173c049841e0c3262ffbf416dba006500a140 by benny.kra
[X86][FPEnv] Fix a use after free

Found by asan!
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit b2b7dbb47aa9aff1252d4440bb9986df5a7e67cb by Raphael Isemann
[lldb] stop-hook ID common completion for commands `target stop-hook enable/disable/delete'

1. Added a common completion StopHookIDs to provide completion with a list of stop hook ids;
2. Applied the common completion to commands: `target stop-hook delete/enable/disable';
3. Added an related test case.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D84123
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
Commit 85c7e89f3b334a66df63d760d7951ee9fa2a5df5 by kerry.mclaughlin
[CodeGen] Refactor getMemBasePlusOffset & getObjectPtrOffset to accept a TypeSize

Changes the Offset arguments to both functions from int64_t to TypeSize
& updates all uses of the functions to create the offset using TypeSize::Fixed()

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85220
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8134c2c7ffed3b3b4bd340174ad3134f509ebd47 by benny.kra
[AutoUpgrade] Simplify code

No need to set the name on an instruction that's going away, just move
it from the old instruction to the new one.
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit bd1013a4825bf2cf58b3c75320f64b24b244f343 by kbobyrev
[clangd] Enforce trailing slash for remote index's project root

Reviewed By: hokein

Differential Revision: https://reviews.llvm.org/D85711
The file was modifiedclang-tools-extra/clangd/index/remote/Client.cpp
The file was modifiedclang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp
Commit a952fe236f993b531eceb89e0a18d25bba048185 by Raphael Isemann
[lldb] thread index common completion for commands like `thread select/step-over`

1. Added a common completion completing with a list of the threads of the current process;
2. Apply the common completion above to these commands: thread
   continue/info/exception/select/step-in/step-inst/step-inst-over/step-out/step-over/step-script​
3. Correlated test case test_common_completion_thread_index.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D84088
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
Commit a73008c1aed2d712d9683aa2f01f8ce0096d21bc by david.stenberg
[DebugInfo] Refactor .debug_macro checks. NFCI

Move the Dwarf version checks that determine if the .debug_macro section
should be emitted, into a DwarfDebug member. This is a preparatory
refactoring for allowing the GNU .debug_macro extension, which is a
precursor to the DWARF 5 format, to be emitted by LLVM for earlier DWARF
versions.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D82971
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit 2892ed6d0fa9545df8c2d846a1fdaa948c4571d9 by david.stenberg
[DebugInfo] Introduce GNU macro extension entry encodings

This is a preparatory patch for allowing the GNU .debug_macro extension,
which is a precursor to the DWARF 5 format, to be emitted by LLVM for
earlier DWARF versions.

The entries share the same encoding and behavior as in DWARF5; there are
just more entries in the DWARF 5 format. Therefore, we could have used
those existing DWARF 5 entries, but I think that explicitly referring to
the GNU macro variants makes the code more clear.

The defines that this patch introduces can be found in GCC in the dwarf2.h header:
  https://gcc.gnu.org/git/?p=gcc.git;a=blob;
  f=include/dwarf2.h;
  h=0b6facfd4cf4c02320c7328114231b128ab42d5e;
  hb=dccbf1e2a6e544f71b4a5795f0c79015db019fc3#l425

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D82972
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.def
Commit 91bd9db2cdbc12176c3a058d407ef58ced30ea23 by david.stenberg
[DebugInfo] Allow GNU macro extension to be read

Allow the GNU .debug_macro extension to be parsed and printed by
llvm-dwarfdump. In an upcoming patch support will be added for emitting
that format also.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D82974
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macro-gnu.s
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
Commit 031738a5611843674d5f739e739e8a386d5e741b by hokein.wu
[AST][RecoveryExpr] Don't preserve the return type if the FunctionDecl is invalid.

If a functionDecl is invalid (e.g. return type cannot be formed), int is
use as he fallback type, which may lead to some bogus diagnostics.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D85714
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/SemaCXX/recovery-expr-type.cpp
Commit ee17f72e13b839001a6e8a77e767d5b15d2bd4d1 by llvm-dev
Fix Wdocumentation unknown param warning. NFC.
The file was modifiedclang/include/clang/AST/DeclOpenMP.h
Commit 49193e1fe7e143555d3b740610d6d1d20a553b2f by llvm-dev
Fix Wdocumentation unknown param warnings. NFC.
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
Commit 455ed56d48e365f7d095254109abed876dc10c65 by kerry.mclaughlin
[SVE][CodeGen] Legalisation of INSERT_VECTOR_ELT for scalable vectors

When the result type of insertelement needs to be split,
SplitVecRes_INSERT_VECTOR_ELT will try to store the vector to a
stack temporary, store the element at the location of the stack
temporary plus the index, and reload the Lo/Hi parts.

This patch does the following to ensure this works for scalable vectors:
- Sets the StackID with getStackIDForScalableVectors() in CreateStackTemporary
- Adds an IsScalable flag to getMemBasePlusOffset() and scales the
    offset by VScale when this is true
- Ensures the immediate is clamped correctly by clampDynamicVectorIndex
    so that we don't try to use an out of range index

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D84874
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-split-insert-elt.ll
Commit 026e0bf984c617fa2ff4347e47deb069e23fde11 by grimar
[LLD][ELF] - Update and fix gnu-ifunc* tests.

It turns that gnu-ifunc-plt-i386.s and gnu-ifunc-plt.s tests are broken.

Initially they were implemented in D27581 and tested that `IRELATIVE` relocations
are placed after other relocations in `.rel.plt`.

Later, we started to place `IRELATIVE` relocations to `.rela.dyn` (D65651).

Also, at some point `.plt` was renamed to `.iplt` (D71520).

Now, `gnu-ifunc*` tests mentioned do not test what they intended to test initially:
they should test that `IRELATIVE` relocations are placed after other ones in
`.rela.dyn`. Also, comments needs to be updated accordingly after changes performed.

This patch updates them.

Differential revision: https://reviews.llvm.org/D85642
The file was modifiedlld/test/ELF/Inputs/shared2-x86-64.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt-i386.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt.s
Commit 3483c28c5bc16d37d6c0f4e760357e4934f83b97 by flo
[SCEV] ] If RHS >= Start, simplify (Start smax RHS) to RHS for trip counts.

This is the max version of D85046.

This change causes binary changes in 44 out of 237 benchmarks (out of
MultiSource/SPEC2000/SPEC2006)

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D85189
The file was modifiedllvm/test/Analysis/ScalarEvolution/smin-smax-folds.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 4f3559db1f313eed8bd84377de0fb2300a58125b by Raphael Isemann
[lldb] watchpoint ID common completion for commands `watchpoint delete/enable/disable/modify/ignore`

1. Added a common completion WatchPointIDs to complete with a list of the IDs of the current watchpoints;
2. Applied the completion to these commands: watchpoint delete/enable/disable/modify/ignore;
3. Added a correlated test case.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D84104
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
Commit 950f1bf976b332eca60267b25bf759e2ad564e0c by Raphael Isemann
[lldb] Add SubstTemplateTypeParm to RemoveWrappingTypes

Like the other type sugar removed by RemoveWrappingTypes, SubstTemplateTypeParm
is just pure sugar that should be ignored. If we don't ignore it (as we do now),
LLDB will fail to read values from record fields that have a
SubstTemplateTypeParm type.

Only way to produce such a type in LLDB is to either use the `import-std-module`
setting to get a template into the expression parser or just create your own
template directly in the expression parser which is what we do in the test.

Reviewed By: jarin

Differential Revision: https://reviews.llvm.org/D85132
The file was addedlldb/test/API/lang/cpp/subst_template_type_param/TestSubstTemplateTypeParam.py
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit b18c63e85aa8191e583cd1014757904c344b45d7 by marek
[clang-format] use spaces for alignment of binary/ternary expressions with UT_AlignWithSpaces

Use spaces to align binary and ternary expressions when using AlignOperands and UT_AlignWithSpaces.

This fixes an oversight in the new UT_AlignWithSpaces option (see D75034), which did not correctly identify the alignment of binary/ternary expressions.

Reviewed By: curdeius

Patch by: fickert

Differential Revision: https://reviews.llvm.org/D85600
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit c5683ffeb19424e71bc9da998ed22222a8afb2d8 by llvm-dev
[X86][SSE] Add tests for HOP(LOSUBVECTOR(SHUFFLE(X)),HISUBVECTOR(SHUFFLE(X))) patterns

This should be addressed by combineHorizOpWithShuffle once we enable it for HADD/SUB
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
Commit d7d172b4aae08b54f6dac2a76cf87575d7f81a45 by llvm-dev
[X86][SSE] Add tests for 256-bit HOP(SHUFFLE(X,Y),SHUFFLE(X,Y)) --> SHUFFLE(HOP(X,Y)) patterns

This should be addressed by combineHorizOpWithShuffle once we enable it for HADD/SUB
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
Commit bb91c9fe7b62939fdb11ae42a31a5d5a61575ae7 by pavel
[cmake] Make gtest macro definitions a part the library interface

These definitions are needed by any file which uses gtest. Previously we
were adding them in the add_unittest function, but over time we've
accumulated libraries (which don't go through add_unittest) building on
gtest and this has resulted in proliferation of the definitions.

Making this a part of the library interface enables them to be managed
centrally. This follows a patch for -Wno-suggest-override (D84554) which
took a similar approach.

Differential Revision: https://reviews.llvm.org/D84748
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was modifiedllvm/lib/Testing/Support/CMakeLists.txt
The file was modifiedllvm/utils/unittest/CMakeLists.txt
The file was modifiedlldb/unittests/TestingSupport/Symbol/CMakeLists.txt
Commit c3817728e7b6b367a8aa91f8cbbcbc229b10a998 by pavel
[lld] s/dyn_cast/isa

Fixes some unused variable warnings with gcc.
The file was modifiedlld/MachO/Arch/X86_64.cpp
Commit a680c797b9fb7f652d8f63fc4d9ab4ba8ac7769c by sjoerd.meijer
[ARM][MVE] Added extra tail-predication runs for auto-correlation test case. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/varying-outer-2d-reduction.ll
Commit d212b63a792188ba483be861554deb4b173e8233 by grimar
[llvm-readobj] - Refine program headers testing (`-l`, `--program-headers` and `--segment`).

We have `gnu-phdrs.test` that tests
`-l`, `--program-headers` and `--segment` options for `llvm-readelf`.

We also have:
1) `program-headers.test` that tests `--program-headers` and `-l`
   for `llvm-readobj`. It doesn't test `--segment` and also uses
   lots of precompiled objects. It is very incomplete in compare
   with the `gnu-phdrs.test`.

2) `pt-gnu-property.test` that contains a simple test for the
   `PT_GNU_PROPERTY` segment. There is no reason to have it in
   a separate file.

This patch:
1) Merges `program-headers.test` and `pt-gnu-property.test` to `gnu-phdrs.test`.
2) Removes 2 precompiled binaries used by `program-headers.test`
   (other ones are still used by another tests).

Differential revision: https://reviews.llvm.org/D85526
The file was removedllvm/test/Object/Inputs/program-headers.mips64
The file was removedllvm/test/tools/llvm-readobj/ELF/program-headers.test
The file was removedllvm/test/Object/Inputs/program-headers.mips
The file was removedllvm/test/tools/llvm-readobj/ELF/pt-gnu-property.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test
Commit bf93edc4758b512e84b70ec6335d15b0cf386a18 by clementval
[flang][directives] Use TableGen information for clause classes in parse-tree

This patch takes advantage of the directive information and tablegen generation
to replace the clauses class parse tree and in the dump parse tree sections.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D85549
The file was modifiedflang/lib/Semantics/check-acc-structure.h
The file was modifiedflang/lib/Parser/openacc-parsers.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedllvm/utils/TableGen/DirectiveEmitter.cpp
The file was modifiedflang/lib/Semantics/CMakeLists.txt
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/lib/Semantics/check-acc-structure.cpp
The file was modifiedllvm/include/llvm/Frontend/Directive/DirectiveBase.td
The file was modifiedflang/lib/Evaluate/CMakeLists.txt
The file was modifiedllvm/include/llvm/Frontend/OpenACC/ACC.td
The file was modifiedllvm/test/TableGen/directive2.td
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedflang/lib/Semantics/resolve-directives.cpp
The file was modifiedllvm/test/TableGen/directive1.td
The file was modifiedflang/include/flang/Parser/parse-tree.h
Commit d2e2ad292142f150ab1292c25d605d03525fe15c by grimar
[llvm-readobj][test] - Rename gnu-phdrs.test to program-headers.test, NFCI.

program-headers.test was merged to gnu-phdrs.test and removed in D85526.
Now, gnu-phdrs.test contains tests for both GNU and LLVM style.

It was decided that this renaming should be done separately for a better
commit history and diffing purposes.
The file was addedllvm/test/tools/llvm-readobj/ELF/program-headers.test
The file was removedllvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test
Commit dc7630dd4446ac9e1c654b8bb32f5787fafede67 by ro
[compiler-rt][builtins] Un-xfail two tests on sparcv9

Two tests currently `XPASS` on sparcv9:

  Unexpectedly Passed Tests (2):
    Builtins-sparcv9-sunos :: compiler_rt_logbl_test.c
    Builtins-sparcv9-sunos :: divtc3_test.c

The following patch fixes this.

Tested on `sparcv9-sun-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D85119
The file was modifiedcompiler-rt/test/builtins/Unit/divtc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
Commit 034b95e2839ee0dbd375cdff7ffe20d6fbfa4750 by grimar
[llvm-readobj/elf] - Remove `unwrapOrError` calls from DumpStyle<ELFT>::printRelocationsHelper.

It removes all `unwrapOrError` calls except the first one, which
is is bit different and can be removed separately.

Differential revision: https://reviews.llvm.org/D85303
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs-error1.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs-error2.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs-error3.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs-error5.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/relocations.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs-error4.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs.test
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/relr-relocs.test
Commit 3b3dc1dbfffc6a710565bc83a46cee9a1334f32a by clementval
Revert "[flang][directives] Use TableGen information for clause classes in parse-tree"

This reverts commit bf93edc4758b512e84b70ec6335d15b0cf386a18.

Buildbot failure
The file was modifiedflang/lib/Semantics/check-acc-structure.cpp
The file was modifiedflang/lib/Semantics/check-acc-structure.h
The file was modifiedllvm/include/llvm/Frontend/OpenACC/ACC.td
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedllvm/test/TableGen/directive1.td
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedflang/lib/Parser/openacc-parsers.cpp
The file was modifiedllvm/include/llvm/Frontend/Directive/DirectiveBase.td
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedllvm/utils/TableGen/DirectiveEmitter.cpp
The file was modifiedflang/lib/Semantics/resolve-directives.cpp
The file was modifiedllvm/test/TableGen/directive2.td
The file was modifiedflang/lib/Evaluate/CMakeLists.txt
The file was modifiedflang/lib/Semantics/CMakeLists.txt
Commit b626f45329e8575f72e6cd444b444942d4913e9c by kadircet
[clangd] Unify macro matching in code completion for AST and Index based macros

fixes https://github.com/clangd/clangd/issues/489

Differential Revision: https://reviews.llvm.org/D85721
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
Commit 24a816c7d3925eb21970ea733d7d6bda11088ac7 by kadircet
[clangd] Disable ExtractFunction for C

This tweak uses constructs like auto and refs, which are not available
in C.

Differential Revision: https://reviews.llvm.org/D85727
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
Commit ea8e71c3da56f76ae2ab2f9ee7afc6444408ffab by kadircet
[clang][HeaderInsert] Do not treat defines with values as header guards

This was resulting in inserting headers at bogus locations, see
https://github.com/ycm-core/YouCompleteMe/issues/3736 for an example.

Differential Revision: https://reviews.llvm.org/D85590
The file was modifiedclang/lib/Tooling/Inclusions/HeaderIncludes.cpp
The file was modifiedclang/unittests/Tooling/HeaderIncludesTest.cpp
Commit ac50efd67cccc82f542c323e8903eac1e8b94bf7 by sam.parker
[NFC][ARM][SimplifyCFG] Add some tests.

Add some tests around thresholds and minsize.
The file was addedllvm/test/Transforms/SimplifyCFG/ARM/branch-fold-threshold.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/ARM/select-costs.ll
Commit a9795b6f639f976e2d6f690066c61f890eed534f by tkeith
[flang] Disable -Wmaybe-uninitialized for GCC

According to llvm/cmake/config-ix.cmake, gcc's potentially uninitialized
use analysis has lots of false positives. We are encountering one in
flang/lib/Lower/CharacterExpr.cpp.

That warning is disabled for gcc in in-tree builds; this does the same
thing for out-of-tree builds.

Differential Revision: https://reviews.llvm.org/D85694
The file was modifiedflang/CMakeLists.txt
Commit 53f21e0fb754799fc9a7ad7243a9161e2411b51d by Matthew.Arsenault
TableGen/GlobalISel: Hack the operand order for atomic_store

ISD::ATOMIC_STORE arbitrarily has the operands in the opposite order
from regular ISD::STORE, which always introduced an annoying
duplication of patterns to handle both cases. Since in GlobalISel
there's just the one G_STORE, we need to swap the operands to
correctly emit the type check for the pointer operand.

Some work started in 20aafa31569b5157e792daa8860d71dd0df8a53a to
migrate SelectionDAG to use ISD::STORE for atomics, but that work
seems to have stalled. Since this is the pretty much the last
operation which matters which isn't supported for AMDGPU, use this
compatibility hack to unblock declaring it functionally complete.

Not sure what's going on with the pending_phis AArch64 test. It seems
it didn't always use atomics, and I'm not sure what it was originally
testing matters anymore.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-atomic-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-flat.mir
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/DSInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-global.mir
The file was modifiedllvm/test/TableGen/Common/GlobalISelEmitterCommon.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was addedllvm/test/TableGen/GlobalISelEmitter-atomic_store.td
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-atomic-flat.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
Commit 442a80292d50d895396eb14418bd471e7da68fd0 by Raphael Isemann
[clang] Don't make synthesized accessor stub functions visible twice

`addDecl` is making the Decl visible, so there is no need to make it explicitly
visible again. Making it visible twice will also make the lookup storage less
efficient and potentially lead to crashes, see D84827 for that.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D84828
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
Commit 02899d7f1b9ae7f6da30bd020a714c7b3eb2c59f by Raphael Isemann
[clang] Don't make ObjCIvarDecl visible twice when adding them to an implicit ObjCInterfaceDecl

`addDecl` is making the ivar visible in its primary context. The primary context
of the ivar here is in a 'fragile' ABI the ObjCInterfaceDecl and in a
'non-fragile' ABI the current ObjCImplementationDecl. The additional call to
`makeDeclVisibleInContext` to make the ivar visible in the ObjCInterfaceDecl is
only necessary in the 'non-fragile' case (as in the 'fragile' case the Decl
becomes automatically visible in the ObjCInterfaceDecl with the `addDecl` call
as thats its primary context). See `Sema::ActOnIvar` for where the ivar is put
into a different context depending on the ABI.

To put this into an example:

```
lang=c++
@implementation SomeClass
{
  id ivar1;
}
@end

fragile case:
implicit ObjCInterfaceDecl 'SomeClass'
`- ivar1 (in primary context and will be automatically made visible)
ObjCImplementationDecl 'SomeClass'

non-fragile case:
implicit ObjCInterfaceDecl 'SomeClass'
`-<<<ivar1 not visible here and needs to be manually marked as visible.>>>
ObjCImplementationDecl 'SomeClass'
`- ivar1 (in its primary context and will be automatically made visible here)
```

Making a Decl visible multiple times in the same context is inefficient and
potentially can lead to crashes. See D84827 for more info and what this is
breaking.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D84829
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
Commit b1600d8b8971e7d5967ed29476ee3ae71ade6a81 by dtemirbulatov
[NFC] Guard the cost report block of debug outputs with NDEBUG and
switch to SmallString, this is part of D57779.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit e2f1b48f867d9ed349b7520dea495717bca26f31 by Matthew.Arsenault
GlobalISel: Implement bitcast action for G_INSERT_VECTOR_ELT

This mirrors the support for the equivalent extracts. This also
creates a huge mess that would be greatly improved if we had any bit
operation combines.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert-vector-elt.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 16c1d251c4ce59f97802ff0c27ed6441f3153ab1 by clementval
[flang][directives] Use TableGen information for clause classes in parse-tree

This patch takes advantage of the directive information and tablegen generation
to replace the clauses class parse tree and in the dump parse tree sections.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D85549
The file was modifiedflang/lib/Evaluate/CMakeLists.txt
The file was modifiedllvm/test/TableGen/directive1.td
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenACC/ACC.td
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedllvm/test/TableGen/directive2.td
The file was modifiedllvm/utils/TableGen/DirectiveEmitter.cpp
The file was modifiedflang/lib/Semantics/CMakeLists.txt
The file was modifiedflang/lib/Semantics/check-acc-structure.cpp
The file was modifiedflang/lib/Parser/openacc-parsers.cpp
The file was modifiedflang/lib/Semantics/check-acc-structure.h
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedflang/lib/Semantics/resolve-directives.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedllvm/include/llvm/Frontend/Directive/DirectiveBase.td
Commit 1d4bc08ce43c8e2f07df3aa22a0787907750bf88 by Xing
[DWARFYAML] Let the address size of line tables inferred from the object file.

Currently, the line table uses the first compilation unit's address size
as its address size. It's not the right behavior. The address size should be
inferred from the target machine.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D85707
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml
Commit d287a5a33f63dcd8f9882ceb3fb18e2e6080d8b4 by benny.kra
[GlobalISel] Remove unused variable. NFC.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit bb640645f52410cac9c82eb8295cb4d442efd29e by david.stenberg
[DebugInfo] Simplify DwarfDebug::emitMacro

Broken out from a review comment on D82975. This is an NFC expect for
that the Macinfo macro string is now emitted using a single emitBytes()
invocation, so it can be done using a single string directive.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D83557
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit e2f32404727f891fea309f8457d87b1c306e3fcc by david.stenberg
[DebugInfo] Allow GNU macro extension to be emitted

Allow the GNU .debug_macro extension to be emitted for DWARF versions
earlier than 5. The extension is basically what became DWARF 5's format,
except that a DW_AT_GNU_macros attribute is emitted, and some entries
like the strx entries are missing. In this patch I emit GNU's indirect
entries, which are the same as DWARF 5's strp entries.

This patch adds the extension behind a hidden LLVM flag,
-use-gnu-debug-macro. I would later want to enable it by default when
tuning for GDB and targeting DWARF versions earlier than 5.

The size of a Clang 8.0 binary built with RelWithDebInfo and the flags
"-gdwarf-4 -fdebug-macro" reduces from 1533 MB to 1349 MB with
.debug_macro (compared to 1296 MB without -fdebug-macro).

Reviewed By: SouraVX, dblaikie

Differential Revision: https://reviews.llvm.org/D82975
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macro-gnu-dwo.ll
The file was addedllvm/test/DebugInfo/X86/debug-macro-gnu.ll
Commit f4dccf115cc198e552b520fda0ee623457015db7 by riccibrun
[clang] Add a matcher for template template parameters.

There are already matchers for type template parameters and non-type template
parameters, but somehow no matcher exists for template template parameters
and I need it to write unit tests.

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

Reviewed By: aaron.ballman
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/ASTMatchers/Dynamic/Registry.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
Commit dbc468dc319953c86c2c564475f4939f66572810 by i
[split-file] Fix sys::fs::remove() on Solaris after D83834

where stdio.h ::remove() may set errno to EEXIST instead of ENOTEMPTY.

POSIX.1-2017 allows EEXIST for unlink() (which is called by remove()):

> [EEXIST] or [ENOTEMPTY]
> The flag parameter has the AT_REMOVEDIR bit set and the path argument names a directory that is not an empty directory, or there are hard links to the directory other than dot or a single entry in dot-dot.

Reviewed By: ro

Differential Revision: https://reviews.llvm.org/D85690
The file was modifiedllvm/tools/split-file/split-file.cpp
Commit 73ca96ebc156daeb56d63981b316b8bf060b0d7f by i
[ELF][test] Enhance x86-64-split-stack-prologue-adjust-success.s & non-abs-reloc.s

Catch problems when outSecOff is not zero and outSecOff is added twice or not added.
The file was modifiedlld/test/ELF/non-abs-reloc.s
The file was modifiedlld/test/ELF/x86-64-split-stack-prologue-adjust-success.s
Commit e973c1375ed04b1d71fa86f1519d5067d8a6fc1f by i
[ELF] Move the outSecOff addend from relocAlloc/relocNonAlloc/... to InputSectionBase::relocate

For an InputSection, the `buf` argument of `InputSectionBase::relocate` points
to the content of the containing OutputSection, instead of the content of the
InputSection itself, so `outSecOff` needs to be added in its callees.  This is
counter-intuitive and leads to many `- outSecOff` and `+ outSecOff`.

This patch makes `InputSection::writeTo` call `InputSectionBase::relocate` with
`outSecOff` added. relocAlloc/relocNonAlloc/relocateNonAllocForRelocatable can
thus be simplified now.

Updated test:

* non-abs-reloc.s: A minor offset bug is fixed for a diagnostic in `relocateNonAlloc`

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D85618
The file was modifiedlld/test/ELF/non-abs-reloc.s
The file was modifiedlld/ELF/AArch64ErrataFix.cpp
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/ARMErrataFix.cpp
Commit 6cac661637cd8d2cd8963a95ba2541ee5da42b79 by Matthew.Arsenault
AMDGPU/GlobalISel: Fix test bugs and add a few more cases

The wrong alignment or addrspace was used. Also add various cases to
stress a future patch.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
Commit 076305568cd6c7c02ceb9cfc35e1543153406d19 by Matthew.Arsenault
AMDGPU/GlobalISel: Prepare for more custom load lowerings

Slight restructuring of the code to avoid formatting changes when more
cases are handled here.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
Commit 91d59cbf1b386999fe6c135a5e5726a6d83d4e39 by llvm-dev
[X86][SSE] Add HADD/SUB support to combineHorizOpWithShuffle

Handles some HOP(SHUFFLE,SHUFFLE) patterns and sets us up to improve some of the cases mentioned in PR41813.
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit bae1517266bf4ce85a32390323fd463f28ae9d0c by zinenko
[mlir] Add verification to LLVM dialect types

Now that LLVM dialect types are implemented directly in the dialect, we can use
MLIR hooks for verifying type construction invariants. Implement the verifiers
and use them in the parser.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D85663
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/types-invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Commit ea8c186c408d45dba9ded06463046d5151495a40 by spatel
[InstCombine] add tests for pointer casts with insertelement; NFC
The file was modifiedllvm/test/Transforms/InstCombine/cast_ptr.ll
Commit bad205fe0c742d956246b8b59305e783694d2ae2 by spatel
[InstSimplify] add tests for min/max intrinsics with common operands; NFC

There are 4*4*4 = 64 variations. We currently handle some, but not all,
of the alternative patterns with cmp+sel in instcombine.
The file was modifiedllvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll
Commit 1470ce4a76fc56729fb15dab0ca9877e25d26d58 by spatel
[InstSimplify] fold min/max with matching min/max operands

I think this is the last remaining translation of an existing
instcombine transform for the corresponding cmp+sel idiom.

This interpretation is more general though - we can remove
mismatched signed/unsigned combinations in addition to the
more obvious cases.

min/max(X, Y) must produce X or Y as the result, so this is
just another clause in the existing transform that was already
matching a min/max of min/max.
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll
Commit 956582aa165804dd8335879c3a7f833901e5424c by bevin.hansson
[Sema] Iteratively strip sugar when removing address spaces.

ASTContext::removeAddrSpaceQualType does not properly deal
with sugar. QualTypes derive their ASes from the AS on the
canonical type, not the type itself. However,
removeAddrSpaceQualType only strips the outermost qualifiers,
which means that it can fail to remove addrspace qualifiers
if there is sugar in the way.

Change the function to desugar types until the address space
really no longer exists on the corresponding QualType. This
should guarantee the removal of the address space.

This fixes the erroneous behavior in D62574.

Reviewed By: rjmccall, svenvh

Differential Revision: https://reviews.llvm.org/D83325
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/CodeGenCXX/address-space-cast.cpp
Commit d4408fe17f33bcd664ec8f468abfd1094e84a7c1 by bevin.hansson
[clang] Do not crash for unsupported fixed point to floating point conversion

- Fixed point to floating point conversion is unimplemented.
- If one of the operands has a floating type and the other operand has a fixed-point type, the function
   handleFloatConversion() is called because one of the operands has a floating type, but we do not handle fixed
   point type in this function (Implementation of fixed point to floating point conversion is missing), due to this
   compiler crashes. In order to avoid compiler crash, when one of the operands has a floating type and the other
   operand has a fixed-point type, return NULL.
- FIXME: Implementation of fixed point to floating point conversion.
- I am going to resolve FIXME in followup patches.
- Add the test case.

Reviewed By: ebevhan

Differential Revision: https://reviews.llvm.org/D81904
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Frontend/fixed_point_errors.c
Commit fa2b836ea393dc4d24d2fced0ea78b7527f77de9 by jay.foad
[GlobalISel] Add G_ABS

This is equivalent to the new llvm.abs intrinsic added by D84125 with
is_int_min_poison=0.

Differential Revision: https://reviews.llvm.org/D85718
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
The file was modifiedllvm/docs/GlobalISel/GenericOpcode.rst
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
Commit aa994d9867e38ad12a5d43edcfb8d53a26b73020 by whitneyt
[NFC][LoopUnrollAndJam] Use BasicBlock::replacePhiUsesWith instead of
static function updatePHIBlocks.

Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D85673
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
Commit cf715717aa8cb17d98177af3ce63c7e20e8d25a3 by tkeith
[flang] Allow compiler directives in more places

Allow compiler directives in the implicit-part and before USE statements
in the specification-part.

Differential Revision: https://reviews.llvm.org/D85693
The file was modifiedflang/lib/Parser/Fortran-parsers.cpp
The file was addedflang/test/Parser/compiler-directives.f90
The file was modifiedflang/lib/Parser/program-parsers.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Semantics/resolve-names.cpp
Commit 0dc4c36d3aa1c1bcae4aa00e7808722ebfd22f6d by Matthew.Arsenault
AMDGPU/GlobalISel: Manually select llvm.amdgcn.writelane

Fixup the special case constant bus handling pre-gfx10.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.writelane.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
Commit c135744b1df394f51b6a08bc562f99a1236e772c by Jonas Devlieghere
[lldb/CMake] Separate CMake code for Lua and Python (NFC)

Separate the CMake logic for Lua and Python to clearly distinguish
between code specific to either scripting language and the code shared
by both.

What this patch does is:

- Move Python specific code into the bindings/python subdirectory.
- Move the Lua specific code into the bindings/lua subdirectory.
- Add the _python suffix to Python specific functions/targets.
- Fix a dependency issue that would check the binding instead of
   whether the scripting language is enabled.

Note that this patch also changes where the bindings are generated,
which might affect downstream projects that check them in.

Differential revision: https://reviews.llvm.org/D85708
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/bindings/CMakeLists.txt
The file was removedlldb/bindings/python.swig
The file was removedlldb/bindings/lua.swig
The file was addedlldb/bindings/lua/lua.swig
The file was addedlldb/bindings/lua/CMakeLists.txt
The file was addedlldb/bindings/python/CMakeLists.txt
The file was addedlldb/bindings/python/python.swig
The file was modifiedlldb/docs/CMakeLists.txt
The file was modifiedlldb/source/API/CMakeLists.txt
Commit fe1f36986b23a67c218d7ca24741d5ebd6886473 by llvm-dev
[X86][SSE] combineShuffleWithHorizOp - avoid unnecessary subtraction. NFCI.

We can safely replace ((M - NumElts) % NumEltsPerLane) with (M % NumEltsPerLane) as the modulo result will be the same.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 45a4f4c806669c60adc28a63b19f4e46b99c5efb by Xing
[DWARFYAML] Teach yaml2obj emit the correct line table program.

The following issues are addressed in this patch.

1. The operands of DW_LNE_set_discriminator should be an ULEB128 number
   rather than an address.
2. Test the emitted opcodes.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D85717
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
Commit 8155cb27a2327834ae7f0d320dc0e26f108891a8 by echristo
Fold Opcode into assert uses to fix an unused variable warning without asserts.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 645dd1b3bf8d976683c72b9faf501d6f0b16326e by yitzhakm
[libTooling] Cleanup and reorder `RewriteRule.h`.

This patch lifts `RootID` out of the `RewriteRule` class so that constructs
(e.g. inline functions) can that refer to the root id don't need to depend on
the `RewriteRule` class.

With this dependency, the patch is able to collect all `ASTEdit` helper function
declarations together with the class declaration, before the introduction of the
`RewriteRule` class. In the process, we also adjust some of the comments.

This patch is essentially a NFC.

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D85733
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
Commit cb29c33984bf40beebd22edf80a5034cf8849307 by davg
[clangd][ObjC] Improve xrefs for protocols and classes

Summary:
Previously clangd would jump to forward declarations for protocols
and classes instead of their definition/implementation.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83501
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
Commit d110d4aaff31198cd455b68617978019a8339773 by nikita.ppv
[InstSimplify] Forbid undef folds in expandBinOp

This is the replacement for D84250 based on D84792. As we recursively
fold with the same value twice, we need to disable undef folds,
to prevent an undef from being folded to two different values.

Reverting rG00f3579aea6e3d4a4b7464c3db47294f71cef9e4 and using the
test case from https://reviews.llvm.org/D83360#2145793, it no longer
performs the incorrect fold.

Differential Revision: https://reviews.llvm.org/D85684
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
Commit d8c1f43dcc949fda5ce37a122d1a0d92975de82c by yitzhakm
[libTooling] Move RewriteRule include edits to ASTEdit granularity.

Currently, changes to includes are applied to an entire rule. However,
include changes may be specific to particular edits within a rule (for example,
they may apply to one file but not another). Also, include changes may need to
carry metadata, just like other changes. So, we make include changes first-class
edits.

Reviewed By: tdl-g

Differential Revision: https://reviews.llvm.org/D85734
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/lib/Tooling/Transformer/Transformer.cpp
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
Commit 989d8dc9fe201eaa2c323d92bc39c00ee53f5012 by Lang Hames
[llvm-jitlink] Fix a file comment.
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
Commit eed19c8c7e7a7a44e4a417b8df7afce5c4ae738c by Lang Hames
[ORC] Move file-descriptor based raw byte channel into a public header.

This will enable re-use in other llvm tools.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/tools/lli/RemoteJITUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RawByteChannel.h
The file was modifiedllvm/tools/lli/ChildTarget/ChildTarget.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/RPC/FDRawByteChannel.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h
Commit 8dd2eb10bbc40610b8943cfb04a81e9c7dbc71e1 by Matthew.Arsenault
GlobalISel: Fix typo
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
Commit 2655bd51d6a350b1aa71566fa9cbaad64990336a by llvm-dev
[X86][SSE] combineShuffleWithHorizOp - canonicalize SHUFFLE(HOP(X,Y),HOP(Y,X)) -> SHUFFLE(HOP(X,Y))

Attempt to canonicalize binary shuffles of HOPs with commuted operands to an unary shuffle.
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-undef.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b9aaf32f46494695d1b20c08730c1111536e17f8 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFC.
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
Commit 0dc5e0cd393d1bf451c27c1a2d8471a4df0f42b0 by jasonliu
[XCOFF][llvm-readobj] Move XCOFF test to XCOFF directory

Summary:
COFF and XCOFF in llvm are very different and serves different platform.
Since we have different Dumper.cpp file in llvm-readobj's
implementation, we should have separate testing directory for them too.

Reviewed By: jhenderson, DiggerLin

Differential Revision: https://reviews.llvm.org/D85675
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic-neg-sym-count.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic-neg-time.o
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-symbols.test
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic-neg-sym-count.o
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-sections.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/sections.test
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic-64.o
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-reloc-overflow.o
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-overflow-section.test
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic.o
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-basic.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/basic.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/overflow-section.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/reloc_overflow.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/symbols.test
The file was removedllvm/test/tools/llvm-readobj/COFF/reloc_overflow.test
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/aix_xcoff_xlc_test8.o
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic-neg-time.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/reloc-overflow.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic64.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/symbol.o
Commit d2c18b598359f9b59314669ccd15070d07aeb68a by rupprecht
[NFC][llvm-objcopy] Fix redundant config checks.

The check for unsupported options checks some configs twice in a || expression. Fixes PR47107.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit bebe6a6449811e877f7eba3f1798ddd1fa83e440 by Jessica Paquette
[GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y))

This implements

```
(logic_op (op x...), (op y...)) -> (op (logic_op x, y))
```

when `op` is an extend, a shift, or an and.

This is similar to `DAGCombiner::hoistLogicOpWithSameOpcodeHands`
(with a bunch of missing cases, e.g. G_TRUNC, G_BITCAST, etc.)

This is implemented so it works both pre and post-legalization.

This also adds a general way to add a series of instructions in a combine.
(`applyBuildInstructionSteps`).

Differential Revision: https://reviews.llvm.org/D85050
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-hoist-same-hands.mir
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-hoist-same-hands.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 667843cc07c934b7fc20de0cc86323ae5fde48ce by gyurgyikcp
[libc] Add strtok implementation.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D85615
The file was modifiedlibc/test/src/string/CMakeLists.txt
The file was addedlibc/src/string/strtok.cpp
The file was addedlibc/src/string/strtok.h
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/src/string/CMakeLists.txt
The file was modifiedlibc/src/string/string_utils.h
The file was addedlibc/test/src/string/strtok_test.cpp
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
Commit 2fc86ccdd25309b9f77739aaed4a7b06f1c6f111 by joshisameeran17
[Flang] Fix release blocker issue #46931 related to documentation.

Summary:
Fixes bug : https://bugs.llvm.org/show_bug.cgi?id=46931
This commit add a new flag -DLLVM_ENABLE_SPHINX=ON to cmake command to generate sphinx documentation,
along with new cmake targets `docs-flang-html`.
`ninja docs-flang-html` - generates sphinx documentation.
Generated release notes are present in <builddir>/tools/flang/docs/html/ folder.

Reviewers: richard.barton.arm, DavidTruby

Tags: #flang

Differential Revision: https://reviews.llvm.org/D85470
The file was addedflang/docs/_themes/llvm-theme/static/navigation.png
The file was addedflang/docs/ReleaseNotes.rst
The file was addedflang/docs/_themes/llvm-theme/layout.html
The file was addedflang/docs/_static/llvm.css
The file was addedflang/docs/_themes/llvm-theme/static/contents.png
The file was addedflang/docs/_themes/llvm-theme/theme.conf
The file was addedflang/docs/_themes/llvm-theme/static/llvm-theme.css
The file was addedflang/docs/_themes/llvm-theme/static/logo.png
The file was addedflang/docs/conf.py
Commit 7adf5bd18147b8acdab6e2720b4073e8c35bdf9a by Jonas Devlieghere
[lldb] Look beyond the first line to find the PID in TestAppleSimulatorOSType

The current code fails when the first stderr line doesn't match the
given regex to parse the PID. This patch changes the code to read the
first 10 lines before giving up. It also adds tracing for the simctl
commands.
The file was modifiedlldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
Commit 94791970de109eb9a6b296825ddb0fc2a196b366 by tlively
[SLPVectorizer] Pre-commit a test for D85759

8cc911fa5b06 refactored the `getIntrinsicInstrCost` function and was
meant to be a nonfunctional change, but it accidentally changed how
costs were calculated in the SLP vectorizer, which regressed
WebAssembly codegen and resulted in a downstream bug report at
https://github.com/emscripten-core/emscripten/issues/11449.

The fix for this regression is in D85759, and this patch just
pre-commits the test from that patch to demonstrate the regressed
behavior first.
The file was addedllvm/test/Transforms/SLPVectorizer/WebAssembly/no-vectorize-rotate.ll
Commit cf9588a24a276e36ac050e9172a33d9b431f12e9 by Jessica Paquette
Update AMDGPU testcases after bebe6a6449811e877f7eba3f1798ddd1fa83e440

I didn't build AMDGPU locally so I didn't see this.

```
(logic_op (op x...), (op y...)) -> (op (logic_op x, y))
```

kicks in here.

Differential Revision: https://reviews.llvm.org/D85761
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/orn2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/andn2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll
Commit 61afdf0ab43f1aec93d3d482cd3d1d95c537aefe by Jonas Devlieghere
[lldb] Enable inheriting TCC permissions in lldb-test

Like the rest of the test suite, also set the target.inherit-tcc option
to true in lldb-test.
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
Commit d68a2859ab410426edf1683d926fa2d1b58c5935 by Dávid Bolvanský
[BPI] Teach BPI about bcmp function
bcmp is similar to memcmp
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was modifiedllvm/test/Analysis/BranchProbabilityInfo/libfunc_call.ll
Commit ec5f793996f4dc86d339db88c0836e0cf4e8abea by tra
[OpenMP] split execution of a long test into smaller parts.

This test is bottlenecked by heavy regex use (~0.6s per FileCHeck run) with the
content that can't be further fragmented. Instead, the test body is moved into a
common .inc file and test execution has been split into four roughly equal
parts. This reduces wall time for the test from 14s to ~3.5s.

Differential Revision: https://reviews.llvm.org/D85695
The file was removedclang/test/OpenMP/target_map_codegen_18.cpp
The file was addedclang/test/OpenMP/target_map_codegen_18d.cpp
The file was addedclang/test/OpenMP/target_map_codegen_18.inc
The file was addedclang/test/OpenMP/target_map_codegen_18a.cpp
The file was addedclang/test/OpenMP/target_map_codegen_18c.cpp
The file was addedclang/test/OpenMP/target_map_codegen_18b.cpp
Commit bfb0b853b2da6634df4459d844be7ac4739b4e50 by julian.lettner
[compiler-rt] XFAIL test on iOS

On iOS, when we `longjmp()` out of the signal handler, a subsequent call
to `sigaltstack()` still reports that we are executing on the signal
handler stack.
Tracking rdar://66789814

Differential Revision: https://reviews.llvm.org/D85677
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
Commit 39617aaed95ac00957979bc1525598c1be80e85e by Yuanfang Chen
NFC. Constify MachineVerifier::verify parameter
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
Commit 52b71aa8b1a019403b0ecc184744b2f8ca2f7cba by tlively
Revert "[SLPVectorizer] Pre-commit a test for D85759"

This reverts commit 94791970de109eb9a6b296825ddb0fc2a196b366.

The test is failing on multiple bots, event though it passes for me
locally. Reverting while I investigate further.
The file was removedllvm/test/Transforms/SLPVectorizer/WebAssembly/no-vectorize-rotate.ll
Commit f969734c21e89a0e26f2490347d7be750500774e by tlively
Reland "[SLPVectorizer] Pre-commit a test for D85759"

This reverts commit 52b71aa8b1a019403b0ecc184744b2f8ca2f7cba.

The problem was a missing lit.local.cfg file, which was causing the
test to be incorrectly run on bots that had not built the WebAssembly
target.
The file was addedllvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg
The file was addedllvm/test/Transforms/SLPVectorizer/WebAssembly/no-vectorize-rotate.ll
Commit e8dac8b3dbe7a31af291032f1f3e95e789200590 by Louis Dionne
[libunwind][NFC] Fix typo in comment
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit e9ac1495e2082ebacfe14df2ffd124a58860449d by diggerlin
[AIX][XCOFF] change the operand of branch instruction from symbol name to qualified symbol name for function declarations

SUMMARY:

1. in the patch  , remove setting storageclass in function .getXCOFFSection and construct function of class MCSectionXCOFF
there are

XCOFF::StorageMappingClass MappingClass;
XCOFF::SymbolType Type;
XCOFF::StorageClass StorageClass;
in the MCSectionXCOFF class,
these attribute only used in the XCOFFObjectWriter, (asm path do not need the StorageClass)

we need get the value of StorageClass, Type,MappingClass before we invoke the getXCOFFSection every time.

actually , we can get the StorageClass of the MCSectionXCOFF  from it's delegated symbol.

2. we also change the oprand of branch instruction from symbol name to qualify symbol name.
for example change
bl .foo
extern .foo
to
bl .foo[PR]
extern .foo[PR]

3. and if there is reference indirect call a function bar.
we also add
  extern .bar[PR]

Reviewers:  Jason liu, Xiangling Liao

Differential Revision: https://reviews.llvm.org/D84765
The file was modifiedllvm/test/CodeGen/PowerPC/aix-external-sym-sdnode-lowering.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix64-cc-byval.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/MC/MCSymbolXCOFF.cpp
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-reference-func-addr-const.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-visibility.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-byval.ll
The file was modifiedllvm/include/llvm/MC/MCSymbolXCOFF.h
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/test_call_aix.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-extern-weak.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/include/llvm/MC/MCSectionXCOFF.h
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-abi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-sret-param.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 1a69f02397ae31a484f640aa2d22dbede9f9e3f1 by tlively
[WebAssembly][NFC] Replace WASM with standard Wasm

The officially specified abbreviation for WebAssembly is Wasm and the
spec explicitly calls out WASM as being an incorrect spelling. This
patch fixes a few comments and error messages to use the
spec-compliant abbreviation.

Differential Revision: https://reviews.llvm.org/D85764
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Commit b9c1bd39d017ab3a480a973234c276ff14b36e58 by aeubanks
[gn build] Fix CodeGenTests

Missing dependency required by https://reviews.llvm.org/D67687.

Fixes
lld-link: error: undefined symbol: public: __cdecl llvm::PipelineTuningOptions::PipelineTuningOptions(void)
>>> referenced by C:\src\llvm-project\llvm\unittests\CodeGen\PassManagerTest.cpp:215
>>>               obj/llvm/unittests/CodeGen/CodeGenTests.PassManagerTest.obj:(private: virtual void __cdecl `anonymous namespace'::PassManagerTest_Basic_Test::TestBody(void))

Differential Revision: https://reviews.llvm.org/D85682
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
Commit 9b211a5076310f14081dd257b0cbac6857534bc3 by Louis Dionne
[libunwind] Fix incorrect check for out-of-boundedness

If the personalityIndex (which is 0-based) is equal to the length of
the personality array, we should error out.

rdar://18013273
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit e74e8b2b6957b4613b0fef2a964d40313074f435 by lebedev.ri
[NFC][InstCombine] Add tests for PHI merging/aggregate reconstruction (PR47060)

We should be able to see that the new aggregate we have produced
is identical to the source aggregate from which we've extracted
the elements that we used to form a new aggregate.

This happens (a lot) in clang C++ exception code on unwind branch.
The file was addedllvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll
The file was addedllvm/test/Transforms/InstCombine/aggregate-reconstruction.ll
Commit 254e0abf5be2e98cb7f1fa52617b71f4b94b11a4 by Jonas Devlieghere
[lldb] Fix the last remaining tests not inheriting TCC permissions

After this patch all test should have the inferior inheriting the TCC
permissions from its parent.
The file was modifiedlldb/test/API/lang/objc/exceptions/TestObjCExceptions.py
The file was modifiedlldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
The file was modifiedlldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
The file was modifiedlldb/test/API/types/AbstractBase.py
Commit 06d567059e5ad76c0eb1ee85295f76c89ff453a1 by nikita.ppv
[InstSimplify] Respect CanUseUndef in more places

Similar to what we do in IIQ, add an isUndefValue() helper that
checks for undef values while respective CanUseUndef. This makes
it much easier to search for places that don't respect the flag
yet.
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp

Summary

  1. Reduce the number of parallell LLDB tests executing. (details)
  2. Also limit the number of parallel debuginfo-tests (details)
  3. Reduce the amount of parallelism in the debuginfo tests even further. (details)
  4. Add flang slaves builds with clang10 and gcc10 (details)
  5. [lldb] Increase test time-out from 60 to 90 minutes (details)
  6. Revert "Reduce the amount of parallelism in the debuginfo tests even further." (details)
  7. Add a one-time retry to debuginfo-tests. (details)
Commit 382c69834410f98b4ddda45a820d097a7709e039 by Adrian Prantl
Reduce the number of parallell LLDB tests executing.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit 82db1ca53f02d6b9d9da834851a69bfc3baa1c2f by Adrian Prantl
Also limit the number of parallel debuginfo-tests
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit da75a91597836a646a345fb5ba699915a6baa69e by Adrian Prantl
Reduce the amount of parallelism in the debuginfo tests even further.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit b06887ba004d88769b9d55fa4572aa92d95eec68 by caroline.concatto
Add flang slaves builds with clang10 and gcc10

Differential Revision: https://reviews.llvm.org/D85529
The file was modifiedbuildbot/osuosl/master/config/status.py
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/slaves.py
Commit cda7af100c2790582410858611b41791397bc366 by Jonas Devlieghere
[lldb] Increase test time-out from 60 to 90 minutes

This should account for the slower node while still giving us some
signal when the testing time regresses.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit c7fa651e0799f944904619af25f3bdba0e6f2f17 by Adrian Prantl
Revert "Reduce the amount of parallelism in the debuginfo tests even further."

This reverts commit da75a91597836a646a345fb5ba699915a6baa69e.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit 303368a0a9deff12488203e0b4b009d90c303db0 by Adrian Prantl
Add a one-time retry to debuginfo-tests.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake