Changes

Summary

  1. [Clang] Added doc for malloc attribute (details)
  2. [Clang] Added heading to doc for malloc attribute (details)
  3. [ARM] Format ARMISD node definitions. NFC (details)
  4. [libc++] Remove if-else to make branch predictor happy (details)
  5. [lld/mac] Don't assert when using -exported_symbol with private symbol (details)
  6. [InstCombine] Add tests for comparison of integer parts (NFC) (details)
  7. [libc++][doc] Adds a Format library status page. (details)
  8. [libcxx][iterator] adds `std::input_or_output_iterator` and `std::sentinel_for` (details)
  9. [InstCombine] ctpop(X) + ctpop(Y) => ctpop(X | Y) if X and Y have no common bits (PR48999) (details)
  10. [InstCombine] ctpop(rot(X)) -> ctpop(X) (details)
  11. Fix null ptr crash dumping TemplateTemplateParmDecl (details)
  12. [Tests] Rename variable to fix broken buildbots (details)
  13. [AArch64] Enable UseAA globally in the AArch64 backend (details)
  14. [InstCombine] Fixed UB in foldCtpop (details)
  15. [NewGVN] Use performSymbolicEvaluation instead of createExpression. (details)
  16. [flang] Fix crash from -DMACRO= with empty replacement (details)
  17. [Analysis] Attribute alignment should not prevent tail call optimization (details)
  18. [NFC] Refactor how CFI section types are represented in AsmPrinter (details)
  19. [PatternMatch] Improve m_Deferred() documentation (NFC) (details)
  20. [SCEV] Add additional NE applyLoopGuards() test (NFC) (details)
  21. [SCEV] Fix applyLoopGuards() chaining for ne predicates (details)
  22. Simplify the breakpoint setting in DynamicLoaderMacOS::SetNotificationBreakpoint (details)
  23. [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. (details)
  24. [Clang] Add clang attribute `clang_builtin_alias`. (details)
  25. [ORC][C-bindings] Fix missing ')' in comments. (details)
  26. [Clang] Fixup for D100611 (details)
  27. [X86] Support AMX fast register allocation (details)
  28. [X86] Refine AMX fast register allocation (details)
  29. [PhaseOrdering] Add PR32544 test coverage (details)
  30. [RISCV] Apply clang_builtin_alias to overloaded builtins. (details)
  31. [NewGVN] Use ExprResult to add extra predicate users. (details)
  32. [NewGVN] Properly transfer PredDep in move constructor. (details)
  33. [X86] Regenerate atomic-flags.ll test file (details)
  34. [X86] Add PR20841 test cases showing failure to reuse ZF from XADD ops (details)
  35. [X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841) (details)
  36. [AST] Add DeclarationNameInfo to node introspection (details)
  37. Add srcloc output to clang-query (details)
  38. [libc++] Adds __utility/to_underlying.h. (details)
  39. [gn build] Port a354fd56c504 (details)
  40. Revert rG2149aa73f640c96 "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)" (details)
  41. [demangler] Use standard semantics for StringView::substr (details)
  42. [gn build] Port 1cea7ab4ba13 (details)
  43. [VPlan] Add VPBlockUtils::blocksOnly helper. (details)
  44. [lldb] [Process/FreeBSD] Report fork/vfork events to LLGS (details)
  45. [lldb] [Process/NetBSD] Report fork/vfork events to LLGS (details)
  46. [ARM][disassembler] Fix incorrect number of MCOperands generated by the disassembler (details)
  47. [NFC] Fixed some D79714 warnings (details)
  48. Disable deprecated-copy warnings on various LLVM code to bring the bot back to green (details)
  49. [googlemock] Fix warnings about superfluous semicolons after 68ff493dfc950c05c102e09e14a16d06253ffa16. NFC. (details)
  50. [clangd] Produce semantic token for name referring to UnresolvedUsingValueDecl (details)
  51. [clangd] Use HeuristicResolver to produce a better semantic token for name referring to UnresolvedUsingValueDecl (details)
  52. [NFC][X86][AVX2] Add baseline CodeGen/CostModel tests for interleaved loads/stores of i16 w/ strides 2/3/4 (details)
  53. [sanitizer] Use COMPILER_RT_EMULATOR with gtests (details)
  54. [scudo] Mark ARM64 as supported platform (details)
  55. [scudo][NFC] Fix cast warning (details)
  56. [clangd] Omit parameter hint if parameter name comment is present (details)
  57. [clangd] Omit parameter hint for setter functions (details)
  58. [clangd] Rename HeuristicResolver::resolveCallExpr() to resolveTypeOfCallExpr() (details)
  59. [ORC] Avoid invalidating iterators in EHFrameRegistrationPlugin. (details)
  60. [DebugInfo][AIX] Set target debugger-tune default to dbx (details)
  61. [RISCV] [1/2] Add IR intrinsic for Zbe extension (details)
  62. [RISCV] Teach DAG combine what bits Zbp instructions demanded from their inputs. (details)
  63. [RISCV] Optimize addition with immediate (details)
  64. [RISCV] Cleanup setOperationAction calls for INTRINSIC_WO_CHAIN/INTRINSIC_W_CHAIN (details)
  65. [RISCV] Implement the vmmv.m/vmnot.m builtin. (details)
  66. [RISCV] Implement the vfabs.v/vfneg.v builtin. (details)
  67. [RISCV] Implement the pseudo compare builtin. (details)
  68. [RISCV] Implement the vwcvt{u}.x.x.v/vncvt.x.x.w builtin. (details)
  69. [OpenCL] Add inc/dec/cmpxchg C++ legacy atomics with generic (details)
  70. [clang][deps] Only generate absolute paths when asked to (details)
  71. [clang][deps] NFC: Fix typo (details)
  72. [llvm-dwarfdump] Fix split-dwarf bug in stats for inlined var loc cov (details)
  73. [RISCV] Add REQUIRES: riscv-registered-target for RISC-V test cases. (details)
  74. [ARM] Ensure loop invariant active.lane.mask operands (details)
  75. [clang-format] fix indent in alignChainedConditionals (details)
  76. [Clang][Coroutine][DebugInfo] Relax test ordering requirement (details)
  77. [flang][driver] Fine-tune `-fdebug-dump-symbols` (details)
  78. [VPlan] Make blocksOnly work properly with ranges over const pointers. (details)
  79. [AArch64] Add AArch64TTIImpl::getMaskedMemoryOpCost function (details)
  80. [NFC] Add scalable vectorisation tests for int/FP <> int/FP conversions (details)
  81. [ARM] Additional soft float BE test. NFC (details)
  82. [ARM] Expand VMOVRRD simplification pattern (details)
  83. [InstCombine] Added testcases for PR50104, NFC (details)
  84. [AArch64][SVE] Add missing patterns for scalar versions of SQSHL/UQSHL (details)
  85. [LSR][DebugInfo] Don't unnecessarily drop DebugLocs (details)
  86. [IndVars] avoid 'tmp' names in test file with auto-generated CHECK lines; NFC (details)
  87. [MC][AMDGPU][llvm-objdump] Synthesized local labels in disassembly (details)
  88. [AMDGPU][llvm-objdump] Add lit.local.cfg missing from recent commit (details)
  89. [lldb] Use forward type in pointer-to-member (details)
  90. AArch64: support atomics in GISel (details)
  91. [InstCombine] C - ctpop(a) - > ctpop(~a)) if C is bitwidth (PR50104) (details)
  92. [SYCL] Implement SYCL address space attributes handling (details)
  93. [TableGen] Change assertion information from a tuple to a struct [NFC] (details)
  94. Only ignore -Wdeprecated-copy if the used compiler supports the warning (details)
  95. [TableGen] Remove a TODO comment that is no longer relevant [NFC] (details)
  96. [clang][XCore] Define __xcore__ for XCore target. (details)
  97. Revert "Only ignore -Wdeprecated-copy if the used compiler supports the warning" (details)
  98. [lld-macho] Add option --error-limit=N (details)
  99. [X86] Rename multiclass ATOMIC_LOAD_BINOP -> ATOMIC_RMW_BINOP. NFCI. (details)
  100. [SYCL][Doc] Add design document for SYCL mode (details)
  101. [dexter] Update failing regression test (details)
  102. [AMDGPU] Use MapVector for WWMReservedRegs (details)
  103. [libc++][NFC] Remove non-ASCII from comment. (details)
  104. [MLIR][Shape] Ensure to preserve op type of `shape.broadcast` (details)
  105. [SimplifyCFG] Preserve metadata when unconditionalizing branches (constant condition). (details)
  106. [CSSPGO] Explicitly disallow Binary and Compact Binary profile format for CSSPGO (details)
  107. [Doc] Add SYCLSupport.rst to index toctree. (details)
  108. [flang] Check for attributes specific to dummy arguments (details)
  109. [lldb] Don't use ::fork or ::vfork on watchOS or tvOS (details)
  110. [MLIR] Remove empty shape operands from `cstr_broadcastable` ops (details)
  111. [Lexer] Allow LLLexer to be used as an API (details)
  112. [lldb] Skip TestPointerToMemberTypeDependingOnParentSize on Windows and GCC (details)
  113. XFAIL thinlto testcases on AIX (details)
  114. [AMDGPU] Fix autogenerated wwm-reserved-spill.ll (details)
  115. Preserve the lexical order for global variables during llvm-link merge (details)
  116. [RuntimeDyld] Fixed buffer overflows with absolute symbols (details)
  117. [AST] Fix DeclarationNameInfo introspection (details)
  118. [AMDGPU][llvm-objdump] Fix memory leak in recent commit (details)
  119. [OpenMP][Documentation] Add FAQ entry for dynamically linked libraries (details)
  120. [clang][driver] Use the provided arch name for a Darwin target triple (details)
  121. Remove obsolete using declaration that was just kept around to help with API adoption. (details)
  122. [Verifier] Tidy up the code a bit, NFC. (details)
  123. [llvm-rc] Add a GNU windres-like frontend to llvm-rc (details)
  124. [libc] Use different alignment for memcpy between ARM and x86. (details)
  125. Support DW_FORM_strx* in llvm-dwp. (details)
  126. [libc] Add differential quality and perf analysis targets for sinf and cosf. (details)
  127. [gn build] (manually) port f8de9aaef2f4 (details)
  128. [gn build] reformat all gn files (details)
  129. [libc++] __bit_iterator mustn't rely on deprecated SMF generation. (details)
  130. [libc++] Remove the special logic for "noexcept iterators" in basic_string. (details)
  131. [libc++] [test] Improve test_exceptions() in each string.modifiers test. (details)
  132. [libc++] [test] Fix a Python warning. (details)
  133. [compiler-rt][hwasan] Add definition for Symbolizer::SymbolizeFrame (details)
  134. [gcov] Set nounwind and respect module flags metadata "frame-pointer" & "uwtable" for synthesized functions (details)
  135. Add LLVM_ATTRIBUTE_USED to fix problems which could be exposed by aggressive global pointer variable removal (details)
  136. [RISCV] Match splatted load to scalar load + splat. Form strided load during isel. (details)
  137. [ADT] Remove StatisticBase and make NoopStatistic empty (details)
  138. [ORC] Fix type name. (details)
  139. [ORC] C API updates. (details)
  140. [ORC] Add unit tests for parts of the Orc and LLJIT C APIs. (details)
  141. [gn build] Port 8740360093b5 (details)
  142. Don't fail the shared_ptr test if libc++ has insufficient debug info. (details)
  143. Support leak sanitizer in libcxx. (details)
  144. Implementation for TargetTransformInfo::hasActiveVectorLength() (details)
  145. [AMDGPU] Experiments show that the GCNRegBankReassign pass significantly impacts (details)
  146. [gn build] Port caf1294d9578 (details)
  147. Revert "[clang][driver] Use the provided arch name for a Darwin target triple" (details)
  148. [libc++][ranges] iterator.concept.sizedsentinel: sized_sentinel_for and disable_sized_sentinel_for. (details)
  149. [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable (details)
  150. Revert "[ORC] Add unit tests for parts of the Orc and LLJIT C APIs." (details)
  151. [gn build] Port bbddadd46e46 (details)
  152. Revert D76519 "[NFC] Refactor how CFI section types are represented in AsmPrinter" (details)
  153. [SimplifyCFG] Preserve metadata when unconditionalizing branches (same target). (details)
  154. [AIX] Avoid use of mtim.tv_nsec member of stat structure on AIX (details)
  155. Revert "[ADT] Remove StatisticBase and make NoopStatistic empty" (details)
  156. [RISCV] Use stack slot to handle SPLAT_VECTOR_PARTS on RV32. (details)
  157. [test] Fix tools/gold/X86/weak.ll after D94202 (details)
  158. [NVPTX] Enable lowering of atomics on local memory (details)
  159. Revert "[NVPTX] Enable lowering of atomics on local memory" (details)
  160. [ADT] Remove StatisticBase and make NoopStatistic empty (details)
  161. [CSSPGO] Unblock optimizations with pseudo probe instrumentation part 2. (details)
  162. BPF: emit debuginfo for Function of DeclRefExpr if requested (details)
  163. [clang] Don't crash when loading invalid VFS for the module dep collector (details)
  164. [NVPTX] Enable lowering of atomics on local memory (details)
  165. [MLIR] Add SCF.if Condition Canonicalizations (details)
  166. [gn build] Port 7aa3cad46ac3 (details)
  167. [Inliner] Make ModuleInlinerWrapperPass return PreservedAnalyses::all() (details)
  168. BPF: generate BTF info for LD_imm64 loaded function pointer (details)
  169. [mlir][tensors] Introduce attribute interface/attribute for tensor encoding (details)
  170. Move Sema's key function around and add more comments (details)
  171. Revert "Reapply  "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"" (details)
  172. Reapply "[X86][AMX] Try to hoist AMX shapes' def" (details)
  173. [mlir] Refactor the forward dataflow propagation in SCCP into a generic framework (details)
  174. [asan][NFC] Fix "not used" warning in test (details)
  175. Reapply "[ORC] Add unit tests for parts of the ..." with fixes and improvements. (details)
  176. [ORC] Initialize the native asm printer and parser in Orc C-API unit test. (details)
  177. [XCOFF] make .file directive have directory info (details)
  178. [ORC] Fix build after 1798f2289aaa (details)
  179. [gn build] Port d122d80b3d1c (details)
  180. [ORC] Add missing LLVMConsumeError calls. (details)
  181. [ORC] Record target triple in C API testcase, print it on failure. (details)
  182. [ORC] Fix more missing LLVMConsumeError calls. (details)
  183. [DebugInfo][llvm-dwarfdump] Fix printing of Unit header with DW_UT_partial type (details)
  184. [NFC] Fix "not used" warning (details)
  185. [Driver] Push multiarch path setup to individual drivers (details)
  186. [ORC] Remove unused headers in C API test. (details)
  187. [ORC] Make LLVMOrcLLJITBuilderSetJITTargetMachineBuilder consume as advertised. (details)
  188. [ORC] Disable Orc C API test for armv8l targets. (details)
  189. [TTI] NFC: Change getScalarizationOverhead and getOperandsScalarizationOverhead to return InstructionCost. (details)
  190. [ORC] Temporarily remove the ORC C API test. (details)
  191. [gn build] Port 51495fd2855c (details)
  192. Only ignore -Wdeprecated-copy if the used compiler supports the warning (details)
  193. [Fuchsia] Use correct target triple for ARM (details)
  194. [MLIR][Linalg] Generalize splat constant folding (details)
  195. [clang-format] Reformat. NFC. (details)
  196. [clang-format] Merge SpacesInAngles tests. NFC. (details)
  197. [NFC][SVE] Add tests for inserting subvectors into illegal scalable vectors (details)
  198. [X86][AMX] Add description for AMX new interface. (details)
  199. [GlobalISel]: Add a getConstantIntVRegVal utility (details)
  200. [MIPatternMatch]: Add ICstRegMatch (details)
  201. [MIPatternMatch]: Add mi_match for MachineInstr (details)
  202. [MIPatternMatch]: Add matchers for binary instructions (details)
  203. [llvm] Unbreak no-asserts testing after 18839be9c5c8b9f882dd241769784035b082d4e1 (details)
  204. AMDGPU/GlobalISel: Add integer med3 combines (details)
  205. [NFC] Workaround MSVC2019 32-bit compiler crash (details)
  206. [libc++] Fix set-but-not-used warning. NFC. (details)
  207. AMDGPU/GlobalISel: Remove redundant G_FCANONICALIZE (details)
  208. [OpenMP][libomptarget] Separate lit tests for different offloading targets (1/2) (details)
  209. [mlir] Add a pass to tile Linalg ops using `linalg.tiled_loop`. (details)
  210. [clangd] Dont index deeply nested symbols (details)
  211. Reapply  "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed" (details)
  212. tsan: fix deadlock in pthread_atfork callbacks (details)
  213. [AIX] Allow safe for 32bit P9 VSX extract and insert pattern matches (details)
  214. [VPlan] Use recursive traversal iterator in VPSlotTracker. (details)
  215. [C++4OpenCL] Add diagnostics for OpenCL types in templates. (details)
  216. [AArch64] Enable runtime unrolling for in-order sched models (details)
  217. [IndVars] avoid crash in LFTR when assuming an add recurrence (details)
  218. [LV] Hoist code to get vector loop latch (NFC). (details)
  219. AMDGPU/GlobalISel: Add test for buffer_load with negative offset (details)
  220. AMDGPU/GlobalISel: Fix negative offset folding for buffer_load (details)
  221. [MLIR][Shape] Replace single operand broadcasts with appropriate cast (details)
  222. [LV,LAA] Add test cases with pointer phis in loops. (details)
  223. [MLIR][Shape] Remove empty extent tensor operands (details)
  224. [SLP]Improved isGatherShuffledEntry, NFC. (details)
  225. [MLIR] Debug log IR after pattern applications (details)
  226. [X86] Ensure multiclass ATOMIC_RMW_BINOP is tagged as MayLoad and MayStore (details)
  227. [AMDGPU] Minor refactoring in AMDGPUUnifyDivergentExitNodes. NFC. (details)
  228. [analyzer][StdLibraryFunctionsChecker] Track dependent arguments (details)
  229. [OpenMP][libomptarget] Separate lit tests for different offloading targets (2/2) (details)
  230. [X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841) (details)
  231. [HIP] Fix help text for -fgpu-allow-device-init (details)
  232. [clangd] run clang-format on FindTargetTests.cpp's FindExplicitReferencesTest (details)
  233. [libcxx] [test] Add a separate 'windows-dll' feature to check for (details)
  234. [libcxx] [test] Convert a couple of LIBCXX-WINDOWS-FIXME into XFAIL: windows-dll for known bugs (details)
  235. [clangd] Improve handling of Objective-C protocols in types (details)
  236. [LoopVectorize] Simplify scalar cost calculation in getInstructionCost (details)
  237. Revert rG9b7a0a50355d5 - Revert "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)" (details)
  238. [flang] Add format test to GTest suite (details)
  239. Revert "[LoopVectorize] Simplify scalar cost calculation in getInstructionCost" (details)
  240. [doc] added documentation for pre-merge testing (details)
  241. [llvm, clang] Remove stdlib includes from .h files without `std::` (details)
  242. [AIX][Power10] Restrict prefixed instructions from crossing the 64byte boundary (details)
  243. [gn build] Port 241c2da4064c (details)
  244. [CodeGenOptions] make StackProtectorGuardOffset signed (details)
  245. [Driver] Fix tests failing in per-target multiarch layout (details)
  246. [lldb] [gdb-remote] Report QPassSignals and qXfer via extensions API (details)
  247. Also display the underlying error message when displaying a fixit (details)
  248. [NFC][lsan] Another attempt to fix arm bot (details)
  249. [TableGen] Add predicate checks to isel patterns for default HwMode. (details)
  250. [SystemZ][z/OS] Remove register prefixes when printing out the register. (details)
  251. [NFC][IR] PHINode: assert we aren't trying to create token-typed PHI (details)
  252. [NFC][IR] PHINode: ... and assert in another ctor too (details)
  253. [docs] Replace Apple representative to security group. (details)
  254. [ELF][MIPS] Don't emit dynamic relocations for PIE non-preemptible TLS (details)
  255. [ELF][MIPS] Emit dynamic relocations for PIC non-preemptible static TLS (details)
  256. [NFC][Verifier] Fixup token PHINode test cases (details)
  257. [COST][X86]Improve cost model for reverse shuffle v32i16/v64i8 in AVX512F. (details)
  258. [ARM] Additional VIDUP tests. NFC (details)
  259. [ARM] Recognize VIDUP from BUILDVECTORs of additions (details)
  260. [NFC][SimplifyCFG] Autogenerate check lines in many test files (details)
  261. Fix -Wunused-but-set-variable warning in msan_test.cpp (details)
  262. [AMDGPU] GCNHazardRecognizer: ignore all meta instructions (details)
  263. [Dependence Analysis] Fix ExactSIV producing wrong analysis (details)
  264. [InstCombine] add tests for clamp patterns using min/max intrinsics; NFC (details)
  265. [InstCombine] fold clamp to 2 values from min/max intrinsics (details)
  266. Revert "tsan: fix deadlock in pthread_atfork callbacks" (details)
  267. hurd: Fix i386 research path (details)
  268. [flang] Handle structure constructors with forward references to PDTs (details)
  269. hurd: Detect libstdc++ include paths on Debian Hurd i386 (details)
  270. [test] Fix some func-attrs tests under the legacy PM (details)
  271. hurd: Clean up test (details)
  272. Update testcase for D101333. (details)
  273. Gnu: Replace with a GCCInstallation.isValid() check with assert (details)
  274. [SCEV] Improve loop guard tests (NFC) (details)
  275. Hurd: Clean up Debian multiarch /usr/include/<triplet> (details)
  276. tsan: refactor fork handling (details)
  277. tsan: fix build with COMPILER_RT_TSAN_DEBUG_OUTPUT (details)
  278. [SLP]Add a test for possibly vectorized tiny tree, NFC. (details)
  279. [SCEV] Handle uge/ugt predicates in applyLoopGuards() (details)
  280. [loop-idiom][NFC] Extract processLoopStoreOfLoopLoad into a helper function (details)
  281. [DSE] Added testcases for 11896, NFC (details)
  282. [OpenMP][CMake] Pass --cuda-path to regression tests. (details)
  283. [ConstFold] Use const-folded operands in more places (details)
  284. [mlir] Fix bug in ForwardDataFlowAnalysis solver (details)
  285. [NFC][SimplifyCFG] Autogenerate check lines in few more tests (details)
  286. [NFC][SimplifyCFG] Precommit SimplifyCFG tests from D29428 (details)
  287. [RISCV] Select 5 bit immediate for VSETIVLI during isel rather than peepholing in the custom inserter. (details)
  288. [SelectionDAG] Use a VTSDNode to store the saturation width for FP_TO_SINT_SAT/FP_TO_UINT_SAT (details)
  289. [lld-macho] std::sort -> llvm::sort (details)
  290. [lld-macho] Don't put an antivirus test file in reproduce.s (details)
  291. [OpenMP] Remove legacy pass manager run lines (details)
  292. [llvm-objcopy][MachO] Add support for LC_THREAD/LC_UNIXTHREAD (details)
  293. [Driver] Add -print-multiarch (details)
  294. [WebAssembly] Error when wasm EH is used with Emscripten EH/SjLj (details)
  295. Revert "[llvm-objcopy][MachO] Add support for LC_THREAD/LC_UNIXTHREAD" (details)
  296. [CMake][llvm] avoid conflict w/ (and use when available) new builtin check_linker_flag (details)
  297. [mlir][tosa] Add tosa.negate lowerings for quantized cases (details)
  298. [tosa][mlir] Fix FullyConnected to correctly order dimensions (details)
  299. [AIX] Add %pluginext and update tests to use proper pluginext (details)
  300. [loop-idiom] Hoist loop memcpys to loop preheader (details)
  301. Handle the case of tile and pad a subset of the dimensions (details)
  302. [lld-macho][NFC] define more strings in section_names:: and segment_names:: (details)
  303. [CSSPGO] Fix an AV caused by a block that has only pseudo pseudo instructions. (details)
  304. [DSE] Eliminate zero memset after calloc (details)
  305. [scudo] Enable arm32 arch (details)
  306. [CMake][llvm] add missing include to LLVMCheckLinkerFlag (details)
  307. [MLIR][Python] Add capsule methods for pybind11 to PyValue. (details)
  308. [mlir] Support setting operand values in C and Python APIs. (details)
  309. [gn build] (manually) port 82d3c0759fa0 (details)
  310. [clang/Basic] Make TargetInfo.h not use DataLayout again (details)
  311. [lldb] Fix DataLayout reference after 0f1137ba79c0 (details)
  312. Fixed Typos (details)
  313. [NFC] Refactor how CFI section types are represented in AsmPrinter (details)
  314. [MLIR] Add and propagate section attribute for LLVM_GlobalOp (details)
  315. [Driver] Use normalized triples for per-target runtimes (details)
  316. [libcxx] Fix the libc++abi header path (details)
  317. [mlir][Python][Linalg] Fixing typos (NFC). (details)
  318. [RISCV] Remove riscv32 test cases for vector intrinsics. (details)
  319. [flang] Remove interfaces for Character[Min|Max][Val|Loc]. NFC (details)
  320. Require asserts for llvm/test/Verifier/token1.ll (details)
  321. [X86][AMX][NFC] Add more comments and remove unnecessary check found by Clocwork (details)
  322. [AArch64] Add missing UINT_TO_FP promotions for v16i8 (details)
  323. [MLIR][Shape] Derive more concrete type for `shape.shape_of` (details)
  324. [clang-cl] Map /QIntel-jcc-erratum to -mbranches-within-32B-boundaries (details)
  325. [DebugInfo] Drop DBG_VALUE_LISTs with an excessive number of debug operands (details)
  326. [PowerPC] Fix SELECT_CC with i64 operand on PPC32 (details)
  327. [MLIR][Shape] Canonicalize casted extent tensor operands (details)
  328. Try to fix clang/test/Driver/cl-options.c on non-x86 hosts (details)
  329. [MLIR][Shape] Concretize broadcast result type if possible (details)
  330. [ADT] Make TrackingStatistic's ctor constexpr (details)
  331. [IRCE] Add tests for conservative bound check (details)
  332. [clang-query] Add check to prevent setting srcloc when no introspection is available. (details)
  333. [LoopVectorize] Prevent multiple Phis being generated with in-order reductions (details)
  334. [mlir] Fix typos (NFC) (details)
  335. [NFC][Verifier] Split token1.ll into two, assert/non-assert versions (details)
  336. [NFC][SimplifyCFG] Move sink-common-code.ll into X86 (details)
  337. Revert "[loop-idiom] Hoist loop memcpys to loop preheader" (details)
  338. [lldb] Correct format enum comment (NFC) (details)
  339. [update_(llc_)test_checks.py] Support pre-processing commands (details)
  340. [builtins] Fix ABI-incompatibility with GCC for floating-point compare (details)
  341. [ELF] Update URL for MIPS TLS wiki page (details)
  342. [llvm-objdump] Fix dumping dynamic relative relocations for SHT_REL (details)
  343. [LV] Calculate max feasible scalable VF. (details)
  344. Revert "tsan: refactor fork handling" (details)
  345. [MLIR] Add ComplexToStandard conversion pass. (details)
  346. [mlir] Add folding for tensor inputs and memref.cast in linalg.tiled_loop. (details)
  347. [OPENMP]Fix PR49098: respect firstprivate of declare target variable. (details)
  348. [LoopVectorize] Simplify scalar cost calculation in getInstructionCost (details)
  349. GlobalISel: Relax verification of physical register copy types (details)
  350. [mlir] Fix the postsubmit comments in https://reviews.llvm.org/D101445 (details)
  351. [OpenCL] Introduce new method for validating OpenCL target (details)
  352. [clangd] Add SymbolID to LocatedSymbol. (details)
  353. [NFC][InlineCost] Add tests for D101228 (details)
  354. [SLP]Try to vectorize tiny trees with shuffled gathers. (details)
  355. Silence unused variable warning (details)
  356. [TableGen] Add the !find bang operator (details)
  357. [gn build] (port) 64bc44f5dd and f8de9aaef2f some more (details)
  358. [clangd][ObjC] Improve support for class properties (details)
  359. [libc++] [test] Don't assume iterators are class types. (details)
  360. [LoopVectorize][SVE] Fix crash when vectorising FP negation (details)
  361. [Hexagon] Skip function in Hexagon vector combine if requested (details)
  362. [clang] remove dead code after 2a1332245fc (details)
  363. [SimplifyLibCalls] Transform printf("%s", str) --> puts(str)/noop (details)
  364. [NFC][SimplifyCFG] Add test for sinking indirect calls (details)
  365. [SimplifyCFG] Sinking indirect calls - they're already indirect anyways (details)
  366. Revert "[SimplifyCFG] Sinking indirect calls - they're already indirect anyways" (details)
  367. [mlir][python] Add python support for async dialect and passes. (details)
  368. [mlir][python] Add basic python support for GPU dialect and passes (details)
  369. Revert "[MLIR][Shape] Concretize broadcast result type if possible" (details)
  370. [ARM][AArch64] Require appropriate features for crypto algorithms (details)
  371. [analyzer][NFC] Remove duplicated work from retain count leak report (details)
  372. [analyzer] Adjust the reported variable name in retain count checker (details)
  373. [analyzer] Track leaking object through stores (details)
  374. [analyzer] Find better description for tracked symbolic values (details)
  375. [analyzer][NFC] Fix tests failing after a rebase (details)
  376. [PhaseOrdering] Add test for vectorization requiring hoisting/sinking. (details)
  377. [NFC][SimplifyCFG] Add common code sinking test with direct and indirect callees (details)
  378. [SimplifyCFG] Try 2: sink all-indirect indirect calls (details)
  379. [clang] Make libBasic not depend on MC (details)
  380. [RISCV] Add explanatory comment to RISCVOp::OPERAND_AVL. (details)
  381. [libc++][CI] Fix check-generated-output. (details)
  382. [lld][WebAssembly] Allow relocations against non-live global symbols (details)
  383. [mlir] Fix canonicalization of tiled_loop if not all opresults fold. (details)
  384. [AMDGPU] Make some VOP3 insts commutable (details)
  385. Fix typo from https://reviews.llvm.org/D101399 (details)
  386. [dsymutil] Add flag to force a static variable to keep its enclosing function (details)
  387. [mlir][Linalg] Avoid changing the rank of the result in canonicalizations of subtensor. (details)
  388. [ARM] Neon Polynomial vadd Intrinsic fix (details)
  389. [libcxx] Stop hardcoding the bash path in the Windows CI (details)
  390. [InstCombine] add tests for demand of shl op; NFC (details)
  391. [TableGen] Store predicates in PatternToMatch as ListInit *. Add string for HwModeFeatures (details)
  392. [LAA] Support pointer phis in loop by analyzing each incoming pointer. (details)
  393. [libc++][NFC] Remove stray whitespace (details)
  394. [SCEV] Compute ranges for ashr recurrences (details)
  395. [AsmParser][SystemZ][z/OS] Use updated framework in AsmLexer to accept special tokens as Identifiers (details)
  396. Revert "[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable" (details)
  397. [SCEV] Avoid range intersection idiom in getRangeForUnkownRecurrence [NFC] (details)
  398. Linker: Avoid scheduling the link of a global value twice due to an alias (details)
  399. [mlir][python] Update `PyOpResult.owner` to get the parent object. (details)
  400. [tests] Precommit some extra tests for D100884 (details)
  401. [AArch64][GlobalISel] Don't match thread-local globals in matchFoldGlobalOffset (details)
  402. [InstCombine] add tests for rotate/funnel; NFC (details)
  403. [InstCombine] relax masking requirement for truncated funnel/rotate match (details)
  404. [libc++] Support per-target __config_site in per-target runtime build (details)
  405. [LV] Consider Loop Unroll Hints When Making Interleave Decisions (details)
  406. NFC: Run clang-format over llvm-link. (details)
  407. Generalize getInvertibleOperand recurrence handling slightly (details)
  408. [clangd][NFC] Reserve storage when creating semantic token encoding. (details)
  409. [NFC][scudo] Add reference to a QEMU bug (details)
  410. [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): reword comment about PR30244 (details)
  411. [NFC][SimplifyCFG] Common code sinking: check profitability once (details)
  412. [NFC][SimplifyCFG] Add test showing that profitability check for sinking is broken (details)
  413. [NFC][SimplifyCFG] Add test for sinking common code with multuple cond predecessors (details)
  414. [SimplifyCFG] Common code sinking: relax restriction on non-uncond predecessors (details)
  415. [analyzer] Wrong type cast occurs during pointer dereferencing after type punning (details)
  416. [BuildLibCalls] Remove inaccessiblememonly inference for calloc (details)
  417. [SimplifyCFG] Common code sinking: fixup variable name (details)
  418. [ConstantMerge] Don't merge thread_local constants with non-thread_local constants (details)
  419. [TableGen] Remove predicate filtering from GenerateVariants. (details)
  420. [llvm-objcopy][MachO] Add support for LC_THREAD/LC_UNIXTHREAD (details)
  421. [mlir] Move PyConcreteType to header. NFC. (details)
  422. [gwp_asan] Use __sanitizer_fast_backtrace on Fuchsia (details)
  423. [mlir][python] Add `destroy` method to PyOperation. (details)
  424. [NFC] Rename SanitizeAddressDtorKind codegen opt to not have `Kind` suffix. (details)
  425. [ASAN] NFC: Copy address space when creating globals with redzones (details)
  426. tsan: increase dense slab alloc capacity (details)
  427. [ASAN] NFC: Use addrspace cast for pointers in non-zero addrspace (details)
  428. tsan: fix warnings in tests (details)
  429. [ARM] Use just ARM::t2B in ARMBlockPlacementPass (details)
  430. [GlobalISel][IRTranslator] Move line zero DebugLoc creation to constant translation. NFC. (details)
  431. [clang-format] Add `SpacesInAngles: Leave` option to keep spacing inside angle brackets as is. (details)
  432. [mlir][Python][Linalg] Adding const, capture, and index support to the OpDSL. (details)
  433. [NewPM] Add an option to dump pass structure (details)
  434. [X32][CET] Fix handling of indirect branches (details)
  435. Follow up of rGddb3b26a1269: added 'requires asserts' to test case. (details)
  436. [mlir][Linalg] Generalize linalg vectorization (details)
  437. [clang-format] Fix build on gcc < 7 introduced in rG9363aa9. (details)
  438. [Utils][vim] Highlight 'vscale' constant (details)
  439. [GlobalISel] Bump CallLoweringInfo::OrigArgs initial size to 32. NFC. (details)
  440. [clang-format] Fix build on gcc < 7 introduced in rG9363aa9. (details)
  441. [MLIR][Shape] Fix `shape.broadcast` to standard lowering (details)
  442. [RISCV] Fix stack slot for argument types (Bug 49500) (details)
  443. [NFC][scudo] Suppress "division by zero" warning (details)
  444. [lldb][AArch64] Don't check for VmFlags in smaps files (details)
  445. [SPE] Support constrained float operations on SPE (details)
  446. Improve error messages for attributes in the wrong context. (details)
  447. [NVPTX] Fix unused var warning with asserts disabled (details)
  448. [mlir] Split out Python bindings entry point into a separate file (details)
  449. [Greedy RA] Replace ll to mir test to make more stable to check an error. (details)
  450. [mlir] Support complex numbers in Linalg promotion (details)
  451. [ARM] Ensure CSINC has one use in CSINV combine (details)
  452. [mlir] Add LinalgTransforms dependency on Complex (details)
  453. [RISCV][NFC] Combine identical RV32 and RV64 test checks (details)
  454. Try to fix bots. We shouldn't be setting the entrybuilder's DL to a null one. (details)
  455. [AMDGPU] Allow buildSpillLoadStore in empty bb (details)
  456. Update libstdc++ hack comment (details)
  457. [mlir] Fix top-level comments (NFC) (details)
  458. [mlir] Affine: parallelize affine loops with reductions (details)
  459. [mlir] support max/min lower/upper bounds in affine.parallel (details)
  460. [AArch64][SVE] Move convert.{from,to}.svbool optimization into InstCombine (details)
  461. [AArch64][SVE] Convert svdup(vec, SV_VL1, elm) to insertelement(vec, elm, 0) (details)
  462. [AArch64][SVE] Use SIMD variant of INSR when scalar is the result of a vector extract (details)
  463. [mlir] fix shared-lib build (details)
  464. [flang][OpenMP] Add semantic checks for strict nesting inside `teams` construct. (details)
  465. [VPlan] Add getVPSingleValue helper. (details)
  466. [OpenCL][Docs] Describe extension for legacy atomics with generic addr space. (details)
  467. [LLVM][OpenMP] Adding support for OpenMP sections construct in OpenMPIRBuilder (details)
  468. [OpenCL][Docs] Misc updates to C++ for OpenCL and offline compilation (details)
  469. Unbreak no-asserts testing (details)
  470. [Clang][OpenMP] Frontend work for sections - D89671 (details)
  471. [AMDGPU] Add a v_swap_b32 test case to be fixed (details)
  472. Revert "[LV] Calculate max feasible scalable VF." (details)
  473. [RISCV] Teach computeKnownBits that vsetvli returns number less than 2^31. (details)
  474. [RISCV] Enable SPLAT_VECTOR for fixed vXi64 types on RV32. (details)
  475. [ELF] Support .rela.eh_frame with unordered r_offset values (details)
  476. [AsmParser][SystemZ][z/OS] Reject "Dot" as current PC on z/OS (details)
  477. [ADT] fix typo in code block comment; NFC (details)
  478. [ConstantFolding] refactor helper for vector reductions; NFC (details)
  479. [ConstProp] add tests for vector reductions of poison; NFC (details)
  480. [DebugInfo] Add tests that we emit .eh_frame instead of .debug_frame (details)
  481. [unittest] Fix Frontend/OpenMPIRBuilderTest.cpp -Wsign-compare after D89671 (details)
  482. [COST] Improve shuffle kind detection if shuffle mask is provided. (details)
  483. [RISCV] Add test cases for D101485. NFC (details)
  484. [RISCV] Teach DAG combine to fold (and (select_cc lhs, rhs, cc, -1, c), x) -> (select_cc lhs, rhs, cc, x, (and, x, c)) (details)
  485. [scudo] Use require_constant_initialization (details)
  486. [libcxx] [test] Include more libraries that normally are linked automatically (details)
  487. [ConstantFolding] propagate poison through vector reduction intrinsics (details)
  488. Revert "[scudo] Use require_constant_initialization" (details)
  489. Revert "[X86] Support AMX fast register allocation" (details)
  490. [gn build] Port df323ba445f7 (details)
  491. [lldb] Make the NSSet formatter faster and less prone to infinite recursion (details)
  492. [CMake] Set correct CXX_FLAGS for relative-vtables variants (details)
  493. [libc++] Fixes std::to_chars for bases != 10. (details)
  494. [lld][WebAssembly] Add `--export-if-defined` (details)
  495. [SimplifyCFG] Common code sinking: fix application of profitability check (details)
  496. [AIX][TLS] Add ASM portion changes to support TLSGD relocations to XCOFF objects (details)
  497. RegAlloc: do not consider liveins to EH-pad successors as liveout. (details)
  498. [ASan] Rename `-fsanitize-address-destructor-kind=` to drop the `-kind` suffix. (details)
  499. AMDGPU/GlobalISel: Fix selection of image intrinsics with unused return (details)
  500. Revert "RegAlloc: do not consider liveins to EH-pad successors as liveout." (details)
  501. [InstCombine] add tests for popcount with zext operand; NFC (details)
  502. [InstCombine] narrow popcount with zext operand (details)
  503. [mlir][sparse] migrate sparse operations into new sparse tensor dialect (details)
  504. [lld-macho] Make everything PIE by default (details)
  505. [lld-macho][nfc] Clean up header.s test (details)
  506. Basic block sections for functions with implicit-section-name attribute (details)
  507. [lld-macho] Remove stray file (details)
  508. Revert "[COST] Improve shuffle kind detection if shuffle mask is provided." (details)
  509. [COST] Improve shuffle kind detection if shuffle mask is provided. (details)
  510. [AMDGPU] Fix v_swap_b32 formation on physical registers (details)
  511. [mlir] Fix lowering of multi-dimensional vector log1p to LLVM (details)
  512. Revert "Generalize getInvertibleOperand recurrence handling slightly" (details)
  513. [flang][OpenMP][FIX] Fix the worksharing nesting check with inclusion of more constructs to cover combined constructs. (details)
  514. [LLD] [COFF] Fix the mingw --export-all-symbols behaviour with comdat symbols (details)
  515. [llvm-readobj] [ARMWinEH] Fix handling of relocations and symbol offsets (details)
  516. Revert "[mlir][sparse] migrate sparse operations into new sparse tensor dialect" (details)
  517. [AArch64][GlobalISel] Simplify out of range rotate amount. (details)
  518. Revert "[llvm-readobj] [ARMWinEH] Fix handling of relocations and symbol offsets" (details)
  519. [ORC] JITDylib::addDependencies should be run under the session lock. (details)
  520. [CMake] Stop using c++ subdirectory for libc++ on Win to ARM Linux cross builds. NFC (details)
  521. [GlobalISel][Legalizer] Bump up a smallvector size that was found to be too small. NFC. (details)
  522. [libcxx][ranges] Fix tests for stdlib types that conform to sized_sentinel_for. (details)
  523. Recommit "[clang][driver] Use the provided arch name for a Darwin target triple (details)
  524. [XCOFF] Handle the case when personality routine is an alias (details)
  525. [mlir][tosa] Remove constant-0 dim expr values from TOSA lowerings (details)
  526. [CodeGen] don't emit addrsig symbol if it's used only by metadata (details)
  527. [mlir][sparse] migrate sparse operations into new sparse tensor dialect (details)
  528. Reland "[lld-link] Enable addrsig table in COFF lto" (details)
  529. [ObjC][ARC] Don't enter the cleanup scope if the initializer expression (details)
  530. [msan] Remove dead function/fields (details)
  531. [Sema] Don't set BlockDecl's DoesNotEscape bit if the parameter type of (details)
  532. [AMDGPU] Remove dead early-out in GCNHazardRecognizer (details)
  533. [AMDGPU][NFC] Refactor hazard recognition IsHazardFn and IsExpiredFn (details)
  534. AMDGPU: Add missing runline to test (details)
  535. VirtRegMap: Add pass option to not clear virt regs (details)
  536. [lldb-vscode] Follow up of D99989 - store some strings more safely (details)
  537. VirtRegMap: Support partially allocated virtual registers (details)
  538. [AArch64][GlobalISel] Fix width value for G_SBFX/G_UBFX (details)
  539. [MS] Preserve base register %rbx around cpuid (details)
  540. [CMake][compiler-rt] avoid conflict with builtin check_linker_flag (details)
  541. [RISCV] Precommit a test case that test accessing a fixed object when has rvv vector object existed (details)
  542. [RISCV] Fix StackOffset calculation when using sp to access the fixed stack object in the case of rvv vector objects existed (details)
  543. [AMDGPU] Skip promote-alloca for insertelement/insertvalue users (details)
  544. [InlineCost] Remove visitUnaryInstruction() (details)
  545. Pre-commit test for PPC vector extraction test (details)
  546. [msan] Add static to some msan allocator functions (details)
  547. [debugserver] Use add_lldb_library instead of add_library (details)
  548. tsan: refactor fork handling (details)
  549. Reapply [llvm-readobj] [ARMWinEH] Fix handling of relocations and symbol offsets (details)
  550. Fix -fdebug-pass-structure test case (details)
  551. [cmake] Use -ffunction-sections and -Wl,--gc-sections on MinGW targets (details)
  552. [AMDGPU] Simplify getWaitStatesSince. NFC. (details)
  553. [GISel] Teach TableGen to check predicates of immediate operands in patterns (details)
  554. tsan: fix fork syscall test (details)
  555. [llvm][Support][NFC] Fix fallthrough attribute indentation (details)
  556. [RISCV] Support STEP_VECTOR with a step greater than one (details)
  557. [RISCV][NFC] Merge RV32/RV64 test checks with a common prefix (details)
  558. [lldb] Add tests for DumpDataExtractor formats (details)
  559. [AArch64] Change __ARM_FEATURE_FP16FML macro name to  __ARM_FEATURE_FP16_FML (details)
  560. [JITLink] Minor fix to avoid Windows compiler warning for static-cast (details)
  561. [AMDGPU] Tidy up some simple expressions for clarity NFC (details)
  562. Wrap edit line configuration calls into helper functions (details)
  563. [InlineCost] CallAnalyzer: use TTI info for extractvalue - they are free (PR50099) (details)
  564. [AArch64][SVE] Lower index_vector to step_vector (details)
  565. [Passes] Run sinking/hoisting in SimplifyCFG earlier. (details)
  566. [Doc] Fix sphinx warnings about wrong code-block format (details)
  567. [NARY] Don't optimize min/max if there are side uses (part2) (details)
  568. clang-format: [JS] handle "off" in imports (details)
  569. Require shell for lld/test/MachO/reproduce.s (details)
  570. [clangd][NFC] Remove unnecessary string captures in lambdas. (details)
  571. [ARM][MVE] vcreateq lane ordering for big endian (details)
  572. [libc++] Minor cleanups in <iterator>. NFCI. (details)
  573. [libc++] [test] Run the clang-format and generated-output checks on the "service" queue (details)
  574. [AMDGPU] Fix inconsistent ---/... in MIR tests and regenerate checks (details)
  575. [clang] Refactor mustprogress handling, add it to all loops in c++11+. (details)
  576. [MCA] Fix CarryOver check in the DispatchStage (PR50174). (details)
  577. [lld/mac] Tweak two comments and fix style on one variable name (details)
  578. [docs]Added llvm/bindings section (details)
  579. [lld/mac] Remove unused -L%t flags from tests (details)
  580. [OpenCL] Prevent adding vendor extensions for all targets (details)
  581. [AMDGPU] Add implicit negative check for the set_gpr_idx tests (details)
  582. [VP,Integer,#2] ExpandVectorPredication pass (details)
  583. [VE] VP intrinsics are legal (details)
  584. [gn build] Port 43bc584dc05e (details)
  585. sanitizer_common: introduce kInvalidTid/kMainTid (details)
  586. [AMDGPU] Add test for set_gpr_idx removal with conditional branches (details)
  587. [clang] Fix assert() crash when checking undeduced arg alignment (details)
  588. [XCOFF][AIX] Add Global Variables Directly to TOC for 32 bit AIX (details)
  589. [PowerPC] Add new infrastructure to select load/store instructions, update P8/P9 load/store patterns. (details)
  590. [SimpleLoopUnswitch] Port partially invariant unswitch from LoopUnswitch to SimpleLoopUnswitch (details)
  591. [lldb] More tests for DumpDataExtractor (details)
  592. AMDGPU/llvm-readobj: Add missing tests for note parsing/displaying (details)
  593. [TableGen] Fix two bugs in 'defm' when complex 'assert' is involved. (details)
  594. [CodeGen][ARM] Implement atomicrmw as pseudo operations at -O0 (details)
  595. [lldb] DumpDataExtractor tests for item byte size errors (details)
  596. Revert "[CodeGen][ARM] Implement atomicrmw as pseudo operations at -O0" (details)
  597. [lldb] Change DumpDataExtractorTest function names to lldb style (NFC) (details)
  598. [AArch64][SVE] Remove unused function missed from D101302 (details)
  599. [analyzer] Fix assertion in SVals.h (details)
  600. [flang] Allow KIND type parameters to be used as LEN parameters of components (details)
  601. [clang] Update comments on another libstdc++ HACK (details)
  602. [AArch64] Adds a pre-indexed paired Load/Store optimization for LDR-STR. (details)
  603. [SLP]Fix the crash on cost calculation if non-compatible vectors shuffled. (details)
  604. [libcxx][ranges] adds `range` access CPOs (details)
  605. [libcxx][ranges] adds `ranges::range`, `ranges::common_range`, and range aliases (details)
  606. [gn build] Port 5a3309f82576 (details)
  607. [gn build] Port 7c17731596e9 (details)
  608. [NFC] Refactor ExecuteAssembler in cc1as_main.cpp (details)
  609. [ADT] Add STLForwardCompat.h and llvm::disjunction (details)
  610. [gn build] Port c6f20d70a8c9 (details)
  611. [OpenMP][CMake] Use in-project clang as CUDA->IR compiler. (details)
  612. [AArch64] Fix lowering for fshl/fshr with SVE types. (details)
  613. Add patterns to lower vector.multi_reduction into a sequence of vector.reduction (details)
  614. Support: Stop using F_{None,Text,Append} compatibility synonyms, NFC (details)
  615. [libc++] Revert the change that runs clang-format and generated-output in the service queue (details)
  616. [ADT] Add llvm::remove_cvref and llvm::remove_cvref_t (details)
  617. [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual (details)
  618. [llvm-objdump] add -v alias for --version (details)
  619. [libcxx] Use joined format for include flag on Windows (details)
  620. Revert "AMDGPU/llvm-readobj: Add missing tests for note parsing/displaying" (details)
  621. [libc++] [test] Recommit the unsetting of LC_COLLATE in the builder script. (details)
  622. [llvm-reduce] Add flag to only run specific passes (details)
  623. [NFC][tsan] Fix cast after D101428 (details)
  624. [llvm-reduce] Don't unset dso_local on implicitly dso_local GVs (details)
  625. [MachineFunction] Make comment for TracksLiveness more clearer (details)
  626. [InstCombine] Added tests for PR50172, NFC (details)
  627. [TTI] NFC: Change getTypeLegalizationCost to return InstructionCost. (details)
  628. [libc++] Fix constexpr-ness of std::tuple's constructor (details)
  629. [lld-macho] Initial scaffolding for ARM32 support (details)
  630. [lld-macho] Parse & emit the N_ARM_THUMB_DEF symbol flag (details)
  631. [gn build] Port 2d28100bf2e4 (details)
  632. [OpenMP] Fix second debug name from map clause (details)
  633. [tsan] Remove special SyncClock::kInvalidTid (details)
  634. Add support for llvm.assume intrinsic to the LoadStoreVectorizer pass (details)
  635. asan: fix a windows test (details)
Commit c68f92983600196e33e8abfbcd1aa19235f34c8d by Dávid Bolvanský
[Clang] Added doc for malloc attribute

Taken mostly from LLVM langref.
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
The file was modifiedclang/include/clang/Basic/Attr.td (diff)
Commit d29a53d9cabcb37621b793c5bf44076e75b8db88 by Dávid Bolvanský
[Clang] Added heading to doc for malloc attribute
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
Commit 7255d1f54fd3efcfe5836e1799c5b998d67752d3 by david.green
[ARM] Format ARMISD node definitions. NFC

This clang-formats the list of ARMISD nodes. Usually this is something I
would avoid, but these cause problems with formatting every time new
nodes are added.

The list in getTargetNodeName also makes use of MAKE_CASE macros, as
other backends do.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h (diff)
Commit 7402ec8f3877e061a6559c44262ec4d951d12cc7 by koraq
[libc++] Remove if-else to make branch predictor happy

Reviewed By: #libc, ldionne, Quuxplusone, Mordante

Differential Revision: https://reviews.llvm.org/D100828
The file was modifiedlibcxx/include/bitset (diff)
Commit de266ce4f9f2dfc989d2f9f82017229be5f535eb by thakis
[lld/mac] Don't assert when using -exported_symbol with private symbol

When I added this assert in D93609, it asserted that a symbol that
is privateExtern is also isExternal().

In D98381 the privateExtern check moved into shouldExportSymbol()
but the assert didn't -- now it checked that _every_ non-exported
symbol is isExternal(), which isn't true. Move the assert into the
privateExtern check where it used to be.

Fixes PR50098.

Differential Revision: https://reviews.llvm.org/D101223
The file was modifiedlld/MachO/SyntheticSections.cpp (diff)
The file was modifiedlld/test/MachO/export-options.s (diff)
Commit 7baa2392fba0193c3e6631376c8e6a3c0318a743 by nikita.ppv
[InstCombine] Add tests for comparison of integer parts (NFC)
The file was addedllvm/test/Transforms/InstCombine/eq-of-parts.ll
Commit ca177dcda301b98b73c67a2cbcbd4106dc80dec2 by koraq
[libc++][doc] Adds a Format library status page.

A status page for libc++'s Format library. The page is inspired by
@zoecarver's Ranges status page.

Differential Revision: https://reviews.llvm.org/D101085
The file was addedlibcxx/docs/FormatStatus.rst
The file was addedlibcxx/docs/FormatProposalStatus.csv
The file was addedlibcxx/docs/FormatIssuePaperStatus.csv
The file was modifiedlibcxx/docs/index.rst (diff)
Commit 38225d692163fc697006d8a769479459fdfc32fa by cjdb
[libcxx][iterator] adds `std::input_or_output_iterator` and `std::sentinel_for`

Implements parts of:
    * P0896R4 The One Ranges Proposal`

Depends on D100080

Differential Revision: https://reviews.llvm.org/D100160
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__iterator/concepts.h (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istream.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/iterator (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istreambuf.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
Commit d4ec8ea19cb1c944f70b584b2bdb8a12ea875261 by Dávid Bolvanský
[InstCombine] ctpop(X) + ctpop(Y) => ctpop(X | Y) if X and Y have no common bits (PR48999)

For example:

```
int src(unsigned int a, unsigned int b)
{
    return __builtin_popcount(a << 16) + __builtin_popcount(b >> 16);
}

int tgt(unsigned int a, unsigned int b)
{
    return __builtin_popcount((a << 16)  | (b >> 16));
}
```

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D101210
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
Commit de3fa35cdb6f5136b34716396763b15ed01d186b by Dávid Bolvanský
[InstCombine] ctpop(rot(X)) -> ctpop(X)

Proof:
https://alive2.llvm.org/ce/z/ss2zyt - rotl
https://alive2.llvm.org/ce/z/ZM7Aue - rotr

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D101235
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
Commit 967ebad12521f3187014a722804c27a75d44e649 by aaron
Fix null ptr crash dumping TemplateTemplateParmDecl

The following program winds up with
D->getDefaultArgStorage().getInheritedFrom() == nullptr
during dumping the TemplateTemplateParmDecl corresponding to the
template parameter of i.

  template <typename>
  struct R;
  template <template <typename> class = R>
  void i();

This patch fixes the null pointer dereference.
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp (diff)
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp (diff)
Commit d2771e86788443accd3c8c38d7d161f1350af2f8 by Dávid Bolvanský
[Tests] Rename variable to fix broken buildbots
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
Commit af342f72400445b85c38ba768439c495d7cf346f by david.green
[AArch64] Enable UseAA globally in the AArch64 backend

This is similar to D69796 from the ARM backend. We remove the UseAA
feature, enabling it globally in the AArch64 backend. This should in
general be an improvement allowing the backend to reorder more
instructions in scheduling and codegen, and enabling it by default helps
to improve the testing of the feature, not making it cpu-specific. A
debugging option is added instead for testing.

Differential Revision: https://reviews.llvm.org/D98781
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-gep-opt.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/seh-finally.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/ilp32-va.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-variadic-aapcs.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-virtual_base.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/misched-stp.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h (diff)
Commit 137568e5797c33c12d284cc325367ceaddf2441a by Dávid Bolvanský
[InstCombine] Fixed UB in foldCtpop
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
Commit 1cc5946cc80d75be76ac8a41e1a3697059273681 by flo
[NewGVN] Use performSymbolicEvaluation instead of createExpression.

performSymbolicEvaluation is used to obtain the symbolic expression when
visiting instructions and this is used to determine their congruence
class.

performSymbolicEvaluation only creates expressions for certain
instructions (via createExpression). For unsupported instructions,
'unknown' expression are created.

The use of createExpression in processOutgoingEdges means we may
simplify the condition in processOutgoingEdges to a constant in the
initial round of processing, but we use Unknown(I) for the congruence
class. If an operand of I changes the expression Unknown(I) stays the
same, so there is no update of the congruence class of I. Hence it
won't get re-visited. So if an operand of I changes in a way that causes
createExpression to return different result, this update is missed.

This patch updates the code to use performSymbolicEvaluation, to be
symmetric with the congruence class updating code.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D99990
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp (diff)
The file was addedllvm/test/Transforms/NewGVN/compare-condition-changes.ll
Commit 0eb3299d28e4a9e235dec28d70a0df9e74e74722 by pklausler
[flang] Fix crash from -DMACRO= with empty replacement

Such macros were exposing some edge cases in the preprocessor
regarding empty tokens.

Differential Revision: https://reviews.llvm.org/D101207
The file was modifiedflang/include/flang/Common/interval.h (diff)
The file was modifiedflang/lib/Parser/provenance.cpp (diff)
Commit ef2dc7ed9f76e3ae52eaa4def98d4dd11ac527c0 by Dávid Bolvanský
[Analysis] Attribute alignment should not prevent tail call optimization
Fixes tail folding issue mentioned in D100879.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D101230
The file was addedllvm/test/CodeGen/X86/tail-calls-compatible-attrs.ll
The file was removedllvm/test/CodeGen/X86/tail-call-deref.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)
The file was modifiedllvm/lib/CodeGen/Analysis.cpp (diff)
The file was modifiedllvm/test/CodeGen/ARM/tail-call.ll (diff)
Commit 0ce723cb228bc1d1a0f5718f3862fb836145a333 by VenkataRamanaiah.Nalamothu
[NFC] Refactor how CFI section types are represented in AsmPrinter

In terms of readability, the `enum CFIMoveType` didn't better document what it
intends to convey i.e. the type of CFI section that gets emitted.

Reviewed By: dblaikie, MaskRay

Differential Revision: https://reviews.llvm.org/D76519
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ARMException.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp (diff)
Commit 95af971764186a2af6158af26e5aa905a55be586 by nikita.ppv
[PatternMatch] Improve m_Deferred() documentation (NFC)

m_Deferred() has nothing to do with commutative matchers, it needs
to be used whenever the value to match is determinde as part of
the same match expression.
The file was modifiedllvm/include/llvm/IR/PatternMatch.h (diff)
Commit 1afdd361a233c2ca2df0bac64ee71918e9705cd7 by nikita.ppv
[SCEV] Add additional NE applyLoopGuards() test (NFC)

This is the same as @test_guard_ult_ne, just with the order of
the conditions swapped.
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll (diff)
Commit a5051f2fa2f20405a7cd0630067afc338f6c6d44 by nikita.ppv
[SCEV] Fix applyLoopGuards() chaining for ne predicates

ICMP_NE predicates directly overwrote the rewritten result,
instead of chaining it with previous rewrites, as was done for
ICMP_ULT and ICMP_ULE. This means that some guards were effectively
discarded, depending on their order.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll (diff)
Commit 6fca189532511da1b48e8c0d9aad8ff2edca382d by Jason Molenda
Simplify the breakpoint setting in DynamicLoaderMacOS::SetNotificationBreakpoint

Instead of looking up a symbol and reducing it to an addr_t to set
a breakpoint, set the breakpoint on the function name directly.
The old Mac OS X dynamic loader plugin worked in terms of addresses
and I incorrectly emulated that here when I wrote this newer one.

Differential Revision: https://reviews.llvm.org/D100931
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp (diff)
Commit 5e537ea1d7a937f848ff1c0fc691d5a5afdf2459 by Lang Hames
[ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes.

This reapplies 1e1d75b190c, which was reverted in ce1a4d53231 due to build
failures.

The unconditional dependencies on clang and llvm-jitlink in
compiler-rt/test/orc/CMakeLists.txt have been removed -- they don't appear to
be necessary, and I suspect they're the cause of the build failures seen
earlier.
The file was addedcompiler-rt/test/orc/TestCases/Darwin/x86-64/lit.local.cfg.py
The file was modifiedcompiler-rt/CMakeLists.txt (diff)
The file was modifiedcompiler-rt/cmake/config-ix.cmake (diff)
The file was addedcompiler-rt/test/orc/lit.site.cfg.py.in
The file was modifiedcompiler-rt/lib/CMakeLists.txt (diff)
The file was addedcompiler-rt/test/orc/lit.cfg.py
The file was addedcompiler-rt/lib/orc/CMakeLists.txt
The file was addedcompiler-rt/test/orc/TestCases/Darwin/lit.local.cfg.py
The file was addedcompiler-rt/test/orc/CMakeLists.txt
The file was addedcompiler-rt/test/orc/TestCases/Darwin/x86-64/placeholder_test.S
The file was addedcompiler-rt/lib/orc/placeholder.cpp
The file was modifiedcompiler-rt/test/CMakeLists.txt (diff)
Commit 108864397d26ffff39267f417cabc7f248431437 by kai.wang
[Clang] Add clang attribute `clang_builtin_alias`.

In some cases, we want to provide the alias name for the clang builtins.
For example, the arguments must be constant integers for some RISC-V builtins.
If we use wrapper functions, we could not constrain the arguments be constant
integer. This attribute is used to achieve the purpose.

Besides this, use `clang_builtin_alias` is more efficient than using
wrapper functions. We use this attribute to deal with test time issue
reported in https://bugs.llvm.org/show_bug.cgi?id=49962.

In our downstream testing, it could decrease the testing time from 6.3
seconds to 3.7 seconds for vloxei.c test.

Differential Revision: https://reviews.llvm.org/D100611
The file was modifiedclang/include/clang/Basic/Attr.td (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/lib/AST/Decl.cpp (diff)
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp (diff)
The file was addedclang/test/CodeGen/RISCV/riscv-attr-builtin-alias.c
The file was addedclang/test/CodeGen/RISCV/riscv-attr-builtin-alias-err.c
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test (diff)
Commit c572ff840f63a8ce58a922d44d0fa53f25636125 by Lang Hames
[ORC][C-bindings] Fix missing ')' in comments.
The file was modifiedllvm/include/llvm-c/Orc.h (diff)
Commit e6131f7ee54e1660be519fc7172fbbbc2b4da803 by kai.wang
[Clang] Fixup for D100611
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
Commit 3b8ec86fd576b9808dc63da620d9a4f7bbe04372 by xiang1.zhang
[X86] Support AMX fast register allocation

Differential Revision: https://reviews.llvm.org/D100026
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO2toO0.ll
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO0toO0.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-low-intrinsics.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86LowerAMXType.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86.h (diff)
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO2toO0-lower.ll
The file was addedllvm/lib/Target/X86/X86PreAMXConfig.cpp
The file was addedllvm/test/CodeGen/X86/AMX/amx-fast-tile-config.mir
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h (diff)
The file was addedllvm/lib/Target/X86/X86FastTileConfig.cpp
The file was modifiedllvm/lib/Target/X86/CMakeLists.txt (diff)
The file was modifiedllvm/include/llvm/CodeGen/Passes.h (diff)
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO2toO0-precfg.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn (diff)
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp (diff)
The file was modifiedllvm/tools/opt/opt.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-low-intrinsics-no-amx-bitcast.ll (diff)
Commit c3f95e9197643b699b891ca416ce7d72cf89f5fc by xiang1.zhang
[X86] Refine AMX fast register allocation
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-configO2toO0-precfg.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86PreAMXConfig.cpp (diff)
Commit f68cd33567857769751f3ccd10252d8ce1357def by llvm-dev
[PhaseOrdering] Add PR32544 test coverage
The file was addedllvm/test/Transforms/PhaseOrdering/pr32544.ll
Commit d8fa5ef6a2972aa3d8b49a7664ba94c79b00f6d4 by kai.wang
[RISCV] Apply clang_builtin_alias to overloaded builtins.

We only apply `clang_builtin_alias` to non-masked builtins.
Masked builtins could not use `clang_builtin_alias` because the
operand order is different between overloaded intrinsics and builtins.

A bunch of test cases need to be updated.

Differential Revision: https://reviews.llvm.org/D100658
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssra.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoswap.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwnmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsbc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfncvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsqrt7.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vneg.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfdiv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwcvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmseq.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamomin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfeq.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrdiv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsrl.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnor.c (diff)
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsll.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vid.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfslide1up.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslidedown.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vasub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslide1up.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfclass.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmadc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrgather.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbf.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vpopc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmxnor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslideup.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmslt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmerge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vloxei.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/viota.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsext.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vlse.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfgt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsne.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsof.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrem.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vzext.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfirst.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmin.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsgnj.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwredsum.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmul.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnsra.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsqrt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnsrl.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfslide1down.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnot.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredand.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmflt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrec7.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmxor.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwnmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vdiv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsle.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssrl.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmv.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnmsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vaadd.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsif.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmsac.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnclip.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamomax.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfcvt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vse.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmacc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslide1down.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbc.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfle.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vle.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsra.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsgt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmsub.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vluxei.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfne.c (diff)
Commit 1d8ef761be68d7ba023aea0450be5355426d46f7 by flo
[NewGVN] Use ExprResult to add extra predicate users.

This patch updates performSymbolicPredicateInfoEvaluation to manage
registering additional dependencies using ExprResult. Similar to D99987,
this fixes an issues where we failed to track the correct dependency for
a phi-of-ops value, which is marked as temporary.

Fixes PR49873.

Reviewed By: asbirlea, ruiling

Differential Revision: https://reviews.llvm.org/D100560
The file was modifiedllvm/test/Transforms/NewGVN/phi-of-ops-simplification-dependencies.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp (diff)
Commit fa2f162e7659d6566db7d09749031a6e817415f8 by flo
[NewGVN] Properly transfer PredDep in move constructor.
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp (diff)
Commit 72471c656eff483947c4ecb98b5d988dc4f8eb0e by llvm-dev
[X86] Regenerate atomic-flags.ll test file
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
Commit 5dd5859c42dab143f21fd4ca4204c6084a929054 by llvm-dev
[X86] Add PR20841 test cases showing failure to reuse ZF from XADD ops
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
Commit 2149aa73f640c96f278207f0cca630d5caf0a5ab by llvm-dev
[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)

XADD has the same EFLAGS behaviour as ADD
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-eflags-reuse.ll (diff)
Commit a9676febb99d54289117a497c3fea4ba35cef2b4 by steveire
[AST] Add DeclarationNameInfo to node introspection

Differential Revision: https://reviews.llvm.org/D101049
The file was modifiedclang/lib/Tooling/EmptyNodeIntrospection.inc.in (diff)
The file was modifiedclang/lib/Tooling/DumpTool/generate_cxx_src_locs.py (diff)
The file was modifiedclang/unittests/Introspection/IntrospectionTest.cpp (diff)
The file was modifiedclang/include/clang/Tooling/NodeIntrospection.h (diff)
The file was modifiedclang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp (diff)
The file was modifiedclang/lib/Tooling/DumpTool/APIData.h (diff)
Commit 8d018c79ee5f14e1433b8cbb02dd89d0941516ff by steveire
Add srcloc output to clang-query

Differential Revision: https://reviews.llvm.org/D93325
The file was modifiedclang-tools-extra/unittests/clang-query/QueryParserTest.cpp (diff)
The file was modifiedclang-tools-extra/clang-query/CMakeLists.txt (diff)
The file was modifiedclang-tools-extra/clang-query/Query.cpp (diff)
The file was modifiedclang-tools-extra/clang-query/QueryParser.cpp (diff)
The file was modifiedclang-tools-extra/clang-query/QuerySession.h (diff)
The file was modifiedclang-tools-extra/clang-query/Query.h (diff)
Commit a354fd56c5046cc4317a301d90908520f6c4717a by koraq
[libc++] Adds __utility/to_underlying.h.

During the review of D97115 it was mentioned adding the `<utility>`
header for `__to_underlying` was a bit unfortunate. Nowadays we tend to
implement smaller headers, so a good reason to move `std::to_underlying`
to its own header and adjust `<charconv>` to use the new header.

Differential Revision: https://reviews.llvm.org/D101233
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was modifiedlibcxx/include/charconv (diff)
The file was modifiedlibcxx/include/utility (diff)
The file was addedlibcxx/include/__utility/to_underlying.h
Commit c5cb5053a9626d1703368ec8dbd33589e603bec4 by llvmgnsyncbot
[gn build] Port a354fd56c504
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit 535df472b04208d6ae88e017c8f1d831fb239346 by llvm-dev
Revert rG2149aa73f640c96 "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)"

This might be the cause of some msan build failures - I don't have access to a msan build right now, so this is a speculative revert.
The file was modifiedllvm/test/CodeGen/X86/atomic-eflags-reuse.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
Commit 1cea7ab4ba13346745d6aa6e117ee2e77995fb07 by koraq
[demangler] Use standard semantics for StringView::substr

The StringView::substr now accepts a substring starting position and its
length instead of previous non-standard `from` & `to` positions.

All uses of two argument StringView::substr are in MicrosoftDemangler
and have 0 as a starting position, so no changes are necessary.

This also fixes a bug where attempting to extract a suffix with substr
(a `to` position equal to size) would return a substring without the
last character.

Fixing the issue should not introduce observable changes in the
demangler, since as currently used, a second argument to
StringView::substr is either: 1) a result of a successful call to
StringView::find and so necessarily smaller than size., or 2) in the
case of Demangler::demangleCharLiteral potentially equal to size, but
with demangler expecting more data to follow later on and failing either
way.

Reviewed By: #libc_abi, ldionne, erik.pilkington

Differential Revision: https://reviews.llvm.org/D100246
The file was addedllvm/unittests/Demangle/StringViewTest.cpp
The file was modifiedllvm/include/llvm/Demangle/StringView.h (diff)
The file was modifiedlibcxxabi/src/demangle/StringView.h (diff)
The file was modifiedllvm/unittests/Demangle/CMakeLists.txt (diff)
Commit 92880ab7a2b2145f0605f367cd6d53d6892903c3 by llvmgnsyncbot
[gn build] Port 1cea7ab4ba13
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn (diff)
Commit 4b9be5ac08506bdaea2f8f6cb8e4ead71452f38d by flo
[VPlan] Add VPBlockUtils::blocksOnly helper.

This patch adds a blocksOnly helpers which take an iterator range
over VPBlockBase * or const VPBlockBase * and returns an interator
range that only include BlockTy blocks. The accesses are casted to
BlockTy.

Reviewed By: a.elovikov

Differential Revision: https://reviews.llvm.org/D101093
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h (diff)
Commit 65f2a757371e687cee6c36788fde1dab22895df7 by mgorny
[lldb] [Process/FreeBSD] Report fork/vfork events to LLGS

Differential Revision: https://reviews.llvm.org/D100547
The file was modifiedlldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.h (diff)
The file was modifiedlldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py (diff)
Commit 06215023f450ce25bb608fcdb78fd1f310b23c70 by mgorny
[lldb] [Process/NetBSD] Report fork/vfork events to LLGS

Differential Revision: https://reviews.llvm.org/D100554
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py (diff)
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.h (diff)
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h (diff)
Commit fc86e6d188c38e2cee221fae4960c3307367f387 by minyihh
[ARM][disassembler] Fix incorrect number of MCOperands generated by the disassembler

Try to fix bug 49974.

This patch fixes two issues:

1. BL does not use predicate (BL_pred is the predicate version of BL),
    so we shouldn't add predicate operands in DecodeBranchImmInstruction.
2. Inside DecodeT2AddSubSPImm, we shouldn't add predicate operands into
    the MCInst because ARMDisassembler::AddThumbPredicate will do that for us.
    However, we should handle CC-out operand for t2SUBspImm and t2AddspImm.

Differential Revision: https://reviews.llvm.org/D100585
The file was addedllvm/test/MC/Disassembler/ARM/bl-arm.txt
The file was addedllvm/test/MC/Disassembler/ARM/sub-sp-imm-thumb2.txt
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp (diff)
Commit 68ff493dfc950c05c102e09e14a16d06253ffa16 by Vitaly Buka
[NFC] Fixed some D79714 warnings
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h (diff)
The file was modifiedclang/include/clang/Basic/OpenCLOptions.h (diff)
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h (diff)
The file was modifiedmlir/include/mlir/Support/TypeID.h (diff)
Commit 504eee28fe0ff4cf582f623b2ee83e9940e33024 by Vitaly Buka
Disable deprecated-copy warnings on various LLVM code to bring the bot back to green

Bootstrap with `-Werror` is currently broken due to D79714.
This patch is required to bring the bootstrap bot back to green. The
code will likely need to be fixed and the pragmas removed in due time,
but for now we need to bring the bot back up.

Bot that is currently failing:
https://lab.llvm.org/buildbot/#/builders/36/builds/7680

Differential Revision: https://reviews.llvm.org/D101214
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock.h (diff)
Commit b493193d74ea62ff8e09a5f40fa44e86d737ded7 by martin
[googlemock] Fix warnings about superfluous semicolons after 68ff493dfc950c05c102e09e14a16d06253ffa16. NFC.
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h (diff)
Commit ddfe13e757cb72c056cba8d889d6cb8ee69f1afa by zeratul976
[clangd] Produce semantic token for name referring to UnresolvedUsingValueDecl

For now, use the token kind Unknown. We may be able to improve on this
using HeuristicResolver.

Differential Revision: https://reviews.llvm.org/D99052
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp (diff)
Commit d941863de2becb3d8d2e00676fc7125974934c7f by zeratul976
[clangd] Use HeuristicResolver to produce a better semantic token for name referring to UnresolvedUsingValueDecl

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

Differential Revision: https://reviews.llvm.org/D99056
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp (diff)
Commit 7b312e228c36fc10cec4ecbd98a289f213a97518 by lebedev.ri
[NFC][X86][AVX2] Add baseline CodeGen/CostModel tests for interleaved loads/stores of i16 w/ strides 2/3/4

`X86TTIImpl::getInterleavedMemoryOpCostAVX2()` currently contains data
only for a handful of tuples. For now, at least add tests for a few more.

I'm guessing that we care how well the patterns codegen since
we use their presumed cost for vectorization decisions,
so i've added codegen tests too.

There's one really easy caveat for these codegen tests:
for interleaved load tests, we really have to ensure that the
deinterleaved vectors are escaped separately. Similarly for stores.
The file was addedllvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-2.ll
The file was addedllvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-3.ll
The file was addedllvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-3.ll
The file was addedllvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-2.ll
The file was addedllvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-4.ll
The file was addedllvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-2.ll
The file was addedllvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-4.ll
The file was addedllvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-4.ll
The file was addedllvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-4.ll
The file was addedllvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-3.ll
The file was addedllvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-2.ll
The file was addedllvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-3.ll
Commit 51b4a7ef52aa5c1877bb63a23724ac74dd9fc953 by Vitaly Buka
[sanitizer] Use COMPILER_RT_EMULATOR with gtests

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D100998
The file was modifiedcompiler-rt/unittests/lit.common.unit.configured.in (diff)
The file was modifiedllvm/utils/lit/lit/formats/googletest.py (diff)
The file was modifiedcompiler-rt/unittests/lit.common.unit.cfg.py (diff)
Commit 98a7563261ffae7466bbc49c684fd38c4b54ee7e by Vitaly Buka
[scudo] Mark ARM64 as supported platform
The file was modifiedcompiler-rt/cmake/config-ix.cmake (diff)
Commit 337a024bba1dcf7d1dddc1a3f2750a9c777bbaa9 by Vitaly Buka
[scudo][NFC] Fix cast warning
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.cpp (diff)
Commit 753b247d71d7e74dd6998735848a2d9e0b6317de by zeratul976
[clangd] Omit parameter hint if parameter name comment is present

Differential Revision: https://reviews.llvm.org/D100715
The file was modifiedclang-tools-extra/clangd/InlayHints.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/InlayHintTests.cpp (diff)
Commit 6f6cf2da8d9453f2bd57978be1e5d0765ea50a36 by zeratul976
[clangd] Omit parameter hint for setter functions

Differential Revision: https://reviews.llvm.org/D100731
The file was modifiedclang-tools-extra/clangd/InlayHints.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/InlayHintTests.cpp (diff)
Commit c624e701491c320cf5c662006082a8e956c30e8d by zeratul976
[clangd] Rename HeuristicResolver::resolveCallExpr() to resolveTypeOfCallExpr()

Differential Revision: https://reviews.llvm.org/D100741
The file was modifiedclang-tools-extra/clangd/HeuristicResolver.h (diff)
The file was modifiedclang-tools-extra/clangd/HeuristicResolver.cpp (diff)
Commit c1baf946e6cf611ae871e34db5cfea0f94f4b5a0 by Lang Hames
[ORC] Avoid invalidating iterators in EHFrameRegistrationPlugin.

In EHFrameRegistrationPlugin::notifyTransferringResources if SrcKey had
eh-frames associated but DstKey did not we would create a new entry for DskKey,
invalidating the iterator for SrcKey in the process. This commit fixes that by
removing SrcKey first in this case.
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp (diff)
Commit 2c9028170eeb6749373f2f93ad6abdc0164c36a3 by Jinsong Ji
[DebugInfo][AIX] Set target debugger-tune default to dbx

https://reviews.llvm.org/D99400 set clang DefaultDebuggerTuning for AIX
to dbx. However, we still need to update the target default so that llc
and other tools will get the same default debuggertuning, and avoid
passing extra options in LTO.

Reviewed By: #powerpc, shchenz, dblaikie

Differential Revision: https://reviews.llvm.org/D101197
The file was modifiedllvm/test/DebugInfo/XCOFF/explicit-section.ll (diff)
The file was modifiedllvm/test/DebugInfo/XCOFF/function-sections.ll (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (diff)
The file was addedllvm/test/DebugInfo/PowerPC/debugger-tune.ll
The file was modifiedllvm/test/DebugInfo/XCOFF/empty.ll (diff)
Commit 8cf54c7ff50cc4db79b2bc633e7d9d96509ef000 by craig.topper
[RISCV] [1/2] Add IR intrinsic for Zbe extension

RV32/64:
bcompress
bdecompress

RV64 ONLY:
bcompressw
bdecompressw

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D101143
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was addedclang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbe.c
The file was addedclang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbe.c
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h (diff)
The file was addedllvm/test/CodeGen/RISCV/rv64zbe-intrinsic.ll
The file was modifiedclang/include/clang/Basic/BuiltinsRISCV.def (diff)
The file was addedllvm/test/CodeGen/RISCV/rv32zbe-intrinsic.ll
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td (diff)
Commit 8f5cd4940515899b06d6d1ecf593fbd6e08cce20 by craig.topper
[RISCV] Teach DAG combine what bits Zbp instructions demanded from their inputs.

This teaches DAG combine that shift amount operands for grev, gorc
shfl, unshfl only read a few bits.

This also teaches DAG combine that grevw, gorcw, shflw, unshflw,
bcompressw, bdecompressw only consume the lower 32 bits of their
inputs.

In the future we can teach SimplifyDemandedBits to also propagate
demanded bits of the output to the inputs in some cases.
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbe-intrinsic.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rv32zbp-intrinsic.ll (diff)
Commit 60ed86d3507bf908e0079f78b246ae096321ae03 by powerman1st
[RISCV] Optimize addition with immediate

Reviewed by: craig.topper

Differential Revision: https://reviews.llvm.org/D101244
The file was modifiedllvm/test/CodeGen/RISCV/add-imm.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td (diff)
Commit 837442de9c60f539dd901a2cc389a413d132b1bc by craig.topper
[RISCV] Cleanup setOperationAction calls for INTRINSIC_WO_CHAIN/INTRINSIC_W_CHAIN

We have several extensions that need i32 to be Custom for
INTRINSIC_WO_CHAIN with RV64 so enable it for all RV64.

For V extension, make i32 Custom for RV64 and i64 Custom for RV32.
When the i32 or i64 is legal, the operation action doesn't matter.
LegalizeDAG checks MVT::Other rather than the real type.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
Commit 4b2434172cc15ccd32c5c9110a3a4df18b8fba5e by kai.wang
[RISCV] Implement the vmmv.m/vmnot.m builtin.

Differential Revision: https://reviews.llvm.org/D100821
The file was modifiedclang/include/clang/Basic/riscv_vector.td (diff)
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vmmv.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnot.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnot.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmmv.c
Commit bfb3fca7e110a367c9589495575913d83bea7095 by kai.wang
[RISCV] Implement the vfabs.v/vfneg.v builtin.

Differential Revision: https://reviews.llvm.org/D100822
The file was modifiedclang/include/clang/Basic/riscv_vector.td (diff)
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfabs.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfneg.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vfabs.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vfneg.c
Commit 645c5f27a84d795fc658b49c702d77cc6145bfec by kai.wang
[RISCV] Implement the pseudo compare builtin.

Differential Revision: https://reviews.llvm.org/D100823
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfge.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfgt.c (diff)
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsge.c
The file was modifiedclang/include/clang/Basic/riscv_vector.td (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsgt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfge.c (diff)
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsgt.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfgt.c (diff)
Commit bd32c2d64842c8d474bcce0e73dcd8918b3e0f2f by kai.wang
[RISCV] Implement the vwcvt{u}.x.x.v/vncvt.x.x.w builtin.

Differential Revision: https://reviews.llvm.org/D100824
The file was modifiedclang/include/clang/Basic/riscv_vector.td (diff)
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vncvt.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwcvt.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vwcvt.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/vncvt.c
Commit 18772de1ecb1a23b483e29987ae708ab641b1134 by sven.vanhaastregt
[OpenCL] Add inc/dec/cmpxchg C++ legacy atomics with generic

Mirror the remaining C++ for OpenCL specific builtins from opencl-c.h
to the TableGen builtin functions.

Fixes PR50041 (part 2).
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td (diff)
Commit 0f7d4105c60b5b4ee80fd32225658a4d8261c120 by Jan Svoboda
[clang][deps] Only generate absolute paths when asked to

Add option to `clang-scan-deps` to enable/disable generation of command-line arguments with absolute paths. This is essentially a revert of D100533, but with improved naming and added test.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D101051
The file was modifiedclang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h (diff)
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp (diff)
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp (diff)
The file was modifiedclang/test/ClangScanDeps/modules-full.cpp (diff)
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h (diff)
The file was modifiedclang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp (diff)
Commit 9ab4eab570f7d11c375993d59b1a7ec2c32a72fc by Jan Svoboda
[clang][deps] NFC: Fix typo
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp (diff)
Commit 6ba150dbb44346f4f2b39d15b85f3c2339427771 by djtodoro
[llvm-dwarfdump] Fix split-dwarf bug in stats for inlined var loc cov

Initial (D96045) patch didn't handle split dwarf cases,
so this fixes that bug.

In addition, before applying this patch, we had a slowdown
that happened after the D96045. With this patch,
the slowdown will be fixed as well.

Differential Revision: https://reviews.llvm.org/D100951
The file was addedllvm/test/tools/llvm-dwarfdump/X86/Inputs/split-dwarf-objfile1.s
The file was addedllvm/test/tools/llvm-dwarfdump/X86/Inputs/split-dwarf.s
The file was addedllvm/test/tools/llvm-dwarfdump/X86/Inputs/split-dwarf-objfile2.s
The file was addedllvm/test/tools/llvm-dwarfdump/X86/inlined_variables_with_zero_cov.test
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp (diff)
Commit 16dc9afa097d2577eff640f0fe9d388960c62cb9 by kai.wang
[RISCV] Add REQUIRES: riscv-registered-target for RISC-V test cases.
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnot.c (diff)
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmmv.c (diff)
Commit 258e2e9a0bdc1e0b0ade99a27de4190010cbee78 by david.green
[ARM] Ensure loop invariant active.lane.mask operands

CGP can move instructions like a ptrtoint into a loop, but the
MVETailPredication when converting them will currently assume invariant
trip counts. This tries to ensure the operands are loop invariant, and
bails if not.

Differential Revision: https://reviews.llvm.org/D100550
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-tailpred-loopinvariant.ll
Commit 5987d7c59da5a7611036c2952f5a1f501d17ad48 by krasimir
[clang-format] fix indent in alignChainedConditionals

Clang-format was indenting the lines following the `?` in the added test
case by +5 instead of +4. This only happens in a very specific
situation, where the `?` is followed by a multiline block comment, as in
the example. This fix addresses this without regressing any of the
existing tests.

Differential Revision: https://reviews.llvm.org/D101033
The file was modifiedclang/lib/Format/WhitespaceManager.cpp (diff)
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
Commit 3c9bcf0e3549d89b31e19e67a5a16babdee2c72d by jeremy.morse
[Clang][Coroutine][DebugInfo] Relax test ordering requirement

The test added in D97533 (and modified by this patch) has some overly
strict printed metadata ordering requirements, specifically the
interleaving of DILocalVariable nodes and DILocation nodes. Slight changes
in metadata emission can easily break this unfortunately.

This patch stops after clang codegen rather than allowing the coro splitter
to run,  and reduces the need for ordering: it picks out the
DILocalVariable nodes being sought, in any order (CHECK-DAG), and doesn't
examine any DILocations. The implicit CHECK-NOT is what's important: the
test seeks to ensure a duplicate set of DILocalVariables aren't emitted in
the same scope.

Differential Revision: https://reviews.llvm.org/D100298
The file was modifiedclang/test/CodeGenCoroutines/coro-dwarf.cpp (diff)
Commit 499f1ed5485383e8e7bf3aacbc6d34560d0668df by andrzej.warzynski
[flang][driver] Fine-tune `-fdebug-dump-symbols`

When generating output for `-fdebug-dump-symbols`, make sure that
BuildRuntimeDerivedTypeTables is also run. This change is needed in
order to make the implementation of `-fdebug-dump-symbols` in
`flang-new` consistent with `f18`. It also allows us to port more tests
to use the new driver whenever it is enabled.

Differential Revision: https://reviews.llvm.org/D100649
The file was modifiedflang/test/Semantics/typeinfo01.f90 (diff)
The file was modifiedflang/lib/Frontend/FrontendActions.cpp (diff)
Commit 7302fe432843bd7e9b41b50ddaa37781f62b08cf by flo
[VPlan] Make blocksOnly work properly with ranges over const pointers.

When iterating over const blocks, the base type in the lambdas needs
to use const VPBlockBase *, otherwise it cannot be used with input
iterators over const VPBlockBase.

Also adjust the type of the input iterator range to const &, as it
does not take ownership of the input range.
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h (diff)
Commit a458b7855e1ad9c79f05b37f13a4242fdac3fb31 by david.sherwood
[AArch64] Add AArch64TTIImpl::getMaskedMemoryOpCost function

When vectorising for AArch64 targets if you specify the SVE attribute
we automatically then treat masked loads and stores as legal. Also,
since we have no cost model for masked memory ops we believe it's
cheap to use the masked load/store intrinsics even for fixed width
vectors. This can lead to poor code quality as the intrinsics will
currently be scalarised in the backend. This patch adds a basic
cost model that marks fixed-width masked memory ops as significantly
more expensive than for scalable vectors.

Tests for the cost model are added here:

  Transforms/LoopVectorize/AArch64/masked-op-cost.ll

Differential Revision: https://reviews.llvm.org/D100745
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/masked-op-cost.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h (diff)
The file was addedllvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/vector-reverse-mask4.ll (diff)
Commit cf7276820c501341d71a6f0728a753c7e5f843bc by david.sherwood
[NFC] Add scalable vectorisation tests for int/FP <> int/FP conversions

We can already vectorize loops that involve int<>int, fp<>fp, int<>fp
and fp<>int conversions, however we didn't previously have any tests
for them. This patch adds some tests for each conversion type.

Differential Revision: https://reviews.llvm.org/D99951
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/sve-type-conv.ll
Commit b1a919d51c82db3bf2c588a941561cea8feecf56 by david.green
[ARM] Additional soft float BE test. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/mve-soft-float-abi.ll (diff)
Commit 94c7bd7eb2633285093377a917918edd45a373b3 by david.green
[ARM] Expand VMOVRRD simplification pattern

This expands the VMOVRRD(extract(..(build_vector(a, b, c, d)))) pattern,
to also handle insert_vectors. Providing we can find the correct insert,
this helps further simplify patterns by removing the redundant VMOVRRD.

Differential Revision: https://reviews.llvm.org/D100245
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-soft-float-abi.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/vdup.ll (diff)
Commit 819d35e6e916ef6c7cc267291aa9307c79a3da81 by Dávid Bolvanský
[InstCombine] Added testcases for PR50104, NFC
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
Commit 2040d20df2e22eefaa6b653e505a2bcf3499e786 by bradley.smith
[AArch64][SVE] Add missing patterns for scalar versions of SQSHL/UQSHL

Differential Revision: https://reviews.llvm.org/D101058
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-dsp.ll (diff)
Commit cc7803ee3f767412223c234586834976d257a521 by jeremy.morse
[LSR][DebugInfo] Don't unnecessarily drop DebugLocs

When transforming a loop terminating condition into a "max" comparison,
the DebugLoc from the old condition should be set on the newly created
comparison. They are the same operation, just optimized. Fixes PR48067.

Differential Revision: https://reviews.llvm.org/D98218
The file was addedllvm/test/Transforms/LoopStrengthReduce/optimizemax_debugloc.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp (diff)
Commit 9e8cde590fc7e9339779a3400022ac3d557da2fa by spatel
[IndVars] avoid 'tmp' names in test file with auto-generated CHECK lines; NFC

The script warns that this could be buggy when updating.
The file was modifiedllvm/test/Transforms/IndVarSimplify/lftr.ll (diff)
Commit 8710eff6c3bab333bd270573fc349938b9a69dc0 by tim.renouf
[MC][AMDGPU][llvm-objdump] Synthesized local labels in disassembly

1. Add an accessor function to MCSymbolizer to retrieve addresses
   referenced by a symbolizable operand, but not resolved to a symbol.
   That way, the caller can synthesize labels at those addresses and
   then retry disassembling the section.

2. Implement that in AMDGPU -- a failed symbol lookup results in the
   address being added to a vector returned by the new function.

3. Use that in llvm-objdump when using MCSymbolizer (which only happens
   on AMDGPU) and SymbolizeOperands is on.

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

Change-Id: I19087c3bbfece64bad5a56ee88bcc9110d83989e
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h (diff)
The file was modifiedllvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp (diff)
The file was addedllvm/test/tools/llvm-objdump/AMDGPU/elf-disassemble-symbolize-operands.yaml
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp (diff)
Commit 18adf4bb0d139b1274c5021d19d8602853827b86 by tim.renouf
[AMDGPU][llvm-objdump] Add lit.local.cfg missing from recent commit

Stops llvm-objdump tests failing when AMDGPU target is not supported.

Change-Id: Ic4ae443958c41c303ff6bee0966e5f21ab7a1851
The file was addedllvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
Commit e439a463a30833f1c7d366ed722f0f12d1682638 by Raphael Isemann
[lldb] Use forward type in pointer-to-member

This change is similar in spirit to the change at:
https://reviews.llvm.org/rG34c697c85e9d0af11a72ac4df5578aac94a627b3

It fixes the problem where the layout of a type was being accessed
while its base classes were not populated yet; which caused an
incorrect layout to be produced and cached.

This fixes PR50054

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D100977
The file was addedlldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/main.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp (diff)
The file was modifiedlldb/test/API/functionalities/lazy-loading/TestLazyLoading.py (diff)
The file was addedlldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/Makefile
The file was addedlldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py
The file was modifiedlldb/test/API/functionalities/lazy-loading/main.cpp (diff)
Commit 8705399d010558ca65d9bd8571b4eaf099f07b20 by Tim Northover
AArch64: support atomics in GISel
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrGISel.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td (diff)
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp (diff)
Commit 691badc3d6a76ceb98530d58f80c11565337d767 by Dávid Bolvanský
[InstCombine] C - ctpop(a) - > ctpop(~a)) if C is bitwidth (PR50104)

Proof: https://alive2.llvm.org/ce/z/mncA9K
Solves https://bugs.llvm.org/show_bug.cgi?id=50104

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D101257
The file was modifiedllvm/test/Transforms/InstCombine/ctpop-cttz.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp (diff)
Commit 7818906ca134775edffb77857f436359d3a50b90 by alexey.bader
[SYCL] Implement SYCL address space attributes handling

Default address space (applies when no explicit address space was
specified) maps to generic (4) address space.

Added SYCL named address spaces `sycl_global`, `sycl_local` and
`sycl_private` defined as sub-sets of the default address space.

Static variables without address space now reside in global address
space when compile for SPIR target, unless they have an explicit address
space qualifier in source code.

Differential Revision: https://reviews.llvm.org/D89909
The file was modifiedclang/lib/CodeGen/CGDecl.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGExpr.cpp (diff)
The file was addedclang/test/CodeGenSYCL/address-space-mangling.cpp
The file was modifiedclang/lib/Basic/Targets/TCE.h (diff)
The file was modifiedclang/lib/Basic/Targets/X86.h (diff)
The file was modifiedclang/lib/AST/TypePrinter.cpp (diff)
The file was addedclang/test/CodeGenSYCL/address-space-conversions.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp (diff)
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp (diff)
The file was modifiedclang/include/clang/Basic/AddressSpaces.h (diff)
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp (diff)
The file was modifiedclang/lib/Sema/SemaType.cpp (diff)
The file was modifiedclang/test/SemaTemplate/address_space-dependent.cpp (diff)
The file was modifiedclang/lib/CodeGen/CodeGenModule.h (diff)
The file was addedclang/test/CodeGenSYCL/address-space-deduction.cpp
The file was modifiedclang/lib/Basic/Targets/NVPTX.h (diff)
The file was addedclang/test/SemaSYCL/address-space-conversions.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp (diff)
The file was modifiedclang/include/clang/Sema/ParsedAttr.h (diff)
The file was modifiedclang/lib/AST/ASTContext.cpp (diff)
The file was modifiedclang/lib/Basic/Targets/SPIR.h (diff)
The file was modifiedclang/include/clang/AST/Type.h (diff)
Commit 2d4c4d3c54365215849d964c2fdd31536585db19 by Paul C. Anagnostopoulos
[TableGen] Change assertion information from a tuple to a struct [NFC]

Differential Revision: https://reviews.llvm.org/D100854
The file was modifiedllvm/lib/TableGen/TGParser.cpp (diff)
The file was modifiedllvm/include/llvm/TableGen/Record.h (diff)
The file was modifiedllvm/lib/TableGen/Record.cpp (diff)
The file was modifiedllvm/lib/TableGen/TGParser.h (diff)
Commit b125c034af89e32d5258d593080ff0c4810776a0 by Dávid Bolvanský
Only ignore -Wdeprecated-copy if the used compiler supports the warning

This is needed after
  https://reviews.llvm.org/rG9658d045926545e62cc3f963fe611d7c5d0c9d98
which introduced code that at least didn't compile clean with clang 8.

Reviewed By: xbolva00

Differential Revision: https://reviews.llvm.org/D101288
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock.h (diff)
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h (diff)
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h (diff)
Commit ff0ddd5ce4763b169ba4b983a0a97c3b5f51f014 by Paul C. Anagnostopoulos
[TableGen] Remove a TODO comment that is no longer relevant [NFC]
The file was modifiedllvm/lib/TableGen/TGParser.cpp (diff)
Commit e7b6c0f398ee5975bf9f39e629713ae446e8fe01 by nigelp
[clang][XCore] Define __xcore__ for XCore target.

The headers shipped with the XMOS XCore compiler expect __xcore__ to be defined.
The __XS1B__ macro, already defined, is for the default subtarget.

No other targets affected.
The file was modifiedclang/test/Preprocessor/init.c (diff)
The file was modifiedclang/lib/Basic/Targets/XCore.cpp (diff)
Commit 942d2e19e11d6d65bf147ecab8513b7e8bd5d7e4 by Dávid Bolvanský
Revert "Only ignore -Wdeprecated-copy if the used compiler supports the warning"

This reverts commit b125c034af89e32d5258d593080ff0c4810776a0.

Some bots say " missing binary operator before token "(" "
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock.h (diff)
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h (diff)
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h (diff)
Commit c2419aae762a040b4f7b5bc7b701444949e2d9f8 by gkm
[lld-macho] Add option --error-limit=N

Add option to limit (or remove limits) on the number of errors printed before exiting. This option exists in the other lld ports: COFF & ELF.

Differential Revision: https://reviews.llvm.org/D101274
The file was modifiedlld/MachO/Options.td (diff)
The file was addedlld/test/MachO/error-limit.test
The file was modifiedlld/MachO/Driver.cpp (diff)
Commit a0677ff5ebf711afcecdc9bfa336137caee43c72 by llvm-dev
[X86] Rename multiclass ATOMIC_LOAD_BINOP -> ATOMIC_RMW_BINOP. NFCI.

Noticed while triaging the rG2149aa73f640c96 regressions - the LXADD ops are load+store RMW instructions, not just loads.
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td (diff)
Commit b52e69c4268181d8143fe49aee0ea85395c8737d by alexey.bader
[SYCL][Doc] Add design document for SYCL mode

Initial version of the document covers address space handling

Differential Revision: https://reviews.llvm.org/D99488
The file was addedclang/docs/SYCLSupport.rst
Commit 40df6bac9c5c93f96181c51bbea99af5b1c5fc53 by orlando.hyams
[dexter] Update failing regression test

Commit 7deb970ef added REQUIRES and UNSUPPORTED lines to a test which is
sensitive to line number changes. Update the line number reference in the test.
The file was modifieddebuginfo-tests/dexter/feature_tests/subtools/test/label_another_line.cpp (diff)
Commit fcc40d9c17d9f4a5bf24a88d900859a4c1f451a2 by sebastian.neubauer
[AMDGPU] Use MapVector for WWMReservedRegs

Use MapVector instead of SmallDenseMap because it has a deterministic
iteration order.

Differential Revision: https://reviews.llvm.org/D101299
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h (diff)
Commit 18b03b008588e829751ab4b945982ee301a58839 by koraq
[libc++][NFC] Remove non-ASCII from comment.

Seems our check-generated-output doesn't work as intended. Will
investigate it further.
The file was modifiedlibcxx/include/__iterator/incrementable_traits.h (diff)
The file was modifiedlibcxx/include/__iterator/readable_traits.h (diff)
The file was modifiedlibcxx/include/iterator (diff)
Commit 858d4885dcc2242910971607bf46428d5b563d95 by frgossen
[MLIR][Shape] Ensure to preserve op type of `shape.broadcast`

Ensure to preserve the correct type during when folding and canonicalization.
`shape.broadcast` of of a single operand can only be folded away if the argument
type is correct.

Differential Revision: https://reviews.llvm.org/D101158
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp (diff)
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir (diff)
Commit 153144be40855ca1e35e1bfca082e10f553bb2e5 by llvm-project
[SimplifyCFG] Preserve metadata when unconditionalizing branches (constant condition).

When replacing a conditional branch by an unconditional one because the condition is a constant, transfer the metadata to the new branch instruction.

Part of fix for llvm.org/PR50060

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D101141
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
The file was addedllvm/test/Transforms/SimplifyCFG/pr50060-constantfold-loopid.ll
Commit b2d079379b6c7b3942d728c9b290ae252f7921c5 by aktoon
[CSSPGO] Explicitly disallow Binary and Compact Binary profile format for CSSPGO

CSSPGO only supports text and extended binary profile now. Raw binary does not have the metadata section CSSPGO needs, and Compact binary profile needs special handling for GUID based context names, which is not yet implemented.

Disasslow these two format for CSSPGO profile writing to avoid silently generating invalid profiles.

Differential Revision: https://reviews.llvm.org/D101300
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp (diff)
Commit b2bb13a761644f675ec9f2d0b4371c51a05ab51c by alexey.bader
[Doc] Add SYCLSupport.rst to index toctree.
The file was modifiedclang/docs/index.rst (diff)
Commit f9c0859e9687294a3b6b2e797faf4b7ee62c60ce by psteinfeld
[flang] Check for attributes specific to dummy arguments

We were not checking that attributes that are supposed to be specific to
dummy arguments were not being used for local entities.  I added the checks
along with tests for them.

After implementing these new checks, I found that one of the tests in
separate-mp02.f90 was erroneous, and I fixed it.

Differential Revision: https://reviews.llvm.org/D101126
The file was modifiedflang/test/Semantics/resolve58.f90 (diff)
The file was modifiedflang/test/Semantics/separate-mp02.f90 (diff)
The file was modifiedflang/lib/Semantics/check-declarations.cpp (diff)
Commit 7d850db6b6438221555b800d31ef5dc63f50dc89 by Jonas Devlieghere
[lldb] Don't use ::fork or ::vfork on watchOS or tvOS

Update lldb-server to not use fork or vfork on watchOS and tvOS as these
functions are explicitly marked unavailable there.

llvm-project/lldb/test/API/tools/lldb-server/main.cpp:304:11:
error: 'fork' is unavailable: not available on watchOS
      if (fork() == 0)
          ^
WatchSimulator6.2.sdk/usr/include/unistd.h:447:8: note: 'fork' has been
explicitly marked unavailable here
pid_t    fork(void) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
         ^
llvm-project/lldb/test/API/tools/lldb-server/main.cpp:307:11:
error: 'vfork' is unavailable: not available on watchOS
      if (vfork() == 0)
          ^
WatchSimulator6.2.sdk/usr/include/unistd.h:602:8: note: 'vfork' has been
explicitly marked unavailable here
pid_t    vfork(void) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
         ^
The file was modifiedlldb/test/API/tools/lldb-server/main.cpp (diff)
Commit 88b8b88035faf2752b6d9f75e89333526a19b102 by frgossen
[MLIR] Remove empty shape operands from `cstr_broadcastable` ops

Differential Revision: https://reviews.llvm.org/D101170
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir (diff)
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp (diff)
Commit 494e77138c2e53961c43fe6957142d4f90034f98 by gh
[Lexer] Allow LLLexer to be used as an API

Explose LLVM Lexer for usage externally as an API

Differential Revision: https://reviews.llvm.org/D100920
The file was addedllvm/include/llvm/AsmParser/LLParser.h
The file was removedllvm/lib/AsmParser/LLParser.h
The file was addedllvm/include/llvm/AsmParser/LLToken.h
The file was modifiedllvm/lib/AsmParser/Parser.cpp (diff)
The file was removedllvm/lib/AsmParser/LLLexer.h
The file was removedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp (diff)
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp (diff)
The file was addedllvm/include/llvm/AsmParser/LLLexer.h
Commit a0c735e29a4fd471fa4a9ee60b3bdea79a066e28 by Raphael Isemann
[lldb] Skip TestPointerToMemberTypeDependingOnParentSize on Windows and GCC

The test added in D100977 is failing to compile on these platforms. This seems
to be caused by GCC, MSVC and Clang@Windows rejecting the code because
`ToLayout` isn't complete when pointer_to_member_member is declared (even though
that seems to be valid code).

This also reverts the test changes in the lazy-loading test from D100977 as
that failed for the same reason.
The file was modifiedlldb/test/API/functionalities/lazy-loading/TestLazyLoading.py (diff)
The file was modifiedlldb/test/API/functionalities/lazy-loading/main.cpp (diff)
The file was modifiedlldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py (diff)
Commit 91db11c98db5de3e6079bddc0aba896ec3d3d0ad by wyehia
XFAIL thinlto testcases on AIX

In D100350, we switched off thinLTO on the AIX OS. So, XFAIL tests that
invoke clang with -flto=thin on AIX.
The file was modifiedclang/test/CodeGen/thinlto-emit-llvm.c (diff)
The file was modifiedclang/test/Driver/thinlto_backend.c (diff)
The file was modifiedclang/test/Integration/thinlto_profile_sample_accurate.c (diff)
The file was modifiedclang/test/CodeGen/thinlto-backend-option.ll (diff)
Commit 9579af2bd7f39b2118039b66b1a762cf05e7b102 by sebastian.neubauer
[AMDGPU] Fix autogenerated wwm-reserved-spill.ll

Due to a bug in update_llc_test_checks.py, the test is wrongly
coalesced between run lines. Remove common check prefix to fix that.
NFC.
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll (diff)
Commit cedfa38fc46d7531c44ea230b767d8286767f350 by jinl
Preserve the lexical order for global variables during llvm-link merge

The order of global variables is generated in the order of recursively materializing variables if the global variable has the attribute of hasLocalLinkage or hasLinkOnceLinkage during the module merging. In practice, it is often the exact reverse of source order. This new order may cause performance regression.

The change is to preserve the original lexical order for global variables.

Reviewed By: jdoerfert, dexonsmith

Differential Revision: https://reviews.llvm.org/D94202
The file was modifiedllvm/test/ThinLTO/X86/writeonly.ll (diff)
The file was addedllvm/test/Linker/Inputs/globalorder-2.ll
The file was modifiedllvm/test/Linker/metadata-attach.ll (diff)
The file was modifiedllvm/test/Linker/ctors.ll (diff)
The file was modifiedllvm/test/Linker/ctors3.ll (diff)
The file was addedllvm/test/Linker/globalorder.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop.ll (diff)
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop2.ll (diff)
The file was modifiedllvm/lib/Linker/IRMover.cpp (diff)
The file was modifiedllvm/test/Linker/comdat14.ll (diff)
The file was modifiedllvm/test/ThinLTO/X86/import-constant.ll (diff)
The file was modifiedllvm/test/Linker/comdat.ll (diff)
The file was modifiedllvm/test/Linker/link-flags.ll (diff)
The file was modifiedllvm/test/ThinLTO/X86/writeonly2.ll (diff)
The file was modifiedllvm/test/Linker/ctors2.ll (diff)
The file was modifiedllvm/test/Linker/testlink.ll (diff)
Commit 10038d0b3dfcfa6abf8a710612899f859ef1534b by sichert
[RuntimeDyld] Fixed buffer overflows with absolute symbols

Differential Revision: https://reviews.llvm.org/D95596
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp (diff)
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h (diff)
Commit 50b523cb2ceee4ca7279b4ce22ddb0d0b05df313 by steveire
[AST] Fix DeclarationNameInfo introspection

Some AST classes return `const DeclarationNameInfo &` instead of
returning by value (eg CXXDependentScopeMemberExpr).
The file was modifiedclang/unittests/Introspection/IntrospectionTest.cpp (diff)
The file was modifiedclang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp (diff)
Commit 1128311a19179ceca799ff0fbc4dd206ab56e560 by tim.renouf
[AMDGPU][llvm-objdump] Fix memory leak in recent commit

Hopefully stops sanitizer fail in AMDGPU llvm-objdump test.

Change-Id: I7331151d1cb65292bd06b6ae283349fe7231cf6b
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp (diff)
Commit 077fe0f7398c4e1b1a45a9f012c634f13d4118ca by huberjn
[OpenMP][Documentation] Add FAQ entry for dynamically linked libraries

Summary:
Add an FAW entry detailing the support for using dynamically linked libraries
with OpenMP Offloading
The file was modifiedopenmp/docs/SupportAndFAQ.rst (diff)
Commit 6cc62043c8bf4daa27664a2e1674abbe8d0492c6 by Alex Lorenz
[clang][driver] Use the provided arch name for a Darwin target triple

This ensures that the Darwin driver uses a consistent target triple
representation when the triple is printed out to the user.

Differential Revision: https://reviews.llvm.org/D100807
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp (diff)
The file was modifiedclang/test/Driver/aarch64-cpus.c (diff)
The file was modifiedclang/test/Driver/default-toolchain.c (diff)
The file was modifiedclang/test/Driver/darwin-version.c (diff)
The file was modifiedclang/test/Driver/arm64_32-link.c (diff)
Commit abd860eaef418693d73582f06b60ff7d0347e8e5 by clattner
Remove obsolete using declaration that was just kept around to help with API adoption.

Differential Revision: https://reviews.llvm.org/D101269
The file was modifiedmlir/include/mlir/Rewrite/FrozenRewritePatternSet.h (diff)
The file was modifiedmlir/include/mlir/IR/PatternMatch.h (diff)
Commit f0c22c3d584c5f335b2457b6f9c2723ebdcfa06e by clattner
[Verifier] Tidy up the code a bit, NFC.

This tidies up the code a bit:
* Eliminate the ctx member, which doesn't need to be stored.
* Rename verify(Operation) to make it more clear that it is
   doing more than verifyOperation and that the dominance check
   isn't being done multiple times.
* Rename mayNotHaveTerminator which was confusing about whether
   it wasn't known whether it had a terminator, when it is really
   about whether it is legal to have a terminator.
* Some minor optimizations: don't check for RegionKindInterface
   if there are no regions.  Don't do two passes over the
   operations in a block in OperationVerifier::verifyDominance when
   one will do.

The optimizations are actually a measurable (but minor) win in some
CIRCT cases.

Differential Revision: https://reviews.llvm.org/D101267
The file was modifiedmlir/lib/IR/Verifier.cpp (diff)
Commit f8de9aaef2f472ad7572748582444083d31d5a95 by martin
[llvm-rc] Add a GNU windres-like frontend to llvm-rc

This primarily parses a different set of options and invokes the same
resource compiler as llvm-rc normally. Additionally, it can convert
directly to an object file (which in MSVC style setups is done with the
separate cvtres tool, or by the linker).

(GNU windres also supports other conversions; from coff object file back
to .res, and from .res or object file back to .rc form; that's not yet
implemented.)

The other bigger complication lies in being able to imply or pass the
intended target triple, to let clang find the corresponding mingw sysroot
for finding include files, and for specifying the default output object
machine format.

It can be implied from the tool triple prefix, like
`<triple>-[llvm-]windres` or picked up from the windres option e.g.
`-F pe-x86-64`. In GNU windres, that option takes BFD style format names
such as pe-i386 or pe-x86-64. As libbfd in binutils doesn't support
Windows on ARM, there's no such canonical name for the ARM targets.
Therefore, as an LLVM specific extension, this option is extended to
allow passing full triples, too.

Differential Revision: https://reviews.llvm.org/D100756
The file was modifiedllvm/test/tools/llvm-rc/language.test (diff)
The file was addedllvm/test/tools/llvm-rc/windres-preproc.test
The file was modifiedllvm/test/CMakeLists.txt (diff)
The file was addedclang/test/Preprocessor/llvm-windres.rc
The file was addedclang/test/Preprocessor/Inputs/llvm-windres.h
The file was modifiedllvm/tools/llvm-rc/CMakeLists.txt (diff)
The file was modifiedllvm/tools/llvm-rc/llvm-rc.cpp (diff)
The file was addedllvm/tools/llvm-rc/WindresOpts.td
The file was addedllvm/test/tools/llvm-rc/windres-target.test
The file was modifiedllvm/test/lit.cfg.py (diff)
The file was addedllvm/test/tools/llvm-rc/windres-format.test
The file was addedllvm/test/tools/llvm-rc/windres-version.test
The file was modifiedclang/test/CMakeLists.txt (diff)
The file was modifiedllvm/test/tools/llvm-rc/codepage.test (diff)
The file was addedllvm/test/tools/llvm-rc/windres-prefix.test
Commit b5f04d81a2c0b01db32ed7c1685be37e6bdce171 by gchatelet
[libc] Use different alignment for memcpy between ARM and x86.

Aligned copy used to be 'destination aligned' for x86 but this decision was reverted in D93457 where we noticed that it was better for ARM to be 'source aligned'.
More benchmarking confirmed that it can be up to 30% faster to align copy to destination for x86. This Patch offers both implementations and switches x86 back to destination aligned.
It also fixes alignment to 32 byte on x86.

Differential Revision: https://reviews.llvm.org/D101296
The file was modifiedlibc/test/src/string/memory_utils/memcpy_utils_test.cpp (diff)
The file was modifiedlibc/src/string/memory_utils/memcpy_utils.h (diff)
The file was modifiedlibc/src/string/x86/memcpy.cpp (diff)
The file was modifiedlibc/src/string/memcpy.cpp (diff)
The file was modifiedlibc/src/string/aarch64/memcpy.cpp (diff)
Commit 51b461074385aa8cc141809fa27070544b6ac34c by dblaikie
Support DW_FORM_strx* in llvm-dwp.

Currently llvm-dwp only handled DW_FORM_string and DW_FORM_GNU_str_index; with this patch it also starts to handle DW_FORM_strx[1-4]?

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D75485
The file was addedllvm/test/tools/llvm-dwp/X86/invalid_cu_header_length.s
The file was addedllvm/test/tools/llvm-dwp/X86/invalid_cu_header_version.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/invalid_string_form.test (diff)
The file was modifiedllvm/test/tools/llvm-dwp/X86/unsupported_cu_index_version.s (diff)
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp (diff)
The file was addedllvm/test/tools/llvm-dwp/X86/invalid_cu_header_length_type.s
The file was addedllvm/test/tools/llvm-dwp/X86/handle_strx.test
The file was addedllvm/test/tools/llvm-dwp/Inputs/handle_strx/dw5.dwo
Commit c6aa206b429dccadc5c0471b22544337da1fc943 by sivachandra
[libc] Add differential quality and perf analysis targets for sinf and cosf.

Infrastructure needed for setting up the diff binaries has been added.
Along the way, an exhaustive test for sinf and cosf have also been added.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D101276
The file was addedlibc/test/src/math/differential_testing/sinf_diff.cpp
The file was addedlibc/test/src/math/differential_testing/cosf_diff.cpp
The file was addedlibc/test/src/math/differential_testing/sinf_perf.cpp
The file was addedlibc/test/src/math/differential_testing/CMakeLists.txt
The file was modifiedlibc/utils/testutils/StreamWrapper.h (diff)
The file was modifiedlibc/test/src/math/exhaustive/CMakeLists.txt (diff)
The file was modifiedlibc/test/src/math/CMakeLists.txt (diff)
The file was addedlibc/test/src/math/differential_testing/SingleInputSingleOutputDiff.h
The file was addedlibc/test/src/math/exhaustive/sinf_test.cpp
The file was addedlibc/utils/testutils/Timer.cpp
The file was modifiedlibc/test/src/math/exhaustive/sqrtf_test.cpp (diff)
The file was modifiedlibc/utils/testutils/CMakeLists.txt (diff)
The file was addedlibc/test/src/math/exhaustive/cosf_test.cpp
The file was addedlibc/utils/testutils/Timer.h
The file was modifiedlibc/utils/testutils/StreamWrapper.cpp (diff)
The file was addedlibc/test/src/math/differential_testing/cosf_perf.cpp
Commit 7673bd56ff0b5a8499d863b10b8f936efbd59377 by thakis
[gn build] (manually) port f8de9aaef2f4
The file was modifiedllvm/utils/gn/secondary/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-rc/BUILD.gn (diff)
Commit 5529878f8ec6a472d82adac433bb51ba576d2134 by thakis
[gn build] reformat all gn files

$ git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn (diff)
Commit 70d94c3f2cae71ade2ceacdceb3d2e9899d2289a by arthur.j.odwyer
[libc++] __bit_iterator mustn't rely on deprecated SMF generation.

This allows us to turn -Wdeprecated-copy back on. We turned it off
in 3b71de41cc7c7 because Clang's implementation became more stringent
and started diagnosing the old code here.

Differential Revision: https://reviews.llvm.org/D101183
The file was modifiedlibcxx/utils/libcxx/test/params.py (diff)
The file was modifiedlibcxx/include/__bit_reference (diff)
Commit e87479b00fcc852a54b79d2fd7f8d779e2b75f68 by arthur.j.odwyer
[libc++] Remove the special logic for "noexcept iterators" in basic_string.

This reverts a large chunk of http://reviews.llvm.org/D15862 ,
and also fixes bugs in `insert`, `append`, and `assign`, which are now regression-tested.
(Thanks to Tim Song for pointing out the bug in `append`!)

Before this patch, we did a special dance in `append`, `assign`, and `insert`
(but not `replace`). All of these require the strong exception guarantee,
even when the user-provided InputIterator might have throwing operations.

The naive way to accomplish this is to construct a temporary string and
then append/assign/insert from the temporary; i.e., finish all the potentially
throwing and self-inspecting InputIterator operations *before* starting to
modify self. But this is slow, so we'd like to skip it when possible.

The old code (D15682) attempted to check that specific iterator operations
were nothrow: it assumed that if the iterator operations didn't throw, then
it was safe to iterate the input range multiple times and therefore it was
safe to use the fast-path non-naive version. This was wrong for two reasons:
(1) the old code checked the wrong operations (e.g. checked noexceptness of `==`,
but the code that ran used `!=`), and (2) the conversion of value_type to char
could still throw, or inspect the contents of self.

The new code is much simpler, although still much more complicated than it
really could be. We'll likely revisit this codepath at some point, but for now
this patch suffices to get it passing all the new regression tests.

The added tests all fail before this patch, and succeed afterward.
See https://quuxplusone.github.io/blog/2021/04/17/pathological-string-appends/

Differential Revision: https://reviews.llvm.org/D98573
The file was modifiedlibcxx/include/filesystem (diff)
The file was removedlibcxx/test/libcxx/iterators/trivial_iterators.pass.cpp
The file was addedlibcxx/test/std/strings/basic.string/string.modifiers/robust_against_adl.pass.cpp
The file was modifiedlibcxx/include/string (diff)
The file was modifiedlibcxx/include/iterator (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp (diff)
The file was removedlibcxx/test/libcxx/strings/iterators.exceptions.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp (diff)
The file was removedlibcxx/test/libcxx/strings/iterators.noexcept.pass.cpp
Commit 036b80fcbbccee8199851158fd349230aa77d75e by arthur.j.odwyer
[libc++] [test] Improve test_exceptions() in each string.modifiers test.

When checking the strong exception guarantee, also check that
iterators haven't been invalidated.

Reviewed as part of https://reviews.llvm.org/D98573
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp (diff)
Commit 0fcb898f10267dc132609eee3730ace4b3b40670 by arthur.j.odwyer
[libc++] [test] Fix a Python warning.

params.py:106: SyntaxWarning: "is" with a literal. Did you mean "=="?
The file was modifiedlibcxx/utils/libcxx/test/params.py (diff)
Commit a786f2badc41459c713668eabe2b0053e4d8132a by leonardchan
[compiler-rt][hwasan] Add definition for Symbolizer::SymbolizeFrame

This is undefined if SANITIZER_SYMBOLIZER_MARKUP is 1, which is the case for
Fuchsia, and will result in a undefined symbol error. This function is needed
by hwasan for online symbolization, but is not needed for us since we do
offline symbolization.

Differential Revision: https://reviews.llvm.org/D99386
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp (diff)
Commit 614de225c92bc3998a83a274e84dfb94ec8a7840 by i
[gcov] Set nounwind and respect module flags metadata "frame-pointer" & "uwtable" for synthesized functions

This applies the D100251 mechanism to the gcov instrumentation pass.

With this patch, `-fno-omit-frame-pointer` in
`clang -fprofile-arcs -O1 -fno-omit-frame-pointer` will be respected for synthesized
`__llvm_gcov_writeout,__llvm_gcov_reset,__llvm_gcov_init` functions: the frame pointer
will be kept (note: on many targets -O1 eliminates the frame pointer by default).

`clang -fno-exceptions -fno-asynchronous-unwind-tables -g -fprofile-arcs` will
produce .debug_frame instead of .eh_frame.

Fix: https://github.com/ClangBuiltLinux/linux/issues/955

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D101129
The file was modifiedllvm/test/Transforms/GCOVProfiling/function-numbering.ll (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp (diff)
The file was addedllvm/test/Transforms/GCOVProfiling/module-flags.ll
Commit b81244fa4ff9188df22847c6e11e050892292002 by i
Add LLVM_ATTRIBUTE_USED to fix problems which could be exposed by aggressive global pointer variable removal

Note to BuryPointer.cpp:GraveYard. 'unused' cannot prevent (1) dead store
elimination and (2) removal of the global pointer variable (D69428) but 'used' can.

Discovered when comparing link maps between HEAD+D69428 and HEAD.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D101217
The file was modifiedllvm/lib/Support/BuryPointer.cpp (diff)
The file was modifiedllvm/lib/Support/Unix/Signals.inc (diff)
Commit e2cd92cb9bc2d71ff6fe0299583e48b38c1c6b97 by craig.topper
[RISCV] Match splatted load to scalar load + splat. Form strided load during isel.

This modifies my previous patch to push the strided load formation
to isel. This gives us opportunity to fold the splat into a .vx
operation first. Using a scalar register and a .vx operation reduces
vector register pressure which can be important for larger LMULs.

If we can't fold the splat into a .vx operation, then it can make
sense to use a strided load to free up the vector arithmetic
ALU to do actual arithmetic rather than tying it up with vmv.v.x.

Reviewed By: khchen

Differential Revision: https://reviews.llvm.org/D101138
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll (diff)
Commit b5403117814a7c39b944839e10492493f2ceb4ac by i
[ADT] Remove StatisticBase and make NoopStatistic empty

In LLVM_ENABLE_STATS=0 builds, `llvm::Statistic` maps to `llvm::NoopStatistic`
but has 3 unused pointers. GlobalOpt considers that the pointers can potentially
retain allocated objects, so GlobalOpt cannot optimize out the `NoopStatistic`
variables (see D69428 for more context), wasting 23KiB for stage 2 clang.

This patch makes `NoopStatistic` empty and thus reclaims the wasted space.  The
clang size is even smaller than applying D69428 (slightly smaller in both .bss and
.text).
```
# This means the D69428 optimization on clang is mostly nullified by this patch.
HEAD+D69428: size(.bss) = 0x0725a8
HEAD+D101211: size(.bss) = 0x072238

# bloaty - HEAD+D69428 vs HEAD+D101211
# With D101211, we also save a lot of string table space (.rodata).
    FILE SIZE        VM SIZE
--------------  --------------
  -0.0%     -32  -0.0%     -24    .eh_frame
  -0.0%    -336  [ = ]       0    .symtab
  -0.0%    -360  [ = ]       0    .strtab
  [ = ]       0  -0.2%    -880    .bss
  -0.0% -2.11Ki  -0.0% -2.11Ki    .rodata
  -0.0% -2.89Ki  -0.0% -2.89Ki    .text
  -0.0% -5.71Ki  -0.0% -5.88Ki    TOTAL
```

Note: LoopFuse is a disabled pass. This patch adds `#if LLVM_ENABLE_STATS` so
`OptimizationRemarkMissed` is skipped in LLVM_ENABLE_STATS==0 builds.  If these
`OptimizationRemarkMissed` are useful and not noisy, we can replace
`llvm::Statistic` with `llvm::TrackingStatistic` in the future.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D101211
The file was modifiedllvm/include/llvm/ADT/Statistic.h (diff)
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp (diff)
Commit 8d718a0bff73af066675a6258c01307937c33cf9 by Lang Hames
[ORC] Fix type name.

Rename JITTargetSymbolFlags to JITSymbolTargetFlags. This matches the convention
used for JITSymbolGenericFlags.
The file was modifiedllvm/include/llvm-c/Orc.h (diff)
Commit c8fc5e3ba942057d6c4cdcd1faeae69a28e7b671 by Lang Hames
[ORC] C API updates.

Adds support for creating custom MaterializationUnits in the C API with the new
LLVMOrcCreateCustomMaterializationUnit function.

Modifies ownership rules for LLVMOrcAbsoluteSymbols to make it consistent with
LLVMOrcCreateCustomMaterializationUnit. This is an ABI breaking change for any
clients of the LLVMOrcAbsoluteSymbols API.

Adds LLVMOrcLLJITGetObjLinkingLayer and LLVMOrcObjectLayerEmit functions to
allow clients to get a reference to an LLJIT instance's linking layer, then
emit an object file using it. This can be used to support construction of
custom materialization units in the common case where those units will
generate an object file that needs to be emitted to complete the
materialization.
The file was modifiedllvm/include/llvm-c/LLJIT.h (diff)
The file was modifiedllvm/include/llvm-c/Orc.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp (diff)
Commit 8740360093b5154504f5e056596119f9566f4b06 by Lang Hames
[ORC] Add unit tests for parts of the Orc and LLJIT C APIs.

Patch by Mats Larsen. Thanks Mats!

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D100506
The file was addedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt (diff)
Commit d3a2038955f325793e0fab76525d4edc67aab43b by llvmgnsyncbot
[gn build] Port 8740360093b5
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn (diff)
Commit 0e8378032597bcaccb948de88e965ad75bfaeb7b by saugustine
Don't fail the shared_ptr test if libc++ has insufficient debug info.

Don't fail the shared_ptr test if libc++ has insufficient debug info.

This addresses https://bugs.llvm.org/show_bug.cgi?id=48937

Differential Revision: https://reviews.llvm.org/D100610
The file was modifiedlibcxx/test/libcxx/gdb/gdb_pretty_printer_test.py (diff)
Commit fe1555607716899745fc53c503193fff1b7bbe15 by saugustine
Support leak sanitizer in libcxx.

Support leak sanitizer in libcxx.

Simple addition for leak checking when running the libcxx testsuite.

Differential Revision: https://reviews.llvm.org/D100775
The file was modifiedlibcxx/test/libcxx/gdb/gdb_pretty_printer_test.py (diff)
The file was modifiedlibcxx/utils/libcxx/test/config.py (diff)
Commit 84d16e2055071abf0c2c22ad13d6f896a75bd38d by roger.ferrer
Implementation for TargetTransformInfo::hasActiveVectorLength()

This patch adds the missing implementation for
TargetTransformInfo::hasActiveVectorLength() without which using
hasActiveVectorLength() causes linker error.

Patch by Vineet Kumar!

Differential Revision: https://reviews.llvm.org/D100941
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp (diff)
Commit caf1294d95785503a1d114c8c167e181fff7068b by baptiste.saleil
[AMDGPU] Experiments show that the GCNRegBankReassign pass significantly impacts
the compilation time and there is no case for which we see any improvement in
performance. This patch removes this pass and its associated test cases from
the tree.

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

Change-Id: I0599169a7609c19a887f8d847a71e664030cc141
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fadd.f64.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8u.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/lshr.v2i16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.3d.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.v2i16.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.udot4.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8s.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/shl.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/fshr.ll (diff)
The file was removedllvm/test/CodeGen/AMDGPU/regbank-reassign-wave64.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/load-unaligned.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/store-local.128.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fma.f64.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/ssubsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.encode.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fmul.f64.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fma.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/store-local.128.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/vector_shuffle.packed.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.g16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fsub.f64.ll (diff)
The file was removedllvm/test/CodeGen/AMDGPU/regbank-reassign-split.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.sdot4.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/load-local.128.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4s.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.mulo.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/store-local.96.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/saddo.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/store-local.96.ll (diff)
The file was removedllvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/ds-sub-offset.ll (diff)
The file was removedllvm/test/CodeGen/AMDGPU/regbank-reassign.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/ctlz.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f64.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/memory_clause.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/load-local.96.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-fold-legalize-dag-increase-insts.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/roundeven.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i8.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/saddsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4u.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fma.f16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/frem.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/idiv-licm.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/idot2.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll (diff)
Commit d7308da4a5aaded897a7e0c06e7e88d81fc64879 by llvmgnsyncbot
[gn build] Port caf1294d9578
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn (diff)
Commit ab0df6c0346e515291a381467527621ab0ccf953 by Alex Lorenz
Revert "[clang][driver] Use the provided arch name for a Darwin target triple"

This reverts commit 6cc62043c8bf4daa27664a2e1674abbe8d0492c6.

This caused a test failure on a M1 mac CI job (https://reviews.llvm.org/D100807#2718006),
I will recommit this with a fix.
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp (diff)
The file was modifiedclang/test/Driver/aarch64-cpus.c (diff)
The file was modifiedclang/test/Driver/darwin-version.c (diff)
The file was modifiedclang/test/Driver/arm64_32-link.c (diff)
The file was modifiedclang/test/Driver/default-toolchain.c (diff)
Commit bdd68357901d2ccdd110cf35746703ac8e46de3c by zoecarver
[libc++][ranges] iterator.concept.sizedsentinel: sized_sentinel_for and disable_sized_sentinel_for.

Based on D100160.

Reviewed By: cjdb, ldionne, Quuxplusone, #libc, miscco

Differential Revision: https://reviews.llvm.org/D100587
The file was modifiedlibcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp (diff)
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istream.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/iterator (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istreambuf.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/include/__iterator/concepts.h (diff)
The file was modifiedlibcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp (diff)
Commit 9b0501abc7b515b740fb5ee929817442dd3029a5 by aeubanks
[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable

These are intended to mimic warnings available in gcc.

-Wunused-but-set-variable is triggered in the case of a variable which
appears on the LHS of an assignment but not otherwise used.

For instance:

  void f() {
    int x;
    x = 0;
  }

-Wunused-but-set-parameter works similarly, but for function parameters
instead of variables.

In C++, they are triggered only for scalar types; otherwise, they are
triggered for all types. This is gcc's behavior.

-Wunused-but-set-parameter is controlled by -Wextra, while
-Wunused-but-set-variable is controlled by -Wunused. This is slightly
different from gcc's behavior, but seems most consistent with clang's
behavior for -Wunused-parameter and -Wunused-variable.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D100581
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/test/CodeGen/builtins-arm.c (diff)
The file was modifiedclang/test/FixIt/fixit.cpp (diff)
The file was modifiedclang/test/CodeGen/X86/x86_32-xsave.c (diff)
The file was modifiedclang/lib/Sema/SemaExpr.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td (diff)
The file was modifiedclang/lib/Sema/SemaStmt.cpp (diff)
The file was addedclang/test/Sema/warn-unused-but-set-variables.c
The file was modifiedclang/test/SemaCXX/goto.cpp (diff)
The file was modifiedclang/test/CodeGen/X86/x86_64-xsave.c (diff)
The file was modifiedclang/test/Sema/vector-gcc-compat.c (diff)
The file was modifiedclang/test/Sema/shift.c (diff)
The file was addedclang/test/Sema/warn-unused-but-set-parameters.c
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp (diff)
The file was addedclang/test/SemaCXX/warn-unused-but-set-variables-cpp.cpp
The file was modifiedclang/test/SemaCXX/shift.cpp (diff)
The file was modifiedclang/test/Misc/warning-wall.c (diff)
The file was addedclang/test/SemaCXX/warn-unused-but-set-parameters-cpp.cpp
The file was modifiedclang/test/CodeGen/builtins-riscv.c (diff)
The file was modifiedclang/test/SemaObjC/foreach.m (diff)
Commit bbddadd46e46261b441bf1132efc3c1fbb73ce17 by Lang Hames
Revert "[ORC] Add unit tests for parts of the Orc and LLJIT C APIs."

This reverts commit 8740360093b5154504f5e056596119f9566f4b06.

This commit caused failures on some builders (see e.g.
https://lab.llvm.org/buildbot/#/builders/5/builds/7071). Reverting while I
investigate.
The file was removedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt (diff)
Commit 5daa135a6fd8a0153e2528b6270bb3d4a45cf73b by llvmgnsyncbot
[gn build] Port bbddadd46e46
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn (diff)
Commit e01c666b136e3f97587b22a2029f31e5c36a0e71 by i
Revert D76519 "[NFC] Refactor how CFI section types are represented in AsmPrinter"

This reverts commit 0ce723cb228bc1d1a0f5718f3862fb836145a333.

D76519 was not quite NFC. If we see a CFISection::Debug function before a
CFISection::EH one (-fexceptions -fno-asynchronous-unwind-tables), we may
incorrectly pick CFISection::Debug and emit a `.cfi_sections .debug_frame`.
We should use .eh_frame instead.

This scenario is untested.
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ARMException.cpp (diff)
Commit b99466eb4525b151508d8f1a054d7a7fb4731c03 by llvm-project
[SimplifyCFG] Preserve metadata when unconditionalizing branches (same target).

When replacing a conditional branch by an unconditional one because the targets are identical, transfer the metadata to the new branch instruction.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D101226
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
The file was addedllvm/test/Transforms/SimplifyCFG/commondest-loopid.ll
Commit bdc4ec04d42a0d9c7db9842754487e97d9778639 by hubert.reinterpretcast
[AIX] Avoid use of mtim.tv_nsec member of stat structure on AIX

The value observed for the `mtim.tv_nsec` member is erroneous in some
AIX environments. Avoid using this member by forcing
`HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC` to `0`.

This resolves "mtime changed" errors such as the one
http://lab.llvm.org:8014/#/builders/126/builds/330/steps/5/logs/FAIL__Clang__test_c
has.

Reviewed By: daltenty, jsji

Differential Revision: https://reviews.llvm.org/D101323
The file was modifiedllvm/cmake/config-ix.cmake (diff)
Commit 254e289d45337ec1da930ef93b4b1dd92f791153 by antiagainst
Revert "[ADT] Remove StatisticBase and make NoopStatistic empty"

This reverts commit b5403117814a7c39b944839e10492493f2ceb4ac
because it breaks MLIR build:

https://buildkite.com/mlir/mlir-core/builds/13299#ad0f8901-dfa4-43cf-81b8-7940e2c6c15b
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp (diff)
The file was modifiedllvm/include/llvm/ADT/Statistic.h (diff)
Commit 262a72f50f1887591558ce0f521a5f7d3a17e2c2 by craig.topper
[RISCV] Use stack slot to handle SPLAT_VECTOR_PARTS on RV32.

Reduces the amount of vector ALU operations and reduces vector
register pressure.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vor-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-int-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vshl-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmax-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsplats-i64.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsrl-sdnode-rv32.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsub-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmaxu-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vadd-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsra-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmin-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vminu-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vrsub-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vand-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/setcc-integer-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vxor-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vselect-int-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv32.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv32.ll (diff)
Commit a41f076ef1d611fcd255514d0c19cb06375e49b2 by i
[test] Fix tools/gold/X86/weak.ll after D94202

The order regressed after D94202: after `a b`, when adding `a c`, we may reorder
`a` to the right of `b`, causing the final order to be `b a c`.
The file was modifiedllvm/test/tools/gold/X86/weak.ll (diff)
The file was modifiedllvm/test/tools/gold/X86/Inputs/weak.ll (diff)
Commit fede99d386ec9e7bab2762aa16cb10c0513ae464 by gh
[NVPTX] Enable lowering of atomics on local memory

LLVM does not have valid assembly backends for atomicrmw on local memory. However, as this memory is thread local, we should be able to lower this to the relevant load/store.

Differential Revision: https://reviews.llvm.org/D98650
The file was addedllvm/lib/Target/NVPTX/NVPTXAtomicLower.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerAtomic.cpp (diff)
The file was addedllvm/test/CodeGen/NVPTX/atomic-lower-local.ll
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp (diff)
The file was addedllvm/lib/Target/NVPTX/NVPTXAtomicLower.h
The file was modifiedllvm/include/llvm/Transforms/Scalar/LowerAtomic.h (diff)
The file was modifiedllvm/lib/Target/NVPTX/CMakeLists.txt (diff)
Commit 8ede96493c7ce3578f8debd51175bb45a624c2ba by gh
Revert "[NVPTX] Enable lowering of atomics on local memory"

This reverts commit fede99d386ec9e7bab2762aa16cb10c0513ae464.
The file was removedllvm/lib/Target/NVPTX/NVPTXAtomicLower.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp (diff)
The file was removedllvm/test/CodeGen/NVPTX/atomic-lower-local.ll
The file was modifiedllvm/lib/Target/NVPTX/CMakeLists.txt (diff)
The file was modifiedllvm/include/llvm/Transforms/Scalar/LowerAtomic.h (diff)
The file was removedllvm/lib/Target/NVPTX/NVPTXAtomicLower.h
The file was modifiedllvm/lib/Transforms/Scalar/LowerAtomic.cpp (diff)
Commit 18839be9c5c8b9f882dd241769784035b082d4e1 by i
[ADT] Remove StatisticBase and make NoopStatistic empty

In LLVM_ENABLE_STATS=0 builds, `llvm::Statistic` maps to `llvm::NoopStatistic`
but has 3 mostly unused pointers. GlobalOpt considers that the pointers can
potentially retain allocated objects, so GlobalOpt cannot optimize out the
`NoopStatistic` variables (see D69428 for more context), wasting 23KiB for stage
2 clang.

This patch makes `NoopStatistic` empty and thus reclaims the wasted space.  The
clang size is even smaller than applying D69428 (slightly smaller in both .bss and
.text).
```
# This means the D69428 optimization on clang is mostly nullified by this patch.
HEAD+D69428: size(.bss) = 0x0725a8
HEAD+D101211: size(.bss) = 0x072238

# bloaty - HEAD+D69428 vs HEAD+D101211
# With D101211, we also save a lot of string table space (.rodata).
    FILE SIZE        VM SIZE
--------------  --------------
  -0.0%     -32  -0.0%     -24    .eh_frame
  -0.0%    -336  [ = ]       0    .symtab
  -0.0%    -360  [ = ]       0    .strtab
  [ = ]       0  -0.2%    -880    .bss
  -0.0% -2.11Ki  -0.0% -2.11Ki    .rodata
  -0.0% -2.89Ki  -0.0% -2.89Ki    .text
  -0.0% -5.71Ki  -0.0% -5.88Ki    TOTAL
```

Note: LoopFuse is a disabled pass. For now this patch adds
`#if LLVM_ENABLE_STATS` so `OptimizationRemarkMissed` is skipped in
LLVM_ENABLE_STATS==0 builds.  If these `OptimizationRemarkMissed` are useful in
LLVM_ENABLE_STATS==0 builds, we can replace `llvm::Statistic` with
`llvm::TrackingStatistic`, or use a different abstraction to keep track of the strings.

Similarly, skip the code in `mlir/lib/Pass/PassStatistics.cpp` which
calls `getName`/`getDesc`/`getValue`.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D101211
The file was modifiedmlir/include/mlir/Pass/Pass.h (diff)
The file was modifiedllvm/include/llvm/ADT/Statistic.h (diff)
The file was modifiedmlir/test/Pass/pipeline-stats.mlir (diff)
The file was modifiedmlir/lib/Pass/PassStatistics.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp (diff)
Commit 30bb5be38908b0006ed94124515e43774ee37915 by hoy
[CSSPGO] Unblock optimizations with pseudo probe instrumentation part 2.

As a follow-up to D95982, this patch continues unblocking optimizations that are blocked by pseudu probe instrumention.

The optimizations unblocked are:
- In-block load propagation.
- In-block dead store elimination
- Memory copy optimization that turns stores to consecutive memories into a memset.

These optimizations are local to a block, so they shouldn't affect the profile quality.

Reviewed By: wmi

Differential Revision: https://reviews.llvm.org/D100075
The file was modifiedllvm/lib/Analysis/Loads.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/Sink.cpp (diff)
The file was addedllvm/test/Transforms/SampleProfile/pseudo-probe-memset.ll
The file was modifiedllvm/test/Transforms/SampleProfile/pseudo-probe-instcombine.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp (diff)
Commit a2a3ca8d97962d90443ee758e47877e15d7e3832 by yhs
BPF: emit debuginfo for Function of DeclRefExpr if requested

Commit e3d8ee35e4ad ("reland "[DebugInfo] Support to emit debugInfo
for extern variables"") added support to emit debugInfo for
extern variables if requested by the target. Currently, only
BPF target enables this feature by default.

As BPF ecosystem grows, callback function started to get
support, e.g., recently bpf_for_each_map_elem() is introduced
(https://lwn.net/Articles/846504/) with a callback function as an
argument. In the future we may have something like below as
a demonstration of use case :
    extern int do_work(int);
    long bpf_helper(void *callback_fn, void *callback_ctx, ...);
    long prog_main() {
        struct { ... } ctx = { ... };
        return bpf_helper(&do_work, &ctx, ...);
    }
Basically bpf helper may have a callback function and the
callback function is defined in another file or in the kernel.
In this case, we would like to know the debuginfo types for
do_work(), so the verifier can proper verify the safety of
bpf_helper() call.

For the following example,
    extern int do_work(int);
    long bpf_helper(void *callback_fn);
    long prog() {
        return bpf_helper(&do_work);
    }

Currently, there is no debuginfo generated for extern function do_work().
In the IR, we have,
    ...
    define dso_local i64 @prog() local_unnamed_addr #0 !dbg !7 {
    entry:
      %call = tail call i64 @bpf_helper(i8* bitcast (i32 (i32)* @do_work to i8*)) #2, !dbg !11
      ret i64 %call, !dbg !12
    }
    ...
    declare dso_local i32 @do_work(i32) #1
    ...

This patch added support for the above callback function use case, and
the generated IR looks like below:
    ...
    declare !dbg !17 dso_local i32 @do_work(i32) #1
    ...
    !17 = !DISubprogram(name: "do_work", scope: !1, file: !1, line: 1, type: !18, flags: DIFlagPrototyped, spFlags: DISPFlagOptimized, retainedNodes: !2)
    !18 = !DISubroutineType(types: !19)
    !19 = !{!20, !20}
    !20 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)

The TargetInfo.allowDebugInfoForExternalVar is renamed to
TargetInfo.allowDebugInfoForExternalRef as now it guards
both extern variable and extern function debuginfo generation.

Differential Revision: https://reviews.llvm.org/D100567
The file was modifiedclang/lib/CodeGen/CGExpr.cpp (diff)
The file was modifiedclang/include/clang/Basic/TargetInfo.h (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/lib/Basic/Targets/BPF.h (diff)
The file was addedclang/test/CodeGen/debug-info-extern-callback.c
Commit 2509f9fbad0d37e3e5fea934c0ae7af3877ba4ae by Alex Lorenz
[clang] Don't crash when loading invalid VFS for the module dep collector

The VFS is null when it's invalid so return early in collectVFSFromYAML.
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp (diff)
The file was addedclang/test/VFS/broken-vfs-module-dep.c
Commit 7aa3cad46ac3258f9b069fbdaad8b73e280ebfbb by gh
[NVPTX] Enable lowering of atomics on local memory

LLVM does not have valid assembly backends for atomicrmw on local memory. However, as this memory is thread local, we should be able to lower this to the relevant load/store.

Differential Revision: https://reviews.llvm.org/D98650
The file was addedllvm/lib/Target/NVPTX/NVPTXAtomicLower.h
The file was addedllvm/lib/Target/NVPTX/NVPTXAtomicLower.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/Scalar/LowerAtomic.h (diff)
The file was addedllvm/test/CodeGen/NVPTX/atomic-lower-local.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerAtomic.cpp (diff)
The file was modifiedllvm/lib/Target/NVPTX/CMakeLists.txt (diff)
Commit ca27260701e237a4470cc00f0791b93e78e5fed8 by gh
[MLIR] Add SCF.if Condition Canonicalizations

Add two canoncalizations for scf.if.
  1) A canonicalization that allows users of a condition within an if to assume the condition
     is true if in the true region, etc.
  2) A canonicalization that removes yielded statements that are equivalent to the condition
     or its negation

Differential Revision: https://reviews.llvm.org/D101012
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp (diff)
The file was modifiedmlir/test/Transforms/canonicalize.mlir (diff)
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir (diff)
Commit c6d5e6bc6186b03089a67ad06f5e052aed72e761 by llvmgnsyncbot
[gn build] Port 7aa3cad46ac3
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/NVPTX/BUILD.gn (diff)
Commit fd1ff5ee0388af9eb373d903a1644e6cd2c96d9d by aeubanks
[Inliner] Make ModuleInlinerWrapperPass return PreservedAnalyses::all()

The ModulePassManager should already have taken care of all analysis
invalidation. Without this change, upcoming changes will cause more
invalidation than necessary.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D101320
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp (diff)
Commit bba7338b8f5df15a444aad8b3026aec869767b2b by yhs
BPF: generate BTF info for LD_imm64 loaded function pointer

For an example like below,
    extern int do_work(int);
    long bpf_helper(void *callback_fn);
    long prog() {
        return bpf_helper(&do_work);
    }

The final generated codes look like:
    r1 = do_work ll
    call bpf_helper
    exit
where we have debuginfo for do_work() extern function:
    !17 = !DISubprogram(name: "do_work", ...)

This patch implemented to add additional checking
in processing LD_imm64 operands for possible function pointers
so BTF for bpf function do_work() can be properly generated.
The original llvm function name processReloc() is renamed to
processGlobalValue() to better reflect what the function is doing.

Differential Revision: https://reviews.llvm.org/D100568
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp (diff)
The file was modifiedllvm/lib/Target/BPF/BTFDebug.h (diff)
The file was addedllvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll
Commit 23c9e8bc25795b69e16d39b674c19c79a2bb107b by ajcbik
[mlir][tensors] Introduce attribute interface/attribute for tensor encoding

The new "encoding" field in tensor types so far had no meaning. This revision introduces:

1. an encoding attribute interface in IR: for verification between tensors and encodings in general
2. an attribute in Tensor dialect; #tensor.sparse<dict> + concrete sparse tensors API

Active discussion:
https://llvm.discourse.group/t/rfc-introduce-a-sparse-tensor-type-to-core-mlir/2944/

Reviewed By: silvas, penpornk, bixia

Differential Revision: https://reviews.llvm.org/D101008
The file was modifiedmlir/lib/Parser/TypeParser.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/CMakeLists.txt (diff)
The file was addedmlir/test/Dialect/Tensor/invalid_sparse_tensor.mlir
The file was modifiedmlir/lib/IR/CMakeLists.txt (diff)
The file was addedmlir/test/Dialect/Tensor/valid_sparse.mlir
The file was addedmlir/include/mlir/Dialect/Tensor/IR/TensorAttrDefs.td
The file was addedmlir/include/mlir/IR/TensorEncoding.td
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorOps.td (diff)
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorDialect.cpp (diff)
The file was addedmlir/include/mlir/IR/TensorEncoding.h
The file was modifiedmlir/include/mlir/IR/CMakeLists.txt (diff)
The file was modifiedmlir/lib/IR/BuiltinTypes.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/Tensor.h (diff)
The file was modifiedmlir/lib/Dialect/Tensor/IR/CMakeLists.txt (diff)
The file was addedmlir/lib/IR/TensorEncoding.cpp
Commit 6d78c38986fa0974ea0b37e66f8cb89b256f4e0d by rnk
Move Sema's key function around and add more comments

The previous comment was pretty obscure.
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
Commit 93604305bb72201641f31cc50a6e7b2fe65d3af3 by Pushpinder.Singh
Revert "Reapply  "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed""

This reverts commit 15be0c41d2e59fb4599c9aebf21ede498c61f51d.
The file was modifiedclang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was removedclang/test/Driver/amdgpu-openmp-system-arch.c
The file was removedclang/tools/amdgpu-arch/CMakeLists.txt
The file was removedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx908_gfx908
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp (diff)
The file was modifiedclang/tools/CMakeLists.txt (diff)
The file was removedclang/tools/amdgpu-arch/AMDGPUArch.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td (diff)
The file was removedclang/test/Driver/amdgpu-openmp-system-arch-fail.c
The file was removedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx906
The file was removedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_fail
The file was removedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_different
Commit 016092d786f226f403fce5b5d0888dfa939b3f21 by pengfei.wang
Reapply "[X86][AMX] Try to hoist AMX shapes' def"

We request no intersections between AMX instructions and their shapes'
def when we insert ldtilecfg. However, this is not always ture resulting
from not only users don't follow AMX API model, but also optimizations.

This patch adds a mechanism that tries to hoist AMX shapes' def as well.
It only hoists shapes inside a BB, we can improve it for cases across
BBs in future. Currently, it only hoists shapes of which all sources' def
above the first AMX instruction. We can improve for the case that only
source that moves an immediate value to a register below AMX instruction.

Reviewed By: xiangzhangllvm

Differential Revision: https://reviews.llvm.org/D101067
The file was modifiedllvm/lib/Target/X86/X86PreTileConfig.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-sched.ll (diff)
Commit d07c90e39550e6b708d9bd262697a4b92bae860a by riddleriver
[mlir] Refactor the forward dataflow propagation in SCCP into a generic framework

This revision takes the forward value propagation engine in SCCP and refactors it into a more generalized forward dataflow analysis framework. This framework allows for propagating information about values across the various control flow constructs in MLIR, and removes the need for users to reinvent the traversal (often not as completely). There are a few aspects of the traversal, that were conservative for SCCP, that should be relaxed to support the needs of different value analyses. To keep this revision simple, these conservative behaviors will be left in (Note that this won't produce an incorrect result, but may produce more conservative results than necessary in certain edge cases. e.g. region entry arguments for non-region branch interface operations). The framework also only focuses on computing lattices for values, given the SCCP origins, but this is something to relax as needed in the future.

Given that this logic is already in SCCP, a majority of this commit is NFC. The more interesting parts are the interface glue that clients interact with.

Differential Revision: https://reviews.llvm.org/D100915
The file was modifiedmlir/lib/Analysis/CMakeLists.txt (diff)
The file was addedmlir/lib/Analysis/DataFlowAnalysis.cpp
The file was addedmlir/docs/Tutorials/DataFlowAnalysis.md
The file was addedmlir/include/mlir/Analysis/DataFlowAnalysis.h
The file was modifiedmlir/lib/Transforms/SCCP.cpp (diff)
Commit 3c47f5f46e9f0b3fcd5550428e9b51a9d5a87392 by Vitaly Buka
[asan][NFC] Fix "not used" warning in test
The file was modifiedcompiler-rt/lib/asan/tests/asan_interface_test.cpp (diff)
Commit d122d80b3d1c3ffdfbf6a2168f3d61fa4337facc by Lang Hames
Reapply "[ORC] Add unit tests for parts of the ..." with fixes and improvements.

This reapplies 8740360093b, which was reverted in bbddadd46e4 due to buildbot
errors.

This version checks that a JIT instance can be safely constructed, skipping
tests if it can not be. To enable this it introduces new C API to retrieve and
set the target triple for a JITTargetMachineBuilder.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt (diff)
The file was addedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
The file was modifiedllvm/include/llvm-c/LLJIT.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp (diff)
The file was modifiedllvm/include/llvm-c/Orc.h (diff)
Commit 1798f2289aaaf07853857d5360d79a2bfb0fd054 by Lang Hames
[ORC] Initialize the native asm printer and parser in Orc C-API unit test.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit e5000eef81354aa755caa25b317e205364f444e0 by czhengsz
[XCOFF] make .file directive have directory info

The .file directive is changed to only have basename in D36018 for
ELF.

But on AIX, we require the .file directive to also contain the
directory info. This aligns with other AIX compiler like XLC and is
required by some AIX tool like DBX.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D99785
The file was modifiedllvm/lib/MC/MCAsmInfoXCOFF.cpp (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-filename-absolute-path.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-filename-relative-path.ll
The file was modifiedllvm/include/llvm/MC/MCAsmInfo.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (diff)
Commit f5ee8135ff6976511a6a99469befeb2cdc65f0dc by jrtc27
[ORC] Fix build after 1798f2289aaa
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit 891d1e160bb46c556d1f15be40f92f48e9dd0ce4 by llvmgnsyncbot
[gn build] Port d122d80b3d1c
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn (diff)
Commit 0bef55738e13c27203c22fcc56f76ebc0e8cd7ca by Lang Hames
[ORC] Add missing LLVMConsumeError calls.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit 7fe11894e27f3ccba6566794b9f20c0a448a345a by Lang Hames
[ORC] Record target triple in C API testcase, print it on failure.

This will simplify identification of unsupported triples when we see builder
failures in this test case.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit d67f80a24243bdc9a194d194ecedd254a51e9235 by Lang Hames
[ORC] Fix more missing LLVMConsumeError calls.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit 5a26345fe22516ebe1a6278addb48c01f44ee137 by AlokKumar.Sharma
[DebugInfo][llvm-dwarfdump] Fix printing of Unit header with DW_UT_partial type

llvm-dwarfdump crashed for Unit header with DW_UT_partial type.
-------------
llvm-dwarfdump: /tmp/llvm/include/llvm/ADT/Optional.h:197: T& llvm::optional_detail::OptionalStorage<T, true>::getValue() &
[with T = long unsigned int]: Assertion `hasVal' failed.
PLEASE submit a bug report to the technical support section of https://developer.amd.com/amd-aocc and include the crash backtrace.
Stack dump:
0.      Program arguments: llvm-dwarfdump -v /tmp/test/DebugInfo/X86/Output/dwarfdump-he
ader.s.tmp.o
#0 0x00007f37d5ad8838 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /tmp/llvm/lib/Support/Unix/Signals.inc:565:0
#1 0x00007f37d5ad88ef PrintStackTraceSignalHandler(void*) /tmp/llvm/lib/Support/Unix/Signals.inc:632:0
#2 0x00007f37d5ad65bd llvm::sys::RunSignalHandlers() /tmp/llvm/lib/Support/Signals.cpp:71:0
#3 0x00007f37d5ad81b9 SignalHandler(int) /tmp/llvm/lib/Support/Unix/Signals.inc:407:0
#4 0x00007f37d4c26040 (/lib/x86_64-linux-gnu/libc.so.6+0x3f040)
#5 0x00007f37d4c25fb7 raise /build/glibc-S9d2JN/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#6 0x00007f37d4c27921 abort /build/glibc-S9d2JN/glibc-2.27/stdlib/abort.c:81:0
#7 0x00007f37d4c1748a __assert_fail_base /build/glibc-S9d2JN/glibc-2.27/assert/assert.c:89:0
#8 0x00007f37d4c17502 (/lib/x86_64-linux-gnu/libc.so.6+0x30502)
#9 0x00007f37d7576b81 llvm::optional_detail::OptionalStorage<unsigned long, true>::getValue() & /tmp/llvm/include/llvm/ADT/Optional.h:198:0
#10 0x00007f37d75726ac llvm::Optional<unsigned long>::operator*() && /tmp/llvm/include/llvm/ADT/Optional.h:309:0
#11 0x00007f37d7582968 llvm::DWARFCompileUnit::dump(llvm::raw_ostream&, llvm::DIDumpOptions) /tmp/llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp:30:0
--------------

Patch by: @jini.susan

Reviewed By: @probinson

Differential Revision: https://reviews.llvm.org/D101255
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-header.s (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp (diff)
Commit f2a585e6d392f4c8587c1dac4d776037d4b588c5 by Vitaly Buka
[NFC] Fix "not used" warning
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp (diff)
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp (diff)
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (diff)
Commit b4537c3f51bc6c011ddd9c10b80043ac4ce16a01 by phosek
[Driver] Push multiarch path setup to individual drivers

Different platforms use different rules for multiarch triples so
it's difficult to provide a single method for all platforms. We
instead move the getMultiarchTriple to the ToolChain class and let
individual platforms override it and provide their custom logic.

Differential Revision: https://reviews.llvm.org/D101194
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.h (diff)
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake (diff)
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.h (diff)
The file was modifiedclang/include/clang/Driver/ToolChain.h (diff)
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp (diff)
The file was modifiedlibcxx/utils/ci/run-buildbot (diff)
The file was modifiedclang/lib/Driver/ToolChain.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp (diff)
The file was modifiedclang/lib/Driver/Driver.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h (diff)
Commit fc616975bc2749b359948fce25ed2552853c801f by Lang Hames
[ORC] Remove unused headers in C API test.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit a702fa2a04221a3b26abd7a9ef3d908f351a6eb2 by Lang Hames
[ORC] Make LLVMOrcLLJITBuilderSetJITTargetMachineBuilder consume as advertised.

This should fix some of the memory leaks seen in the ORC C API test case.
The file was modifiedllvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp (diff)
The file was modifiedllvm/include/llvm-c/Orc.h (diff)
Commit 6a2d41453183a2011797ce1f0c6fa3635035d174 by Lang Hames
[ORC] Disable Orc C API test for armv8l targets.

The https://lab.llvm.org/buildbot/#/builders/107 builder is failing on this
testcase, but doesn't produce a helpful error message yet. Disabling for now
until I have time to dig in further.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp (diff)
Commit e4c606acaf11d12f511aad4384d57b8e04d8ac1c by daniil.fukalov
[TTI] NFC: Change getScalarizationOverhead and getOperandsScalarizationOverhead to return InstructionCost.

This patch migrates the TTI cost interfaces to return an InstructionCost.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D101283
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h (diff)
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h (diff)
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h (diff)
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h (diff)
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h (diff)
Commit 51495fd2855cf05d1f0ebf7aff96a25a8ebb5d40 by Lang Hames
[ORC] Temporarily remove the ORC C API test.

This should get the builders green again until I have time to look into the
outstanding failures.
The file was removedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt (diff)
Commit 889fcb2f74c380d7ff93a0bf8d3eb90d4408f290 by llvmgnsyncbot
[gn build] Port 51495fd2855c
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn (diff)
Commit 33f04e485c7d95626e12aa522b09cc81109fc6ab by mikael.holmen
Only ignore -Wdeprecated-copy if the used compiler supports the warning

This is needed after
  https://reviews.llvm.org/rG9658d045926545e62cc3f963fe611d7c5d0c9d98
which introduced code that at least didn't compile clean with clang 8.

Differential Revision: https://reviews.llvm.org/D101288
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock.h (diff)
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h (diff)
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h (diff)
Commit 3a3fbbe21720839e8ad9f7eb70db7b0b7cda1c4f by phosek
[Fuchsia] Use correct target triple for ARM

The Debian multiarch triple is arm-linux-gnueabihf, but the target
is armv7-linux-gnueabihf because some builtins require armv7.
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake (diff)
Commit b003ebd603c9b16ad65527f89c1a9898598ce6ff by frgossen
[MLIR][Linalg] Generalize splat constant folding

Splat constant folding was limited to `std.constant` operations. Instead, use
the constant matcher and apply splat constant folding to any constant-like
operation that holds a splat attribute.

Differential Revision: https://reviews.llvm.org/D101301
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp (diff)
Commit 17139b2b21a080c8584fbfe059e8adf85fd26c07 by marek.kurdej+llvm.org
[clang-format] Reformat. NFC.
The file was modifiedclang/lib/Format/Format.cpp (diff)
Commit 3feb84a36f5128dd0f6e9c65314609a9ce4372bc by marek.kurdej+llvm.org
[clang-format] Merge SpacesInAngles tests. NFC.
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
Commit acadf9613319c962e02977dd9eb69ba62ca8f965 by david.sherwood
[NFC][SVE] Add tests for inserting subvectors into illegal scalable vectors

A previous commit fixed some issues with inserting subvectors into
illegal scalable vectors:

0035decae7ab9ab1c988fdcede46598540afd1a0

I've created a patch that simply adds some of those same tests for SVE.

Differential Revision: https://reviews.llvm.org/D100641
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-vector.ll (diff)
Commit d6c6db2feaab42c8132d584b547c18e443ba7f96 by yuanke.luo
[X86][AMX] Add description for AMX new interface.

Differential Revision: https://reviews.llvm.org/D101059
The file was modifiedclang/lib/Headers/amxintrin.h (diff)
Commit 0713c82b13ad855416be6ee79b646cbe45bda8d6 by petar.avramovic
[GlobalISel]: Add a getConstantIntVRegVal utility

Returns ConstantInt from G_CONSTANT instruction given its def register.

Differential Revision: https://reviews.llvm.org/D99733
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp (diff)
Commit ebe408ad8003c946ef871b955ab18e64e82697cb by petar.avramovic
[MIPatternMatch]: Add ICstRegMatch

Matches G_CONSTANT and returns its def register.

Differential Revision: https://reviews.llvm.org/D99734
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h (diff)
Commit 39662abf720fc195b549246f32719d313f05a67f by petar.avramovic
[MIPatternMatch]: Add mi_match for MachineInstr

This utility allows more efficient start of pattern match.
Often MachineInstr(MI) is available and instead of using
mi_match(MI.getOperand(0).getReg(), MRI, ...) followed by
MRI.getVRegDef(Reg) that gives back MI we now use
mi_match(MI, MRI, ...).

Differential Revision: https://reviews.llvm.org/D99735
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp (diff)
Commit 4c6eb3886c50ac11d23251625bd12e79cd56a1dd by petar.avramovic
[MIPatternMatch]: Add matchers for binary instructions

Add matchers that support commutative and non-commutative binary opcodes.

Differential Revision: https://reviews.llvm.org/D99736
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h (diff)
Commit 646b007d1128143ecbe1fee28d81b613cbbe031e by dave
[llvm] Unbreak no-asserts testing after 18839be9c5c8b9f882dd241769784035b082d4e1
The file was modifiedllvm/test/Transforms/LoopFusion/diagnostics_missed.ll (diff)
The file was modifiedllvm/test/Transforms/LoopFusion/diagnostics_analysis.ll (diff)
The file was modifiedllvm/test/Transforms/LoopFusion/pr48060.ll (diff)
Commit 4a9bc59867b64a24ff628c5a7ab2ca5e727dd9c1 by petar.avramovic
AMDGPU/GlobalISel: Add integer med3 combines

Add signed and unsigned integer version of med3 combine.
Source pattern is min(max(Val, K0), K1) or max(min(Val, K1), K0)
where K0 and K1 are constants and K0 <= K1. Destination is med3
that corresponds to signedness of min/max in source.

Differential Revision: https://reviews.llvm.org/D90050
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCombine.td (diff)
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-umed3.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/umed3.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/smed3.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td (diff)
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-smed3.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp (diff)
Commit 37bc1dc9877fc480493c85c6d02709b3015bb5e8 by sven.vanhaastregt
[NFC] Workaround MSVC2019 32-bit compiler crash

As reported on D100492, this restructuring should stop the internal
compiler error from happening.

Fixes PR50128.
The file was modifiedclang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp (diff)
Commit 7f98209da6349891b7a74eeadace34d38e7aaadc by marek.kurdej+llvm.org
[libc++] Fix set-but-not-used warning. NFC.
The file was modifiedlibcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp (diff)
Commit fb7be0d912cbcba68803456fbde3fd311b3922ed by petar.avramovic
AMDGPU/GlobalISel: Remove redundant G_FCANONICALIZE

Add basic version of isCanonicalized for global-isel. Copied from sdag.
Add post legalizer combine that deletes G_FCANONICALIZE when its input
is already Canonicalized.

Differential Revision: https://reviews.llvm.org/D96605
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-fcanonicalize.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCombine.td (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp (diff)
Commit b845217b1dadc3e30c13720be1dfacd17ea3cbae by protze
[OpenMP][libomptarget] Separate lit tests for different offloading targets (1/2)

This patch creates a separate test directory for each offloading target to be
tested. This allows to test multiple architectures in one configuration, while
still see all failing tests separately. The lit test names include the target
triple, so that it will be easier to spot the failing target.

This patch also allows to mark expected failing tests based on the
target-triple, as the currently used triple is added to the lit "features":
```
// XFAIL: nvptx64-nvidia-cuda
```

Differential Revision: https://reviews.llvm.org/D101315
The file was modifiedopenmp/libomptarget/test/lit.cfg (diff)
The file was modifiedopenmp/libomptarget/test/lit.site.cfg.in (diff)
The file was modifiedopenmp/libomptarget/test/CMakeLists.txt (diff)
Commit 4b13b7581db59adbc0ee4bbf269f3eda96fc9bd7 by pifon
[mlir] Add a pass to tile Linalg ops using `linalg.tiled_loop`.

Differential Revision: https://reviews.llvm.org/D101084
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir (diff)
Commit 4581bf31bb8333dc1372959f7d650ed940eab710 by kadircet
[clangd] Dont index deeply nested symbols

This is fix for some timeouts and OOM problems faced while indexing an
auto-generated file with thousands of nested lambdas.

Differential Revision: https://reviews.llvm.org/D101066
The file was modifiedclang-tools-extra/clangd/index/IndexAction.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/ASTTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/AST.cpp (diff)
The file was modifiedclang-tools-extra/clangd/AST.h (diff)
The file was modifiedclang-tools-extra/clangd/unittests/IndexActionTests.cpp (diff)
Commit 59ad4e0f01a8402016a690b3915bdd083285561e by Pushpinder.Singh
Reapply  "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"

This reverts commit 93604305bb72201641f31cc50a6e7b2fe65d3af3.
The file was addedclang/tools/amdgpu-arch/CMakeLists.txt
The file was modifiedclang/tools/CMakeLists.txt (diff)
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_fail
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was addedclang/tools/amdgpu-arch/AMDGPUArch.cpp
The file was addedclang/test/Driver/amdgpu-openmp-system-arch.c
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h (diff)
The file was addedclang/test/Driver/amdgpu-openmp-system-arch-fail.c
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td (diff)
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx908_gfx908
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_different
The file was modifiedclang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp (diff)
The file was addedclang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx906
Commit efd254b63621de9ce750eddf9e8135154099d261 by dvyukov
tsan: fix deadlock in pthread_atfork callbacks

We take report/thread_registry locks around fork.
This means we cannot report any bugs in atfork handlers.
We resolved this by enabling per-thread ignores around fork.
This resolved some of the cases, but not all.
The added test triggers a race report from a signal handler
called from atfork callback, we reset per-thread ignores
around signal handlers, so we tried to report it and deadlocked.
But there are more cases: a signal handler can be called
synchronously if it's sent to itself. Or any other report
types would cause deadlocks as well: mutex misuse,
signal handler spoiling errno, etc.
Disable all reports for the duration of fork with
thr->suppress_reports and don't re-enable them around
signal handlers.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D101154
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp (diff)
The file was addedcompiler-rt/test/tsan/pthread_atfork_deadlock3.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp (diff)
Commit f818ec9dd173bfacd0ee8b403146c26e17271a46 by zarko
[AIX] Allow safe for 32bit P9 VSX extract and insert pattern matches

In https://reviews.llvm.org/D92789 PPC64 checks were added that disallowed most
VSX pattern matching.  We enable some safe ones for 32bit in this patch.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D97503
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-vec_extract_p9.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-p9-insert-extract.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vec-bswap.ll (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-p9-xxinsertw-xxextractuw.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-vec_insert_elt.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-vec_extract_p9_2.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-insert-extract.ll
Commit 160e729cf0011da9eacea60cb325a2b506dc7b39 by flo
[VPlan] Use recursive traversal iterator in VPSlotTracker.

This patch simplifies VPSlotTracker by using the recursive traversal
iterator to traverse all blocks in a VPlan in reverse post-order when
numbering VPValues in a plan.

This depends on a fix to RPOT (D100169). It also extends the traversal
unit tests to check RPOT.

Reviewed By: a.elovikov

Differential Revision: https://reviews.llvm.org/D100176
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h (diff)
Commit 6a92c19f3bbc47827b8844a2b527f6c6fba63afd by anastasia.stulova
[C++4OpenCL] Add diagnostics for OpenCL types in templates.

Refactored diagnostics for OpenCL types to allow their
reuse for templates.

Patch by olestrohm (Ole Strohm)!

Differential Revision: https://reviews.llvm.org/D100860
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/test/SemaOpenCL/event_t.cl (diff)
The file was modifiedclang/test/SemaOpenCL/clk_event_t.cl (diff)
The file was modifiedclang/test/SemaOpenCL/sampler_t.cl (diff)
The file was addedclang/test/SemaOpenCLCXX/template-opencl-types.clcpp
Commit 2b6e0c90f981bc3f18c261390c4de4113be378fb by nicholas.guy
[AArch64] Enable runtime unrolling for in-order sched models

Differential Revision: https://reviews.llvm.org/D97947
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (diff)
The file was modifiedllvm/test/Transforms/LoopUnroll/AArch64/runtime-loop.ll (diff)
The file was addedllvm/test/Transforms/LoopUnroll/AArch64/runtime-unroll-generic.ll
Commit e808289fe6432c044567a9b3b6999089eb8d1e2b by spatel
[IndVars] avoid crash in LFTR when assuming an add recurrence

The test is a crasher reduced from:
https://llvm.org/PR49993

linearFunctionTestReplace() assumes that we have an add recurrence,
so check for that as a condition of matching a loop counter.

Differential Revision: https://reviews.llvm.org/D101291
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp (diff)
The file was modifiedllvm/test/Transforms/IndVarSimplify/lftr.ll (diff)
Commit cb96d802d4d735cb0617788b636602410c7a15b1 by flo
[LV] Hoist code to get vector loop latch (NFC).

Address suggestion from D99294.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
Commit 6a3e1b3531c08db59e2864b3c46a2e4303505f8e by petar.avramovic
AMDGPU/GlobalISel: Add test for buffer_load with negative offset

Pre-commit test for D91336.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.mir (diff)
Commit 8110fcc8fc56cb5d2fc0cbab882ddfdae2536201 by petar.avramovic
AMDGPU/GlobalISel: Fix negative offset folding for buffer_load

Buffer_load does unsigned offset calculations. Don't fold
operands of 32-bit add that are likely to cause unsigned add
overflow (common case is when one of the operands is negative).

Differential Revision: https://reviews.llvm.org/D91336
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.mir (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp (diff)
Commit 2b9b999d4d35d02170dc12a48d0c4d0a3ad22739 by frgossen
[MLIR][Shape] Replace single operand broadcasts with appropriate cast

Differential Revision: https://reviews.llvm.org/D101350
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp (diff)
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir (diff)
Commit a950f66de25f945824495c438b5ec9271ac5090a by flo
[LV,LAA] Add test cases with pointer phis in loops.

Pre-commits tests for D101286.
The file was addedllvm/test/Transforms/LoopVectorize/vectorize-pointer-phis.ll
The file was addedllvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
Commit f8d7bd996f1e9a01b9d5cee39c579dd8ac71bae4 by frgossen
[MLIR][Shape] Remove empty extent tensor operands

Empty extent tensor operands were only removed when they were defined as a
constant. Additionally, we can remove them if they are known to be empty by
their type `tensor<0xindex>`.

Differential Revision: https://reviews.llvm.org/D101351
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir (diff)
The file was modifiedmlir/include/mlir/IR/BuiltinAttributes.h (diff)
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp (diff)
Commit 24590d8d67d8596130917ac65bed3e9a35272924 by a.bataev
[SLP]Improved isGatherShuffledEntry, NFC.

Reworked isGatherShuffledEntry function, simplified and moved
common code to the lambda (it shall go away when non-power-2 patch will
be landed).
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 6176a8f90961ce39b0a7c97e2f8891cd1ada61a3 by frgossen
[MLIR] Debug log IR after pattern applications

Like `print-ir-after-all` and `-before-all`, this allows to inspect IR for
debug purposes. While the former allow to inspect only between passes, this
change allows to follow the rewrites that happen within passes.

Differential Revision: https://reviews.llvm.org/D100940
The file was modifiedmlir/lib/Rewrite/PatternApplicator.cpp (diff)
Commit 029e41ec98009b76c5d2aa9e616a1646c0e2c21b by llvm-dev
[X86] Ensure multiclass ATOMIC_RMW_BINOP is tagged as MayLoad and MayStore

These are RMW ops and should be tagged as both loads and stores.
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td (diff)
Commit dc2f6bf5661793a541d7412607371d645bf13c62 by jay.foad
[AMDGPU] Minor refactoring in AMDGPUUnifyDivergentExitNodes. NFC.

Make unifyReturnBlockSet a member function so we don't have to pass TTI
around as an argument.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp (diff)
Commit 4b99f9c7db262aa55d56d3af2f228e624ff7b55f by gabor.marton
[analyzer][StdLibraryFunctionsChecker] Track dependent arguments

When we report an argument constraint violation, we should track those
other arguments that participate in the evaluation of the violation. By
default, we depend only on the argument that is constrained, however,
there are some special cases like the buffer size constraint that might
be encoded in another argument(s).

Differential Revision: https://reviews.llvm.org/D101358
The file was addedclang/test/Analysis/std-c-library-functions-arg-constraints-tracking-notes.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp (diff)
The file was modifiedclang/test/Analysis/std-c-library-functions-arg-constraints.c (diff)
Commit 24f836e8fd6f5c562318775d8154d4c561bae427 by protze
[OpenMP][libomptarget] Separate lit tests for different offloading targets (2/2)

This patch fuses the RUN lines for most libomptarget tests. The previous patch
D101315 created separate test targets for each supported offloading triple.

This patch updates the RUN lines in libomptarget tests to use a generic run
line independent of the offloading target selected for the lit instance.

In cases, where no RUN line was defined for a specific offloading target,
the corresponding target is declared as XFAIL. If it turns out that a test
actually supports the target, the XFAIL line can be removed.

Differential Revision: https://reviews.llvm.org/D101326
The file was modifiedopenmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target.cpp (diff)
The file was modifiedopenmp/libomptarget/test/env/base_ptr_ref_count.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/target_update_array_extension.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/offloading_success.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/info.c (diff)
The file was modifiedopenmp/libomptarget/test/api/omp_get_num_devices.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/lone_target_exit_data.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/alloc_fail.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/dynamic_module_load.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_api.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_update.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/d2d_memcpy.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/data_member_ref.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/lambda_mapping.cpp (diff)
The file was modifiedopenmp/libomptarget/test/lit.cfg (diff)
The file was modifiedopenmp/libomptarget/test/offloading/mandatory_but_no_devices.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/private_mapping.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/bug49021.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_data.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data_array_extension.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/offloading_success.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data.c (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/api.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_array_extension.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_exit_data_release.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp (diff)
The file was modifiedopenmp/libomptarget/test/offloading/assert.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/delete_inf_refcount.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/pr38704.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/memory_manager.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/unified_shared_memory.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/target_implicit_partial_map.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_enter_data.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/requires.c (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_manual.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/zero_length_array_section.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/non_contiguous_update.cpp (diff)
The file was modifiedopenmp/libomptarget/test/api/is_initial_device.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/data_absent_at_exit.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/target_data_array_extension_at_exit.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data_at_exit.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_exit_data_delete.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/target_depend_nowait.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target_update_array_extension.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/bug49334.cpp (diff)
The file was modifiedopenmp/libomptarget/test/offloading/dynamic_module.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers.cpp (diff)
The file was modifiedopenmp/libomptarget/test/offloading/looptripcnt.c (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/shared_update.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/ptr_and_obj_motion.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/parallel_offloading_map.cpp (diff)
The file was modifiedopenmp/libomptarget/test/mapping/present/target.c (diff)
The file was modifiedopenmp/libomptarget/test/api/omp_get_num_devices_with_empty_target.c (diff)
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_update.cpp (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_modifier.c (diff)
The file was modifiedopenmp/libomptarget/test/env/omp_target_debug.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/host_as_target.c (diff)
The file was modifiedopenmp/libomptarget/test/offloading/bug47654.cpp (diff)
The file was modifiedopenmp/libomptarget/test/unified_shared_memory/close_enter_exit.c (diff)
Commit 9b7a0a50355d5dc8ab3e9598103ef81b00077ff4 by llvm-dev
[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)

XADD has the same EFLAGS behaviour as ADD

Reapplies rG2149aa73f640 (after it was reverted at rG535df472b042) - AFAICT rG029e41ec9800 should ensure we correctly tag the LXADD* ops as load/stores - I haven't been able to repro the sanitizer buildbot fails locally so this is a speculative commit.
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-eflags-reuse.ll (diff)
Commit 76a412e7a330964fe9914cbaaa0772feef771a28 by Yaxun.Liu
[HIP] Fix help text for -fgpu-allow-device-init

Add 'experimental' to help text.
The file was modifiedclang/include/clang/Driver/Options.td (diff)
Commit 53e1cb88f28052fa849f28ff164d61e06a3dcfd2 by davg
[clangd] run clang-format on FindTargetTests.cpp's FindExplicitReferencesTest

Addressing comments in https://reviews.llvm.org/D98984

Differential Revision: https://reviews.llvm.org/D101328
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp (diff)
Commit 53b3c1c5e77bbb2560c8bbb20c4b7c4c61166ffb by martin
[libcxx] [test] Add a separate 'windows-dll' feature to check for

This allows distinguishing failures in tests that only fail when libcxx
is linked as a DLL, allowing narrowing down XFAILs (avoiding XPASS errors
if not built as a DLL).

If both enable_shared and enable_static are set, the tests link and use
the shared version of the lib.

Differential Revision: https://reviews.llvm.org/D100221
The file was modifiedlibcxx/utils/libcxx/test/features.py (diff)
Commit 4ebb01cbcb3a9566fa0684eac5bdb232d9dc91fe by martin
[libcxx] [test] Convert a couple of LIBCXX-WINDOWS-FIXME into XFAIL: windows-dll for known bugs

These are caused due to inconsistencies regarding always inline in
combination with dllimport. A bug report reference is added next to
each XFAIL line.

Differential Revision: https://reviews.llvm.org/D100789
The file was modifiedlibcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp (diff)
The file was modifiedlibcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp (diff)
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp (diff)
The file was modifiedlibcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp (diff)
Commit c20e4fbfa6d154616c2dd41e828a02facd000d71 by davg
[clangd] Improve handling of Objective-C protocols in types

Improve support for Objective-C protocols for types/type locs

Differential Revision: https://reviews.llvm.org/D98984
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp (diff)
Commit 4afeda9157cffd2daa83f8075d73f1e11ea34c81 by david.sherwood
[LoopVectorize] Simplify scalar cost calculation in getInstructionCost

This patch simplifies the calculation of certain costs in
getInstructionCost when isScalarAfterVectorization() returns a true value.
There are a few places where we multiply a cost by a number N, i.e.

  unsigned N = isScalarAfterVectorization(I, VF) ? VF.getKnownMinValue() : 1;
  return N * TTI.getArithmeticInstrCost(...

After some investigation it seems that there are only these cases that occur
in practice:

1. VF is a scalar, in which case N = 1.
2. VF is a vector. We can only get here if: a) the instruction is a
GEP/bitcast/PHI with scalar uses, or b) this is an update to an induction
variable that remains scalar.

I have changed the code so that N is assumed to always be 1. For GEPs
the cost is always 0, since this is calculated later on as part of the
load/store cost. PHI nodes are costed separately and were never previously
multiplied by VF. For all other cases I have added an assert that none of
the users needs scalarising, which didn't fire in any unit tests.

Only one test required fixing and I believe the original cost for the scalar
add instruction to have been wrong, since only one copy remains after
vectorisation.

I have also added a new test for the case when a pointer PHI feeds directly
into a store that will be scalarised as we were previously never testing it.

Differential Revision: https://reviews.llvm.org/D99718
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll (diff)
Commit decab8e9730598831d0de542186709dd126b1f3d by llvm-dev
Revert rG9b7a0a50355d5 - Revert "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)"

Still causing some sanitizer buildbot failures.
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-eflags-reuse.ll (diff)
Commit 4abba775a39af7f5be5d4573011930b639d69b63 by asher.mancinelli
[flang] Add format test to GTest suite

Reviewed by: awarzynski
Differential Revision: https://reviews.llvm.org/D100765
The file was modifiedflang/unittests/RuntimeGTest/CMakeLists.txt (diff)
The file was addedflang/unittests/RuntimeGTest/Format.cpp
The file was modifiedflang/unittests/Runtime/CMakeLists.txt (diff)
The file was removedflang/unittests/Runtime/format.cpp
Commit 6968520c3b04afa7cf38ed8db24c4f15970580d5 by david.sherwood
Revert "[LoopVectorize] Simplify scalar cost calculation in getInstructionCost"

This reverts commit 4afeda9157cffd2daa83f8075d73f1e11ea34c81.
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
Commit 4dc6763289a0496f59af28141fff6133ba322a04 by kuhnel
[doc] added documentation for pre-merge testing

fixes https://github.com/google/llvm-premerge-checks/issues/275

Differential Revision: https://reviews.llvm.org/D100936
The file was modifiedllvm/docs/Phabricator.rst (diff)
The file was addedllvm/docs/Phabricator_premerge_results.png
The file was addedllvm/docs/Phabricator_premerge_unit_tests.png
Commit 21da04f701735ecd42f1d43b3f58b708ad382905 by thakis
[llvm, clang] Remove stdlib includes from .h files without `std::`

Found files not containing `std::` with:

    INCL="algorithm|array|list|map|memory|queue|set|string|utility|vector|unordered_map|unordered_set"
    git ls-files llvm/include/llvm | grep '\.h$' | xargs grep -L std:: | \
        xargs grep -El "#include <($INCL)>$" > to_process.txt
    git ls-files clang/include/clang | grep '\.h$' | xargs grep -L std:: | \
        xargs grep -El "#include <($INCL)>$" >> to_process.txt

Then removed these headers from those files with

    INCL_ESCAPED="$(echo $INCL|sed 's/|/\\|/g')"
    cat to_process.txt | xargs sed -i "/^#include <\($INCL_ESCAPED\)>$/d"
    cat to_process.txt | xargs sed -i '/^$/N;/^\n$/D'

No behavior change.

Differential Revision: https://reviews.llvm.org/D101378
The file was modifiedllvm/include/llvm/CodeGen/TileShapeInfo.h (diff)
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/StringTable.h (diff)
The file was modifiedclang/include/clang/AST/DeclContextInternals.h (diff)
The file was modifiedclang/include/clang/Tooling/Transformer/Parsing.h (diff)
The file was modifiedllvm/include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h (diff)
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h (diff)
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h (diff)
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileEntry.h (diff)
The file was modifiedllvm/include/llvm/Target/CGPassBuilderOption.h (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h (diff)
The file was modifiedclang/include/clang/Driver/Options.h (diff)
The file was modifiedclang/include/clang/Index/CommentToXML.h (diff)
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBuilder.h (diff)
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h (diff)
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h (diff)
The file was modifiedclang/include/clang/Tooling/Refactoring/RefactoringActionRule.h (diff)
Commit 241c2da4064c850d58896e0a870b0c3485dfd82d by wei.huang
[AIX][Power10] Restrict prefixed instructions from crossing the 64byte boundary

This patch adds the support to restrict prefixed instruction from
crossing the 64 byte boundary:
- Add the infrastructure to register a custom XCOFF streamer
- Add a custom XCOFF streamer for PowerPC to allow us to
  intercept instructions as they are being emitted and align all 8 byte
  instructions to a 64 byte boundary if required by adding a 4 byte nop.

Reviewed By: stefanp

Differential Revision: https://reviews.llvm.org/D101107
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp (diff)
The file was addedllvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.cpp
The file was addedllvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt (diff)
The file was modifiedllvm/include/llvm/Support/TargetRegistry.h (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-prefixed-instruction-boundary.mir
Commit 4cf942adab0c0b35d933839b7a8cda37e6d646e8 by llvmgnsyncbot
[gn build] Port 241c2da4064c
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn (diff)
Commit ea8416bf4df4e2823d85d50d8ddd69dd8ed54720 by ndesaulniers
[CodeGenOptions] make StackProtectorGuardOffset signed

GCC supports negative values for -mstack-protector-guard-offset=, this
should be a signed value. Pre-req to D100919.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101325
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedllvm/test/CodeGen/X86/stack-protector-3.ll (diff)
The file was modifiedllvm/include/llvm/Target/TargetOptions.h (diff)
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h (diff)
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
Commit 887bdff8bae74ae0cedadbbe35f39141da3642c9 by phosek
[Driver] Fix tests failing in per-target multiarch layout

These failures were revealed by b4537c3f51bc6c011ddd9c10b80043ac4ce16a01.

Differential Revision: https://reviews.llvm.org/D101348
The file was modifiedclang/test/Driver/env.c (diff)
The file was modifiedclang/test/Driver/cross-linux.c (diff)
The file was modifiedclang/test/Driver/sanitizer-ld.c (diff)
The file was modifiedclang/test/Driver/compiler-rt-unwind.c (diff)
Commit ca7824c2a8dbf3e37734e10e77003acd34d0868a by mgorny
[lldb] [gdb-remote] Report QPassSignals and qXfer via extensions API

Remove hardcoded platform list for QPassSignals, qXfer:auxv:read
and qXfer:libraries-svr4:read and instead query the process plugin
via the GetSupportedExtensions() API.

Differential Revision: https://reviews.llvm.org/D101241
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp (diff)
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py (diff)
The file was modifiedlldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py (diff)
The file was modifiedlldb/include/lldb/Host/common/NativeProcessProtocol.h (diff)
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp (diff)
Commit 25bf137b1ea33ff9c76834f44b10f4e1ae677d5e by Adrian Prantl
Also display the underlying error message when displaying a fixit

When the user running LLDB with default settings sees the fixit
notification it means that the auto-applied fixit didn't work. This
patch shows the underlying error message instead of just the fixit to
make it easier to understand what the error in the expression was.

Differential Revision: https://reviews.llvm.org/D101333
The file was modifiedlldb/test/API/commands/expression/fixits/TestFixIts.py (diff)
The file was modifiedlldb/source/Expression/UserExpression.cpp (diff)
Commit 0e6f934cc3a70ecc40179869457c826ea4dcb4e2 by Vitaly Buka
[NFC][lsan] Another attempt to fix arm bot
The file was modifiedcompiler-rt/test/lsan/TestCases/use_globals_unused.cpp (diff)
Commit e05fdab1250c0956ef9fc87fe764c9f0c144304d by craig.topper
[TableGen] Add predicate checks to isel patterns for default HwMode.

As discussed in D100691 and based on D100889.

I removed the ModeChecks cache which provides little value. Reduced
from three loops to two. Used ArrayRef to pass the Predicate to
AppendPattern to avoid needing to construct a vector for single
mode. Used SmallVector to avoid heap allocation constructing
DefaultCheck for the in tree targets the use it.

Reviewed By: kparzysz

Differential Revision: https://reviews.llvm.org/D101240
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp (diff)
Commit 21db4cc2ea1518900b4a4c8235c4e1131fa0e613 by anirudh_prasad
[SystemZ][z/OS] Remove register prefixes when printing out the register.

- This patch is the first part in enforcing prefix-less registers for the HLASM dialect in z/OS
- This patch removes the "%[r|f|v]" prefix while printing registers
- To achieve this, the `AssemblerDialect` field of MAI was used
- There is also a bit of refactoring done to ensure code repetition is reduced.
- Currently the LLVM assembler for SystemZ/z/OS accepts both prefixed registers and prefix-less registers. A subsequent follow-up patch will restrict the SystemZAsmParser to only accept prefix-less registers.

Crediting @kianm as an author as well.

Reviewed By: uweigand, abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D101308
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.h (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp (diff)
Commit 1ebbf84ba45b1af8b6469f79a6c6798d185bc1d2 by lebedev.ri
[NFC][IR] PHINode: assert we aren't trying to create token-typed PHI

Verifier will complain, but by then it may be too late,
because we might have never reached it because
we already crashed with some bogus bug.
It is best to catch this the moment it happens.
The file was modifiedllvm/include/llvm/IR/Instructions.h (diff)
Commit 15f631cc78f8f2458b6da97eb20236023d452192 by lebedev.ri
[NFC][IR] PHINode: ... and assert in another ctor too
The file was modifiedllvm/include/llvm/IR/Instructions.h (diff)
Commit 6a2e29851738d33d2296a9684016ebaf7247ae54 by Ahmed Bougacha
[docs] Replace Apple representative to security group.

Differential Revision: https://reviews.llvm.org/D100864
The file was modifiedllvm/docs/Security.rst (diff)
Commit 1d505016efa29ce1e9b11baf8ab2d7950e9bdcc7 by jrtc27
[ELF][MIPS] Don't emit dynamic relocations for PIE non-preemptible TLS

Whilst not wrong (unless using static PIE where the relocations are
likely not implemented by the runtime), this is inefficient, as the TLS
module indices and offsets are independent of the executable's load
address.

Reviewed By: MaskRay, atanasyan

Differential Revision: https://reviews.llvm.org/D101382
The file was modifiedlld/ELF/SyntheticSections.cpp (diff)
The file was modifiedlld/test/ELF/mips-tls.s (diff)
The file was modifiedlld/test/ELF/mips-tls-64.s (diff)
Commit 7fefd032cb260f96191089c9d817c61276d8bf66 by jrtc27
[ELF][MIPS] Emit dynamic relocations for PIC non-preemptible static TLS

This is the same problem as 127176e59eb9, but for static TLS rather than
dynamic TLS. Although we know the symbol will be the one in our own TLS
segment, and thus the offset of it within that, we don't know where in
the static TLS block our data will be allocated and thus we must emit a
dynamic relocation for this case.

Reviewed By: MaskRay, atanasyan

Differential Revision: https://reviews.llvm.org/D101381
The file was modifiedlld/ELF/SyntheticSections.cpp (diff)
The file was modifiedlld/test/ELF/mips-tls.s (diff)
The file was modifiedlld/test/ELF/mips-tls-64.s (diff)
Commit be935f28888cbfe705699fa3beb8b849aa0f9f90 by lebedev.ri
[NFC][Verifier] Fixup token PHINode test cases

It would still pass in non-assert build,
but with asserts it would now crash.

I haven't checked, but hopefully `not`'s `--crash` argument
should be enough to support both paths.
The file was modifiedllvm/test/Verifier/token1.ll (diff)
Commit f19e8f424f1f76b1868f68631bfbd0d3b1648bda by a.bataev
[COST][X86]Improve cost model for reverse shuffle v32i16/v64i8 in AVX512F.

Improved cost model for reverse shuffle on AVX512F for types
v32i16/v64i8.

Differential Revision: https://reviews.llvm.org/D100974
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-reverse.ll (diff)
Commit 268f1963af335b65c9c3f99621eccfe106454e8e by david.green
[ARM] Additional VIDUP tests. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vidup.ll
Commit 8de7d8b2c289acfb866248b798bea9a755b198d7 by david.green
[ARM] Recognize VIDUP from BUILDVECTORs of additions

This adds a pattern to recognize VIDUP from BUILD_VECTOR of incrementing
adds. This can come up from either geps or adds, and came up recently in
D100550. We are just looking for a BUILD_VECTOR where each lane is an
add of the first lane with N*i, where i is the lane and N is one of 1,
2, 4, or 8, supported by the VIDUP instruction.

Differential Revision: https://reviews.llvm.org/D101263
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vidup.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-tailpred-loopinvariant.ll (diff)
Commit e4c61d5f837beed74585bbdff85877c1a1682b80 by lebedev.ri
[NFC][SimplifyCFG] Autogenerate check lines in many test files

These are potentially being affected by an upcoming patch.
The file was modifiedllvm/test/Transforms/SimplifyCFG/basictest.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/PowerPC/cttz-ctlz-spec.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/guards.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/multiple-phis.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/merge-cond-stores-cost.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/invoke.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/merge-default.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/noreturn-call.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-to-select-multiple-edge-per-block-phi.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/inline-asm-sink.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/implied-cond.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/sink-common-code.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-on-const-select.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/invoke_unwind.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/volatile-phioper.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/div-rem-pairs.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/HoistCode.ll (diff)
Commit 561f4b9087457e9ea3cf4aeb57dcd507e2fa6258 by eugenis
Fix -Wunused-but-set-variable warning in msan_test.cpp
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp (diff)
Commit 12011b5217929ef8a56c2099c6f3233934ea4fbc by jay.foad
[AMDGPU] GCNHazardRecognizer: ignore all meta instructions

This is hopefully NFC, but should be more robust in ignoring all
instructions that should be ignored, instead of just some of them.

Differential Revision: https://reviews.llvm.org/D101372
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp (diff)
Commit 0a82d885a4fc198395369e9ae75dfe175140df94 by andrew.kaylor
[Dependence Analysis] Fix ExactSIV producing wrong analysis

Patch by Artem Radzikhovskyy!

Symptom: ExactSIV test produced incorrect analysis of dependencies see LIT tests
Bug: At the end of the algorithm when determining dependence direction original author forgot to divide intermediate results by gcd and round result toward zero

Although this bug can be fixed with significantly fewer changes I opted to write the code in such a way that reflects the original algorithm that Banerjee proposed, for easier reference in the future. This surprisingly results in shorter code, and fewer quotient and max/min calculations.

Changes Summary:

- fixed findGCD to return valid x and y so that they match the function description where: ax - by = gcd(a,b)
- Fixed ExactSIV test, to produce proper results
- Documented the extension of Banerjee's algorithm that the original code author introduced. Banerjee's original algorithm only tested whether Dst depends on Src, the extension also allows us to test whether Src depends on Dst, in one pass.
- ExactRDIV test worked fine. Since it uses findGCD(), it needed to be updated.Since ExactRDIV test has very few changes from the core algorithm of ExactSIV I modified the test to have consistent format as ExactSIV.
- Updated the LIT tests to be testing for correct values.

Differential Revision: https://reviews.llvm.org/D100331
The file was modifiedllvm/test/Analysis/DependenceAnalysis/ExactSIV.ll (diff)
The file was modifiedllvm/lib/Analysis/DependenceAnalysis.cpp (diff)
The file was modifiedllvm/test/Analysis/DependenceAnalysis/Coupled.ll (diff)
Commit 4fc068eb82c8190308b3e09c2aecbd1a635317f8 by spatel
[InstCombine] add tests for clamp patterns using min/max intrinsics; NFC
The file was modifiedllvm/test/Transforms/InstCombine/minmax-intrinsics.ll (diff)
Commit 025bb52903792de3dd29667d42c97fdf13a00f2b by spatel
[InstCombine] fold clamp to 2 values from min/max intrinsics

The "select" versions of these folds is also missing and can
cause infinite loops as shown in:
https://llvm.org/PR48900
...but it seems easier to match these as max/min as a first fix.

https://alive2.llvm.org/ce/z/wv-_dT
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/minmax-intrinsics.ll (diff)
Commit 5275d772da0555f95ffa6d8f938728be13caa862 by eugenis
Revert "tsan: fix deadlock in pthread_atfork callbacks"

Tests fail on debug builders. See the forward fix in
https://reviews.llvm.org/D101385.

This reverts commit efd254b63621de9ce750eddf9e8135154099d261.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp (diff)
The file was removedcompiler-rt/test/tsan/pthread_atfork_deadlock3.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp (diff)
Commit 9c552d27ee03ad485c2d36827e73bea75faee5e1 by i
hurd: Fix i386 research path

f26341840253 ("[Driver] Gnu.cpp: remove obsoleted i386 triple detection
from end-of-life distribution versions") dropped the i686-gnu gcc path, but
GNU/Hurd's gcc is actually using it, and not i386.

This fixes the gcc path and update the tests to reflect it.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101317
The file was modifiedclang/test/Driver/hurd.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp (diff)
The file was addedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbegin.o
The file was removedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i386-gnu/4.6.0/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/i686-gnu/bin/as
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i386-gnu/4.6.0/crtbegin.o
The file was removedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/i386-gnu/lib/.keep
The file was addedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/i686-gnu/bin/ld
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbeginT.o
The file was removedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/i386-gnu/bin/as
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i386-gnu/4.6.0/crtbeginS.o
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbeginS.o
The file was removedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/i386-gnu/bin/ld
The file was addedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/i686-gnu/lib/.keep
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i386-gnu/4.6.0/crtbeginT.o
Commit 8b550af7a9cf363d382b7042f12ab24aa13711fc by psteinfeld
[flang] Handle structure constructors with forward references to PDTs

We were not correctly handling structure constructors that had forward
references to parameterized derived types.  I harvested the code that checks
for forward references that was used during analysis of function call
expressions and called it from there and also called it during the
analysis of structure constructors.

I also added a test that will produce an internal error without this change.

Differential Revision: https://reviews.llvm.org/D101330
The file was modifiedflang/lib/Semantics/expression.cpp (diff)
The file was modifiedflang/test/Semantics/bad-forward-type.f90 (diff)
The file was modifiedflang/include/flang/Semantics/expression.h (diff)
Commit 932e8c3241541c0216968a0f966c495b77bf4461 by i
hurd: Detect libstdc++ include paths on Debian Hurd i386

This is a follow-up of e92d2b80c6c9 ("[Driver] Detect libstdc++ include
paths for native gcc (-m32 and -m64) on Debian i386") for the Debian Hurd
case, which has the same multiarch name reduction from i686 to i386.
i386-linux-gnu is actually Linux-only, so this moves the code of that commit
to Linux.cpp, and adds the same to Hurd.cpp

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101331
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/include/c++/4.6.0/.keep
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/include/i386-gnu/c++/4.6.0/.keep
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h (diff)
The file was modifiedclang/lib/Driver/ToolChains/Hurd.h (diff)
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp (diff)
The file was addedclang/test/Driver/hurd.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/Hurd.cpp (diff)
The file was removedclang/test/Driver/hurd.c
Commit 9433bacc73e92bebe7cb32358f21a4b866800cf3 by aeubanks
[test] Fix some func-attrs tests under the legacy PM

The new PM doesn't visit declarations in CGSCC passes. These tests
aren't testing that detail, so just run them against the new PM.
The file was modifiedllvm/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll (diff)
The file was modifiedllvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll (diff)
Commit b13e913b31a0703ebc15d701ff05fd82788dc02a by i
hurd: Clean up test

- Unsupported Windows to drop backslashes code
- Upgrade to current gcc 10 version

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101347
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbeginS.o
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/include/i386-gnu/c++/4.6.0/.keep
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/include/i386-gnu/c++/10/.keep
The file was modifiedclang/test/Driver/hurd.cpp (diff)
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/10/crtbegin.o
The file was removedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i686-gnu/10/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/10/crtbeginS.o
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbeginT.o
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/10/crtbeginT.o
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/include/c++/4.6.0/.keep
The file was removedclang/test/Driver/Inputs/basic_hurd_tree/usr/lib/gcc/i686-gnu/4.6.0/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_hurd_tree/usr/include/c++/10/.keep
Commit 711a473cd9e3c8e63ad3460d49fdab1545634dd2 by Adrian Prantl
Update testcase for D101333.
The file was modifiedlldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py (diff)
Commit bf9eef92b6cd71d262ac12ce6c4919271bd6c910 by i
Gnu: Replace with a GCCInstallation.isValid() check with assert
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp (diff)
Commit 0304fbcd6cc19f855ee266577ce04f49360013a8 by nikita.ppv
[SCEV] Improve loop guard tests (NFC)

Invert the branch order to make the predicate more obvious.
Add tests with two predicates, to show that rewrites are
combined.
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll (diff)
Commit e37c8fd364a96d9d9f56a1e06e178e9e376beda3 by i
Hurd: Clean up Debian multiarch /usr/include/<triplet>

This is a follow-up of 35dd6470de84 for the Hurd case, to avoid the
duplication of the i386-gnu path, already provided by
Hurd::getMultiarchTriple.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101324
The file was modifiedclang/lib/Driver/ToolChains/Hurd.cpp (diff)
Commit e1021dd1fdfebff77cfb205892ada6b6a900865f by dvyukov
tsan: refactor fork handling

Commit efd254b6362 ("tsan: fix deadlock in pthread_atfork callbacks")
fixed another deadlock related to atfork handling.
But builders with DCHECKs enabled reported failures of
pthread_atfork_deadlock2.c and pthread_atfork_deadlock3.c tests
related to the fact that we hold runtime locks on interceptor exit:
https://lab.llvm.org/buildbot/#/builders/70/builds/6727
This issue is somewhat inherent to the current approach,
we indeed execute user code (atfork callbacks) with runtime lock held.

Refactor fork handling to not run user code (atfork callbacks)
with runtime locks held. This change does this by installing
own atfork callbacks during runtime initialization.
Atfork callbacks run in LIFO order, so the expectation is that
our callbacks run last, right before the actual fork.
This way we lock runtime mutexes around fork, but not around
user callbacks.

Extend tests to also install after fork callbacks just to cover
more scenarios. Some tests also started reporting real races
that we previously suppressed.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D101385
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp (diff)
The file was modifiedcompiler-rt/test/tsan/pthread_atfork_deadlock2.c (diff)
The file was addedcompiler-rt/test/tsan/pthread_atfork_deadlock3.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp (diff)
The file was modifiedcompiler-rt/test/tsan/pthread_atfork_deadlock.c (diff)
Commit f69853ac40ba1b8cd119fc49091cb7216da81b38 by dvyukov
tsan: fix build with COMPILER_RT_TSAN_DEBUG_OUTPUT

COMPILER_RT_TSAN_DEBUG_OUTPUT enables TSAN_COLLECT_STATS,
which changes layout of runtime structs (some structs contain
stats when the option is enabled).
It's not OK to build runtime with the define, but tests without it.
The error is detected by build_consistency_stats/nostats.
Fix this by defining TSAN_COLLECT_STATS for tests to match the runtime.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D101386
The file was modifiedcompiler-rt/lib/tsan/tests/CMakeLists.txt (diff)
Commit 1c0ab3411a7067d301ebf0315736ecf8945cb321 by a.bataev
[SLP]Add a test for possibly vectorized tiny tree, NFC.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll (diff)
Commit e45168c4fa7debe61ec0fdb6ddae347e18477d37 by nikita.ppv
[SCEV] Handle uge/ugt predicates in applyLoopGuards()

These can be handled the same way as ule/ult, just using umax
instead of umin. This is useful in cases where the umax prevents
the upper bound from overflowing.

Differential Revision: https://reviews.llvm.org/D101196
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll (diff)
Commit cd13f19031eb81f2164e297a2f8b77464fa75d6d by zhuhan7737
[loop-idiom][NFC] Extract processLoopStoreOfLoopLoad into a helper function

Differential Revision: https://reviews.llvm.org/D100979
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (diff)
Commit 87fc97169e7901dfe56ca0da0d92da0c02d2ef48 by Dávid Bolvanský
[DSE] Added testcases for 11896, NFC
The file was modifiedllvm/test/Transforms/DeadStoreElimination/noop-stores.ll (diff)
Commit 3244a8b5366dcd7a840963a6a2ae2c7ffe50de2c by llvm-project
[OpenMP][CMake] Pass --cuda-path to regression tests.

The OpenMP runtime can be compiled using a CUDA installed at non-default
location with the -DCUDA_TOOLKIT_ROOT_DIR setting. However, check-openmp
will fail afterwards because Clang needs to know where to find the CUDA
headers.

Fix by passing -cuda-path to Clang using the value of
CUDA_TOOLKIT_ROOT_DIR which has been determined by CMake. Also set
LD_LIBRARY_PATH such that it can find the cuda runtime when executing.
This will ensure that the regression test do not depend on the current
environment, but use the environment it was configured for.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D101266
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/test/lit.site.cfg.in (diff)
The file was modifiedopenmp/libomptarget/test/CMakeLists.txt (diff)
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg (diff)
The file was modifiedopenmp/libomptarget/test/lit.cfg (diff)
The file was modifiedopenmp/libomptarget/test/lit.site.cfg.in (diff)
Commit cbce28f07e410cf46845a86621f93c8cd38eee6a by aeubanks
[ConstFold] Use const-folded operands in more places

Previously we were const folding operands but not passing them.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D101394
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp (diff)
Commit 82bcd985862892773fc9685aa6abcbb298267aa0 by riddleriver
[mlir] Fix bug in ForwardDataFlowAnalysis solver

Explicitly check for uninitialized to prevent crashes in edge cases where the derived analysis creates a lattice element for a value that hasn't been visited yet.
The file was modifiedmlir/lib/Analysis/DataFlowAnalysis.cpp (diff)
Commit 134f3ba3ae259f0d97eed2936a75510c5b4ff2b6 by lebedev.ri
[NFC][SimplifyCFG] Autogenerate check lines in few more tests
The file was modifiedllvm/test/Transforms/SimplifyCFG/no_speculative_loads_with_asan.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-store-alignment.ll (diff)
The file was modifiedllvm/test/Transforms/SimplifyCFG/no_speculative_loads_with_tsan.ll (diff)
Commit a495b672b7ff90fef9aaa296a1c52e0921e71875 by lebedev.ri
[NFC][SimplifyCFG] Precommit SimplifyCFG tests from D29428
The file was addedllvm/test/Transforms/SimplifyCFG/tail-merge-assert.ll
The file was addedllvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
Commit ce09dd54e6eca4903bfb1dcb230ba002159f969c by craig.topper
[RISCV] Select 5 bit immediate for VSETIVLI during isel rather than peepholing in the custom inserter.

This adds a special operand type that is allowed to be either
an immediate or register. By giving it a unique operand type the
machine verifier will ignore it.

This perturbs a lot of tests but mostly it is just slightly different
instruction orders. Something bad did happen to some min/max reduction
tests. We're spilling vector registers when we weren't before.

Reviewed By: khchen

Differential Revision: https://reviews.llvm.org/D101246
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-splat.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector-rv64.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-splat.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-conv.ll (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/frameindex-addr.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-exttrunc.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll (diff)
Commit 3067520bf463d93b17c4a92508e28df6b9bb90a9 by craig.topper
[SelectionDAG] Use a VTSDNode to store the saturation width for FP_TO_SINT_SAT/FP_TO_UINT_SAT

Previously we used an i32 constant to store the saturation width, but i32 isn't
legal on RISCV64. This wasn't a big deal to fix, but it is extra work for the
type legalizer.

This patch uses a VTSDNode to store the type similar to SEXT_INREG. This makes
it opaque to the type legalizer.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D101262
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td (diff)
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td (diff)
Commit 7ca133c360f96a123f573e1ffb3723e92ad17a64 by jezng
[lld-macho] std::sort -> llvm::sort
The file was modifiedlld/MachO/UnwindInfoSection.cpp (diff)
Commit 700402b00eccea338206604ac5ffbde7c9493329 by jezng
[lld-macho] Don't put an antivirus test file in reproduce.s

It appears that some antivirii do not recognize that "this is a
test": https://reviews.llvm.org/D101218#2720676

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D101402
The file was modifiedlld/test/MachO/reproduce.s (diff)
Commit b19136e35256c5b21aff93ea5b55b4c142408c40 by huberjn
[OpenMP] Remove legacy pass manager run lines

Summary:
Two tests in OpenMPOpt currently fail using the legacy pass manager. Remove
these run lines to prevent tests from failing.
The file was modifiedllvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll (diff)
The file was modifiedllvm/test/Transforms/OpenMP/values_in_offload_arrays.ll (diff)
Commit 4dfddf715b94857998601aa79c25e4f327d44dfa by alexshap
[llvm-objcopy][MachO] Add support for LC_THREAD/LC_UNIXTHREAD

Add support for LC_THREAD/LC_UNIXTHREAD
(these load commands can be copied over without any modifications).

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D101384
The file was addedllvm/test/tools/llvm-objcopy/MachO/lc-thread.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp (diff)
Commit a921d2d2fb46b898794091e7410426c518a4f0cc by phosek
[Driver] Add -print-multiarch

This is useful in runtimes build for example which currently try to
guess the correct triple where to place libraries in the multiarch
layout.  Using this flag, the build system can get the corre