FailedChanges

Summary

  1. [flang] Fix bug with IMPORT of USE of USE (details)
  2. [Attributor] Force update of "newly live" abstract attributes (details)
  3. [Attributor] Make AAIsDead dependences optional to prevent top state (details)
  4. [Attributor][FIX] Disallow function signature rewrite for casted calls (details)
  5. [CGP] remove duplicate function for finding a splat shuffle; NFC (details)
  6. [clang][SLH] Add __has_feature(speculative_load_hardening) (details)
  7. Update lldb for rG10658691951f to avoid Werror messages around (details)
  8. [mlir][Linalg] Introduce a helper function for staged pattern application (details)
  9. [CMake] Fix building with -DBUILD_SHARED_LIBS=ON on mingw (details)
  10. [X86] Add inline assembly load hardening mitigation for Load Value Injection (LVI) (details)
  11. RISCVAttributeParser.h - remove unnecessary ScopedPrinter.h include. NFC. (details)
  12. [mlir][Vector] NFC - Rename vector.strided_slice into vector.extract_strided_slice (details)
  13. [mlir] Revisit std.subview handling of static information. (details)
  14. [AMDGPU] Fix promote alloca which is already vector (details)
  15. Fix a few clang-tidy warnings about auto * and const auto. (details)
  16. Add vendor macro to "lld" (details)
  17. [mlir][StandardToSPIRV] Add support for lowering index_cast to SPIR-V. (details)
  18. [hwasan] Fix allocator alignment. (details)
  19. Fix auto -> auto * clang tidy. (details)
  20. [YAMLTraits] Add trait for char (details)
  21. llvm-lit.in: Use a raw string for LLVM_SOURCE_DIR (details)
  22. [gn build] Make config_map computation in llvm-lit more table-driven. (details)
  23. [GlobalISel] Remove debug locations when emitting G_FCONSTANT. (details)
  24. [gn build] Make paths in generated llvm-lit relative. (details)
  25. Revert "[FileCheck] Support comment directives" (details)
  26. Revert "[FileCheck] Make invalid prefix diagnostics more precise" (details)
  27. [AMDGPU] Allow spilling FP to memory (details)
  28. [MLIR] Fix several misc issues in in Toy tutorial (details)
  29. [AArch64][SVE] Add patterns for VSELECT of immediates. (details)
  30. [AMDGPU] Reserving VGPR for future SGPR Spill (details)
  31. [SelectionDAG] Don't promote the alignment of allocas beyond the stack alignment. (details)
  32. [Inlining] Make shouldBeDeferred static (NFC) (details)
  33. [gn build] Use relative paths in generated lit.site.cfg.py files for llvm and clang. (details)
  34. [AMDGPU][GlobalISel] Revise handling of wide loads in RegBankSelect (details)
  35. [FileCheck] Make invalid prefix diagnostics more precise (details)
  36. [libcxx] shared_ptr changes from library fundamentals (P0414R2). (details)
  37. Temporarily Revert "[lld-macho] Re-add dylink-lazy test" as it (details)
  38. Fix a release+noasserts werror for unused variable. (details)
  39. Quote error string from qLaunchSuccess (details)
  40. [mlir] [VectorOps] Replace zero-scalar + splat into direct zero vector constant (details)
  41. [x86/SLH][NFC] Add a test to produce a failed generation. (details)
  42. [gcov] Emit GCOV_TAG_OBJECT_SUMMARY/GCOV_TAG_PROGRAM_SUMMARY correctly and fix llvm-cov's decoding of runcount (details)
  43. [DWARF5]: Added support for dumping strx forms in llvm-dwarfdump (details)
  44. Partially revert "[CMake] Fix building with -DBUILD_SHARED_LIBS=ON on mingw" (details)
  45. Revert part of D49132 "[gcov] Fix gcov profiling on big-endian machines" (details)
  46. [gcov] Fix big-endian problems (details)
  47. Revert "[libcxx] shared_ptr changes from library fundamentals (P0414R2)." (details)
  48. [PowerPC] Add fma/fsqrt/fmax strict-fp intrinsics (details)
  49. [RISCV] Make CanLowerReturn protected for downstream maintenance (details)
  50. Temporarily Revert "[mlir][shape] Tidy up shape.shape_of" as it's breaking a few tests. (details)
  51. [clangd] Have suppression comments take precedence over warning-as-error (details)
  52. [LLDB] Disable TestBasicEntryValues.py for arm (details)
  53. [CodeGen] Fix incorrect uses of getVectorNumElements() (details)
  54. [SystemZ] Improve foldMemoryOperandImpl: vec->FP conversions (details)
  55. Revert "[NFC][DwarfDebug] Avoid default capturing when using lambdas" (details)
  56. Revert "[NFC][DwarfDebug] Prefer explicit to auto type deduction" (details)
  57. Fix typos encountered while working on pass pipeline for O1. (details)
  58. [NFC][AArch64] Update tests (details)
  59. get rid of the NDEBUG usage in RecoveryExpr, NFC. (details)
  60. [Openmp][VE] Libomptarget plugin for NEC SX-Aurora (details)
  61. [AArch64][CostModel] getCastInstrCost (details)
  62. [ARM][CostModel] Improve getCastInstrCost (details)
  63. [ARM] Refactor lower to S[LR]I optimization (details)
  64. [SveEmitter] Add builtins for svdup and svindex (details)
  65. [NFC][AArch64] More cast cost tests (details)
  66. Revert "[RISCV] Make CanLowerReturn protected for downstream maintenance" (details)
  67. [CodeGen][SVE] Add patterns for whole vector predicate select (details)
  68. [libcxx testing] Remove ALLOW_RETRIES from sleep_for.pass.cpp (details)
  69. [Target][ARM] Replace re-uses of old VPR values with VPNOTs (details)
  70. [Target][ARM] Replace outdated getARMVPTBlockMask function (details)
  71. DebugCounter.h - remove unused includes. NFC. (details)
  72. FuzzerCLI.h - reduce StringRef.h include to forward declaration. NFC. (details)
  73. [X86][AVX] Use X86ISD::VPERM2X128 for blend-with-zero if optimizing for size (details)
  74. [NFC][AArch64] More casts tests... (details)
  75. [CUDA][HIP] Workaround for resolving host device function against wrong-sided function (details)
  76. [X86] combineX86ShuffleChain - use narrowShuffleMaskElts scale == 1 builtin handling. NFC. (details)
  77. [PATCH] #pragma float_control should be permitted in namespace scope. (details)
  78. Revert "[mlir] Revisit std.subview handling of static information." (details)
  79. Add Linux SVE Ptrace macros. (details)
  80. Fold single-use variables into assert (details)
  81. [LLD] Rename iDTable -> idTable, NFC (details)
  82. AMDGPU: Search for new ROCm bitcode library structure (details)
  83. HIP: Merge builtin library handling (details)
  84. [AMDGPU] Order pos exports before param exports (details)
  85. [clangd] Add metrics for selection tree and recovery expressions. (details)
  86. Add comment for SelectionDAGBuilder::SL field. (details)
  87. [lld-macho] Re-add dylink-lazy test (details)
  88. [lld-macho] Add support for creating and reading reexported dylibs (details)
  89. [docs] Corrected inaccuracies in Common Problems section. (details)
  90. [Matrix] Check non-dependent elt type before creating DepSizedMatrix. (details)
  91. [GlobalISel][IRTranslator] New helper function translateCopy. NFC. (details)
  92. [GlobalISel][IRTranslator] Fix <1 x Ty> handling in ConstantExprs (details)
  93. [PassBuilder] Moved ProfileSummaryAnalysis in buildInlinerPipeline. (details)
  94. [gcov] Default coverage version to '408*' and delete CC1 option -coverage-exit-block-before-body (details)
  95. [gcov][test] Fix clang test (details)
  96. [WebAssembly] Implement pseudo-min/max SIMD instructions (details)
  97. [VectorCombine] add test to check for iterative improvements; NFC (details)
  98. [CodeGen] Use Align in MachineConstantPool. (details)
  99. [AMDGPU] Add AGPRs to getRegClassForSizeOnBank (details)
  100. [arm] Add big-endian version of pcrel fixups for adr instructions (details)
  101. [X86] Remove the v16i8->v16i16 path for MULHS with AVX2. (details)
  102. [ValueTracking] Let propagatesPoison support binops/unaryops/cast/etc. (details)
  103. [FileCollector][NFC] Add comments (details)
  104. [Reproducers] Serialize process arguments in ProcessInfo (details)
  105. [PowerPC] Fold redundant load immediates of zero and delete if possible (details)
  106. [libcxx] Re-commit: shared_ptr changes from library fundamentals (P0414R2). (details)
  107. Avoid binding pointers to "auto&" (by dereferencing the pointer that's non-null anyway) (details)
  108. [lldb/Driver] Support terminal resizing (details)
  109. [MLIR] Rename SideEffects.td -> SideEffectInterfaces.td (details)
  110. [analyzer] SATestBuild.py: Fix support for #NOPREFIX. (details)
  111. [MLIR] Fix dependencies for Analysis libraries (details)
  112. PR45589: Properly decompose overloaded `&&` and `||` operators in (details)
  113. [Attributor] Fixup block addresses after rewriting function signature (details)
  114. [libc++abi] Adjust XFAIL on macOS for bug that was fixed in recent OSes (details)
  115. [TargetLoweringObjectFileImpl] Produce .text.hot. instead of .text.hot for -fno-unique-section-names (details)
  116. [X86][ISelLowering] refactor Varargs handling in X86ISelLowering.cpp (details)
  117. [VirtualFileSystem] Add unit test that showcases YAMLVFSWriter bug (details)
  118. [VirtualFileSystem] Add unit test that showcases another YAMLVFSWriter bug (details)
  119. [SampleFDO] Rename llvm-profdata flag -partial-profile to -gen-partial-profile. (details)
  120. Fix buildbots after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f. (details)
  121. PowerPC: Treat llvm.fma.f* intrinsic as using CTR with SPE (details)
  122. Fix buildbots #2 after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f. (details)
  123. [GlobalISel] Assign the correct location when combining G_SEXT. (details)
  124. [mlir] Move Conversion/StandardToStandard to Dialect/StandardOps/Transforms/FuncConversions (details)
  125. [GIsel] Update a comment and make it more precise. (details)
  126. [x86][CGP] enable target hook to sink funnel shift intrinsic's splatted shift amount (details)
  127. [YAMLVFSWriter] Fix for delimiters (details)
  128. Revert of Revert of [mlir][shape] Tidy up shape.shape_of (details)
  129. [lldb/Reproducers] Also record directories FileSystem::Collect. (details)
  130. [AMDGPU] Make v4i64/v4f64/v8i64/v8f64 legal (details)
  131. [libc++][test] Properly mark libc++-only XFAILs (details)
  132. [libc][Obvious] Fix deps of few threads targets. (details)
  133. [lld-macho] Ignore -platform_version and -syslibroot flags. (details)
  134. Add nomerge function attribute to supress tail merge optimization in simplifyCFG (details)
  135. [mlir] Revisit std.subview handling of static information. (details)
  136. Fix error in TestNumThreads.py when frame.GetFunctionName returns none (details)
  137. [ValueTracking] Fix crash in isGuaranteedNotToBeUndefOrPoison when V is in an unreachable block (details)
  138. [libcxx] Constrain function assignment operator (2574). (details)
  139. [Attributor][FIX] Stabilize the state of AAReturnedValues each update (details)
  140. [LLDB] Fix minidebuginfo-set-and-hit-breakpoint.test for arm 32-bit (details)
  141. [mlir] [VectorOps] Implement vector.constant_mask lowering to LLVM IR (details)
  142. [LLDB] Mark some xfails for arm-linux (details)
  143. [LLDB] Fix typo in xfail decorator assert.test (details)
  144. [LoopReroll] Fix rerolling loop with use outside the loop (details)
  145. [gcov] Fix simultaneous .gcda creation/lock (details)
  146. [cmake] Update creation of object library dependencies for LINK_LIBS PUBLIC (details)
  147. [PowerPC] Use add instead of addReg in ppc-early-ret pass (details)
  148. [mlir][Linalg] Allow reshapes to collapse to a zero-rank tensor. (details)
  149. [mlir][Linalg] Add folders and canonicalizers for (details)
  150. [PowerPC] Respect SDNodeFlags in lowering SELECT_CC (details)
  151. [mlir][StandardToLLVM] Add SinOp to LLVM dialect and lowering of std.sin to this op. (details)
  152. [CostModel] Modify BasicTTI getCastInstrCost (details)
  153. [PowerPC] Exploit VSX neg, abs and nabs for f32 (details)
  154. [NFC] Code cleanup in TargetInfo.cpp (details)
  155. [BrachProbablityInfo] Set edge probabilities at once. NFC. (details)
  156. [DebugInfo] Fortran module DebugInfo support in LLVM (details)
  157. [DebugInfo] Fixes windows bot failure due to a test failure (details)
  158. [mips] Fix typo in FileCheck directives - replace \0xa0 char by space. NFC (details)
  159. [TableGen] Fix register class handling in TableGen's DAG ISel Matcher Generator (details)
  160. [NFC] [PowerPC] Narrow fast-math flags in tests (details)
  161. [libc++] [LWG3321] Mark "year_month_day_last::day() specification does not cover !ok() values" issue as "Nothing to do", but add assertion. (details)
  162. [analyzer] Fix crash for non-pointers annotated as nonnull (details)
  163. [examples] Skip building the Bye pass plugin on windows (details)
  164. [libcxx testing] Remove ALLOW_RETRIES from wait_for futures test (details)
  165. [lldb] Also recognize DWARF UTF base types using their size (details)
  166. [analyzer] SATestBuild.py: Be defensive against corrupt plist files. (details)
  167. Revert "[libc++] [LWG3321] Mark "year_month_day_last::day() specification does not cover !ok() values" issue as "Nothing to do", but add assertion." (details)
  168. [AMDGPU][MC][GFX9+] Enabled clamp for v_add_i32 and v_sub_i32 (details)
  169. [lldb] Merge PlatformXXX::ResolveExecutable (details)
  170. [mlir] Adapted standard Alloc and Alloca ops to use new side-effect resources. (details)
  171. [compiler-rt] [builtin] Switch the return type of __atomic_compare_exchange_##n to bool (details)
  172. [StructurizeCFG] Fix region nodes ordering (details)
  173. Recommit #2: "[LV] Induction Variable does not remain scalar under tail-folding." (details)
  174. Clang crash targeting ARM or Thumb when assembling a prel31 relocation variant (details)
  175. [MLIR] Nested regions test for Buffer Assginment (details)
  176. [LSR][ARM] Add new TTI hook to mark some LSR chains as profitable (details)
  177. [libcxx][span] Implement P1976R2 (details)
  178. [lldb][NFC] Don't specify a default argument when creating a TextDiagnosticPrinter (details)
  179. [ARM] Sink splats to fma intrinsics (details)
  180. [AMDGPU] Strengthen export cluster ordering (details)
  181. [mlir] Add SubViewOp::getOrCreateRanges and fix folding pattern (details)
  182. [mlir] [VectorOps] Add missing EDSC intrinsics. (details)
  183. [ARM] Convert floating point splats to integer (details)
  184. [DebugInfo] Fix test Fortran-DIModule.ll after 678bd84c4 (details)
  185. Perform ActOnConversionDeclarator after looking for any virtual functions it overrides (details)
  186. Make FormatToken::Type private. (details)
  187. [lldb][NFC] Early-exit in SetupDeclVendor (details)
  188. Revert "[BrachProbablityInfo] Set edge probabilities at once. NFC." (details)
  189. [FileCheck] Support comment directives (details)
  190. Add -print-targets to print the registered targets (details)
  191. [lldb/Reproducers] Add test-specific API to set the test CWD (details)
  192. [CodeGenPrepare] Remove a superflouos variable. NFC. (details)
  193. [NativeSession] Implement NativeSession::findSymbolByAddress. (details)
  194. [libc] Call mtx_init in mtx_test. (details)
  195. [mlir][Linalg] Fix missing template keyword. (details)
  196. [mlir] Change dialect namespace loop->scf (details)
  197. OpenMPOpt Remarks Support (details)
  198. [lld][WebAssembly] Fix for --relocatable and signature mismatches (details)
  199. NFC: Avoid redundant checks for vector-function-abi-variant attribute (details)
  200. [clang-format] Fix AlignConsecutive on PP blocks (details)
  201. [clang-format] : Fix additional pointer alignment for overloaded operators (details)
  202. [MLIR] refactor cmake specification of tablegen'd interfaces. (details)
  203. [MLIR] Discourage people from copying the toy examples (details)
  204. [mlir][vulkan-runner] Avoid dependency on LLVM libraries (details)
  205. [InstCombine] Add vector tests for the or(shl(zext(x),32)|zext(y)) concat combines (details)
  206. [Clang] Restore replace_path_prefix instead of startswith (details)
  207. [Statepoint] Mark FixupStatepointCallerSaved as preserving the CFG (details)
  208. [analyzer][StreamChecker] Don't make StreamTestChecker depend on StreamChecker for the time being (details)
  209. [SROA] Clean up some uses of MaybeAlign in SROA. (details)
  210. [demangler] Fix demangling of enumerators with negative values (details)
  211. Fixed a problem removing temp files (details)
  212. Add shim for fork() on PS4 as it is not supported there. (details)
  213. [X86] Make the if statement structure for inline assembly constraints 'l', 'r', 'q', 'Q', and 'R' the same. (details)
  214. [X86] Don't allow f80 to be used with the 'q', 'r', 'l', 'Q' or 'q' inline assembly constraints. (details)
  215. AMDGPU: Use Register (details)
  216. [SimpleLoopUnswitch] Add non-empty unreachable block check to exit cases removed. (details)
  217. [NewPassManager] Add assertions when getting statefull cached analysis. (details)
  218. [SelectionDAG] Require constant index for INSERT/EXTRACT_SUBVECTOR. (details)
  219. [libc++] Explicitly list Lit features from the config_site header (details)
  220. [X86] Only allow f32, f64, or f80 to be used with 'f' inline assembly constraint. (details)
  221. [llvm] Add interface to drive inlining decision using ML model (details)
  222. [docs] Add link to zorg github project (details)
  223. Ensure that CMake tries to find Python3 before processing (details)
  224. [X86] Fix one of the PMADDWD tests to not have dead code. (details)
  225. [llvm][NFC] Remove unused fields in InlineAdvisor (details)
  226. [cmake] Update creation of object library dependencies for LINK_LIBS PUBLIC (v2) (details)
  227. [X86] Add test case for a regression from D76649. NFC (details)
  228. Fix template class debug info for Visual Studio visualizers (details)
  229. [PDB] Switch from LLVM_PACKED to LLVM_PACKED_START/END (details)
  230. Remove unused Debugging variable. (details)
  231. [Attributor] Use AAValueConstantRange to infer dereferencability. (details)
  232. [mlir] Change generate-test-checks.py to `%[[V:.*]]` style (details)
  233. [AMDGPU] Optimized indirect multi-VGPR addressing (details)
  234. [HIP] Do not emit debug info for stub function (details)
  235. [AArch64][SVE] Add patterns for VSELECT of immediate merged with a variable. (details)
  236. Remove an unused variable. (details)
  237. [AArch64] Don't promote constants with float ConstantExpr. (details)
  238. [SVE] Remove usages of VectorType::getNumElements() from AMDGPU (details)
  239. Add .debug_ranges support to the DWARF YAML. (details)
  240. [Attributor] Check lines accidentally not committed with D76208 (details)
  241. [Attributor] Improve the alignment of the loads (details)
  242. [cmake] Check for empty LLVM_PTHREAD_LIB (details)
  243. [AARch64] Add Marvell ThunderX3T110 support (details)
  244. [SVE] Remove usages of VectorType::getNumElements() from Hexagon (details)
  245. [cmake] Need PUBLIC dependencies for object targets even if LLVM_PTHREAD_LIB is unset (details)
  246. [cmake] fix typo. (details)
  247. [X86] Return true from trySADReplacement in the partial reduction pass when a change is made. (details)
  248. [CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple. (details)
  249. Propagate MIFlags in table gen (details)
  250. Fix PS4 build of compiler-rt runtime. (details)
  251. [demangler] Support for 'this' expressions (details)
  252. Don't apply lvalue-to-rvalue conversion in DefaultLValueConversion to (details)
  253. Fix buildbots errors after comitting D78782. (details)
  254. Fix typo in error message (details)
  255. [MLIR][cmake] don't glob for sources. (details)
  256. Only run pretty-printer tests for builds with debug-info. (details)
  257. [GlobalISel][InlineAsm] Add support for basic input operand constraints (details)
  258. [mlir] Fix the example for std.rank (details)
  259. [clangd] Only emit default error/fatal diagnostices from included files. (details)
  260. [llvm-dwarfdump] Make commandline arguments consistent. (details)
  261. [lldb] Don't dissasemble large functions by default (details)
  262. [lldb] Switch Section-dumping code to raw_ostream (details)
  263. [LLD] [COFF] Add options for disabling auto import and runtime pseudo relocs (details)
  264. [lldb/gdb-remote] Change default value of use-libraries-svr4 to true (details)
  265. [libcxx testing] Remove ALLOW_RETRIES from two futures tests (details)
  266. [LLD] [COFF] Try to fix test errors from 7f0e6c31c255303 on windows (details)
  267. [libc++] Adjust how we guard the inclusion of unistd.h (details)
  268. [clangd] Setting recovery-ast flag in buildCompilerInvocation, NFC. (details)
  269. [lldb] Use llvm::MC for register numbers in AArch64 ABIs (details)
  270. [lldb] Fix a "missing return" warning in XcodeSDK (details)
  271. [clangd] Don't create as much garbage while building Dex index. (details)
  272. [clangd] Remove extra qualification (details)
  273. [VPlan] Move emission of \\l\"+\n to dumpBasicBlock (NFC). (details)
  274. [clangd] Correct the elog message, NFC. (details)
  275. SelectionDAG.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC. (details)
  276. [libcxx][span] Remove tuple interface (details)
  277. [Analyzer][VLASizeChecker] Check VLA size in typedef and sizeof. (details)
  278. [libcxx][span] Remove const_iterator from std::span (details)
  279. [x86][CGP] improve sinking of splatted vector shift amount operand (details)
  280. [analyzer] Modernize analyzer's Python scripts (details)
  281. [clang] Fix bug in #pragma float_control(push/pop) (details)
  282. [analyzer] Make NonNullParamChecker as dependency for StdCLibraryFunctionsChecker (details)
  283. [libc++][span] SFINAE span default constructor on Extent == 0 (details)
  284. [analyzer] StdLibraryFunctionsChecker: Add option to display loaded summaries (details)
  285. Fix Z3 function calls regarding arithmetic operations (details)
  286. [Hexagon] Check isInstr() before getInstr() with SUnit (details)
  287. [analyzer] Improve PlacementNewChecker (details)
  288. lld: Let find_package(LLD) work (details)
  289. [lldb/PDB] Make "native" pdb tests host-independent (details)
  290. [RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer (details)
  291. Revert "[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer" (details)
  292. Prohibit capture of _ExtInt in inline assembly. (details)
  293. [PowerPC] Remove support for SplitCSR. (details)
  294. [libcxx][span] Implement solution to LWG-3255 (details)
  295. Moving executable module symbols parsing to target creation method. (details)
  296. Revert "[StructurizeCFG] Fix region nodes ordering" (details)
  297. [Support] Make UniqueStringSaver wrap a StringSet (details)
  298. [RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer"" (details)
  299. Fix test from 5f1f4a5 (details)
  300. [TargetLowering] Improve expansion of FSHL/FSHR (details)
  301. Re-commit: [ARM] CMSE code generation (details)
  302. AMDGPU/OpenCL: Accept -nostdlib in place of -nogpulib (details)
  303. [COFF] Move type merging to TpiSource::mergeDebugT virtual method (details)
  304. hwasan: Collect ring buffer statistics and include in dev note. (details)
  305. [test] NFC, add missing declarations and include to test files to avoid 'implicit-function-declaration' diagnostics in the tests (details)
  306. TargetLowering.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC. (details)
  307. [X86] Fix a regression caused by moving combineLoopMAddPattern to IR (details)
  308. [LLD] Fix precomp-link.test (details)
  309. [Driver] Pass -plugin-opt=O2 for -Os -Oz and -plugin-opt=O1 for -Og (details)
  310. [lldb/Test] Skip TestExpressionInSyscall with reproducers (details)
  311. [lldb/Test] Skip remaining 'side_effect' tests with reproducers. (details)
  312. [mlir] Adopt changes in mlir-opt to standalone example (details)
  313. [AMDGPU] New SIInsertHardClauses pass (details)
  314. [X86] Add support for forming vXi16 PMULH instructions from shifts. (details)
  315. [gn build] Port 42a55605034 (details)
  316. [COFF] Fix var names cVStrTab->cvStrTab sXDataChunks->sxDataChunks (details)
  317. [StringSet] Simplify code a bit. NFC. (details)
  318. [libcxx] [NFC] Add more reinterpret_pointer_cast tests. (details)
  319. [ObjC] Add compatibility mode for type checking of qualified id block parameters. (details)
  320. [BitcodeReader] datalayout must be specified before it is queried. (details)
  321. [SVE] Remove usages of VectorType::getNumElements() from SystemZ (details)
  322. [lld] Add archive file support to Mach-O backend (details)
  323. Infer alignment of unmarked loads in IR/bitcode parsing. (details)
  324. [lldb/Test] Skip test using files to synchronize. (details)
  325. [lldb] Update stop info override callback comment. (details)
  326. [WebAssembly] Added Debug Fixup pass (details)
  327. LoadInst should store Align, not MaybeAlign. (details)
  328. [mlir][Affine] Introduce affine.vector_load and affine.vector_store (details)
  329. [MLIR] Add symbol map to mlir ExecutionEngine (details)
  330. [llvm-profdata] Update CommandGuide (details)
  331. Fix clang test failures from D77454 (details)
  332. [clang][Preprocessor] Replace the slow translateFile call by a new, faster isMainFile check (details)
  333. Revert "[lldb] Don't dissasemble large functions by default" (details)
  334. [gn build] Port 2b7fe0863ac (details)
  335. Add v16f64 value type (details)
  336. [AArch64][SVE] Add some integer DestructiveBinaryComm* patterns (details)
  337. [GlobalISel][InlineAsm] Add early return for memory inputs that need to be indirectified (details)
  338. [AMDGPU] Make v16f64/v16i64 legal (details)
  339. [OPENMP50]Codegen for uses_allocators clause. (details)
  340. [clang][VerifyDiagnosticConsumer] Support filename wildcards (details)
  341. Revert "Run Coverage pass before other *San passes under new pass manager" (details)
  342. [AMDGPU] Peephole adjacent equivalent S_SET_GPR_IDX_ON (details)
  343. [test/dsymutil] Suppress LeakSanitizer on ARM dsymutil tests (details)
  344. [lldb/Test] Replace assertTrue with more specific checks (NFC) (details)
  345. [llvm] Fix refactoring bug introduced in D79042 (details)
  346. llvm/test: Check in suppressions file left out of f26823c9d (details)
  347. Revert "[GlobalISel][InlineAsm] Add early return for memory inputs that need to be indirectified" (details)
  348. [Fuchsia] Do not enable the Z3 solver for a fuchsia toolchain (details)
  349. [LICM] When promoting loads to the preheader, drop the location. (details)
  350. [FileCheck] Fix isalpha/isalnum calls (details)
  351. [lldb/Test] Modify more tests for API replay (details)
  352. [Flang][OpenMP] Avoid abort when collapse clause value is negative (details)
  353. Temporarily Revert "[Support] Make UniqueStringSaver wrap a StringSet" (details)
  354. [MachineVerifier] Use the for_range loop to instead llvm::any_of (details)
  355. Speculative fix for build breakage from D78403 (details)
  356. [mlir][Linalg] Start a LinalgToStandard pass and move conversion to library calls. (details)
  357. [mlir][GPUToSPIRV] Use default ABI only when none of the arguments (details)
  358. [llvm][NFC] Cleanup uses of std::function in Inlining-related APIs (details)
  359. Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs" (details)
  360. [DebugInfo] llvm rejects DWARF operator DW_OP_push_object_address (details)
  361. [NFCI] Removed '%' from llc in test case in ab699d78a26f147b (details)
  362. [DebugInfo] support for DW_AT_data_location in llvm (details)
  363. [CodeGen] Refactor CreateStackTemporary (details)
  364. Fixed bot failure after 4042ada1c1fe4a9cd5 (details)
  365. [ARM][MachineOutliner] Add Machine Outliner support for ARM. (details)
  366. Correct the argument list of command `breakpoint read` (details)
  367. Fixed bot failure after ab699d78a26f147b (details)
  368. [NFC][test] Add missing ':' after 'CHECK' (details)
  369. [PowerPC] Add an intrinsic for Popcntb (details)
  370. [ELF] Update release notes and man page for LLD time-trace (details)
  371. [SVE] Fix wrong usage of getNumElements() in matchIntrinsicType (details)
  372. [libcxx][span] trivial whitespace fix to test commit rights (details)
  373. [Sema] Teach -Wcast-align to compute an accurate alignment using the (details)
  374. [lldb] Print full Clang diagnostics when the ClangModulesDeclVendor fails to compile a module (details)
  375. [CSInfo][ISEL] Call site info generation support for Mips (details)
  376. [mlir] LinalgToStandard: add build dependency on MLIRPass (details)
  377. [yaml2obj] - Introduce the "Offset" property for sections. (details)
  378. [llvm-readobj] - --gnu-hash-table: do not crash when the GNU hash table goes past the EOF. (details)
  379. [mlir] Rename conversions involving ex-Loop dialect to mention SCF (details)
  380. [GlobalISel] Update GIComplexOperandMatcher comment; NFC (details)
  381. [LLD][ELF] - Fix section-alignment.test after yaml2obj change. (details)
  382. Recommit "[lldb] Don't dissasemble large functions by default" (details)
  383. [DebugInfo] - DWARFDebugFrame: do not call abort() on errors. (details)
  384. [lldb] Fixup command-disassemble-process.yaml test (details)
  385. X86ISelLowering.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC. (details)
  386. [clang-tidy] Fix assertion in RenamerClangTidyChecks (details)
  387. [analyzer] SATestBuild.py: Fix handling invalid plists after 2to3 conversion. (details)
  388. [GlobalISel][InlineAsm] Add early return for memory inputs that need to be indirectified (details)
  389. DAGCombiner.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC. (details)
  390. [MLIR] Add shape.witness type and ops (details)
  391. [libc++] [span] [P1976] Update status page. NFC (details)
  392. [NFC][ARM] Intrinsic CostModel Tests (details)
  393. [clang-format] C# property formatting can be controlled by config options (details)
  394. Add MSVC natvis visualisation of llvm::Type (details)
  395. [IR][BFloat] Add BFloat IR type (details)
  396. [CodeGen] Fix FoldConstantVectorArithmetic for scalable vectors (details)
  397. [TSAN] Add option to allow instrumenting reads of reads-before-writes (details)
  398. [llvm-readobj] Implement --dependent-libraries for GNU output (details)
  399. [ARM][MachineOutliner] Fix memory leak. (details)
  400. Fix Linux build broken by f06e6564 (details)
  401. Re-land [Debug][CodeView] Emit fully qualified names for globals (details)
  402. clang-format: support aligned nested conditionals formatting (details)
  403. [clang-format] Fix AlignOperands when BreakBeforeBinaryOperators is set (details)
  404. [AMDGPU] Fix assertion failure in SIInsertHardClauses (details)
  405. [BPF] preserve debuginfo types for builtin __builtin__btf_type_id() (details)
  406. [gn build] Port 6b01b465388 (details)
  407. [ARM][MachineOutliner] Fix memory leak #2. (details)
  408. [VectorUtils] Expose vector-function-abi-variant mangling as a utility. (details)
  409. [libc++] Centralize where we set the libc++ and libc++abi paths in config.py (details)
  410. [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` (details)
  411. [ARM][MVE] Add support for incrementing scatters (details)
  412. [libc++] Segregate back-deployment dylibs into their own subdirectory (details)
  413. [libc++] Fix broken Lit features based on __config_site macros (details)
  414. [X86] getFauxShuffle - remove (unused) ISD::TRUNCATE shuffle decoding. (details)
  415. [X86] Use getConstantOperandVal helper in a few places. NFC. (details)
  416. [Clang][BPF] implement __builtin_btf_type_id() builtin function (details)
  417. [x86][NFC] Apply clang-format to X86ISelLowering.h (details)
  418. [X86] Move expansion of MASKPAIR16LOAD and MASKPAIR16STORE from X86MCInstLower to X86ExpandPseudo. (details)
  419. [libc++] Do not rely on use_system_cxx_lib to specify the path of the library to run against (details)
  420. [x86][CGP] add more tests for PR37426; NFC (details)
  421. [IR] Trivial cleanups in Use. NFC. (details)
  422. [X86] Remove some duplicate ConstantSDNode casts. NFC. (details)
  423. [MLIR] Allow unreachable blocks to violate dominance property. (details)
  424. [IR] Convert null-pointer-is-valid into an enum attribute (details)
  425. Fixed arm build bot failure after ab699d78a26f (details)
  426. [WebAssembly] Fixed debugloc in DebugFixup pass (details)
  427. [mlir] Fix incorrect indexing of subview in DimOp folding. (details)
  428. [WebAssembly] Update latest implemented SIMD instructions (details)
  429. [libc++] Remove workaround for DYLD_LIBRARY_PATH being passed to the compiler (details)
  430. Fixed arm build bot failure after 4042ada1c1fe (details)
  431. [mlir] [VectorOps] Implement vector.create_mask lowering to LLVM IR (details)
  432. [ELF] Enforce two dashes for Flag options not supported by GNU ld (i.e. no compatibility burden) (details)
  433. [libc] Consolidate floating point utils into a single utils library. (details)
  434. [libc++] Do not set the runtime library path with DYLD_LIBRARY_PATH (details)
  435. [libc] Add implementation of fabs and fabsf. (details)
  436. [libc++] Remove -ftemplate-depth when running tests (details)
  437. [compiler-rt][CMAKE] Only add cmake link flags in standalone build (details)
  438. [NFC] Whitespace fix inside OptParserEmitter (details)
  439. IR: Remove extra name mangling from llvm.ptrmask (details)
  440. [SVE] Restore broken LLVM-C ABI compatability (details)
  441. [AArch64][SVE] Implement AArch64ISD::SETCC_PRED (details)
  442. [LLD][ELF] Use offset in thin archives to disambiguate thinLTO members (details)
  443. [WebAssembly] Optimize splats of bitcasted vectors (details)
  444. [NFC] Deduplicate comment in PromoteMemoryToRegister.cpp (details)
  445. [clang][slh] Add test for SLH feature checking macro (details)
  446. StoreInst should store Align, not MaybeAlign (details)
  447. Revert "Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs"" (details)
  448. [SVE] Remove usages of VectorType::getNumElements() from PowerPC (details)
  449. [libc] Move implementations of expf and exp2f from the AOR to src/math. (details)
  450. [SVE] Remove usages of VectorType::getNumElements() from ARM (details)
  451. [clang-format] [PR44345] Long namespace closing comment is duplicated endlessly (details)
  452. [lldb/Dataformatter] Add support to CF{Dictionary,Set}Ref types (details)
  453. [lldb/Commands] Add ability to run shell command on the host. (details)
  454. [gn build] Put HAVE_LIBZ and HAVE_ZLIB_H behind llvm_enable_zlib too. (details)
  455. [NFC,StackSafety] Rename local function (details)
  456. [CMake] -gen-dag-isel: add -omit-comments if neither Debug nor RelWithDebInfo (details)
  457. [MLIR] LinalgToStandard: use LINK_LIBS rather than target_link_libraries. (details)
  458. [tests][Driver] Set `--sysroot=""` to allow `DEFAULT_SYSROOT` build (details)
  459. [test][ARM][CMSE] Use clang_cc1 in arm_cmse.h tests (details)
  460. [CMake][AIX] Add `-bcdtors:mbr` option when building with IBM XL (details)
  461. [MLIR] Update intrinsic test, because ptrmask changed. (details)
  462. [MLIR] Continue renaming of "SideEffects" (details)
  463. [MLIR][cmake] refactor lib/Interfaces/CMakeLists.txt (details)
  464. [MLIR] Move JitRunner to live with ExecutionEngine (details)
  465. unwind: fix unwind build without heap (details)
  466. [ARM] Change more triples to arm-none-none-eabi. NFC (details)
  467. Fix polly tests after D79968. (details)
  468. Cleanup some test issues: (details)
  469. Fix flang build after mlir SideEffects.h -> SideEffectInterfaces.h change. (details)
  470. [test] Improve FileCheck's numeric-expression.txt (details)
  471. Prevent register coalescing in functions whith setjmp (details)
  472. Fix go bindings after FixedVectorType -> VectorType change. (details)
  473. [clang-tidy] Transformer checks now store IncludeStyle option (details)
  474. [flang] Constraint checks C751 to C760 (details)
  475. [AMDGPU] Allow use of StackPtrOffsetReg when building spills (details)
  476. [WebAssembly] Handle exception specifications (details)
  477. Revert "[WebAssembly] Handle exception specifications" (details)
  478. [Windows EH] Fix the order of Nested try-catches in $tryMap$ table (details)
  479. [LegalizeVectorTypes] Remove non-constnat INSERT_SUBVECTOR handling. NFC (details)
  480. [LegalizeDAG] Use getMemBasePlusOffset to simplify some code. Use other signature of getMemBasePlusOffset in another location. NFCI (details)
  481. [libcxx testing] Remove ALLOW_RETRIES from last futures test (details)
  482. [ValueTracking] Fix computeKnownBits() with bitwidth-changing ptrtoint (details)
  483. [mlir][spirv] Handle debuginfo for control flow ops. (details)
  484. [ARM] Extra VQMOVN/VQSHRN tests. NFC (details)
  485. Fix -Wdocumentation warning. NFC. (details)
  486. LLParser.cpp - remove headers explicitly included in LLParser.h. NFC. (details)
  487. AggressiveAntiDepBreaker.cpp - remove headers explicitly included in AggressiveAntiDepBreaker.h. NFC. (details)
  488. DIEHash.cpp - remove headers explicitly included in DIEHash.h. NFC. (details)
  489. [ARM] MVE saturating truncates (details)
  490. [ARM] Combines for VMOVN (details)
  491. [x86][CGP] try to hoist funnel shift above select-of-splats (details)
  492. [AArch64] Precommit tests for D77316 (details)
  493. [VectorCombine] add reduction-like patterns; NFC (details)
  494. [ARM] Patterns for VQSHRN (details)
  495. [InstCombine] Clean up alignment handling (NFC) (details)
  496. [PhaseOrdering] add vector reduction tests; NFC (details)
  497. [VectorCombine] forward walk through instructions to improve chaining of transforms (details)
  498. The release notes for ObjCBreakBeforeNestedBlockParam was placed between the release note for IndentCaseBlocks and its example code (details)
  499. Expose IRGen API to add the default IR attributes to a function definition. (details)
  500. [nfc] test commit (details)
  501. Revert "[nfc] test commit" (details)
  502. Harden IR and bitcode parsers against infinite size types. (details)
  503. [X86] Replace selectScalarSSELoad ComplexPattern with PatFrags to handle the 3 types of loads we currently match. (details)
  504. AllocaInst should store Align instead of MaybeAlign. (details)
  505. [LegalizeDAG] Use MachinePointerInfo::getUnknownStack in place of MachinePointerInfo() in a couple places. NFC (details)
  506. Try to heal bots after https://reviews.llvm.org/D79655 (details)
  507. Fix a few doc typos to cycle bots. (details)
  508. [Compiler-rt] Emit error if builtins library cannot be found (details)
  509. [NFC] Run clang-format on ISDOpcodes.h (details)
  510. [llvm-xray] consumeError when trying big-endian (details)
  511. [MLIR][cmake] use LINK_LIBS PUBLIC for MLIRStandardOpsTransforms (details)
  512. [Driver] Render -T for Gnu.cpp (details)
  513. [AVR]  Fix I/O instructions on XMEGA (details)
  514. [LLVM][AVR] Support for R_AVR_6 fixup (details)
  515. [Inliner][NFC] silence gcc 'overloaded-virtual' warning on hiding of Pass::doInitialization (details)
  516. [OpenMP] Fix race condition in the completion/freeing of detached tasks (details)
  517. [AMDGPU] Enable base pointer. (details)
  518. [LoopUnroll] Precommit test for PR459393. (details)
  519. [LoopUnroll] Extend test case with additional loop with larger TC. (details)
  520. [InstCombine] improve analysis of FP->int->FP to eliminate fpextend (details)
  521. [X86] getTargetConstantBitsFromNode - remove unnecessary X86ISD::VBROADCAST handling. (details)
  522. [X86] Add getTargetConstantFromBasePtr helper. NFC. (details)
  523. [mlir] NFC - VectorTransforms use OpBuilder where relevant (details)
  524. [AVR] Explicitly set the address of the data section when invoking the linker (details)
  525. [ObjectYAML][DWARF] Take into account other debug sections in DWARFYAML::Data::isEmpty(). (details)
  526. [InstCombine] add tests for FP cast of cast; NFC (details)
  527. [x86] favor vector constant load to avoid GPR to XMM transfer (details)
  528. [XRay] Migrate xray_naive_log=true tests to xray_mode=xray-basic (details)
  529. ImmutableGraph.h - remove unused raw_ostream.h include. NFC (details)
  530. GlobPattern.h - remove unnecessary BitVector.h/StringRef.h includes. NFC (details)
  531. Revert rGca18ce1a00cd8b7cb7ce0e130440f5ae1ffe86ee "GlobPattern.h - remove unnecessary BitVector.h/StringRef.h includes. NFC" (details)
  532. [ASTMatchers] Added BinaryOperator hasOperands matcher (details)
  533. Add missing include Host.h in llvm-mc-* fuzzers. NFC. (details)
  534. [LVI] Don't use dominator tree in isValidAssumeForContext() (details)
  535. DebugInfo: Reduce long-distance dependence on what will/won't emit a debug_addr section (details)
  536. [InstCombine] visitMaskedMerge(): when unfolding, sanitize undef constants (PR45955) (details)
  537. [Alignment] Remove unnecessary getValueOrABITypeAlignment calls (NFC) (details)
  538. [MLIR][cmake][NFC] Update linkage checker for mlir-opt (details)
  539. [MLIR] Fix linkage for libMLIR.so (details)
  540. ValueMapper does not preserve inline assembly dialect when remapping the type (details)
  541. Remove spurious semicolon after function definition (NFC) (details)
  542. Replace dyn_cast with isa when the result isn't used (NFC) (details)
  543. Fix warning "defined but not used" for debug function (NFC) (details)
  544. [MLIR][cmake] Fix unittest/Tablegen by special casing LLVMMLIRTableGen (details)
  545. [PowerPC] add more high latency opcodes for machinecombiner - NFC (details)
  546. [llvm-objcopy][MachO] Fix code formatting (details)
  547. [RISCV] Fix passing two floating-point values in complex separately by two GPRs on RV64 (details)
  548. [TargetLibraryInfo] memcpy and memset have optimized codegen. (details)
  549. [compiler-rt] Don't error out on missing builtins when builting builtins themselves (details)
  550. [DebugInfo][DWARF] Emit a single location instead of a location list (details)
  551. [NFC][clang-tidy] use hasOperands in place of hasEitherOperand (details)
  552. Revert 76c5f277f2 "Re-land [Debug][CodeView] Emit fully qualified names for globals" (details)
  553. [Test] Opportunity for sinking to unreachable in InstCombine (details)
  554. [clang-tidy] NFC: Cleanup Python scripts (details)
  555. [AMDGPU][MC] Corrected branch relocation handling to detect undefined labels (details)
  556. [OpenCL] Added addrspace_cast operator in C++ mode. (details)
  557. [InstCombine][NFC] Simplify check in sinking (details)
  558. Turn -Wmax-tokens off by default (details)
  559. [libcxx testing] Remove ALLOW_RETRIES from lock_guard tests (details)
  560. [libcxx][type_traits] Add C++20 changes to common_type (details)
  561. Reorder Type fields to make various isa< > check more concise (details)
  562. [openmp] Fixed hang if detached task was serialized. (details)
  563. [mlir] NFC - Fix OperationSupport.cpp::findNamedAttr (details)
  564. [mlir] Add BoolArrayAttr in Tablegen + Builder support (details)
  565. [pstl] A fix for move placement-new (and destroy) allocated objects from raw memory. (details)
  566. [Analyzer][StreamChecker] Changed representation of stream error state - NFC. (details)
  567. [Analyzer][StreamChecker] Fixed compile error - NFC. (details)
  568. [WebAssembly] iterate stack in DebugFixup from the top. (details)
  569. [SVE] Ignore scalable vectors in InterleavedLoadCombinePass (details)
  570. [mlir][Vector] Make minor identity permutation map optional in transfer op printing and parsing (details)
  571. [mlir][Vector] Add an optional "masked" boolean array attribute to vector transfer operations (details)
  572. AMDGPU: Remove outdated comment (details)
  573. AMDGPU/GlobalISel: Fix splitting wide VALU, non-vector loads (details)
  574. [MLIR] [Linalg] Add option to use the partial view after promotion. (details)
  575. [mlir] Support optional attributes in assembly formats (details)
  576. [MLIR] Use `MLIR_INCLUDE_TESTS` to conditionally compile tests. (details)
  577. [Local] Do not ignore zexts in salvageDebugInfo, PR45923 (details)
  578. [lldb/Reproducers] Add skipIfReproducer to more tests (details)
  579. [llvm][NFC] Fixed non-compliant style in InlineAdvisor.h (details)
  580. [SystemZ] Don't create PERMUTE nodes with an undef operand. (details)
  581. [IR] Revert r2694 in BasicBlock::removePredecessor (details)
  582. Add verifier check that musttail and preallocated are not used together (details)
  583. [dsymutil] Make sure the --help output and man page are consistent (details)
  584. Fixed a typo in the comment for allocateBuffer() (details)
  585. [Loads] Require Align in isSafeToLoadUnconditionally() (NFC) (details)
  586. LoadStoreVectorizer: Match nested adds to prove vectorization is safe (details)
  587. AMDGPU/GlobalISel: Fix f64 G_FDIV lowering (details)
  588. [mlir][vulkan-runner] Add back accidentially removed header include (details)
  589. Revert "[CUDA][HIP] Workaround for resolving host device function against wrong-sided function" (details)
  590. AMDGPU: Fix illegally constant folding from V_MOV_B32_sdwa (details)
  591. [x86] Propagate memory operands during ISel DAG postprocessing (details)
  592. [compiler-rt][CMake] Fix PowerPC runtime build (details)
  593. [Sanitizers] Use getParamByValType() (NFC) (details)
  594. [lldb/DataFormatter] Check for overflow when finding NSDate epoch (details)
  595. Fix several places that were calling verifyFunction or verifyModule without checking the return value. (details)
  596. [clangd] Avoid wasteful data structures in RefSlab::Builder (details)
  597. DAG: Use correct pointer size for llvm.ptrmask (details)
  598. [AMDGPU] Fixed selection error for 64 bit extract_subvector (details)
  599. [x86] add tests for disguised horizontal ops; NFC (details)
  600. [x86] add tests for heroic horizontal ops; NFC (details)
  601. [GlobalISel] Add support for using vector values in memset inlining. (details)
  602. [llvm][SVE] IR intrinscs for matrix multiplication instructions. (details)
  603. [SveEmitter] Builtins for SVE matrix multiply `mmla`. (details)
  604. [llvm][sve] Intrinsics for SVE sudot and usdot instructions. (details)
  605. GlobalISel: Fold G_MUL x, 0, and G_*DIV 0, x (details)
  606. [analyzer][NFC] Introduce CXXDeallocatorCall, deploy it in MallocChecker (details)
  607. [gn build] Port 9d69072fb80 (details)
  608. [LV] Fix FoldTail under user VF and UF (details)
  609. Map -O to -O1 instead of -O2 (details)
  610. [lldb/test] Relax NSDate mock test for non-Apple platforms (details)
  611. [clang][SveEmitter] SVE builtins for `svusdot` and `svsudot` ACLE. (details)
  612. [AArch64][GlobalISel] Add legalizer & selector support for G_FREEZE. (details)
  613. [clangd] Tidy up SelectionTree dumps with newlines (details)
  614. [lldb/test] Disable NSDate format check under _WIN32 (details)
  615. Re-land [Debug][CodeView] Emit fully qualified names for globals (details)
  616. [BPF] Prevent disassembly segfault for NOP insn (details)
  617. [PowerPC][MachineCombiner] add testcase for reassociating FMA - NFC (details)
  618. [TargetInstrInfo] add override function setSpecialOperandAttr - NFC (details)
  619. fix build failure due to commit rGddcb3cf213e8 (details)
  620. [lldb/Driver] Fix handling on positional arguments (details)
  621. [BPF] Return fail if disassembled insn registers out of range (details)
  622. [NFC] Replace MaybeAlign with Align in TargetTransformInfo. (details)
  623. Add cet.h for writing CET-enabled assembly code (details)
  624. [gn build] Port e7e84ff24a5 (details)
  625. [PowerPC-QPX] adjust operands order of qpx fma instructions. (details)
  626. [LoopSimplify] don't separate nested loops with convergent calls (details)
  627. Test asm-cet.S fail for window clang (details)
  628. [gn build] Port 62a9eca859d (details)
  629. [BPF] fix an asan issue when disassemble an illegal instruction (details)
  630. [NFC] [PowerPC] Refresh fma-mutate.ll using script (details)
  631. [lldb/Test] Skip TestPositionalArgs with lldb-repro (details)
  632. Add cet.h for writing CET-enabled assembly code (details)
  633. [gn build] Port bcc0c894f38 (details)
  634. Add support of the next Ubuntu (Ubuntu 20.10 - Groovy Gorilla) (details)
  635. [DebugInfo] Remove an outdated test. (details)
  636. [DebugInfo] Dump fields in .debug_aranges according to the DWARF format (1/8). (details)
  637. [DebugInfo] Dump form values according to the DWARF format (2/8). (details)
  638. [DebugInfo] Dump length of CUs and TUs according to the DWARF format (3/8). (details)
  639. [DebugInfo] Dump length in .debug_line according to the DWARF format (4/8). (details)
  640. [DebugInfo] Dump values in .debug_loclists and .debug_rnglists according to the DWARF format (5/8). (details)
  641. [DebugInfo] Dump values in .debug_pubnames and .debug_pubtypes according to the DWARF format (6/8). (details)
  642. [DebugInfo] Dump offsets in .debug_str_offsets according to the DWARF format (7/8). (details)
  643. [DebugInfo] Add a test for dumping DWARF64 CIEs and FDEs (8/8). (details)
  644. [clang] Add an API to retrieve implicit constructor arguments. (details)
  645. [SystemZ] Eliminate the need to create a zero vector by reusing the VPERM mask. (details)
  646. [Analyzer][VLASizeChecker] Check for VLA size overflow. (details)
  647. [WebAssembly] Handle exception specifications (details)
  648. TargetLoweringObjectFile.h - remove unnecessary includes. NFCI. (details)
  649. TargetIntrinsicInfo.h - remove unnecessary Compiler.h include. NFC. (details)
  650. [AST] Fix recovery-AST crash: dependent overloaded call exprs are now possible. (details)
  651. [Tooling] Drop leading/trailing whitespace from compile_flags.txt lines (details)
  652. [clangd] Fix gcc compiler warning by removing extra ";" [NFC] (details)
  653. [yaml2obj] - Stop using square brackets for unique suffixes. (details)
  654. [Analyzer][VLASizeChecker] Try to fix vla.c test problems. (details)
  655. GlobPattern.h - remove unnecessary StringRef.h include. NFC (details)
  656. [AMDGPU] Add more VMEM to SALU WAR hazard tests. NFC (details)
  657. [MLIR, OpenMP] Support for flush operation, and translating the same to LLVM IR (details)
  658. [clangd] Complete filenames after < / ". (details)
  659. [clangd] Add CSV export for trace metrics (details)
  660. [MLIR] Add helper functions for common integer types (details)
  661. [clangd] Squash GCC error with StringRef + gtest MatchesRegex() (details)
  662. Unrank mcuMemHostRegister tensor argument. (details)
  663. [analyzer][MallocChecker] When modeling realloc-like functions, don't early return if the argument is symbolic (details)
  664. GlobalVariable.h - remove unused PointerUnion.h include. NFC (details)
  665. ObjectCache.h - replace unnecessary MemoryBuffer.h include with forward declarations. NFC. (details)
  666. Fix "not all control paths return a value" warning on MSVC builds. (details)
  667. [IR] Revert r119493 (details)
  668. [OPENMP50]Add initial support for 'affinity' clause. (details)
  669. [NFC][ARM] Add more tail predication tests (details)
  670. [AST][RecoveryExpr] Fix an assertion crash on openMP. (details)
  671. Added a TanOp to SPIR-V dialect GLSL ops (details)
  672. [AST] Fix the PrintQualifiedName for ObjC instance variable in class extension. (details)
  673. [clangd] Add a flag to preserve type for recovery expression. (details)
  674. [AST] Fix an assertion violation in FieldDecl::getParent. (details)
  675. [analyzer][DirectIvarAssignment] Turn DirectIvarAssignmentForAnnotatedFunctions into a checker option (details)
  676. GlobalISel: Fix IRTranslator for constantexpr selects (details)
  677. [VPlan] Remove unique_ptr from VPBranchOnRecipeMask (NFC). (details)
  678. [clangd] Delete regex assertion, breaking on windows too... (details)
  679. [VPlan] Add & use VPValue operands for VPReplicateRecipe (NFC). (details)
  680. [analyzer] SATestBuild.py: Optionally override compiler (details)
  681. MachineBasicBlock.h - remove unnecessary includes. NFC. (details)
  682. CommandLine.h - remove unnecessary raw_ostream forward declaration. NFC. (details)
  683. MCTargetOptionsCommandFlags.h - remove unnecessary includes. NFC. (details)
  684. [lld] Remove unused lld/test/Driver/Inputs/**/libtest.a (details)
  685. [mlir] scf::ForOp: provide builders with callbacks for loop body (details)
  686. [VPlan] Fix comment for User in VPWidenSelectRecipe (NFC). (details)
  687. [lld-macho] Support -order_file (details)
  688. [lld-macho] Support .subsections_via_symbols (details)
  689. [lld-macho] Support X86_64_RELOC_UNSIGNED (details)
  690. [clangd] findExplicitReferences supports goto labels (details)
  691. [clangd] Avoid StringRef entirely with gmock (details)
  692. [analyzer] Don't print the config count in debug.ConfigDumper (details)
  693. [clang][AIX] Implement ABIInfo and TargetCodeGenInfo for AIX (details)
  694. [analyzer][Nullability] Don't emit under the checker name NullabilityBase (details)
  695. [MLIR] Update the FunctionAndBlockSignatureConverter and NonVoidToVoidReturnOpConverter of Buffer Assignment (details)
  696. [clangd-remote] Replace YAML serialization with proper Protobuf messages (details)
  697. Revert "[lld-macho] Support X86_64_RELOC_UNSIGNED" (details)
  698. Revert "[lld-macho] Support .subsections_via_symbols" (details)
  699. [clang-format] [PR45942] [[nodiscard]] causes && to be miss interpreted as BinaryOperators (details)
  700. [clang-format] [PR44476] Add space between template and attribute (details)
  701. [clang-format] [PR45614] Incorrectly indents [[nodiscard]] attribute funtions after a macro without semicolon (details)
  702. [clang-format] @lefticus just taught the world how to use [[unlikely]] but we forgot to teach clang-format (details)
  703. [ELF] Make --trace-symbol track preempted shared definitions (details)
  704. [InstCombine] Remove hasNoInfs check for pow(C,y) -> exp2(log2(C)*y) (details)
  705. [LV] Remove duplicated return stmt (NFC). (details)
  706. [X86] Split masked integer vector stores into vXi32/vXi64 variants (PR45975). NFC (details)
  707. Entropic: Boosting LibFuzzer Performance (details)
  708. [StackColoring] When remapping alloca's move the To alloca if the From alloca is before it. (details)
  709. Fix aux-target diagnostics for certain builtins (details)
  710. [lldb/Reproducers] Move connection logic into replay server (NFC) (details)
  711. Silence warnings around int/float conversions. (details)
  712. [mlir][StandardToSPIRV] Fix signedness issue in bitwidth emulation. (details)
  713. [LVI] Don't require DominatorTree in LVI (NFC) (details)
  714. [lldb/Properties] Move OSPluginReportsAllThreads from Target to Process (details)
  715. [SVE] Add specialized getters to derived vector types (details)
  716. [IR] Simplify BasicBlock::removePredecessor. NFCI. (details)
  717. [PhaseOrdering] make different pass manager runs equivalent; NFC (details)
  718. [PhaseOrdering] add tests for x86 horizontal math ops (PR41813); NFC (details)
  719. [llvm][docs] Add step by step git to GettingStarted (details)
  720. [lld-macho][re-land] Support .subsections_via_symbols (details)
  721. [lld-macho][re-land] Support X86_64_RELOC_UNSIGNED (details)
  722. [WebAssembly] Implement i64x2.mul and remove i8x16.mul (details)
  723. [WebAssembly] Fix bug in custom shuffle combine (details)
  724. [PGOProfile] make test less brittle; NFC (details)
  725. [PowerPC][NFC] Cleanup load/store spilling code (details)
  726. [gn build] Add a flag zlib_path to provide the path to zlib on Windows. (details)
  727. [analyzer] Move apiModeling.StdCLibraryFunctionArgs to alpha. (details)
  728. [lldb/Reproducers] Update GDB remote client tests for passive replay (details)
  729. [gn build] Try to unbreak Windows build after f8e833a501. (details)
  730. Give helpers internal linkage. NFC. (details)
  731. Fix X86_64 complex-returns for regcall. (details)
  732. [AArch64] Disable MachineOutliner on Windows. (details)
  733. [clang-misexpect] Fixed typo which causes that --pgo-warn-misexpect option is not passed in the compiler invocation (details)
  734. [gn build] Try harder to unbreak Windows build after f8e833a501. (details)
  735. Revert "[clang-misexpect] Fixed typo which causes that --pgo-warn-misexpect option is not passed in the compiler invocation" (details)
  736. [mlir][shape] Add `shape.from_extents`. (details)
  737. [mlir][SPIRV] Fix blocks nested too deeply error. (details)
  738. [MLIR] LLVMMLIRTableGen -> MLIRTableGen (details)
  739. [MLIR][cmake][NFC] Check for incorrect usage of LLVM components in LINK_LIBS (details)
  740. CodeGen: Use Register (details)
  741. GlobalISel: Remove unused include (details)
  742. [analyzer][NSOrCFError] Don't emit diagnostics under the name osx.NSOrCFErrorDerefChecker (details)
  743. [Hexagon] pX.new cannot be used with p3:0 as producer (details)
  744. AMDGPU: Use member initializers in MFI (details)
  745. AMDGPU: Fix DAG divergence for implicit function arguments (details)
  746. [analyzer][ObjCGenerics] Don't emit diagnostics under the name core.DynamicTypePropagation (details)
  747. GlobalISel: Copy correct flags to select (details)
  748. [SVE] MOVPRFX zero merging test renaming (details)
  749. analyzer][CallAndMessage][NFC] Change old callbacks to rely on CallEvent (details)
  750. AMDGPU: Annotate functions that have stack objects (details)
  751. [analyzer][NFC] Merge checkNewAllocator's paramaters into CXXAllocatorCall (details)
  752. [asan_symbolize] Fix bug handling C++ symbols when using Atos. (details)
  753. [lldb/test] Move "DataFormatters/Mock.h" to "Plugins/Language/ObjC/Utilities.h" (details)
  754. Add terminateCommands to lldb-vscode protocol (details)
  755. [analyzer] Change the default output type to PD_TEXT_MINIMAL in the frontend, error if an output loc is missing for PathDiagConsumers that need it (details)
  756. [analyzer][NFC][MallocChecker] Convert many parameters into CallEvent (details)
  757. [NFC] Add _EnableIfLValueCallable and move reference out of __callable. (details)
  758. Mark shared_ptr::__create_with_control_block as noexcept. (details)
  759. [NFC] Remove non-rvlaue non-variadic allocator::construct overloads. (details)
  760. [NFC] Remove non-rvlaue non-variadic allocator::construct overloads. (details)
  761. [analyzer][StackAddressEscape] Tie warnings to the diagnostic checkers rather then core.StackAddrEscapeBase (details)
  762. [mlir][ods] Fix ops with both attribute-sized operands and results (details)
  763. [mlir][Affine] Introduce affine memory interfaces (details)
  764. [mlir][vulkan-runner] Minor fix in timestamp flag for vulkan runner. (details)
  765. [DAGCombine] Remove the getNegatibleCost to avoid the out of sync with getNegatedExpression (details)
  766. [mlir][spirv] First step to support spirv cooperative matrix extension. (details)
  767. [mlir] NFC - Appease gcc 5 (details)
  768. AMDGPU/GlobalISel: Fix bug in test register bank (details)
  769. Mark AffineMap::replaceDimsAndSymbols as const (NFC) (details)
  770. [CGCall] Annotate references with "align" attribute. (details)
  771. [compiler-rt][scudo][LIT] Use target_suffix instead of target-arch (details)
  772. [mlir][SystemZ] Fix incompatible datalayout in SystemZ (details)
  773. [AMDGPU] Process V_MOV_B32_indirect in SET_GPR_IDX optimization (details)
  774. [Support][unittest] Fix HostTest.NumPhysicalCores on __i386__ after D78324 (details)
  775. [Test] Add missing auto-generated checks into tests (details)
  776. [NFC][PowerPC] Add 2 new cases to test livevars pass (details)
  777. [clang-format] Fix line lengths w/ comments in align (details)
  778. [libc] Add memset and bzero implementations (details)
  779. [clang-format][PR45816] Add AlignConsecutiveBitFields (details)
  780. [clang-format] [PR33890] Add support for Microsoft C++/CLI non standard for each looping extension (details)
  781. [clang-format] [PR42164] Add Option to Break before While (details)
  782. Revert "[IR] Simplify BasicBlock::removePredecessor. NFCI." (details)
  783. [Analyzer][StreamChecker] Added support for 'fread' and 'fwrite'. (details)
  784. [mlir] Mark witness related Shape dialect ops as NoSideEffect. (details)
  785. [mlir] Custom printing/parsing for Shape::AssumingOp (details)
  786. Revert "Add terminateCommands to lldb-vscode protocol" (details)
  787. Github access test: remove unnecessary whitespaces. (details)
  788. [IR] Simplify BasicBlock::removePredecessor. NFCI. (details)
  789. CommandFlags.h - remove unnecessary includes. NFC. (details)
  790. SLPVectorizer.h - remove unused CommandLine.h include. NFC (details)
  791. [lldb-server] Reset stop reason of all threads when resuming (details)
  792. Use IPv4 for Android connections (details)
  793. [llvm-readobj][test] - Deduplicate YAMLs in gnuhash.test and hash-table.test. NFCI. (details)
  794. [PowerPC] Enable machine verification for 3 passes (details)
  795. [SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC). (details)
  796. [gold-plugin] Unbreak the build after d9b9ce6c04764275a23cd0cf1856a35aae921af7 (details)
  797. [gn build] Port bcbd26bfe61 (details)
  798. [lldb][NFC] Modernize TestCPPStaticMethods (details)
  799. [yaml2obj] - Implement the "Offset" property for the Fill Chunk. (details)
  800. Revert "[lldb/test] Move "DataFormatters/Mock.h" to "Plugins/Language/ObjC/Utilities.h"" (details)
  801. Revert "Silence warnings around int/float conversions." (details)
  802. Revert "[lldb/test] Disable NSDate format check under _WIN32" (details)
  803. Revert "[lldb/test] Relax NSDate mock test for non-Apple platforms" (details)
  804. Revert "[lldb/DataFormatter] Check for overflow when finding NSDate epoch" (details)
  805. [NFCI][CostModel] Refactor getIntrinsicInstrCost (details)
  806. [Polly] Update ScalarEvolutionExpander.h include. (details)
  807. [Target][ARM] Make Low Overhead Loops coexist with VPT blocks. (details)
  808. [mlir] Add custom assembly formats to shape.witness ops. (details)
  809. Revert "[lldb-server] Reset stop reason of all threads when resuming" (details)
  810. [analyzer] Get scan-view executable from environment. (details)
  811. PseudoSourceValue.h - remove unused operator declaration. NFC. (details)
  812. PseudoSourceValue.h - reduce GlobalValue.h include to forward declaration. NFC. (details)
  813. GenericDomTreeConstruction.h - reorder includes. NFC. (details)
  814. [mlir] NFC: rename tests related to SCF dialect from Loops to SCF (details)
  815. [clang] FastMathFlags.allowContract should be initialized only from FPFeatures.allowFPContractAcrossStatement (details)
  816. [lldb][NFC] Minor NamespaceMap refactor (details)
  817. [AMDGPU] Add the test from D49097. (details)
  818. DIPrinter.h - reduce unnecessary includes to forward declarations. NFC. (details)
  819. MachineMemOperand.h - replace Type.h with full GlobalValue.h include to fix -Wundefined-inline warnings. (details)
  820. [mlir][Linalg] Refactor linalg tiling (details)
  821. [mlir][Linalg] NFC - Simplify GenericNestLoop builder (details)
  822. [mlir] Toy tutorial: insert terminators at the end of the loop during rewrite (details)
  823. [mlir] DialectConversion: avoid double-free when rolling back op creation (details)
  824. [mlir] DialectConversion: support erasing blocks (details)
  825. [mlir] Erase or clear blocks through ConversionPatternRewriter when applicable (details)
  826. [mlir] SCFToStandard: support any ops in and around the control flow ops (details)
  827. [mlir] ensureRegionTerminator: take OpBuilder (details)
  828. [OPENMP][DOCS]Update status of implemented features, NFC. (details)
  829. [mlir][Vector] Add option to fully unroll for VectorTransfer to SCF lowering (details)
  830. AMDGPU/GlobalISel: Fix splitting 64-bit extensions (details)
  831. [lldb/Reproducers] Update macosx remote tests for passive replay (details)
  832. [mlir][Linalg] Add producer-consumer fusion when producer is a ConstantOp (details)
  833. [lldb/Reproducers] Support reproducers for PlatformRemoteGDBServer (details)
  834. [X86] Codegen for preallocated (details)
  835. GenericError.h - remove unused StringRef.h include. NFC. (details)
  836. FormatAdapters.h - remove unused SmallString.h include. NFC. (details)
  837. [lldb/Driver] Error out when encountering unknown arguments (details)
  838. [ProfileSummary] Refactor getFromMD to prepare for another optional field. NFC. (details)
  839. [InstCombine] add tests for reassociative fsub/fadd expressions; NFC (details)
  840. [clang][asm goto][slh] Warn if asm goto + SLH (details)
  841. [lldb/Reproducers] Skip another test that uses lldb::FileSP under the hood (details)
  842. Add some dependencies to the compiler-rt symbolizer build (details)
  843. Revert "[X86] Codegen for preallocated" (details)
  844. [lldb/Reproducers] Make SBStream::Print an API instead of a SWIG extension (details)
  845. Reland [X86] Codegen for preallocated (details)
  846. [libcxx] Remove swap for std::span (details)
  847. [llvm] [CodeGen] [X86] Fix issues with v4i1 instruction selection (details)
  848. [libcxx][test] Portability fix for some locale-dependent tests. (details)
  849. [NFC][InstCombine] Negator: tests for extractelement negation (details)
  850. [InstCombine] Negator: `extractelement` is negatible if src is negatible (details)
  851. [NFC][InstCombine] Negator: tests for insertelement negation (details)
  852. [InstCombine] `insertelement` is negatible if both sources are negatible (details)
  853. [mlir][spirv] Adapt subview legalization to the updated op semantics. (details)
  854. [OPENMP]Fix PR45911: Data sharing and lambda capture. (details)
  855. [lldb] Allows customizing libxml2 for darwin (details)
  856. [lldb] Cleans up system_libs (details)
  857. [lldb/Driver] Print snippet before exiting with unknown argument. (details)
  858. [sanitizer_symbolizer] Add __isinf to symbols list. (details)
  859. [lldb/Reproducers] Add instrumentation to SBEnvironment (details)
  860. [clang-format] Set of unit test to begin to validate that we don't change defaults (details)
  861. Give microsoftDemangle() an outparam for how many input bytes were consumed. (details)
  862. [clang-format] Added new option IndentExternBlock (details)
  863. [lit] GoogleTest framework should report failures if test binary crashes (details)
  864. [mlir] NFC - Appease GCC 5 again.. (details)
  865. [lldb/Test] Support arbitrary file extensions in TestPositionalArgs.test (details)
  866. [mlir][gpu] Refactor ConvertGpuLaunchFuncToCudaCalls pass. (details)
  867. [mlir][gpu] Refactor functions for workgroup and private buffer attributions. (details)
  868. [mlir] NFC - Appease GCC 5 again.. (details)
  869. [LegalizeVectorTypes] Create correct memoperands in SplitVecRes_INSERT_SUBVECTOR. (details)
  870. [AMDGPU] Always expand ext/insertelement with divergent idx (details)
  871. [AArch64] Provide Darwin variants of most calling conventions (details)
  872. [analyzer] Fix a null FunctionDecl dereference bug after D75432 (details)
  873. [LLD] Make scoped timers thread safe (details)
  874. [AArch64] Fix GlobalISel tests on non-darwin platforms (details)
  875. Make Value::getPointerAlignment() return an Align, not a MaybeAlign. (details)
  876. [AArch64] Fix unwind info generated by outliner. (details)
  877. [analyzer] Make buildbots happy (details)
  878. [clang-format][docfix] Update predefined styles in docs (details)
  879. Add CanonicalizeFreezeInLoops pass (details)
  880. [gn build] Port d9a4a244138 (details)
  881. add a test for D77524 (details)
  882. [Darwin] Remove obsolete OS version checks (details)
  883. Fix typo in CMake error message "LLVM_LIBC_ENABLE_PROJECTS"->"LLVM_ENABLE_PROJECTS" (NFC) (details)
  884. Revert "[mlir][gpu] Refactor ConvertGpuLaunchFuncToCudaCalls pass." (details)
  885. [LegalizeDAG] Modify ExpandLegalINT_TO_FP to swap data for little/big endian instead of the pointers. (details)
  886. [BrachProbablityInfo] Set edge probabilities at once and fix calcMetadataWeights() (details)
  887. [MC] Simplify MakeStartMinusEndExpr(). NFC. (details)
  888. [CostModel] Remove getExtCost (details)
  889. Revert "[lit] GoogleTest framework should report failures if test binary crashes" (details)
  890. [lldb/Reproducers] Fix/skip passive replay failures in python_api subdir (details)
  891. [CostModel] Unify Intrinsic Costs. (details)
  892. [PowerPC] add more high latency opcodes for machine combiner pass (details)
  893. [SVE] Remove IITDescriptor::ScalableVecArgument (details)
  894. [clang][index] Fix a crash for accessing a null field decl. (details)
  895. Fix a layering violation by not depending from Transforms/Utils on Transforms/Scalar. (details)
  896. [Statepoint] Constant fold FP deopt args. (details)
  897. [libc] Fix accidental inclusion of system libc headers. (details)
  898. [mlir] NFC - Add a builder to vector.transpose (details)
  899. [HardwareLoops] llvm.loop.decrement.reg definition (details)
  900. [IndVarSimplify][LoopUtils] Avoid TOCTOU/ordering issues (PR45835) (details)
  901. MachineMemOperand.h - reduce GlobalValue.h include to just DerivedTypes.h. NFC. (details)
  902. [analyzer][CallAndMessage][NFC] Split up checkPreCall (details)
  903. [FlattenCFG] Fix `MergeIfRegion` in case then-path is empty (details)
  904. Revert "[CostModel] Unify Intrinsic Costs." (details)
  905. [CostModel] Sink intrinsic costs to base TTI. (details)
  906. On Windows, handle interrupt signals without crash message (details)
  907. Fix compile for -DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY (details)
  908. Fix debug info for NoDebug attr (details)
  909. [analyzer][CallAndMessage] Add checker options for each bug type (details)
  910. [mlir][gpu] Refactor ConvertGpuLaunchFuncToCudaCalls pass. (details)
  911. [StringRef] Use some trickery to avoid initializing the std::string returned by upper()/lower() (details)
  912. [BitcodeReader] Simplify code. NFCI. (details)
  913. [mlir][rocdl] Exposing buffer load/store intrinsic (details)
  914. GenericDomTree.h - remove unused PointerIntPair.h include. NFC. (details)
  915. [x86] NFC: Fix typo in command line option description (details)
  916. Fix DeferredDiagnosticsEmitter for bug#45987 (details)
  917. [ModuloSchedule] Trivial fix for instruction with more than one destination in modulo peeler. (details)
  918. [SLP][NFC] PR45269 getVectorElementSize() is slow (details)
  919. [llvm][test] Add COM: directives before colon-less non-CHECKs in comments. NFC (details)
  920. [llvm][test] Add missing FileCheck colons. NFC (details)
  921. Revert "[YAMLTraits] Add trait for char" (details)
  922. [ADT] NFC: Fix typos in header comments (details)
  923. [AMDGPU] Tune threshold for cmp/select vector lowering (details)
  924. [libFuzzer] Fix leak in unit test. (details)
  925. [ProfileSummary] Add the PartialProfileRatio field in ProfileSummary metadata. (details)
  926. [ADT][Analysis] NFC: Fix some more typos (details)
  927. [ImmutableSet] Use IntrusiveRefCntPtr to eliminate some manual refcounting (details)
  928. Revert "Revert "[YAMLTraits] Add trait for char"" (details)
  929. Disable ptr_ref tests under ASAN (details)
  930. Disable malloc stepping test under ASAN. The output is different and I'm not sure how stable it is. (details)
  931. Move decorator to the correct function. (details)
  932. [mips] Reorganize check directives in the test. NFC (details)
  933. [dsymutil] Add reproducers to dsymutil (details)
  934. [dsymutil] Fix include-style (details)
  935. [gn build] Port 92fd3971e0d (details)
  936. [lld][WebAssembly] Do not emit initialization for .bss segments (details)
  937. [IR] Make Module::setProfileSummary to replace an existing ProfileSummary flag. (details)
  938. [dsymutil] Fix conversion between unique_ptr and Expected (details)
  939. [libc++] Link back-deployment tests against the latest libc++ and libc++abi (details)
  940. [Analyzer][WebKit] RefCntblBaseVirtualDtorChecker (details)
  941. [mlir][spirv] Add remaining cooperative matrix instructions (details)
  942. [AMDGPU] Added opt pipeline test. NFC. (details)
  943. [mlir][spirv] Enable composite instructions for cooperative matrix type. (details)
  944. [dsymutil] Add llvm_unreachable to silence warning (details)
  945. Revert "[Analyzer][WebKit] RefCntblBaseVirtualDtorChecker" (details)
  946. Reland [libc++] [LWG3321] Mark "year_month_day_last::day() specification does not cover !ok() values" issue as "Nothing to do", but add assertion. (details)
  947. [SelectionDAG] Add the option of disabling generic combines. (details)
  948. [libTooling][NFC]Fix typo in comment in RangeSelectors (details)
  949. [ModuloSchedule] Add missing comma. (details)
  950. [MsgPack] MsgPackDocument::readFromBlob now merges (details)
  951. [AArch64][SVE] Fill out missing unpredicated load/store patterns. (details)
  952. [NFC] Make assertion more informative. (details)
  953. [AMDGPU] Promote alloca to vector in opt (details)
  954. [CodeGen] Add support for multiple memory operands in MachineInstr::mayAlias (details)
  955. [MsgPack] Added convenience assignment to MsgPackDocument (details)
  956. [AMDGPU] Fixed incorrect PAL metadata register naming (details)
  957. Set traversal explicitly where needed in clang-tidy (details)
  958. Set traversal explicitly where needed in tests (details)
  959. Make the ExprMutationAnalyzer explicit about how it traverses the AST (details)
  960. llvm-diff: Avoid crash with complex expressions (details)
  961. [PS4] Enable relaxed relocations by default (details)
  962. [docs] Fix buildbot failures (details)
  963. Don't jump to landing pads in Control Flow Optimizer (details)
  964. [Target] Use Align in TargetLoweringObjectFile::getSectionForConstant. (details)
  965. Add nomerge function attribute to clang (details)
  966. [AARCH64][NEON] Allow to sink operands of aarch64_neon_pmull64. (details)
  967. [Instruction] Set metadata uses to undef on deletion (details)
  968. Revert "Add nomerge function attribute to clang" (details)
  969. Rename FunctionOptimizationWarning to the more generic FrameSelectedCallback (NFC) (details)
  970. Reland "[Analyzer][WebKit] RefCntblBaseVirtualDtorChecker" (details)
  971. [gn build] Port 54e91a3c701 (details)
  972. [lldb/Reproducers] Skip lldb-vscode category when lldb-run-with-repro is set. (details)
  973. [clang] Add nomerge function attribute to clang (details)
  974. [WebAssembly] Warn on exception spec only when Wasm EH is used (details)
  975. [lldb/Test] Cleanup TestSymbolContext.py (details)
  976. [AMDGPU] Correct formatting typos in documentation (details)
  977. Handle the case where a thread exits while we are running a function on it. (details)
  978. [llvm-extract] Fix basic block extraction by delaying search until the function is materialized (details)
  979. This very simple .c file is failing on the Debian bot wit the error (details)
  980. Maybe I need ENABLE_THREADS in the Makefile. (details)
  981. [libc] Make clang-tidy use host compiler's resource dir. (details)
  982. [AArch64][GlobalISel] Add a post-legalizer combiner with a very simple combine. (details)
  983. [gn build] (manually) port 49a4f3f7d88 (details)
  984. [lldb/Test] Fix replay with TestSetWatchpoint.py (details)
  985. [lldb/Reproducers] Skip test that changes the source file while debugging (details)
  986. [docs][llvm-extract] Add missing alias/bb options (details)
  987. [OPENMP] Fix mixture of omp and clang pragmas (details)
  988. [JITLink] Initial implementation of ELF / x86-64 support for JITLink. (details)
  989. [X86] Add avx512vp2intersect feature to compiler-rt's feature detection to match libgcc. (details)
  990. [X86] Allow avx512vp2intersect to be used with __builtin_cpu_supports. (details)
  991. [gn build] Port 2e40cf06df0 (details)
  992. [lldb/REPL] Fix unhandled switch case (details)
  993. [InstCombine] Sink pure instructions down to return and unreachable blocks (details)
  994. [NFC] InstCombineNegator: use auto where type is obvious from the cast (details)
  995. [lldb][NFC] Overload raw_ostream operator << for ConstString (details)
  996. [lldb] Enable C++14 when evaluating expressions in a C++14 frame (details)
  997. MILexer.h/cpp - remove unused includes. NFC. (details)
  998. Fix msvc "switch statement contains 'default' but no 'case' labels" warning. NFC. (details)
  999. StatepointLowering.h - remove unused includes. NFC. (details)
  1000. Revert "[ARM] Improve codegen of volatile load/store of i64" (details)
  1001. [SYCL] Prohibit arithmetic operations for incompatible pointers (details)
  1002. [lldb] Increase timeout in TestExitDuringExpression (details)
  1003. [analyzer] SATestBuild.py: Refactor and add type annotations (details)
  1004. [analyzer] SATestUtils.py: Refactor and add type annotations (details)
  1005. [analyzer] SATestUpdateDiffs.py: Refactor and add type annotations (details)
  1006. [analyzer] SumTimerInfo.py: Partially modernize (details)
  1007. [NFC][Test] Add test coverage for fsqrt on PowerPC (details)
  1008. Replace dyn_cast<> with isa<> to fix unused variable warning. NFCI. (details)
  1009. Remove superfluous semicolon to stop Wpedantic warning. NFCI. (details)
  1010. [AMDGPU][MC][GFX8+] Enabled clamp for v_mul_i32_i24_e64 and v_mul_u32_u24_e64 (details)
  1011. [AVR] Remove unsigned <= 0 checks. NFCI. (details)
  1012. Revert "[llvm][test] Add COM: directives before colon-less non-CHECKs in comments. NFC" (details)
  1013. InstCombine: Add constant folding/simplify for amdgcn.ldexp intrinsic (details)
  1014. [Target] Fix typos. NFC (details)
  1015. [CMake] Fix typos. NFC (details)
  1016. [PowerPC] Add missing handling for half precision (details)
  1017. [PowerPC] Treat 'Z' inline asm constraint as a true memory constraint (details)
  1018. [SLP] fix test to have valid IR; NFC (details)
  1019. [analyzer] LoopUnrolling: fix crash when a parameter is a loop counter. (details)
  1020. [SLP] fix verification check for valid IR (details)
  1021. [libc++] NFC: Inline array<T,N>::at methods inside the class (details)
  1022. [TargetLowering] Move TargetLoweringBase::isJumpTableRelative() implementation into TargetLoweringBase.cpp. NFC. (details)
  1023. TargetLowering.h - remove unnecessary includes. NFC. (details)
  1024. Title: [LV] Handle Fold-Tail of loops with vectorizarion factor equal to 1 (details)
Commit 6f300105d21e1f3bf7f0f92c2564c29f0cab8fb9 by tkeith
[flang] Fix bug with IMPORT of USE of USE

When a module contained an import of a use-association of a
use-association, we weren't recognizing that the symbols was needed.
The fix is the follow all of the use-associations using `GetUltimate()`.

Differential Revision: https://reviews.llvm.org/D79737
The file was modifiedflang/lib/Semantics/mod-file.cpp
The file was addedflang/test/Semantics/modfile36.f90
Commit c86fd3333dd4d29b302c93eb1dd7b5a149109904 by johannes
[Attributor] Force update of "newly live" abstract attributes

During an update of AAIsDead, new instructions become live. If we query
information from them, the result is often just the initial state, e.g.,
for call site `noreturn` and `nounwind`. We will now trigger an update
for cached attributes during the AAIsDead update, though other AAs might
later use the same API.
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/naked-return.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was modifiedllvm/test/Transforms/Attributor/alwaysinline.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
The file was modifiedllvm/test/Transforms/Attributor/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/readattrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/musttail.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
Commit c115a78f0d2ac59b6f53634fd057f45211e04a96 by johannes
[Attributor] Make AAIsDead dependences optional to prevent top state

We should never give up on AAIsDead as it guards other AAs from
unreachable code (in which SSA properties are meaningless). We did
however use required dependences on some queries in AAIsDead which
caused us to invalidate AAIsDead if the queried AA got invalidated.
We now use optional dependences instead. The bug that exposed this is
added to the liveness.ll test and other test changes show the impact.

Bug report by @sdmitriev.
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/test/Transforms/Attributor/nofree.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/readattrs.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/Attributor/norecurse.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/musttail.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constants.ll
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-2.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
Commit 8d94d3c3b44c3a27a69b153cef9be4b8e481150e by johannes
[Attributor][FIX] Disallow function signature rewrite for casted calls

We will now ensure ensure the return type of called function is the type
of all call sites we are going to rewrite. This avoids a problem
partially fixed by D79680. The part that was not covered is a use of
this "weird" casted call site (see `@func3` in `misc_crash.ll`).

misc_crash.ll checks are auto-generated now.
The file was modifiedllvm/test/Transforms/Attributor/misc_crash.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 5f05c2f59a7fc666605a74e8616af17da8efa132 by spatel
[CGP] remove duplicate function for finding a splat shuffle; NFC
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 379e68a763097bed55556c6dc7453e4b732e3d68 by zbrid
[clang][SLH] Add __has_feature(speculative_load_hardening)

SLH doesn't support asm goto and is unlikely to ever support it. Users of asm
goto need a way to choose whether to use asm goto or fallback to an SLH
compatible code path when SLH is enabled. This feature flag will give users
this ability.

Tested via unit test

Reviewed By: mattdr

Differential Revision: https://reviews.llvm.org/D79733
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/Basic/Features.def
Commit cd7cb1f4ce3ffc8be1146eeba28ae7dc50089459 by echristo
Update lldb for rG10658691951f to avoid Werror messages around
new unhandled matrix types.
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit d12d05a73142af287a698e5df62d7b7b1eefdf3e by ntv
[mlir][Linalg] Introduce a helper function for staged pattern application

Summary:
This revision introduces a helper function to allow applying rewrite patterns, interleaved with more global transformations, in a staged fashion:
1. the first stage consists of an OwningRewritePatternList. The RewritePattern in this list are applied once and in order.
2. the second stage consists of a single OwningRewritePattern that is applied greedily until convergence.
3. the third stage consists of applying a lambda, generally used for non-local transformation effects.

This allows creating custom fused transformations where patterns can be ordered and applied at a finer granularity than a sequence of traditional compiler passes.

A test that exercises these behaviors is added.

Differential Revision: https://reviews.llvm.org/D79518
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was addedmlir/test/Dialect/Linalg/transform-patterns-matmul-to-vector.mlir
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
Commit 609ef948387ba40e3693c2bd693d82ca34dcdc02 by martin
[CMake] Fix building with -DBUILD_SHARED_LIBS=ON on mingw

Set the right target name in clang/examples/Attribute.

Add a missing dependency in the TableGen GlobalISel sublibrary.

Skip building the Bye pass plugin example on windows; plugins
that should have undefined symbols that are found in the host
process aren't supported on windows - this matches what was done
for a unit test in bc8e44218810c0db6328b9809c959ceb7d43e3f5.
The file was modifiedllvm/examples/Bye/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was modifiedclang/examples/Attribute/CMakeLists.txt
Commit 08b8b724ee3ac7ae7f516e036616620aa33968f1 by craig.topper
[X86] Add inline assembly load hardening mitigation for Load Value Injection (LVI)

Added code to X86AsmParser::emitInstruction() to add an LFENCE after each instruction that may load, and emit a warning if it encounters an instruction that may be vulnerable, but cannot be automatically mitigated.

Differential Revision: https://reviews.llvm.org/D76158
The file was addedllvm/test/CodeGen/X86/lvi-hardening-inline-asm.ll
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Commit efd758ac5aeab85e8c3180f96f527fc7ffe4d2e0 by llvm-dev
RISCVAttributeParser.h - remove unnecessary ScopedPrinter.h include. NFC.

All uses of ScopedPrinter are in terms of ELFAttributeParser which are handled by ELFAttributeParser.h
The file was modifiedllvm/include/llvm/Support/RISCVAttributeParser.h
Commit 334a4159eca05b0d77972a142fa957311c3247b1 by reidtatge
[mlir][Vector] NFC - Rename vector.strided_slice into vector.extract_strided_slice

Differential Revision: https://reviews.llvm.org/D79734
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/test/Dialect/Vector/vector-contract-transforms.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/test/Dialect/Vector/vector-slices-transforms.mlir
Commit 80d133b24f77d1b9d351251315606441c971ef9b by ntv
[mlir] Revisit std.subview handling of static information.

Summary:
The main objective of this revision is to change the way static information is represented, propagated and canonicalized in the SubViewOp.

In the current implementation the issue is that canonicalization may strictly lose information because static offsets are combined in irrecoverable ways into the result type, in order to fit the strided memref representation.

The core semantics of the op do not change but the parser and printer do: the op always requires `rank` offsets, sizes and strides. These quantities can now be either SSA values or static integer attributes.

The result type is automatically deduced from the static information and more powerful canonicalizations (as powerful as the representation with sentinel `?` values allows). Previously static information was inferred on a best-effort basis from looking at the source and destination type.

Relevant tests are rewritten to use the idiomatic `offset: x, strides : [...]`-form. Bugs are corrected along the way that were not trivially visible in flattened strided memref form.

It is an open question, and a longer discussion, whether a better result type representation would be a nicer alternative. For now, the subview op carries the required semantic.

Reviewers: ftynse, mravishankar, antiagainst, rriddle!, andydavis1, timshen, asaadaldien, stellaraccident

Reviewed By: mravishankar

Subscribers: aartbik, bondhugula, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, bader, grosul1, frgossen, Kayjukh, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79662
The file was modifiedmlir/test/Conversion/StandardToSPIRV/legalization.mlir
The file was modifiedmlir/test/Dialect/Linalg/promote.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/invalid.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Dialect/Affine/ops.mlir
Commit 310d32cb80a611e6384a921e85607fea05841f26 by Stanislav.Mekhanoshin
[AMDGPU] Fix promote alloca which is already vector

Just do not touch loads and stores which are already vector.
Previously pass was just unable to see these loads and stores
because these were hidden bitcasts.

Differential Revision: https://reviews.llvm.org/D79738
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
Commit 8d7796cf9427a0c361a5831e4371ff030b98dfac by echristo
Fix a few clang-tidy warnings about auto * and const auto.
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit 44f7b4024982e75dd7826a93558242d3c9f1aed8 by wanyu9511
Add vendor macro to "lld"

Summary:
Add the vendor macro to "lld" for extended version output support,
such that it's able to print additional version info. This is
consistent with the Clang and LLVM version printer, and the
additional version message can be provided via PACKAGE_VENDOR.

Reviewers: hubert.reinterpretcast, kbarton, cebowleratibm, rzurob, ruiu

Reviewed By: hubert.reinterpretcast

Subscribers: emaste, mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79026
The file was modifiedlld/CMakeLists.txt
The file was modifiedlld/Common/Version.cpp
Commit 756d6959d7ac95969cc0127765bdcbee3804547c by hanchung
[mlir][StandardToSPIRV] Add support for lowering index_cast to SPIR-V.

Differential Revision: https://reviews.llvm.org/D79644
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
Commit 67b950be6d48eb4f8d9d4c450f590b64e769df5d by eugenis
[hwasan] Fix allocator alignment.

Summary:
Fix hwasan allocator not respecting the requested alignment when it is
higher than a page, but still within primary (i.e. [2048, 65536]).

Reviewers: pcc, hctim, cryptoad

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79656
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
The file was addedcompiler-rt/test/hwasan/TestCases/malloc-align.c
Commit 020022e12e03fb7e6b0405bc18a87921a11cde7e by echristo
Fix auto -> auto * clang tidy.
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit fab08bf4899e40d02d8bf394a63499ac679ac61c by Jonas Devlieghere
[YAMLTraits] Add trait for char

Add a YAML trait for char.

Differential revision: https://reviews.llvm.org/D79745
The file was modifiedllvm/unittests/Support/YAMLIOTest.cpp
The file was modifiedllvm/include/llvm/Support/YAMLTraits.h
The file was modifiedllvm/lib/Support/YAMLTraits.cpp
Commit 89d3031b3ce13cc453d04cf02036a5e7d6b72524 by thakis
llvm-lit.in: Use a raw string for LLVM_SOURCE_DIR

In case the path from cmake build dir contains a backslash
escape on Windows (which uses \ as path separator).

While here, consistently use one form of quotes in this file.

No intended behavior change.
The file was modifiedllvm/utils/llvm-lit/llvm-lit.in
Commit 11e1cf51fb77c3a611b95c3f829ccdfb270b273d by thakis
[gn build] Make config_map computation in llvm-lit more table-driven.

No behavior change.
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
Commit 288c9e81781e5468cf6db5c4f6e579f39cfe72ba by ditaliano
[GlobalISel] Remove debug locations when emitting G_FCONSTANT.

<rdar://problem/62991543>
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/fconstant-dbg-loc.ll
Commit 18324bb3d9175d000c6b83e3383a8feecfafdfed by thakis
[gn build] Make paths in generated llvm-lit relative.

This ports d4638cba and e613f0ee to the GN build.
Since paths in the generated lit.site.cfg.py files still contain
absolute paths in the GN build, this isn't very useful yet.

No intended behavior change.
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
Commit d0e7fd6b624b1943f3780a69883690017d2efad2 by jdenny.ornl
Revert "[FileCheck] Support comment directives"

This reverts commit 9a9a5f9893c8db05cebc8818eb8485bff61f7c74 to try to
fix a bot:

http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was removedllvm/test/FileCheck/comment/after-words.txt
The file was removedllvm/test/FileCheck/comment/within-checks.txt
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was removedllvm/test/FileCheck/comment/blank-comments.txt
The file was removedllvm/test/FileCheck/comment/unused-comment-prefixes.txt
The file was removedllvm/test/FileCheck/comment/bad-comment-prefix.txt
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was modifiedllvm/test/Assembler/drop-debug-info-nonzero-alloca.ll
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was removedllvm/test/FileCheck/comment/suppresses-checks.txt
The file was removedllvm/test/FileCheck/comment/unused-check-prefixes.txt
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was removedllvm/test/FileCheck/comment/suffixes.txt
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/test/FileCheck/first-character-match.txt
Commit e1ed4d9eb506a38772bfa659dcc09052eaff2e5d by jdenny.ornl
Revert "[FileCheck] Make invalid prefix diagnostics more precise"

This reverts commit a78e13745d4ee4a42e41ebbe698159f651515fc5 to try to
fix a bot:

http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/lib/Support/FileCheck.cpp
Commit 09253b608a52645e618810e2d5e5a3f3471980b2 by Austin.Kerbow
[AMDGPU] Allow spilling FP to memory

If there are no available lanes in a reserved VGPR, no free SGPR, and no unused CSR
VGPR when trying to save the FP it needs to be spilled to memory as a last
resort. This can be done in the prolog/epilog if we manually add the spill
and manage exec.

Differential Revision: https://reviews.llvm.org/D79610
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
Commit 5633813bf376ef12056cc8ce34c03c445d0dbce5 by jpienaar
[MLIR] Fix several misc issues in in Toy tutorial

Summary:
- Fix comments in several places
- Eliminate extra ' in AST dump and adjust tests accordingly

Differential Revision: https://reviews.llvm.org/D78399
The file was modifiedmlir/examples/toy/Ch3/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch2/ast.toy
The file was modifiedmlir/examples/toy/Ch5/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch7/struct-ast.toy
The file was modifiedmlir/examples/toy/Ch2/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch7/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch7/parser/AST.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch2/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch4/parser/AST.cpp
The file was modifiedmlir/test/Examples/Toy/Ch6/ast.toy
The file was modifiedmlir/examples/toy/Ch2/parser/AST.cpp
The file was modifiedmlir/examples/toy/Ch4/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch4/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch1/ast.toy
The file was modifiedmlir/docs/Tutorials/Toy/Ch-3.md
The file was modifiedmlir/examples/toy/Ch6/parser/AST.cpp
The file was modifiedmlir/test/Examples/Toy/Ch3/ast.toy
The file was modifiedmlir/test/Examples/Toy/Ch5/ast.toy
The file was modifiedmlir/examples/toy/Ch3/parser/AST.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch5/include/toy/Ops.td
The file was modifiedmlir/docs/Tutorials/Toy/Ch-1.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-2.md
The file was modifiedmlir/test/Examples/Toy/Ch4/ast.toy
The file was modifiedmlir/examples/toy/Ch3/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch1/parser/AST.cpp
The file was modifiedmlir/include/mlir/ExecutionEngine/OptUtils.h
The file was modifiedmlir/examples/toy/Ch6/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch7/ast.toy
The file was modifiedmlir/docs/Tutorials/Toy/Ch-5.md
The file was modifiedmlir/examples/toy/Ch5/parser/AST.cpp
Commit a8874c76e8ae9ca67f6806f4c27ac8ba94232a21 by efriedma
[AArch64][SVE] Add patterns for VSELECT of immediates.

This covers forms involving "CPY (immediate, zeroing)".

This doesn't handle the case where the operands are reversed, and the
condition is freely invertible.  Not sure how to handle that.  Maybe a
DAGCombine.

Differential Revision: https://reviews.llvm.org/D79598
The file was addedllvm/test/CodeGen/AArch64/sve-vselect-imm.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 117e5609e98b43f925c678b72f816ad3a1c3eee7 by Saiyedul.Islam
[AMDGPU] Reserving VGPR for future SGPR Spill

Summary: One VGPR register is allocated to handle a future spill of SGPR if "--amdgpu-reserve-vgpr-for-sgpr-spill" option is used

Reviewers: arsenm, rampitec, msearles, cdevadas

Reviewed By: arsenm

Subscribers: madhur13490, qcolombet, kerbowa, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #amdgpu, #llvm

Differential Revision: https://reviews.llvm.org/D70379
The file was modifiedllvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/reserve-vgpr-for-sgpr-spill.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
Commit c9c930ae67c38b93451aa979de723723aec0067d by efriedma
[SelectionDAG] Don't promote the alignment of allocas beyond the stack alignment.

allocas in LLVM IR have a specified alignment. When that alignment is
specified, the alloca has at least that alignment at runtime.

If the specified type of the alloca has a higher preferred alignment,
SelectionDAG currently ignores that specified alignment, and increases
the alignment. It does this even if it would trigger stack realignment.
I don't think this makes sense, so this patch changes that.

I was looking into this for SVE in particular: for SVE, overaligning
vscale'ed types is extra expensive because it requires realigning the
stack multiple times, or using dynamic allocation. (This currently isn't
implemented.)

I updated the expected assembly for a couple tests; in particular, for
arg-copy-elide.ll, the optimization in question does not increase the
alignment the way SelectionDAG normally would. For the rest, I just
increased the specified alignment on the allocas to match what
SelectionDAG was inferring.

Differential Revision: https://reviews.llvm.org/D79532
The file was modifiedllvm/test/CodeGen/AMDGPU/private-element-size.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
The file was modifiedllvm/test/CodeGen/ARM/alloc-no-stack-realign.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-alloca-stackid.ll
The file was modifiedllvm/test/CodeGen/X86/load-local-v3i129.ll
The file was modifiedllvm/test/CodeGen/X86/arg-copy-elide.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intel-ocl.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-basic.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-vbroadcast.ll
The file was modifiedllvm/test/CodeGen/X86/movtopush.ll
Commit 0205fabe5dfbc77a4a42b9961bcbbd6eccace93e by kazu
[Inlining] Make shouldBeDeferred static (NFC)

Summary:
This patch makes shouldBeDeferred static because it is called only
from shouldInline in the same .cpp file.

Reviewers: davidxl, mtrofin

Reviewed By: mtrofin

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79750
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineAdvisor.h
Commit 91259bf9c68ef72cbc0ce9230665808d10dec416 by thakis
[gn build] Use relative paths in generated lit.site.cfg.py files for llvm and clang.

This ports a16ba6fea2e554f to the GN build.

No intended behavior change.
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
The file was addedllvm/utils/gn/secondary/llvm/utils/llvm-lit/lit_path_function.gni
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
Commit 1429e4c3992d2a5f90de5879773b6cf5a050cb5e by Austin.Kerbow
[AMDGPU][GlobalISel] Revise handling of wide loads in RegBankSelect

When splitting loads in RegBankSelect G_EXTRACT_VECTOR_ELT were being added
which could not be selected. Since invoking the legalizer will generate
instructions that split and combine wide loads, we can remove the redundant
repair instructions which are added by RegBankSelect.

Differential Revision: https://reviews.llvm.org/D75547
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
Commit 2aa0217add1adbcabbc16e3ec44937e4277e117b by jdenny.ornl
[FileCheck] Make invalid prefix diagnostics more precise

This will prove especially helpful after D79276, which introduces
comment prefixes.  Specifically, identifying whether there's a
uniqueness violation will be helpful as prefixes will be required to
be unique across both check prefixes and comment prefixes.

Also, remove a related comment about `cl::list` that no longer seems
relevant now that FileCheck is also a library.

Reviewed By: jhenderson, thopre

Differential Revision: https://reviews.llvm.org/D79375
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
Commit e8c13c182a562f45287d6b8da612264d09027087 by zoecarver
[libcxx] shared_ptr changes from library fundamentals (P0414R2).

Implements P0414R2:
  * Adds support for array types in std::shared_ptr.
  * Adds reinterpret_pointer_cast for shared_ptr.

Differential Revision: https://reviews.llvm.org/D62259
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/static_pointer_cast.pass.cpp
The file was modifiedlibcxx/www/cxx1z_status.html
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/default.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_copy_move.fail.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_arrow.fail.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/shared_ptr_Y.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_pointer.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.fail.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/types.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bool.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.protected.fail.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/const_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/reinterpret_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp
Commit eb81de2de4003e3045fdf743e093f77e37aee9bf by echristo
Temporarily Revert "[lld-macho] Re-add dylink-lazy test" as it
appears to be still failing.

This reverts commit 723c46e645dbe23942c926d2cb800ce020df6b8b.
The file was removedlld/test/MachO/dylink-lazy.s
Commit 59a299cbb303b23fb26992bcae0b32294b1d45f2 by echristo
Fix a release+noasserts werror for unused variable.
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
Commit 2b8b783b1ab4a2388d5d80136221729871f65a32 by Jason Molenda
Quote error string from qLaunchSuccess

If the error message from qLaunchSucess included a gdb RSP
metacharacter, it could crash lldb.  Apply the binary
escaping to the string before sending it to lldb; lldb
promiscuously applies the binary escaping protocol on
packets it receives.

Also fix a small bug in cstring_to_asciihex_string where
a high bit character (eg utf-8 chars) would not be
quoted correctly due to signed char fun.

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

rdar://problem/62873581
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 40f56c8cf189249465997dad8bce413b71ccbef0 by ajcbik
[mlir] [VectorOps] Replace zero-scalar + splat into direct zero vector constant

Summary:
The scalar zero + splat yields more intermediate code than the direct
dense zero constant, and ultimately is lowered to exactly the same
LLVM IR operations, so no point wasting the intermediate code.

Reviewers: nicolasvasilache, andydavis1, reidtatge

Reviewed By: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79758
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit 2e9f1153c5d467ea1067e3744345a4e1ea2e9bc3 by pengfei.wang
[x86/SLH][NFC] Add a test to produce a failed generation.
The file was addedllvm/test/CodeGen/X86/speculative-load-hardening-no-spill.ll
Commit 013f06703e132c31cf3e8bdb2ae7c6b89b8f8fc2 by maskray
[gcov] Emit GCOV_TAG_OBJECT_SUMMARY/GCOV_TAG_PROGRAM_SUMMARY correctly and fix llvm-cov's decoding of runcount

gcov 9 (r264462) started to use GCOV_TAG_OBJECT_SUMMARY. Before,
GCOV_TAG_PROGRAM_SUMMARY was used.
libclang_rt.profile should emit just one tag according to the version.

Another bug introduced by rL194499 is that the wrong runcount field was
selected.

Fix the two bugs so that gcov can correctly decode "Runs:" from
libclang_rt.profile produced .gcda files, and llvm-cov gcov can
correctly decode "Runs:" from libgcov produced .gcda files.
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_missing.cpp.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_objdir.cpp.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a_-b_-c_-u.cpp.gcov
The file was modifiedllvm/test/tools/llvm-cov/gcov-9.c
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a_-b_-u.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a_-b.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a_-b_-c_-u.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/gcov-8.c
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_paths.cpp.gcov
The file was modifiedllvm/test/tools/llvm-cov/gcov-4.7.c
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_no_options.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_objdir.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_no_options.cpp.gcov
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a.cpp.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a_-b_-u.cpp.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_paths.h.gcov
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_missing.h.gcov
The file was modifiedllvm/lib/ProfileData/GCOV.cpp
The file was modifiedllvm/test/tools/llvm-cov/Inputs/test_-a_-b.cpp.gcov
Commit 93aee9ca8698111b2df2fda2a1a5a2f3ce4fc014 by SourabhSingh.Tomar
[DWARF5]: Added support for dumping strx forms in llvm-dwarfdump

This patch adds support for dumping DW_MACRO_define_strx,
DW_MACRO_undef_strx in llvm-dwarfdump. These forms are currently
supported only in debug_macro section.

Reviewed By: ikudrin, dblaikie

Differential Revision: https://reviews.llvm.org/D78736
The file was addedllvm/test/DebugInfo/X86/debug-macro-multi-cu-strx.s
The file was addedllvm/test/DebugInfo/X86/debug-macro-empty-macro-offset.s
The file was addedllvm/test/DebugInfo/X86/debug-macro-empty-str-offset.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macinfo-strx.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macinfo-strp.s
Commit 1f707cc9908173951fe7ed0a2d8e90dc8923651d by martin
Partially revert "[CMake] Fix building with -DBUILD_SHARED_LIBS=ON on mingw"

This reverts parts of commit 609ef948387ba40e3693c2bd693d82ca34dcdc02,
as it caused build failures on windows if LLVM_BUILD_EXAMPLES was
enabled, due to Bye being added as a dependency of the lit tests.
The file was modifiedllvm/examples/Bye/CMakeLists.txt
Commit 4c684b91d562d96ab5a34bb989693e92ba9ec9eb by maskray
Revert part of D49132 "[gcov] Fix gcov profiling on big-endian machines"

D49132 is partially correct. For 64-bit values, the lower 32-bit part comes
before the higher 32-bit part (in a little-endian manner).

For 32-bit values, libgcov reads/writes 32-bit values in native endianness.
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c
Commit f98709a982b358a2df3ee6103c8b9a81cbc81d26 by maskray
[gcov] Fix big-endian problems

In a big-endian .gcda file, the first four bytes are "gcda" instead of "adcg".
All 32-bit values are in big-endian.

With this change, libclang_rt.profile can hopefully produce gcov
compatible output.
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c
Commit 5eb55483ebd183985e6f397491ac822304e3a893 by zoecarver
Revert "[libcxx] shared_ptr changes from library fundamentals (P0414R2)."

This reverts commit e8c13c182a562f45287d6b8da612264d09027087.
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_pointer.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bool.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/shared_ptr_Y.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/types.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/static_pointer_cast.pass.cpp
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/const_pointer_cast.pass.cpp
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.protected.fail.cpp
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_copy_move.fail.cpp
The file was modifiedlibcxx/www/cxx1z_status.html
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/reinterpret_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.fail.cpp
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_arrow.fail.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/default.pass.cpp
Commit e8d2ff22f09fea835ffc778e41a2acae4f4a5632 by qiucofan
[PowerPC] Add fma/fsqrt/fmax strict-fp intrinsics

This patch adds strict-fp intrinsics support for fma, fsqrt, fmaxnum and
fminnum on PowerPC.

Reviewed By: hfinkel

Differential Revision: https://reviews.llvm.org/D72749
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was addedllvm/test/CodeGen/PowerPC/fp-strict-minmax.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-f128.ll
Commit d775841d7d6ee3e8bbf3a420590be9bb19433eaa by tclin914
[RISCV] Make CanLowerReturn protected for downstream maintenance

Summary: For the downstream RISCV maintenance, it would be easier to override and reuse CanLowerReturn for customizing.

Reviewers: asb, lenary, luismarques

Reviewed By: lenary

Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, s.egerton, pzheng, sameer.abuasal, apazos, evandro, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78545
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
Commit 84a9c725742d26df04808a3c7349dbd98684c6cb by echristo
Temporarily Revert "[mlir][shape] Tidy up shape.shape_of" as it's breaking a few tests.

This reverts commit b6045448869a63dc7da3a4c87c124e85101220d7.

Followed up offline with a testcase.
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
Commit 5a7276b3548589590b81975d5c3e487dd91ac097 by zeratul976
[clangd] Have suppression comments take precedence over warning-as-error

Summary: This matches the clang-tidy behaviour.

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

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79691
The file was modifiedclang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
Commit 054ed1fd0b8dfbd996299f11dfe2311f428297da by omair.javaid
[LLDB] Disable TestBasicEntryValues.py for arm

TestBasicEntryValues.py fails on arm 32 bit. Currently running on silent master here:
http://lab.llvm.org:8014/builders/lldb-arm-ubuntu/
The file was modifiedlldb/test/API/functionalities/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
Commit 42c7a6d52ba052a195825e81668d88487b3f26cc by david.sherwood
[CodeGen] Fix incorrect uses of getVectorNumElements()

I have fixed up some places in SelectionDAG::getNode() where we
used to assert that the number of vector elements for two types
are the same. I have changed such cases to assert that the
element counts are the same instead. I've added new tests that
exercise the code paths for all the truncations. All the extend
operations are covered by this existing test:

  CodeGen/AArch64/sve-sext-zext.ll

For the ISD::SETCC case I fixed this code path is exercised by
these existing tests:

  CodeGen/AArch64/sve-fcmp.ll
  CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll

Differential Revision: https://reviews.llvm.org/D79399
The file was addedllvm/test/CodeGen/AArch64/sve-trunc.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 57feff93a82c7a7cf538b8a3e05e02ada2fbcae3 by paulsson
[SystemZ] Improve foldMemoryOperandImpl: vec->FP conversions

Use FP-mem instructions when folding reloads into single lane (W..) vector
instructions.

Only do this when all other operands of the instruction have already been
allocated to an FP (F0-F15) register.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D76705
The file was addedllvm/test/CodeGen/SystemZ/foldmemop-vec-unary.mir
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was addedllvm/test/CodeGen/SystemZ/foldmemop-vec-cc.mir
The file was addedllvm/test/CodeGen/SystemZ/foldmemop-vec-fusedfp.mir
The file was addedllvm/test/CodeGen/SystemZ/foldmemop-vec-cmp.mir
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrFormats.td
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-56.mir
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrFP.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrVector.td
The file was addedllvm/test/CodeGen/SystemZ/foldmemop-vec-binops.mir
Commit 41ca6058132f554033db0bbdd12032e20237fe0d by djordje.todorovic
Revert "[NFC][DwarfDebug] Avoid default capturing when using lambdas"

Reverting this because we found it isn't that useful.
Please see https://reviews.llvm.org/D79616.

This reverts commit rG45e5a32a8bd3.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 8b7b84e99d5212fe286d0aa4e2f5d345bcd8b405 by djordje.todorovic
Revert "[NFC][DwarfDebug] Prefer explicit to auto type deduction"

This wasn't proposed by the LLVM Style Guide.
Please see https://reviews.llvm.org/D79624.

This reverts commit rG2552dc5317e0.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit a42e53cccf8da59efe634dbc8242e496aa7a2a37 by echristo
Fix typos encountered while working on pass pipeline for O1.
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/CodeGen/X86/2010-01-11-ExtraPHIArg.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
Commit 494c7ecef9262b0ee5811b70d49862c0e5186bf6 by sam.parker
[NFC][AArch64] Update tests

Add cost model tests for extending loads.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
Commit 40ef4274600316ed12a26a73265cf34432e1fbf7 by hokein.wu
get rid of the NDEBUG usage in RecoveryExpr, NFC.

use the llvm::all_of, per dblaikie's suggestion.
The file was modifiedclang/lib/AST/Expr.cpp
Commit 6b9e43c67e0b109881db2524ec5207c4a888e7f7 by simon.moll
[Openmp][VE] Libomptarget plugin for NEC SX-Aurora

This patch adds a libomptarget plugin for the NEC SX-Aurora TSUBASA Vector
Engine (VE target).  The code is largely based on the existing generic-elf
plugin and uses the NEC VEO and VEOSINFO libraries for offloading.

Differential Revision: https://reviews.llvm.org/D76843
The file was modifiedopenmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
The file was modifiedopenmp/libomptarget/plugins/common/elf_common.c
The file was addedopenmp/libomptarget/plugins/ve/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/CMakeLists.txt
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was addedopenmp/libomptarget/plugins/ve/CMakeLists.txt
Commit 1952c86d6146b107770c28e9444d1b35d5dfe58d by sam.parker
[AArch64][CostModel] getCastInstrCost

Pass the instruction to the base implementation.

Differential Revision: https://reviews.llvm.org/D79562
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit b4a8091a116a8cee00d635809f3c2e585c6221c4 by sam.parker
[ARM][CostModel] Improve getCastInstrCost

- Specifically check for sext/zext users which have 'long' form NEON
  instructions.
- Add more entries to the table for sext/zexts so that we can report
  more accurately the number of vmovls required for NEON.
- Pass the instruction to the pass implementation.

Differential Revision: https://reviews.llvm.org/D79561
The file was addedllvm/test/Analysis/CostModel/ARM/shl-cast-vect.ll
The file was addedllvm/test/Analysis/CostModel/ARM/sub-cast-vect.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was addedllvm/test/Analysis/CostModel/ARM/mul-cast-vect.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
The file was removedllvm/test/Transforms/LoopVectorize/ARM/mul-cast-vect.ll
The file was addedllvm/test/Analysis/CostModel/ARM/add-cast-vect.ll
Commit 9682d0d5dcc50d4583709bcb2e63f1ad630fe9a0 by petre-ionut.tudor
[ARM] Refactor lower to S[LR]I optimization

Summary:
The optimization has been refactored to fix certain bugs and
limitations. The condition for lowering to S[LR]I has been changed
to reflect the manual pseudocode description of SLI and SRI operation.
The optimization can now handle more cases of operand type and order.

Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79233
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/arm64-sli-sri-opt.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit d6936be2ef8ce5d5d85b8a6cdd1477cd79688c3a by sander.desmalen
[SveEmitter] Add builtins for svdup and svindex

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D79357
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
Commit e114bdf072d98756de289bfc0f3aefc4e34304ee by sam.parker
[NFC][AArch64] More cast cost tests

Add truncating stores and casts with users.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
Commit 9d6064ec49ec189d2ff032927e41bb90ac471ae1 by tclin914
Revert "[RISCV] Make CanLowerReturn protected for downstream maintenance"

This reverts commit d775841d7d6ee3e8bbf3a420590be9bb19433eaa.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
Commit 077d2d6802efefe6680cbae78f90e90ef7f04134 by sander.desmalen
[CodeGen][SVE] Add patterns for whole vector predicate select

Added patterns to implement `select i1 %p, <vty> %a, <vty> %b`

Reviewed By: efriedma

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79356
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/select-sve.ll
Commit 9e32bf550d13ffbc75671c0968b466e0e5c9dea2 by dave
[libcxx testing] Remove ALLOW_RETRIES from sleep_for.pass.cpp

Operating systems are best effort by default, so we cannot assume that
sleep-like APIs return as soon as we'd like.

Even if a sleep-like API returns when we want it to, the potential for
preemption means that attempts to measure time are subject to delays.
The file was modifiedlibcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
Commit bf2183374a6740a033db1f824b0c6a6e0d2e7ee4 by pierre.vanhoutryve
[Target][ARM] Replace re-uses of old VPR values with VPNOTs

Differential Revision: https://reviews.llvm.org/D76847
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-optimisations.mir
The file was modifiedllvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-not.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-blocks.ll
Commit 24bf8063d677f261f26d8771180cc08d51007a2e by pierre.vanhoutryve
[Target][ARM] Replace outdated getARMVPTBlockMask function

getARMVPTBlockMask was an outdated function that only handled basic
block masks: T, TT, TTT and TTTT. This worked fine before the MVE
VPT Block Insertion Pass improvements as it was the only kind of
masks that it could generate, but now it can generate more complex
masks that uses E predicates, so it's dangerous to use that function
to calculate VPT/VPST block masks.

I replaced it with 2 different functions:
  - expandPredBlockMask, in ARMBaseInfo. This adds an "E" or "T" at
    the end of an existing PredBlockMask.
  - recomputeVPTBlockMask, in Thumb2InstrInfo. This takes an iterator
    to a VPT/VPST instruction and recomputes its block mask by looking
    at the predicated instructions that follows it. This should be
    used to recompute a block mask after removing/adding a predicated
    instruction to the block.

The expandPredBlockMask function is pretty much imported from the MVE
VPT Blocks pass.

I had to change the ARMLowOverheadLoops and MVEVPTBlocks passes as well
so they could use these new functions.

Differential Revision: https://reviews.llvm.org/D78201
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.h
The file was modifiedllvm/lib/Target/ARM/Utils/ARMBaseInfo.cpp
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/lib/Target/ARM/Utils/ARMBaseInfo.h
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit e143253fa8bb382a33eb743b28341015d5d0d031 by llvm-dev
DebugCounter.h - remove unused includes. NFC.

Added explicit StringRef.h include as we need the full definition for several inline functions in DebugCounter.h.
The file was modifiedllvm/include/llvm/Support/DebugCounter.h
Commit 24ac6a2d7dd0551f9681239075834d37732831d2 by llvm-dev
FuzzerCLI.h - reduce StringRef.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/FuzzMutate/FuzzerCLI.h
The file was modifiedllvm/lib/FuzzMutate/FuzzerCLI.cpp
Commit 45aa1b88534c74246773aab6dd33c3568bb25d24 by llvm-dev
[X86][AVX] Use X86ISD::VPERM2X128 for blend-with-zero if optimizing for size

Last part of PR22984 - avoid the zero-register dependency if optimizing for size
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx-vperm2x128.ll
Commit f1f8cffce49fe56817e25f648b29e1a8cfcfac8a by sam.parker
[NFC][AArch64] More casts tests...

Don't use truncs are users because sometimes they're free too.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
Commit e03394c6a6ff5832aa43259d4b8345f40ca6a22c by Yaxun.Liu
[CUDA][HIP] Workaround for resolving host device function against wrong-sided function

recommit c77a4078e01033aa2206c31a579d217c8a07569b with fix

https://reviews.llvm.org/D77954 caused regressions due to diagnostics in implicit
host device functions.

For now, it seems the most feasible workaround is to treat implicit host device function and explicit host
device function differently. Basically in device compilation for implicit host device functions, keep the
old behavior, i.e. give host device candidates and wrong-sided candidates equal preference. For explicit
host device functions, favor host device candidates against wrong-sided candidates.

The rationale is that explicit host device functions are blessed by the user to be valid host device functions,
that is, they should not cause diagnostics in both host and device compilation. If diagnostics occur, user is
able to fix them. However, there is no guarantee that implicit host device function can be compiled in
device compilation, therefore we need to preserve its overloading resolution in device compilation.

Differential Revision: https://reviews.llvm.org/D79526
The file was modifiedclang/lib/Sema/SemaCUDA.cpp
The file was modifiedclang/test/SemaCUDA/function-overload.cu
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 0387df7f02f9a0a0239b5a90f840e98b823bc6c1 by llvm-dev
[X86] combineX86ShuffleChain - use narrowShuffleMaskElts scale == 1 builtin handling. NFC.

narrowShuffleMaskElts already has the fast-path for scale == 1, no need to reimplement it here.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7f2db993500923a51c0b0aed650a3e0d4241205b by melanie.blower
[PATCH] #pragma float_control should be permitted in namespace scope.

Summary: Erroneous error diagnostic observed in VS2017 <numeric> header
Also correction to propagate usesFPIntrin from template func to instantiation.

Reviewers: rjmccall, erichkeane (no feedback received)

Differential Revision: https://reviews.llvm.org/D79631
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/test/Parser/fp-floatcontrol-syntax.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 691e82699591d8f336cd6be52436eeff2417fab9 by sam.mccall
Revert "[mlir] Revisit std.subview handling of static information."

This reverts commit 80d133b24f77d1b9d351251315606441c971ef9b.

Per Stephan Herhut: The canonicalizer pattern that was added creates
forms of the subview op that cannot be lowered.

This is shown by failing Tensorflow XLA tests such as:
  tensorflow/compiler/xla/service/mlir_gpu/tests:abs.hlo.test
Will provide more details offline, they rely on logs from private CI.
The file was modifiedmlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
The file was modifiedmlir/test/Dialect/Linalg/promote.mlir
The file was modifiedmlir/test/Dialect/Affine/ops.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/invalid.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/legalization.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Transforms/canonicalize.mlir
Commit 5d7f5ca0e385ebc05231997a66cdd5f18b9d2f72 by kristof.beyls
Add Linux SVE Ptrace macros.

Differential Revision: https://reviews.llvm.org/D79623
The file was addedlldb/source/Plugins/Process/Linux/LinuxPTraceDefines_arm64sve.h
Commit f242950fdf7ca5b84d3cadc9a57588af3621e1e8 by benny.kra
Fold single-use variables into assert

This avoids unused variable warnings in Release builds.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
Commit 6da5672962c24e2d8752b049eb0921b81256da0a by rnk
[LLD] Rename iDTable -> idTable, NFC

The variable renaming change did not handle this variable well.
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/TypeMerger.h
Commit 123bee602a260150ff55c74287f583a67ee78f36 by Matthew.Arsenault
AMDGPU: Search for new ROCm bitcode library structure

The current install situation is a mess, but I'm working on fixing
it. Search for the target layout instead of one of the N options that
exist today.
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_900.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1011.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_803.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_unsafe_math_off.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_unsafe_math_off.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/ocml.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/ockl.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/hip.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_finite_only_off.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_wavefrontsize64_off.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/ockl.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_daz_opt_on.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/opencl.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_daz_opt_on.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_803.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1010.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/opencl.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_daz_opt_off.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_finite_only_on.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1012.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_correctly_rounded_sqrt_off.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_daz_opt_off.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_1012.amdgcn.bc
The file was modifiedclang/test/Driver/rocm-device-libs.cl
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_finite_only_off.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_1010.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_finite_only_on.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_wavefrontsize64_on.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_unsafe_math_on.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_correctly_rounded_sqrt_on.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_unsafe_math_on.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/ocml.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_1011.amdgcn.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/hip.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_900.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_wavefrontsize64_off.amdgcn.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/lib/oclc_wavefrontsize64_on.amdgcn.bc
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
Commit 14e184571139ba4c7347ea547074c6d9ec9c7b14 by Matthew.Arsenault
HIP: Merge builtin library handling

Merge with the new --rocm-path handling used for OpenCL. This looks
for a usable set of device libraries upfront, rather than giving a
generic "no such file or directory error". If any of the required
bitcode libraries are missing, this will now produce a "cannot find
ROCm installation." error. This differs from the existing hip specific
flags by pointing to a rocm root install instead of a single directory
with bitcode files.

This tries to maintain compatibility with the existing the
--hip-device-lib and --hip-device-lib-path flags, as well as the
HIP_DEVICE_LIB_PATH environment variable, or at least the range of
uses with testcases. The existing range of uses and behavior doesn't
entirely make sense to me, so some of the untested edge cases change
behavior. Currently the two path forms seem to have the double purpose
of a search path for an arbitrary --hip-device-lib, and for finding
the stock set of libraries. Since the stock set of libraries This also
changes the behavior when multiple paths are specified, and only takes
the last one (and the environment variable only handles a single
path).

If --hip-device-lib is used, it now only treats --hip-device-lib-path
as the search path for it, and does not attempt to find the rocm
installation. If not, --hip-device-lib-path and the environment
variable are used as the directory to search instead of the rocm root
based path.

This should also automatically fix handling of the options to use
wave64.
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was modifiedclang/test/Driver/rocm-device-libs.cl
Commit 58f1417ebc1a9714258586a5b873b2d4608ce6a9 by carl.ritson
[AMDGPU] Order pos exports before param exports

Summary:
Modify export clustering DAG mutation to move position exports
before other exports types.

Reviewers: foad, arsenm, rampitec, nhaehnle

Reviewed By: foad

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79670
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.exp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wait.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUExportClustering.cpp
Commit 774acdfb8c46de9b4f8a92d80bbbd96e4d467682 by hokein.wu
[clangd] Add metrics for selection tree and recovery expressions.

Reviewers: sammccall

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79701
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit e9536795a350c6eef9c70d6a302e8b5875252b2e by jyknight
Add comment for SelectionDAGBuilder::SL field.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
Commit c8c39185f351e79730843ca6d4c1ad26e4f9f444 by jezng
[lld-macho] Re-add dylink-lazy test

This reverts commit eb81de2de4003e3045fdf743e093f77e37aee9bf; the
test commands just needed to be run under llvm-lit.
The file was addedlld/test/MachO/dylink-lazy.s
Commit 87b6fd3e02c696b917a75750dea8e33ce00246ec by jezng
[lld-macho] Add support for creating and reading reexported dylibs

This unblocks the linking of real programs, since many core system
functions are only available as sub-libraries of libSystem.

Differential Revision: https://reviews.llvm.org/D79228
The file was modifiedlld/MachO/InputFiles.h
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/MachO/Options.td
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/Config.h
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/test/MachO/sub-library.s
Commit 5c707fd97c4f2a536eab1aac50581b5461bc21dc by llvm-project
[docs] Corrected inaccuracies in Common Problems section.

Changed the language in LLVM_USE_LINKER to more strongly recommend LLD
and to specify that the GNU gold linker is only useful if LLD is
unavailable in binary form and it is the first build of LLVM. Added that
LLD will help when used on ELF-based platforms.

Corrected information in CMAKE_BUILD_TYPE regarding the Release build
type and enabling assertions.

Added option LLVM_ENABLE_ASSERTIONS and mentioned enabling this option
with a Release build as an alternative to using a Debug build.

Specified that the LLVM_OPTIMIZED_TABLEGEN
option is only for Debug builds, that the LLVM_USE_SPLIT_DWARF option
is only available on ELF host platforms, and that setting
CLANG_ENABLE_STATIC_ANALYZER to OFF only slightly improves build time.

These changes address comments made in D75425.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D77346
The file was modifiedllvm/docs/GettingStarted.rst
Commit ffcaed32ef1cf5226cc376b6c911183db690402f by flo
[Matrix] Check non-dependent elt type before creating DepSizedMatrix.

We should check non-dependent element types before creating a
DependentSizedMatrixType. Otherwise we do not generate an error message
for dependent-sized matrix types with invalid non-dependent element
types, if the template is never instantiated. See the make5 struct in
the tests.

It also moves the SEMA template tests to
clang/test/SemaTemplate/matrix-type.cpp and introduces a few more test
cases.
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaCXX/matrix-type.cpp
The file was addedclang/test/SemaTemplate/matrix-type.cpp
Commit bd80a8bb87617a25a1fda0338db3b26637b273a0 by jay.foad
[GlobalISel][IRTranslator] New helper function translateCopy. NFC.

Reviewers: arsenm, volkan, t.p.northover, aditya_nandakumar

Subscribers: wdng, rovka, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78377
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit 989be65b11fa2fbc2cde7e188657636ea9a2da1d by jay.foad
[GlobalISel][IRTranslator] Fix <1 x Ty> handling in ConstantExprs

Summary:
ConstantExprs involving operations on <1 x Ty> could translate into MIR
that failed to verify with:
*** Bad machine code: Reading virtual register without a def ***

The problem was that translate(const Constant &C, Register Reg) had
recursive calls that passed the same Reg in for the translation of a
subexpression, but without updating VMap for the subexpression first as
translate(const Constant &C, Register Reg) expects.

Fix this by using the same translateCopy helper function that we use for
translating Instructions. In some cases this causes extra G_COPY
MIR instructions to be generated.

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

Reviewers: arsenm, volkan, t.p.northover, aditya_nandakumar

Subscribers: jvesely, wdng, nhaehnle, rovka, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78378
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-constantexpr.ll
Commit 5c10c6e0128a69442b55d324f010f94dbe7eebc9 by whitneyt
[PassBuilder] Moved ProfileSummaryAnalysis in buildInlinerPipeline.

Summary:
As commented in the code, ProfileSummaryAnalysis is required for inliner
pass to query, so this patch moved
RequireAnalysisPass<ProfileSummaryAnalysis> in the recently created
buildInlinerPipeline.
Reviewer: mtrofin, davidxl, tejohnson, dblaikie, jdoerfert, sstefan1
Reviewed By: mtrofin, davidxl, jdoerfert
Subscribers: hiraditya, steven_wu, dexonsmith, wuzish, llvm-commits,
jsji
Tag: LLVM
Differential Revision: https://reviews.llvm.org/D79696
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
Commit b56b1e67e38e5f18318b411587a952bc7c586ac4 by maskray
[gcov] Default coverage version to '408*' and delete CC1 option -coverage-exit-block-before-body

gcov 4.8 (r189778) moved the exit block from the last to the second.
The .gcda format is compatible with 4.7 but

* decoding libgcov 4.7 produced .gcda with gcov [4.7,8) can mistake the
  exit block, emit bogus `%s:'%s' has arcs from exit block\n` warnings,
  and print wrong `" returned %s` for branch statistics (-b).
* decoding libgcov 4.8 produced .gcda with gcov 4.7 has similar issues.

Also, rename "return block" to "exit block" because the latter is the
appropriate term.
The file was modifiedclang/lib/Basic/CodeGenOptions.cpp
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
The file was modifiedllvm/include/llvm/Transforms/Instrumentation.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/include/llvm/ProfileData/GCOV.h
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was removedllvm/test/Transforms/GCOVProfiling/return-block.ll
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was addedllvm/test/Transforms/GCOVProfiling/exit-block.ll
The file was modifiedllvm/test/Transforms/GCOVProfiling/version.ll
Commit 25a95f49b07ff5796f4dfc3d4c05e4c09c6bef4d by maskray
[gcov][test] Fix clang test
The file was modifiedclang/test/CodeGen/code-coverage.c
Commit 3d49d1cfa768c046394b316d838907f2018390b8 by tlively
[WebAssembly] Implement pseudo-min/max SIMD instructions

Summary:
As proposed in https://github.com/WebAssembly/simd/pull/122. Since
these instructions are not yet merged to the SIMD spec proposal, this
patch makes them entirely opt-in by surfacing them only through LLVM
intrinsics and clang builtins. If these instructions are made
official, these intrinsics and builtins should be replaced with simple
instruction patterns.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D79742
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Headers/wasm_simd128.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
Commit 93bd696347aa6348af8d2b042910d5e9226cfbd8 by spatel
[VectorCombine] add test to check for iterative improvements; NFC
The file was modifiedllvm/test/Transforms/VectorCombine/X86/insert-binop.ll
Commit 8c72b0271b841c75e2f005b796fbdbbbbd143ad4 by craig.topper
[CodeGen] Use Align in MachineConstantPool.
The file was modifiedllvm/lib/Target/ARM/ARMInstructionSelector.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZConstantPoolValue.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/ARM/ThumbRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.h
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was modifiedllvm/lib/Target/X86/X86InstructionSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineConstantPool.h
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
Commit 9f0b736126cb55f194f51c966b0db90aa4cbcd02 by Austin.Kerbow
[AMDGPU] Add AGPRs to getRegClassForSizeOnBank

Differential Revision: https://reviews.llvm.org/D79761
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit fc373522b044e0b150561204958f0d603fb4caba by dimitry
[arm] Add big-endian version of pcrel fixups for adr instructions

Summary:
In 2e24219d3cbf, a number of ARM pcrel fixups were resolved at assembly
time, to solve PR44929. This only covered little-endian ARM however, so
add similar fixups for big-endian ARM. Also extend the test case to
cover big-endian ARM.

Reviewers: hans, psmith, MaskRay

Reviewed By: psmith, MaskRay

Subscribers: kristof.beyls, hiraditya, danielkiss, emaste, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79774
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/test/MC/ARM/pcrel-global.s
Commit 01636c1eeace5371fef8508c7318df9d7a25b489 by craig.topper
[X86] Remove the v16i8->v16i16 path for MULHS with AVX2.

We have a couple main strategies for legalizing MULH.

-If the vXi16 type is legal, extend to do the full i16 multiply
and then shift and truncate the results.
-Use unpcks to split each 128 bit lane into high and low halves.a

For signed we have an extra case to split a v32i8 to v16i8 and then
use the extending to v16i16 strategy.

This patch proposes to use the unpck strategy instead. Which is
what we already do for unsigned.

This seems to be 1 instruction shorter when the RHS is constant
like the idiv case. It's 1 instruction longer for the smulo case.
But we're trading cross lane shuffles for inlane shuffles and a
shift.

Differential Revision: https://reviews.llvm.org/D79652
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
Commit e5f602d82ca05d113c725fdfff405dcb7c5470f5 by aqjune
[ValueTracking] Let propagatesPoison support binops/unaryops/cast/etc.

Summary:
This patch makes propagatesPoison be more accurate by returning true on
more bin ops/unary ops/casts/etc.

The changed test in ScalarEvolution/nsw.ll was introduced by
https://github.com/llvm/llvm-project/commit/a19edc4d15b0dae0210b90615775edd76f021008 .
IIUC, the goal of the tests is to show that iv.inc's SCEV expression still has
no-overflow flags even if the loop isn't in the wanted form.
It becomes more accurate with this patch, so think this is okay.

Reviewers: spatel, lebedev.ri, jdoerfert, reames, nikic, sanjoy

Reviewed By: spatel, nikic

Subscribers: regehr, nlopes, efriedma, fhahn, javed.absar, llvm-commits, hiraditya

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78615
The file was modifiedllvm/unittests/Analysis/ValueTrackingTest.cpp
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/test/Analysis/ScalarEvolution/nsw.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
Commit 9202df35b2f47f7491f50a30356ccd8144c48ba8 by Jan Korous
[FileCollector][NFC] Add comments

Differential Revision: https://reviews.llvm.org/D78961
The file was modifiedllvm/include/llvm/Support/FileCollector.h
Commit bad61548b2074cf3bf7be2cb4c0d75646e001a73 by Jonas Devlieghere
[Reproducers] Serialize process arguments in ProcessInfo

While debugging why TestProcessList.py failed during passive replay, I
remembered that we don't serialize the arguments for ProcessInfo. This
is necessary to make the test pass and to make platform process list -v
behave the same during capture and replay.

Differential revision: https://reviews.llvm.org/D79646
The file was modifiedlldb/source/Utility/ProcessInfo.cpp
The file was addedlldb/test/Shell/Reproducer/TestProcessList.test
The file was modifiedlldb/unittests/Utility/ArgsTest.cpp
The file was modifiedlldb/source/Utility/Args.cpp
The file was modifiedlldb/include/lldb/Utility/Args.h
Commit cd83333fc8fa3d2924087485bc3d1998665b4987 by kamau.bridgeman
[PowerPC] Fold redundant load immediates of zero and delete if possible

This patch folds redundant load immediates into a zero for instructions
which recognise this as the value zero and not the register. If the load
immediate is no longer in use it is then deleted.

This is already done in earlier passes but the ppc-mi-peephole allows for
a more general implementation.

Differential Revision: https://reviews.llvm.org/D69168
The file was addedllvm/test/CodeGen/PowerPC/fold-remove-li.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
Commit ce195fb22b542c20745e3ed46d1516e8b4e3a76f by zoecarver
[libcxx] Re-commit: shared_ptr changes from library fundamentals (P0414R2).

Implements P0414R2:
  * Adds support for array types in std::shared_ptr.
  * Adds reinterpret_pointer_cast for shared_ptr.

Re-committing now that the leaking tests are fixed.

Differential Revision: https://reviews.llvm.org/D62259
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_pointer.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_arrow.fail.cpp
The file was modifiedlibcxx/www/cxx1z_status.html
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/types.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.protected.fail.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.fail.cpp
The file was modifiedlibcxx/include/memory
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_copy_move.fail.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/static_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/reinterpret_pointer_cast.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/shared_ptr_Y.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bool.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/const_pointer_cast.pass.cpp
Commit aa99da5ace4587440973c97a4cd5f486e7bb3c33 by dblaikie
Avoid binding pointers to "auto&" (by dereferencing the pointer that's non-null anyway)

Based on @djtodoro's 2552dc5317e0
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit d9166ad272847e246799afbb5e0c71874f83aa12 by Fred Riss
[lldb/Driver] Support terminal resizing

Summary:
The comment in the Editine.h header made it sound like editline was
just unable to handle terminal resizing. We were not ever telling
editline that the terminal had changed size, which might explain why
it wasn't working.

This patch threads a `TerminalSizeChanged()` callback through the
IOHandler and invokes it from the SIGWINCH handler in the driver. Our
`Editline` class already had a `TerminalSizeChanged()` method which
was invoked only when editline was configured.

This patch also changes `Editline` to not apply the changes right away
in `TerminalSizeChanged()`, but instead defer that to the next
character read. During my testing, it happened once that the signal
was received while our `ConnectionFileDescriptor::Read` was allocating
memory. As `el_resize` seems to allocate memory too, this crashed.

Reviewers: labath, teemperor

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D79654
The file was addedlldb/test/API/iohandler/resize/TestIOHandlerResize.py
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/include/lldb/Host/Editline.h
Commit 661b234cbcfb0195fb998b86815e89895b38b88a by stephen.neuendorffer
[MLIR] Rename SideEffects.td -> SideEffectInterfaces.td

This normalize the name of the tablegen file with the name of the generated
files (SideEffectInterfaces.h.inc) and the other Interface tablegen files,
which all end in Interface(s).td

Differential Revision: https://reviews.llvm.org/D79517
The file was modifiedmlir/examples/toy/Ch2/include/toy/Ops.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVCompositeOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVLogicalOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td
The file was addedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/AVX512/AVX512.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVGLSLOps.td
The file was modifiedmlir/examples/toy/Ch3/include/toy/Ops.td
The file was modifiedmlir/test/mlir-tblgen/op-decl.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td
The file was modifiedmlir/examples/toy/Ch6/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch7/include/toy/Ops.td
The file was modifiedmlir/include/mlir/Interfaces/CMakeLists.txt
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVControlFlowOps.td
The file was modifiedmlir/examples/standalone/include/Standalone/StandaloneOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOps.td
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.td
The file was modifiedmlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVArithmeticOps.td
The file was modifiedmlir/test/mlir-tblgen/op-side-effects.td
The file was modifiedmlir/examples/toy/Ch4/include/toy/Ops.td
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was removedmlir/include/mlir/Interfaces/SideEffects.td
The file was modifiedmlir/examples/toy/Ch5/include/toy/Ops.td
Commit 11c8c2a551c53db5ecf8c1f253b1a49d5e98324f by Artem Dergachev
[analyzer] SATestBuild.py: Fix support for #NOPREFIX.

Regressed in ec2d93c.
The file was modifiedclang/utils/analyzer/SATestBuild.py
Commit 7a17f3ccd109998d4e7019f5239dda61d7c6f829 by stephen.neuendorffer
[MLIR] Fix dependencies for Analysis libraries

cmake does not truly support dependencies on automatically generated files
which are not in the same directory as the targets which depend on them.
It works with ninja, but doesn't work with make

This patch adds an explicit dependence so that all dialects are built
before the analysis libraries.

Differential Revision: https://reviews.llvm.org/D79805
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
Commit 6c29073efb0c22045868bc3622f8fc27f43fca41 by richard
PR45589: Properly decompose overloaded `&&` and `||` operators in
constraint expressions.

We create overloaded `&&` and `||` operators to hold the possible
unqualified lookup results (if any) when the operands are dependent. We
could avoid building these in some cases (we will never use the stored
lookup results, and it would be better to not store them or perform the
lookups), but in the general case we will probably still need to handle
overloaded operators even with that optimization.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was addedclang/test/SemaTemplate/constraints.cpp
Commit 32f5ee830b0f0e2426552d33174170554d8d336e by serguei.n.dmitriev
[Attributor] Fixup block addresses after rewriting function signature

Reviewers: jdoerfert, sstefan1, uenoku

Reviewed By: jdoerfert

Subscribers: hiraditya, uenoku, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79801
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/misc_crash.ll
Commit 363393c4b35997c67e6b282bd2be9022a7bfed25 by Louis Dionne
[libc++abi] Adjust XFAIL on macOS for bug that was fixed in recent OSes
The file was modifiedlibcxxabi/test/thread_local_destruction_order.pass.cpp
Commit 66055230bf6673b76e7330fef76d752a1ea8638e by maskray
[TargetLoweringObjectFileImpl] Produce .text.hot. instead of .text.hot for -fno-unique-section-names

GNU ld's internal linker script uses (https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=add44f8d5c5c05e08b11e033127a744d61c26aee)

  .text           :
  {
    *(.text.unlikely .text.*_unlikely .text.unlikely.*)
    *(.text.exit .text.exit.*)
    *(.text.startup .text.startup.*)
    *(.text.hot .text.hot.*)
    *(SORT(.text.sorted.*))
    *(.text .stub .text.* .gnu.linkonce.t.*)
    /* .gnu.warning sections are handled specially by elf.em.  */
    *(.gnu.warning)
  }

Because `*(.text.exit .text.exit.*)` is ordered before `*(.text .text.*)`, in a -ffunction-sections build, the C library function `exit` will be placed before other functions.
gold's `-z keep-text-section-prefix` has the same problem.

In lld, `-z keep-text-section-prefix` recognizes `.text.{exit,hot,startup,unlikely,unknown}.*`, but not `.text.{exit,hot,startup,unlikely,unknown}`, to avoid the strange placement problem.

In -fno-function-sections or -fno-unique-section-names mode, a function whose `function_section_prefix` is set to `.exit"`
will go to the output section `.text` instead of `.text.exit` when linked by lld.
To address the problem, append a dot to become `.text.exit.`

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D79600
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/section.ll
Commit aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f by a.v.lapshin
[X86][ISelLowering] refactor Varargs handling in X86ISelLowering.cpp

Summary:
This patch refactors handling of VarArgs in
X86TargetLowering::LowerFormalArguments.
That refactoring was requested while reviewing
D69372. Code related to varargs handling is removed
from X86TargetLowering::LowerFormalArguments and
is divided into smaller routines.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D74794
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 59ba19c56e1cf6d01e6acce1bf405a57f19c340c by Jonas Devlieghere
[VirtualFileSystem] Add unit test that showcases YAMLVFSWriter bug

This scenario generates a broken YAML mapping as illustrated below.

{
   'type': 'directory',
   'name': "c",
   'contents': [
     {
       'type': 'file',
       'name': "d",
       'external-contents': "//root/a/c/d"
     }            {
       'type': 'file',
       'name': "e",
       'external-contents': "//root/a/c/e"
     }            {
       'type': 'file',
       'name': "f",
       'external-contents': "//root/a/c/f"
     }
   ]
},
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 58bc507b6fe6c6276a7c858a7d1de83ca02e999e by Jonas Devlieghere
[VirtualFileSystem] Add unit test that showcases another YAMLVFSWriter bug

This scenario generates another broken YAML mapping as illustrated below.

  {
    'type': 'directory',
    'name': "c",
    'contents': [
      ,
      {
        'type': 'directory',
        'name': "d",
        'contents': [
          ,
          {
            'type': 'directory',
            'name': "e",
            'contents': [
              {
                'type': 'file',
                'name': "f",
                'external-contents': "//root/a/c/d/e/f"
              }                    {
                'type': 'file',
                'name': "g",
                'external-contents': "//root/a/c/d/e/g"
              }
            ]
          }
        ]
      }
    ]
  },
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 56926ae0faa67ac4c3b75609bfeea2eb324c0851 by wmi
[SampleFDO] Rename llvm-profdata flag -partial-profile to -gen-partial-profile.

The internal flag -partial-profile in llvm conflicts with the flag with
the same name in llvm-profdata. The conflict happens in builds with
LLVM_LINK_LLVM_DYLIB enabled. In this case the tools are linked with libLLVM
and we end up with two definitions for the same cl::opt.

The patch renames llvm-profdata flag -partial-profile to -gen-partial-profile.
The file was modifiedllvm/test/tools/llvm-profdata/show-prof-info.test
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit 293c6d382128a0e52a144cec901932d71e072760 by a.v.lapshin
Fix buildbots after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0138cc012506d5195ba2a3cf8a98ceb84c5aeffa by jrh29
PowerPC: Treat llvm.fma.f* intrinsic as using CTR with SPE

Summary:
The SPE doesn't have a 'fma' instruction, so the intrinsic becomes a
libcall.  It really should become an expansion to two instructions, but
for some reason the compiler doesn't think that's as optimal as a
branch.  Since this lowering is done after CTR is allocated for loops,
tell the optimizer that CTR may be used in this case.  This prevents a
"Invalid PPC CTR loop!" assertion in the case that a fma() function call
is used in a C/C++ file, and clang converts it into an intrinsic.

Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D78668
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
Commit 1c44430e738ba83eefe6d56a245ee30649d8988d by a.v.lapshin
Fix buildbots #2 after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 99d60a1d0b35d6b8eda827351de6dd73f7a3dffe by ditaliano
[GlobalISel] Assign the correct location when combining G_SEXT.

<rdar://problem/62991635>
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/combine-sext-debugloc.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
Commit 473bdaf2e81aef06514586e82e5e697ceabb7aa6 by zinenko
[mlir] Move Conversion/StandardToStandard to Dialect/StandardOps/Transforms/FuncConversions

Conversion/ folders were originally intended to store patterns for
DialectA->DialectB conversions that depend on both dialects and do not
conceptually belong to either of the dialects. As such, DialectA->DialectA
conversion does not make sense under Conversion/ and should rather live with
the dialect it operates on.

Differential Revision: https://reviews.llvm.org/D79569
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
The file was removedmlir/lib/Conversion/StandardToStandard/CMakeLists.txt
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was removedmlir/lib/Conversion/StandardToStandard/StandardToStandard.cpp
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/StandardOps/Transforms/FuncConversions.h
The file was addedmlir/lib/Dialect/StandardOps/Transforms/FuncConversions.cpp
The file was removedmlir/include/mlir/Conversion/StandardToStandard/StandardToStandard.h
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
Commit a9e856265146cd32364e358e2224d8d581a4c226 by ditaliano
[GIsel] Update a comment and make it more precise.

This only covers ANYEXT/ZEXT. SEXT is covered in another test
I just checked in.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combine-ext-debugloc.mir
Commit f490ca76b0ee69dd091a5535dbb948f123a96e2e by spatel
[x86][CGP] enable target hook to sink funnel shift intrinsic's splatted shift amount

SDAG suffers when it can't see that a funnel operand is a splat value
(due to single-basic-block visibility), so invert the normal loop
hoisting rules to move a splat op closer to its use.

This would be part 1 of an enhancement similar to D63233.

This is needed to re-fix PR37426:
https://bugs.llvm.org/show_bug.cgi?id=37426
...because we got better at canonicalizing IR to funnel shift intrinsics.

The existing CGP code for shift opcodes is likely overstepping what it was
intended to do, so that will be fixed in a follow-up.

Differential Revision: https://reviews.llvm.org/D79718
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll
Commit 759465ee34c0c0118fbd21cad87de17bb3be13e0 by Jan Korous
[YAMLVFSWriter] Fix for delimiters

Differential Revision: https://reviews.llvm.org/D79809
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 452e2fc409df4acd790fcb53872db5a1b8c0130a by silvasean
Revert of Revert of [mlir][shape] Tidy up shape.shape_of

Summary:

- Mark it NoSideEffect
- Add custom parser/printer

This reverts the temporary revert in
https://reviews.llvm.org/rG84a9c725742d26df04808a3c7349dbd98684c6cb
That was a false alarm. A downstream test actually needed to be updated.
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
Commit ab22f71dd75895fbde1cd1a515b2164227d5dfd2 by Jonas Devlieghere
[lldb/Reproducers] Also record directories FileSystem::Collect.

Now that the FileCollector knows how to deal with directories we no
longer have to ignore them in the FileSystem class.
The file was modifiedlldb/source/Host/common/FileSystem.cpp
Commit 71ed66d97fd624313bef693fa9da54fa66bdcd09 by Stanislav.Mekhanoshin
[AMDGPU] Make v4i64/v4f64/v8i64/v8f64 legal

We can produce such vectors in the Promote Alloca pass,
but we are unable to use movrel to operate it and lower
via scratch. Making it legal makes SI_INDIRECT patterns
work.

There is more work to do in subsequent changes:

1. We initialize m0 twice to access each dword. It shall
be possible to only do it once and increment base register
number instead.
2. We also need v16i64/v16f64 but these first need to be
added to tablegen.

Differential Revision: https://reviews.llvm.org/D79808
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_madak_f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shift-i128.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shift-i64-opts.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ubfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sgpr-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot2.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/saddo.ll
Commit 2c861e8a121e35da331818cbc95ab4ecc97f43b4 by Casey
[libc++][test] Properly mark libc++-only XFAILs

These tests PASS on libstdc++ and MSVC.
The file was modifiedlibcxx/test/std/strings/c.strings/cuchar.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bm/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bmh/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp
Commit e17a47b2d353737e25b24c8dfcc3e8984878b02e by sivachandra
[libc][Obvious] Fix deps of few threads targets.

A missing dep has been added, and a few redundent deps have been
removed.
The file was modifiedlibc/test/src/threads/CMakeLists.txt
The file was modifiedlibc/src/threads/linux/CMakeLists.txt
Commit 759bae956abf7fb46c28f5e23a4feee593c883ae by thakis
[lld-macho] Ignore -platform_version and -syslibroot flags.

clang passes these flags; this makes it easier to try `clang -v`
output with `ld -flavor darwinnew`.

Differential Revision: https://reviews.llvm.org/D79797
The file was modifiedlld/MachO/Options.td
The file was addedlld/test/MachO/platform-version.test
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/test/MachO/silent-ignore.test
Commit cb22ab7403557941fd672a8fc3a16b1ef75a7842 by rnk
Add nomerge function attribute to supress tail merge optimization in simplifyCFG

We want to add a way to avoid merging identical calls so as to keep the
separate debug-information for those calls. There is also an asan
usecase where having this attribute would be beneficial to avoid
alternative work-arounds.

Here is the link to the feature request:
https://bugs.llvm.org/show_bug.cgi?id=42783.

`nomerge` is different from `noline`. `noinline` prevents function from
inlining at callsites, but `nomerge` prevents multiple identical calls
from being merged into one.

This patch adds `nomerge` to disable the optimization in IR level. A
followup patch will be needed to let backend understands `nomerge` and
avoid tail merge at backend.

Reviewed By: asbirlea, rnk

Differential Revision: https://reviews.llvm.org/D78659
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was addedllvm/test/Transforms/SimplifyCFG/nomerge.ll
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
Commit 63c0e72b2f828db778135d3bdc4e0df03341a3a9 by ntv
[mlir] Revisit std.subview handling of static information.

The main objective of this revision is to change the way static information is represented, propagated and canonicalized in the SubViewOp.

In the current implementation the issue is that canonicalization may strictly lose information because static offsets are combined in irrecoverable ways into the result type, in order to fit the strided memref representation.

The core semantics of the op do not change but the parser and printer do: the op always requires `rank` offsets, sizes and strides. These quantities can now be either SSA values or static integer attributes.

The result type is automatically deduced from the static information and more powerful canonicalizations (as powerful as the representation with sentinel `?` values allows). Previously static information was inferred on a best-effort basis from looking at the source and destination type.

Relevant tests are rewritten to use the idiomatic `offset: x, strides : [...]`-form. Bugs are corrected along the way that were not trivially visible in flattened strided memref form.

Lowering to LLVM is updated, simplified and now supports all cases.
A mixed static-dynamic mode test that wouldn't previously lower is added.

It is an open question, and a longer discussion, whether a better result type representation would be a nicer alternative. For now, the subview op carries the required semantic.

Differential Revision: https://reviews.llvm.org/D79662
The file was modifiedmlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Dialect/Linalg/promote.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/test/Dialect/Affine/ops.mlir
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/legalization.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/invalid.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
Commit 0796b170fb3bf38e6cc4e59746120b37c9a9cd9f by omair.javaid
Fix error in TestNumThreads.py when frame.GetFunctionName returns none

Summary:
This patch fixes an error happening in TestNumThreads.py when it encounters frame.GetFunctionName none for address only locations in stripped libc.

This error was showing up on arm-linux docker container running lldb buildbot.

Reviewers: labath

Reviewed By: labath

Subscribers: kristof.beyls, lldb-commits

Differential Revision: https://reviews.llvm.org/D79777
The file was modifiedlldb/test/API/functionalities/thread/num_threads/TestNumThreads.py
Commit d3eb51f0626cc86af904bfbdb061fecbd90ffdc5 by aqjune
[ValueTracking] Fix crash in isGuaranteedNotToBeUndefOrPoison when V is in an unreachable block

Summary:
This fixes PR45885 by fixing isGuaranteedNotToBeUndefOrPoison so it does not look into dominating
branch conditions of V when V is an instruction in an unreachable block.

Reviewers: spatel, nikic, lebedev.ri

Reviewed By: nikic

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79790
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was addedllvm/test/Transforms/DivRemPairs/PowerPC/pr45885.ll
Commit 8aa2266fd8dd237c84daf12c2eec0df244558f49 by zoecarver
[libcxx] Constrain function assignment operator (2574).

This patch fixes LWG issue 2574.

Differential Review: https://reviews.llvm.org/D62928
The file was modifiedlibcxx/include/functional
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp
The file was modifiedlibcxx/www/cxx1z_status.html
Commit af48351cc8fc63148e8cfd10a936b2d5d0c2f078 by johannes
[Attributor][FIX] Stabilize the state of AAReturnedValues each update

For AAReturnedValues we treated new and existing information differently
in the updateImpl. Only the latter was properly analyzed and
categorized. The former was thought to be analyzed in the subsequent
update. Since the Attributor does not support "self-updates" we need to
make sure the state is "stable" after each updateImpl invocation. That
is, if the surrounding information does not change, the state is valid.
Now we make sure all return values have been handled and properly
categorized each iteration. We might not update again if we have not
requested a non-fix attribute so we cannot "wait" for the next update to
analyze a new return value.

Bug reported by @sdmitriev.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
Commit 302c492cc5d97cf10837e71e4ee5872c01bc3682 by omair.javaid
[LLDB] Fix minidebuginfo-set-and-hit-breakpoint.test for arm 32-bit

This patch fixes minidebuginfo-set-and-hit-breakpoint.test for arm-linux
targets. 32-bit elf executables use .rel.dyn and 64-bit uses .rela.dyn for
relocation entries for dynamic symbols.
The file was modifiedlldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
Commit fb2c4d50f1426356d0aa3a9eaa1dab50b25c9082 by ajcbik
[mlir] [VectorOps] Implement vector.constant_mask lowering to LLVM IR

Summary:
Makes this operation runnable on CPU by generating MLIR instructions
that are eventually folded into an LLVM IR constant for the mask.

Reviewers: nicolasvasilache, ftynse, reidtatge, bkramer, andydavis1

Reviewed By: nicolasvasilache, ftynse, andydavis1

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79815
The file was modifiedmlir/test/Dialect/Vector/vector-contract-transforms.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was addedmlir/test/Target/vector-to-llvm-ir.mlir
Commit 6805a77eb66e2e4c9f308bc49c77297f790a5e7b by omair.javaid
[LLDB] Mark some xfails for arm-linux

This patch marks following tests as xfail for arm-linux target.

lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py
lldb/test/API/python_api/thread/TestThreadAPI.py
lldb/test/Shell/Recognizer/assert.test

Bugs have been filed for all of them for the corresponding failing
component.
The file was modifiedlldb/test/API/python_api/thread/TestThreadAPI.py
The file was modifiedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py
Commit 67087a7b76599ea783c1d930f0c2047deaa8fbae by omair.javaid
[LLDB] Fix typo in xfail decorator assert.test

Fix a typo in earlier xfailed assert.test replace // with #.
The file was modifiedlldb/test/Shell/Recognizer/assert.test
Commit 272bc25bc1401d5dc1407ad22a3172ee6914d007 by t-kawashima
[LoopReroll] Fix rerolling loop with use outside the loop

Fixes PR41696

The loop-reroll pass generates an invalid IR (or its assertion
fails in debug build) if values of the base instruction and
other root instructions (terms used in the loop-reroll pass)
are used outside the loop block. See IRs written in PR41696
as examples.

The current implementation of the loop-reroll pass can reroll
only loops that don't have values that are used outside the
loop, except reduced values (the last values of reduction chains).
This is described in the comment of the `LoopReroll::reroll`
function.
https://github.com/llvm/llvm-project/blob/llvmorg-10.0.0/llvm/lib/Transforms/Scalar/LoopRerollPass.cpp#L1600

This is checked in the `LoopReroll::DAGRootTracker::validate`
function.
https://github.com/llvm/llvm-project/blob/llvmorg-10.0.0/llvm/lib/Transforms/Scalar/LoopRerollPass.cpp#L1393

However, the base instruction and other root instructions skip
this check in the validation loop.
https://github.com/llvm/llvm-project/blob/llvmorg-10.0.0/llvm/lib/Transforms/Scalar/LoopRerollPass.cpp#L1229

Moving the check in front of the skip is the logically simplest
fix. However, inserting the check in an earlier stage is better
in terms of compilation time of unrerollable loops. This fix
inserts the check for the base instruction into the function
to validate possible base/root instructions. Check for other
root instructions is unnecessary because they don't match any
base instructions if they have uses outside the loop.

Differential Revision: https://reviews.llvm.org/D79549
The file was addedllvm/test/Transforms/LoopReroll/external_use.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopRerollPass.cpp
Commit 7d4167430c411ba1441260be9243d3401695ea7a by t-kawashima
[gcov] Fix simultaneous .gcda creation/lock

Fixes PR45673

The commit 9180c14fe4d (D76206) resolved only a part of the problem
of concurrent .gcda file creation. It ensured that only one process
creates the file but did not ensure that the process locks the
file first. If not, the process which created the file may clobber
the contents written by a process which locked the file first.
This is the cause of PR45673.

This commit prevents the clobbering by revising the assumption
that a process which creates the file locks the file first.
Regardless of file creation, a process which locked the file first
uses fwrite (new_file==1) and other processes use mmap (new_file==0).

I also tried to keep the creation/first-lock process same by using
mkstemp/link/unlink but the code gets long. This commit is more
simple.

Note: You may be confused with other changes which try to resolve
concurrent file access. My understanding is (may not be correct):

D76206:   Resolve race of .gcda file creation (but not lock)
This one: Resolve race of .gcda file creation and lock
D54599:   Same as D76206 but abandoned?
D70910:   Resolve race of multi-threaded counter flushing
D74953:   Resolve counter sharing between parent/children processes
D78477:   Revision of D74953

Differential Revision: https://reviews.llvm.org/D79556
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c
Commit 085234bedc3803699e58a8c9e6bbace3388efee2 by stephen.neuendorffer
[cmake] Update creation of object library dependencies for LINK_LIBS PUBLIC

We need to avoid declaring dependencies on strings which are valid
LINK_LIBS and not valid targets.  Previously, we used if(TARGET) to
check this condition.  However, if(TARGET) checks whether a target has
been created (in the cmake subdirectory traversal order) and not
whether it *will* be created.  This results in annoying directory
ordering problems.

This patch changes the check to more explicitly eliminate problematic
libraries (namely -lpthread) using a REGEX.

Differential Revision: https://reviews.llvm.org/D79837
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 782a4dd1a478e41857744b483b104b5e66857fbf by shkzhang
[PowerPC] Use add instead of addReg in ppc-early-ret pass

Summary:
The ppc-early-ret pass use the addReg() to add operand to the new
instruction, it can't reserve the flag of old operand. This has caused
machine verfications failed.
This patch use add() to instead of addReg().

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D77997
The file was modifiedllvm/lib/Target/PowerPC/PPCEarlyReturn.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/early-ret.mir
The file was modifiedllvm/test/CodeGen/PowerPC/early-ret-verify.mir
Commit d2a9569850166083638a8fb88f7dae1c1b62a926 by ravishankarm
[mlir][Linalg] Allow reshapes to collapse to a zero-rank tensor.

This is only valid if the source tensors (result tensor) is static
shaped with all unit-extents when the reshape is collapsing
(expanding) dimensions.

Differential Revision: https://reviews.llvm.org/D79764
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
Commit 5440d0a12d7f6f7f7689a7a733de7cc622605270 by ravishankarm
[mlir][Linalg] Add folders and canonicalizers for
linalg.reshape/linalg.tensor_reshape operations.

Differential Revision: https://reviews.llvm.org/D79765
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
Commit e9753822b5ad5e43e79f5970b5e86ceb329f8497 by qiucofan
[PowerPC] Respect SDNodeFlags in lowering SELECT_CC

Legalizer should respect both command-line options or SDNode-level
fast-math flags.

Also, this patch propagates other flags during custom simplifying.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D79074
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/scalar_cmp.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar-equal.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar-min-max.ll
Commit 49e6c191004aff1a4c4cbac87bcb96c9ff694534 by ravishankarm
[mlir][StandardToLLVM] Add SinOp to LLVM dialect and lowering of std.sin to this op.

Differential Revision: https://reviews.llvm.org/D79505
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 6bbad7285c4b8a38fc9a3a0bd68eb3096f9d27bc by sam.parker
[CostModel] Modify BasicTTI getCastInstrCost

Fix the assumption that all bitcasts of the same type sizes are free.
We now only assume that bitcasts between ints and ptrs of the same
size are free. This allows TTImpl to just call the concrete
implementation of getCastInstrCost.

Differential Revision: https://reviews.llvm.org/D78918
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
Commit 8ffe8891cd57694dbed148cfcae8aaede70a0f30 by qiucofan
[PowerPC] Exploit VSX neg, abs and nabs for f32

xsnegdp, xsabsdp and xsnabsdp can be used to operate on f32 operand.

This patch adds the missing patterns since we prefer VSX instructions
when available.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D75344
The file was modifiedllvm/test/CodeGen/PowerPC/fma.ll
The file was modifiedllvm/test/CodeGen/PowerPC/float-logic-ops.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fmf-propagation.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fsub-fneg.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
Commit ad60ff70eb56a7d198e613152f9974d5d4baabd4 by shengchen.kan
[NFC] Code cleanup in TargetInfo.cpp

Fix the signed/unsigned mismatch issue
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit eef95f2746c3347b8dad19091ffb82a88d73acd3 by yrouban
[BrachProbablityInfo] Set edge probabilities at once. NFC.

Hide the method that allows setting probability for particular
edge and introduce a public method that sets probabilities for
all outgoing edges at once.
Setting individual edge probability is error prone. More over
it is difficult to check that the total probability is 1.0
because there is no easy way to know when the user finished
setting all the probabilities.

Reviewers: yamauchi, ebrevnov
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79396
The file was modifiedllvm/include/llvm/Analysis/BranchProbabilityInfo.h
The file was modifiedllvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit e59744fd9b4298c0527163748510a482a942eb54 by SourabhSingh.Tomar
[DebugInfo] Fortran module DebugInfo support in LLVM

This patch extends DIModule Debug metadata in LLVM to support
Fortran modules. DIModule is extended to contain File and Line
fields, these fields will be used by Flang FE to create debug
information necessary for representing Fortran modules at IR level.

Furthermore DW_TAG_module is also extended to contain these fields.
If these fields are missing, debuggers like GDB won't be able to
show Fortran modules information correctly.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D79484
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/test/Assembler/dimodule.ll
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/include/llvm/IR/DIBuilder.h
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was addedllvm/test/Bitcode/DIModule-clang-module.ll
The file was addedllvm/test/Bitcode/DIModule-fortran-module.ll.bc
The file was addedllvm/test/Bitcode/DIModule-clang-module.ll.bc
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was addedllvm/test/Bitcode/DIModule-fortran-module.ll
The file was addedllvm/test/DebugInfo/X86/Fortran-DIModule.ll
Commit 678bd84c4dfe6764b88698d442bb2afb2f5c811b by SourabhSingh.Tomar
[DebugInfo] Fixes windows bot failure due to a test failure

This fixes failures on windows bot specifically:

http://lab.llvm.org:8011/builders/lld-x86_64-win/builds/445
and http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/
builds/32314

* TEST 'LLVM :: DebugInfo/X86/Fortran-DIModule.ll' FAILED *
Script:
--
: 'RUN: at line 2';   c:\ps4-buildslave2\lld-x86_64-win\build\bin\llc.exe
-mtriple=x86_64-pc-windows-gnu
c:\ps4-buildslave2\lld-x86_64-win\llvm-project\llvm\test\DebugInfo\X86\Fortran-DIModule.ll
-filetype=obj -o - |    c:\ps4-buildslave2\lld-x86_64-win\build\bin\llvm-dwarfdump.exe - |
c:\ps4-buildslave2\lld-x86_64-win\build\bin\filecheck.exe
c:\ps4-buildslave2\lld-x86_64-win\llvm-project\llvm\test\DebugInfo\X86\Fortran-DIModule.ll
--
Exit Code: 1
error: command failed with exit status: 1
The file was modifiedllvm/test/DebugInfo/X86/Fortran-DIModule.ll
Commit 524457edbc3da4ff3c9f6b7cbca3cd66caa4d16e by simon
[mips] Fix typo in FileCheck directives - replace \0xa0 char by space. NFC

The problem is found by the D79276 on the following builder:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489
The file was modifiedllvm/test/MC/Mips/mips-jump-pc-region.s
The file was modifiedllvm/test/MC/Mips/micromips-jump-pc-region.s
Commit cac6a26f38131371450b6fb55e75ba7299228afe by victor.campos
[TableGen] Fix register class handling in TableGen's DAG ISel Matcher Generator

Summary:
In TableGen's instruction selection table generator, references to
register classes were handled by generating a matcher table entry in the
form of "EmitStringInteger, MVT::i32, 'RegisterClassID'". This ID is in
fact the enum integer value corresponding to the register class.

However, both the table generator and the table consumer
(SelectionDAGISel) assume that this ID is less than or equal to 127,
i.e. at most 7 bits. Values greater than this threshold cause completely
wrong behaviours in the instruction selection process.

This patch adds a check to determine if the enum integer value is
greater than the limit of 127. In finding so, the generator emits an
"EmitInteger" instead, which properly supports values with arbitrary
sizes.

Commit f8d044bbcfdc9e1ddc02247ffb86fe39e1f277f0 fixed the very same bug
for register subindices. The present patch now extends this cover to
register classes.

Reviewers: rampitec

Reviewed By: rampitec

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79705
The file was modifiedllvm/utils/TableGen/DAGISelMatcherGen.cpp
The file was addedllvm/test/TableGen/dag-isel-regclass-emit-enum.td
Commit 2866c6cad475f668bd0bffabb0513dc96ff157be by qiucofan
[NFC] [PowerPC] Narrow fast-math flags in tests

A lot of tests under PowerPC are using fast flag, while fast is just
alias of 7 fast-math flags. This change makes test points clearer.

mc-instrlat.ll and sms-iterator.ll keeps unchanged since they are not
testing fast-math behavior. (one for machine combiner crash, one for
machine pipeliner bug)

Reviewed By: steven.zhang, spatel

Differential Revision: https://reviews.llvm.org/D78989
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-P9-setb.ll
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vsx-recip-est.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fdiv.ll
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
The file was modifiedllvm/test/CodeGen/PowerPC/load-two-flts.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-mutate.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-negate.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vec-min-max.ll
The file was modifiedllvm/test/CodeGen/PowerPC/repeated-fp-divisors.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar-equal.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-precision.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vsx-fma-mutate-trivial-copy.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-combine.ll
The file was modifiedllvm/test/CodeGen/PowerPC/combine-fneg.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar_cmp.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fmf-propagation.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar-min-max.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-assoc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pow.75.ll
Commit e25a2601aaa95c861af3228982ecbb2b1c19d27a by marek
[libc++] [LWG3321] Mark "year_month_day_last::day() specification does not cover !ok() values" issue as "Nothing to do", but add assertion.

Summary:
This LWG issue states that the result of `year_month_day_last::day()` is implementation defined if `ok()` is `false`.
However, from user perspective, calling `day()` in this situation will lead to a (possibly difficult to find) crash.
Hence, I have added an assertion to warn user at least when assertions are enabled.
I am however not aware of the libc++ stand on the desired behaviour.

Reviewers: ldionne, mclow.lists, EricWF, #libc

Reviewed By: ldionne, #libc

Subscribers: christof, dexonsmith, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D70346
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/include/chrono
Commit 855f0ce79bf3bdf34a390d1f5fd842a6aa79d5ef by vsavchenko
[analyzer] Fix crash for non-pointers annotated as nonnull

Summary:
Nonnull attribute can be applied to non-pointers.  This caused assertion
failures in NonNullParamChecker when we tried to *assume* such parameters
to be non-zero.

rdar://problem/63150074

Differential Revision: https://reviews.llvm.org/D79843
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp
The file was modifiedclang/test/Analysis/UserNullabilityAnnotations.m
Commit f8972662bc3b39377374a5e7d8abe7b4a74ac573 by martin
[examples] Skip building the Bye pass plugin on windows

Windows doesn't properly support pass plugins (as a shared library
can't have undefined references, which pass plugins assume, being
loaded into a host process that contains provides them), thus
disable building it and the corresponding test.

This matches what was done for the passes unit test in
bc8e44218810c0db6328b9809c959ceb7d43e3f5.

Differential Revision: https://reviews.llvm.org/D79771
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/examples/Bye/CMakeLists.txt
The file was modifiedllvm/test/Feature/load_extension.ll
Commit 1febe289827602ab4da2d28799c04ee9eb2bc175 by dave
[libcxx testing] Remove ALLOW_RETRIES from wait_for futures test

This test tried to verify that "wait()" returned quickly but "quick" is
impossible to define given a busy and/or slow system.

Instead, I've refactored the test to verify that `wait()` actually
waits which the old test did not verify.
The file was modifiedlibcxx/test/std/thread/futures/futures.shared_future/wait_for.pass.cpp
Commit e16111ce2fce7fd86c10d3f1dfe3e3b62b76d73b by pavel
[lldb] Also recognize DWARF UTF base types using their size

Summary:
The D programming language has 'char', 'wchar', and 'dchar' as base types,
which are defined as UTF-8, UTF-16, and UTF-32, respectively.

It also has type constructors (e.g. 'const' and 'immutable'),
that leads to D compilers emitting DW_TAG_base_type with DW_ATE_UTF
and name 'char', 'immutable(wchar)', 'const(char)', etc...

Before this patch, DW_ATE_UTF would only recognize types that
followed the C/C++ naming, and emit an error message for the rest, e.g.:
```
error: need to add support for DW_TAG_base_type 'immutable(char)'
encoded with DW_ATE = 0x10, bit_size = 8
```

The code was changed to check the byte size first,
then fall back to the old name-based check.

Reviewers: clayborg, labath

Reviewed By: labath

Subscribers: labath, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D79559
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was addedlldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll
Commit 8cbd3f431a919e3398683bb5b72fdd781798bcc8 by Artem Dergachev
[analyzer] SATestBuild.py: Be defensive against corrupt plist files.
The file was modifiedclang/utils/analyzer/SATestBuild.py
Commit ab61fe41505c0dab8c05b3b6792454fc097b2999 by marek
Revert "[libc++] [LWG3321] Mark "year_month_day_last::day() specification does not cover !ok() values" issue as "Nothing to do", but add assertion."

This reverts commit e25a2601aaa95c861af3228982ecbb2b1c19d27a.
It was failing due to _LIBCPP_ASSERT throwing in a method marked noexcept.
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/include/chrono
Commit 18a5428e60272482e7a3855fbfd40427e8066be6 by dmitry.preobrazhensky
[AMDGPU][MC][GFX9+] Enabled clamp for v_add_i32 and v_sub_i32

See bug 45830: https://bugs.llvm.org/show_bug.cgi?id=45830

Reviewers: arsenm, rampitec

Differential Revision: https://reviews.llvm.org/D79585
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/test/MC/AMDGPU/vop3-gfx9.s
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_all.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/vop3_gfx9.txt
Commit e072b20bdea5629d0bc7a7c2216bdc7762dcb564 by pavel
[lldb] Merge PlatformXXX::ResolveExecutable

The near-identical implementations of this function for posix-y
platforms were merged in r293910. PlatformWindows was left out of this
merge because at the time we did not have a suitable base class to sink
the code into. That is no longer true, so this commit finishes the job
by moving the code into RemoteAwarePlatform::ResolveExecutable.
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
The file was modifiedlldb/include/lldb/Target/RemoteAwarePlatform.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.h
The file was modifiedlldb/source/Target/RemoteAwarePlatform.cpp
Commit 881c3bb6a7323fe01f95d4e95755c78cd805056f by marcel.koester
[mlir] Adapted standard Alloc and Alloca ops to use new side-effect resources.

The current standard Alloca node is not annotated with the
MemEffect<Alloc> trait. This CL updates the Alloc and Alloca
memory-effect annotations using the latest Resource objects. Alloca
nodes will use a newly defined AutomaticAllocationScopeResource to
distinguish between Alloc and Alloca memory effects.

Differential Revision: https://reviews.llvm.org/D79620
The file was modifiedmlir/include/mlir/Interfaces/SideEffects.h
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit f61f6ffe1126869b05a6f0b8fdee7b24c02d24f3 by n54
[compiler-rt] [builtin] Switch the return type of __atomic_compare_exchange_##n to bool

Summary:
Synchronize the function definition with the LLVM documentation.

https://llvm.org/docs/Atomics.html#libcalls-atomic

GCC also returns bool for the same atomic builtin.

Reviewers: theraven

Reviewed By: theraven

Subscribers: theraven, dberris, jfb, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79845
The file was modifiedcompiler-rt/lib/builtins/atomic.c
Commit 897d8ee5cd693e17f95a7e84194bca4c089a520b by ehudkatz
[StructurizeCFG] Fix region nodes ordering

This is a reimplementation of the `orderNodes` function, as the old
implementation didn't take into account all cases.

Fix PR41509

Differential Revision: https://reviews.llvm.org/D79037
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
The file was addedllvm/test/Transforms/StructurizeCFG/interleaved-loop-order.ll
Commit 9529597cf4562c64034943dacc29a4ff4fe93d86 by sjoerd.meijer
Recommit #2: "[LV] Induction Variable does not remain scalar under tail-folding."

This was reverted because of a miscompilation. At closer inspection, the
problem was actually visible in a changed llvm regression test too. This
one-line follow up fix/recommit will splat the IV, which is what we are trying
to avoid if unnecessary in general, if tail-folding is requested even if all
users are scalar instructions after vectorisation. Because with tail-folding,
the splat IV will be used by the predicate of the masked loads/stores
instructions. The previous version omitted this, which caused the
miscompilation. The original commit message was:

If tail-folding of the scalar remainder loop is applied, the primary induction
variable is splat to a vector and used by the masked load/store vector
instructions, thus the IV does not remain scalar. Because we now mark
that the IV does not remain scalar for these cases, we don't emit the vector IV
if it is not used. Thus, the vectoriser produces less dead code.

Thanks to Ayal Zaks for the direction how to fix this.
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/pr36032.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check-needed-but-empty.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr35773.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/small-size.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/Hexagon/invalidate-cm-after-invalidating-interleavegroups.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/vectorize-bswap.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/fcmp-vectorize.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/optsize.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/SystemZ/predicated-first-order-recurrence.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/sphinx.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/if-reduction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/if-pred-stores.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr36524.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/multiple-strides-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/metadata-enable.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr35432.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/constant-fold.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/float-minmax-instruction-flag.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr44488-predication.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/vector-intrinsic-call-cost.ll
Commit 410644fbf767d5853f170cb2d664a5fef37cb20a by simon.wallis2
Clang crash targeting ARM or Thumb when assembling a prel31 relocation variant

Summary:
In the assembler or inline assembler,
attempting to use an invalid fixup type
gives a crash with a segmentation fault.

__attribute__((naked))
void foo(void) {
__asm__("mov r9, :lower16:bar(prel31)");
}

This should give a proper error message when building for ARM or Thumb.
This brings it in line with AARCH64.

This fixes all 8 instances of llvm_unreachable("Unsupported Modifier");
in ARM/MCTargetDesc/ARMELFObjectWriter.cpp.
A test is provided for each instance.

Reviewers: llvm-commits, MarkMurrayARM

Reviewed By: MarkMurrayARM

Subscribers: kristof.beyls, hiraditya, danielkiss

Tags: #llvm

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

Change-Id: I6971ba37f129cc453568fe71514ccb2ac9d16831
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
The file was modifiedllvm/test/MC/ARM/error-location.s
Commit 1b140a87a5815513da69fa894e9533f500ea1c12 by ehsan.nadjaran_toosi
[MLIR] Nested regions test for Buffer Assginment

Due to the extension of Liveness, Buffer Assignment can now work on nested regions. This PR provides a test case to show that existing functionally of BA works properly.

Differential Revision: https://reviews.llvm.org/D79332
The file was modifiedmlir/test/Transforms/buffer-placement.mlir
Commit 2668775f66656f719f7d8164066ec5ca64d707f2 by pierre.vanhoutryve
[LSR][ARM] Add new TTI hook to mark some LSR chains as profitable

This patch adds a new TTI hook to allow targets to tell LSR that
a chain including some instruction is already profitable and
should not be optimized. This patch also adds an implementation
of this TTI hook for ARM so LSR doesn't optimize chains that include
the VCTP intrinsic.

Differential Revision: https://reviews.llvm.org/D79418
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/lsr-profitable-chain.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/ARM/vctp-chains.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Commit 6d2599e4f776d0cd88438cb82a00c4fc25cc3f67 by Louis Dionne
[libcxx][span] Implement P1976R2

This resolves the NB comment about the construction of a fixed-size span
from a dynamic range.

Differential Revision: https://reviews.llvm.org/D74577
The file was modifiedlibcxx/docs/FeatureTestMacroTable.rst
The file was modifiedlibcxx/test/std/containers/views/span.cons/ptr_len.fail.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/container.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/assign.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/span.fail.cpp
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/test/std/containers/views/span.cons/container.fail.cpp
The file was addedlibcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/ptr_ptr.fail.cpp
The file was modifiedlibcxx/include/span
The file was modifiedlibcxx/include/version
Commit 2fe6672498d60074fd34e2770659d5526e53e093 by Raphael Isemann
[lldb][NFC] Don't specify a default argument when creating a TextDiagnosticPrinter
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Commit 87c56594dd98bc4fe6932713325f410a1b68e962 by david.green
[ARM] Sink splats to fma intrinsics

Similar to fmul/fadd, we can sink a splat into a loop containing a fma
in order to use more register instruction variants. For that there are
also adjustments to the sinking code to handle more than 2 arguments.

Differential Revision: https://reviews.llvm.org/D78386
The file was modifiedllvm/test/CodeGen/Thumb2/mve-fma-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vldst4.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 195de442daba5ae1754528eb2869ca50c3af2669 by carl.ritson
[AMDGPU] Strengthen export cluster ordering

Summary:
When removing barrier edges on exports then dependencies need to
be propagated.

Reviewers: foad

Reviewed By: foad

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79855
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.exp.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUExportClustering.cpp
Commit e0b99a5de4cbf00bfa46d06caf1ebf64a6456537 by ntv
[mlir] Add SubViewOp::getOrCreateRanges and fix folding pattern

The existing implementation of SubViewOp::getRanges relies on all
offsets/sizes/strides to be dynamic values and does not work in
combination with canonicalization. This revision adds a
SubViewOp::getOrCreateRanges to create the missing constants in the
canonicalized case.

This allows reactivating the fused pass with staged pattern
applications.

However another issue surfaces that the SubViewOp verifier is now too
strict to allow folding. The existing folding pattern is turned into a
canonicalization pattern which rewrites memref_cast + subview into
subview + memref_cast.

The transform-patterns-matmul-to-vector can then be reactivated.

Differential Revision: https://reviews.llvm.org/D79759
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns-matmul-to-vector.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
Commit a5d80818fa702876ced0e62bffcd24d3d9bf43b9 by ntv
[mlir] [VectorOps] Add missing EDSC intrinsics.

Differential Revision: https://reviews.llvm.org/D79858
The file was modifiedmlir/include/mlir/Dialect/Vector/EDSC/Intrinsics.h
Commit fa15255d8af53126bbcb017f2fb6f9961e8574df by david.green
[ARM] Convert floating point splats to integer

Under MVE a vdup will always take a gpr register, not a floating point
value. During DAG combine we convert the types to a bitcast to an
integer in an attempt to fold the bitcast into other instructions. This
is OK, but only works inside the same basic block. To do the same trick
across a basic block boundary we need to convert the type in
codegenprepare, before the splat is sunk into the loop.

This adds a convertSplatType function to codegenprepare to do that,
putting bitcasts around the splat to force the type to an integer. There
is then some adjustment to the code in shouldSinkOperands to handle the
extra bitcasts.

Differential Revision: https://reviews.llvm.org/D78728
The file was modifiedllvm/test/CodeGen/Thumb2/mve-float32regloops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vsubq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vaddq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/ternary.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-threshold.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmulq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-float16regloops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vldst4.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-fma-loops.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/dup.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
Commit a520c89a4768f1e2ad7012eb70ff05357fc5e985 by russell.gallop
[DebugInfo] Fix test Fortran-DIModule.ll after 678bd84c4

Was failing here:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/32320
The file was modifiedllvm/test/DebugInfo/X86/Fortran-DIModule.ll
Commit 4b53495c4ba2ba410f6383f9c57593e838ec0d57 by rdwampler
Perform ActOnConversionDeclarator after looking for any virtual functions it overrides

Summary: This allows for suppressing warnings about the conversion function never being called if it overrides a virtual function in a base class.

Differential Revision: https://reviews.llvm.org/D78444
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/SemaCXX/conversion-function.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit 53cc90f789996d1e1edc6a9233a85ce8d658aadd by klimek
Make FormatToken::Type private.

This enables us to intercept changes to the token type via setType(), which
is a precondition for being able to use multi-pass formatting for macro
arguments.

Differential Revision: https://reviews.llvm.org/D67405
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/lib/Format/FormatToken.cpp
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/Format/Format.cpp
Commit 5f7a5e3bdba3663c8ec9704e28f75f6b2850f9f8 by Raphael Isemann
[lldb][NFC] Early-exit in SetupDeclVendor

Also removed the unnecessary element-by-element copy of the std::vector
hand_imported_modules to modules_for_macros.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit 1370757dd019c4e1b7bf623622e2bfc94680509f by rnk
Revert "[BrachProbablityInfo] Set edge probabilities at once. NFC."

This reverts commit eef95f2746c3347b8dad19091ffb82a88d73acd3.

The new assertion about branch propability sums does not hold.
The file was modifiedllvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/include/llvm/Analysis/BranchProbabilityInfo.h
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit a1fd188223d9c9b404dccd3511fe8b63ef022a13 by jdenny.ornl
[FileCheck] Support comment directives

Sometimes you want to disable a FileCheck directive without removing
it entirely, or you want to write comments that mention a directive by
name.  The `COM:` directive makes it easy to do this.  For example,
you might have:

```
; X32: pinsrd_1:
; X32:    pinsrd $1, 4(%esp), %xmm0

; COM: FIXME: X64 isn't working correctly yet for this part of codegen, but
; COM: X64 will have something similar to X32:
; COM:
; COM:   X64: pinsrd_1:
; COM:   X64:    pinsrd $1, %edi, %xmm0
```

Without this patch, you need to use some combination of rewording and
directive syntax mangling to prevent FileCheck from recognizing the
commented occurrences of `X32:` and `X64:` above as directives.
Moreover, FileCheck diagnostics have been proposed that might complain
about the occurrences of `X64` that don't have the trailing `:`
because they look like directive typos:

  <http://lists.llvm.org/pipermail/llvm-dev/2020-April/140610.html>

I think dodging all these problems can prove tedious for test authors,
and directive syntax mangling already makes the purpose of existing
test code unclear.  `COM:` can avoid all these problems.

This patch also updates the small set of existing tests that define
`COM` as a check prefix:

- clang/test/CodeGen/default-address-space.c
- clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
- clang/test/Driver/hip-device-libs.hip
- llvm/test/Assembler/drop-debug-info-nonzero-alloca.ll

I think lit should support `COM:` as well.  Perhaps `clang -verify`
should too.

Reviewed By: jhenderson, thopre

Differential Revision: https://reviews.llvm.org/D79276
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was addedllvm/test/FileCheck/comment/suppresses-checks.txt
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was addedllvm/test/FileCheck/comment/unused-check-prefixes.txt
The file was modifiedllvm/test/Assembler/drop-debug-info-nonzero-alloca.ll
The file was modifiedllvm/test/FileCheck/first-character-match.txt
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was addedllvm/test/FileCheck/comment/suffixes.txt
The file was addedllvm/test/FileCheck/comment/unused-comment-prefixes.txt
The file was addedllvm/test/FileCheck/comment/bad-comment-prefix.txt
The file was addedllvm/test/FileCheck/comment/within-checks.txt
The file was addedllvm/test/FileCheck/comment/after-words.txt
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was addedllvm/test/FileCheck/comment/blank-comments.txt
Commit cf2fb139321ca06b5200a88847fabec93ee92d80 by Yaxun.Liu
Add -print-targets to print the registered targets

Differential Revision: https://reviews.llvm.org/D79565
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 6671a81bc71cc2635c5a10d6f688fea46ca4e5d6 by Jonas Devlieghere
[lldb/Reproducers] Add test-specific API to set the test CWD

The reproducers' working directory is set to the current working
directory when they are initialized. While this is not optimal, as the
cwd can change during a debug session, it has been sufficient so far.

The current approach doesn't work for the API test suite however because
dotest temporarily changes the directory to where the test's Python file
lives.

This patch adds an API to tell the reproducers what to set the CWD to.
This is a NO-OP in every mode but capture.

Differential revision: https://reviews.llvm.org/D79825
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/bindings/interface/SBReproducer.i
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/API/SBReproducer.cpp
The file was modifiedlldb/include/lldb/API/SBReproducer.h
Commit a8bf2deae4f1e96857c8869f9931f5adb469e929 by benny.kra
[CodeGenPrepare] Remove a superflouos variable. NFC.

Fixes a -Wunused-variable warning in Release builds.
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 641ae73f2eba1a4c52d8ddeefad44f26cc7530f3 by akhuang
[NativeSession] Implement NativeSession::findSymbolByAddress.

Summary: This implements searching for function symbols and public symbols by address.

More specifically,
-Implements NativeSession::findSymbolByAddress for function symbols and
public symbols. I think data symbols are also searched for, but isn't
implemented in this patch.
-Adds classes for NativeFunctionSymbol and NativePublicSymbol
-Adds a '-use-native-pdb-reader' option to llvm-symbolizer, for testing
purposes.

Reviewers: rnk, amccarth, labath

Subscribers: mgorny, hiraditya, MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79269
The file was addedllvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h
The file was modifiedllvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
The file was addedllvm/lib/DebugInfo/PDB/Native/NativeFunctionSymbol.cpp
The file was addedllvm/test/tools/llvm-symbolizer/pdb/pdb-native.test
The file was modifiedllvm/unittests/DebugInfo/PDB/NativeSessionTest.cpp
The file was modifiedllvm/lib/DebugInfo/Symbolize/Symbolize.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
The file was modifiedllvm/include/llvm/DebugInfo/PDB/DIA/DIASession.h
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/PDB/BUILD.gn
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h
The file was modifiedllvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
The file was addedllvm/lib/DebugInfo/PDB/Native/NativePublicSymbol.cpp
The file was modifiedllvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
The file was addedllvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h
The file was modifiedllvm/include/llvm/DebugInfo/PDB/IPDBSession.h
The file was modifiedllvm/lib/DebugInfo/PDB/CMakeLists.txt
The file was modifiedllvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Commit b7afa92e75ddea744c9bafbb2119b63ea564e122 by sivachandra
[libc] Call mtx_init in mtx_test.

A typo which was caught has also been fixed.

Reviewers: abrachet

Differential Revision: https://reviews.llvm.org/D79826
The file was modifiedlibc/test/src/threads/mtx_test.cpp
The file was modifiedlibc/src/threads/mtx_init.h
Commit 902777ded5c0e049d21f9c2bea195b57dcf3d34f by ravishankarm
[mlir][Linalg] Fix missing template keyword.

Differential Revision: https://reviews.llvm.org/D79884
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit 60f443bb3b3df8ee1cb391544ad80417c9bb8293 by zinenko
[mlir] Change dialect namespace loop->scf

All ops of the SCF dialect now use the `scf.` prefix instead of `loop.`. This
is a part of dialect renaming.

Differential Revision: https://reviews.llvm.org/D79844
The file was modifiedmlir/test/Dialect/Linalg/fusion.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was modifiedmlir/include/mlir/Dialect/SCF/Transforms.h
The file was modifiedmlir/test/Transforms/sccp-structured.mlir
The file was modifiedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPUPass.h
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/test/Dialect/Affine/slicing-utils.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/test/Conversion/LoopsToGPU/step_one.mlir
The file was modifiedmlir/include/mlir/Dialect/GPU/ParallelLoopMapperAttr.td
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/imperfect_4D.mlir
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/imperfect_3D.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/linalg_to_gpu.mlir
The file was modifiedmlir/docs/EDSC.md
The file was modifiedmlir/test/Analysis/test-liveness.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/test/Dialect/SCF/parallel-loop-fusion.mlir
The file was modifiedmlir/test/Transforms/parallel-loop-collapsing.mlir
The file was modifiedmlir/test/Transforms/loop-fusion.mlir
The file was modifiedmlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
The file was modifiedmlir/lib/Dialect/SCF/Transforms/ParallelLoopSpecialization.cpp
The file was modifiedmlir/test/Transforms/loop-coalescing.mlir
The file was modifiedmlir/test/Dialect/Affine/SuperVectorize/vectorize_1d.mlir
The file was modifiedmlir/test/Dialect/GPU/mapping.mlir
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile_conv.mlir
The file was modifiedmlir/test/Dialect/SCF/invalid.mlir
The file was modifiedmlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/test/Conversion/LoopsToGPU/parallel_loop.mlir
The file was modifiedmlir/test/Dialect/SCF/parallel-loop-specialization.mlir
The file was modifiedmlir/test/Dialect/SCF/loop-unroll.mlir
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir
The file was modifiedmlir/lib/Conversion/VectorToLoops/ConvertVectorToLoops.cpp
The file was modifiedmlir/test/Dialect/Affine/unroll.mlir
The file was modifiedmlir/test/Transforms/loop-fusion-slice-computation.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile_conv_padding.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/imperfect_2D.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/CMakeLists.txt
The file was modifiedmlir/test/Dialect/GPU/promotion.mlir
The file was modifiedmlir/test/Dialect/Linalg/fusion_indexed_generic.mlir
The file was modifiedmlir/test/Dialect/Linalg/parallel_loops.mlir
The file was modifiedmlir/test/Dialect/SCF/ops.mlir
The file was modifiedmlir/test/Dialect/Affine/dma-generate.mlir
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
The file was modifiedmlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
The file was modifiedmlir/test/Dialect/Linalg/promote.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/EDSC/Builders.h
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile_indexed_generic.mlir
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/test/Transforms/canonicalize-block-merge.mlir
The file was modifiedmlir/test/Conversion/convert-to-cfg.mlir
The file was modifiedmlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
The file was modifiedmlir/test/Conversion/VectorToLoops/vector-to-loops.mlir
The file was modifiedmlir/test/Dialect/SCF/parallel-loop-tiling.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/imperfect_linalg.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/test/Transforms/single-parallel-loop-collapsing.mlir
The file was modifiedmlir/include/mlir/Conversion/LoopToStandard/ConvertLoopToStandard.h
The file was modifiedmlir/test/Dialect/Linalg/tile_parallel.mlir
The file was modifiedmlir/test/Transforms/loop-invariant-code-motion.mlir
The file was modifiedmlir/include/mlir/Transforms/LoopUtils.h
The file was modifiedmlir/test/Transforms/parametric-tiling.mlir
The file was modifiedmlir/test/Analysis/test-dominance.mlir
The file was modifiedmlir/test/Dialect/Linalg/fusion-2-level.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/if.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/SCF.h
The file was modifiedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPU.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/test/Transforms/memref-dependence-check.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/perfect_1D_setlaunch.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile.mlir
The file was modifiedmlir/test/Transforms/parametric-mapping.mlir
The file was modifiedmlir/test/lib/Transforms/TestLoopMapping.cpp
Commit 4d4ea9ac59cd541b1d5e38ab87a70a38d3bc09bb by johannes
OpenMPOpt Remarks Support

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D79359
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was addedllvm/test/Transforms/OpenMP/deduplication_remarks.ll
The file was addedllvm/test/Transforms/OpenMP/parallel_deletion_remarks.ll
Commit 064e9907ba069392427887405481d5e7abc1f662 by sbc
[lld][WebAssembly] Fix for --relocatable and signature mismatches

This is a followup to https://reviews.llvm.org/D78779.

When signatures mismatch we create set of variant symbols.  Some of
the fields in these symbols were not be initialized correct.
Specifically we were seeing isUsedInRegularObj not being set correctly,
leading to the symbol not getting included in the symbol table
and a crash writing relections in --reloctable mode.

There is larger refactor due here, but this is a minimal change the
fixes the bug at hand.

Differential Revision: https://reviews.llvm.org/D79756
The file was addedlld/test/wasm/Inputs/sig_mismatch.s
The file was addedlld/test/wasm/signature-mismatch-relocatable.s
The file was modifiedlld/wasm/SymbolTable.cpp
Commit 0ab3ba230e928e8e1261e36c805de87b5d44e20d by anna
NFC: Avoid redundant checks for vector-function-abi-variant attribute

Updated the comments on the code as well to reflect what the
preconditions on VFABI::getVectorVariantNames are.
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit b2eb439317576ce718193763c12bff9fccdfc166 by mydeveloperday
[clang-format] Fix AlignConsecutive on PP blocks

Summary:
Currently the 'AlignConsecutive*' options incorrectly align across
elif and else statements, even if they are very far away and across
unrelated preprocessor macros.

This failed since on preprocessor run 2+, there is not enough context
about the #ifdefs to actually differentiate one block from another,
causing them to align across different blocks or even large sections of
the file.

Eg, with AlignConsecutiveAssignments:

```
\#if FOO      // Run 1
\#else        // Run 1
int a   = 1;  // Run 2, wrong
\#endif       // Run 1

\#if FOO      // Run 1
\#else        // Run 1
int bar = 1;  // Run 2
\#endif       // Run 1
```

is read as

```
int a   = 1;  // Run 2, wrong
int bar = 1;  // Run 2
```

The approach taken to fix this was to add a new flag to Token that
forces breaking alignment across groups of lines (MustBreakAlignBefore)
in a similar manner to the existing flag that forces a line break
(MustBreakBefore). This flag is set for the first Token after a
preprocessor statement or diff conflict marker.

Fixes #25167,#31281

Patch By: JakeMerdichAMD

Reviewed By: MyDeveloperDay

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D79388
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/unittests/Format/FormatTestComments.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit c82243d0675bad130d22a9301d3dc1e7cfb05c2f by mydeveloperday
[clang-format] : Fix additional pointer alignment for overloaded operators

Summary:
Follow on from {D78879} to handle the more obscure to prevent spaces between operators

```
operator void *&();
operator void *&&();
operator void &*();
operator void &&*();
```

Reviewers: sylvestre.ledru, sammccall, krasimir, Abpostelnicu

Reviewed By: sammccall, Abpostelnicu

Subscribers: cfe-commits

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D79201
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit ce3bbeb9159b30d6880fa5f71c0910007d0a6792 by stephen.neuendorffer
[MLIR] refactor cmake specification of tablegen'd interfaces.

Introduce add_mlir_interface to avoid lots of boilerplate

Differential Revision: https://reviews.llvm.org/D79841
The file was modifiedmlir/include/mlir/Interfaces/CMakeLists.txt
The file was modifiedmlir/lib/Interfaces/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
Commit d02fce2d149eaad90fd5bcc0579de868fa86526d by stephen.neuendorffer
[MLIR] Discourage people from copying the toy examples

The CMake structure of the toy example is non-standard.  encourage people to
copy the standalone example instead.

Differential Revision: https://reviews.llvm.org/D79889
The file was modifiedmlir/examples/toy/Ch5/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch6/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch4/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch1/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch4/include/toy/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch7/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch5/include/toy/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch2/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch3/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch6/include/toy/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch7/include/toy/CMakeLists.txt
Commit a4441fcd12a6c097cca1f8cff6515b9ea9ae3cee by antiagainst
[mlir][vulkan-runner] Avoid dependency on LLVM libraries

The Vulkan runtime wrapper will be compiled to a shared library
that are loaded by the JIT runner. Depending on LLVM libraries
means that LLVM symbols will be compiled into the shared library.
That can cause problems if we are using it with other shared
libraries depending on LLVM, notably Mesa, the open-source graphics
driver framework. The Vulkan API wrappers invoked by the JIT runner
links to the system libvulkan.so. If it's Mesa providing the
implementation, Mesa will normally try to load the system libLLVM.so
for its shader compilation. That causes issues because the JIT runner
already loaded the Vulkan runtime wrapper which has LLVM sybmols
compiled in. So system linker will instruct Mesa to use those symbols
instead.

Differential Revision: https://reviews.llvm.org/D79860
The file was modifiedmlir/tools/mlir-vulkan-runner/CMakeLists.txt
The file was modifiedmlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
The file was modifiedmlir/tools/mlir-vulkan-runner/VulkanRuntime.h
The file was modifiedmlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp
Commit 33d96bf7b9b2add1c45bf1c60195dc7ca961393e by llvm-dev
[InstCombine] Add vector tests for the or(shl(zext(x),32)|zext(y)) concat combines
The file was modifiedllvm/test/Transforms/InstCombine/or-concat.ll
Commit 7a8edcb2124b60941ef6ea4bb4b38a9eb0d70137 by sylvain.audi
[Clang] Restore replace_path_prefix instead of startswith

In D49466, sys::path::replace_path_prefix was used instead startswith for -f[macro/debug/file]-prefix-map options.
However those were reverted later (commit rG3bb24bf25767ef5bbcef958b484e7a06d8689204) due to broken Windows tests.

This patch restores those replace_path_prefix calls.
It also modifies the prefix matching to be case-insensitive under Windows.

Differential Revision : https://reviews.llvm.org/D76869
The file was removedclang/test/Preprocessor/file_test.h
The file was modifiedllvm/unittests/Support/Path.cpp
The file was modifiedclang/lib/Lex/PPMacroExpansion.cpp
The file was modifiedclang/test/Preprocessor/file_test.c
The file was modifiedllvm/include/llvm/Support/Path.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was addedclang/test/Preprocessor/file_test_windows.c
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp
The file was addedclang/test/Preprocessor/Inputs/include-file-test/file_test.h
The file was modifiedllvm/lib/Support/Path.cpp
The file was modifiedllvm/lib/MC/MCContext.cpp
Commit de92dc2850c17259090ccf644b2f2375ab8e1664 by craig.topper
[Statepoint] Mark FixupStatepointCallerSaved as preserving the CFG

I'm hoping this will restore some compile time lost by D75936 and D75937.

Differential Revision: https://reviews.llvm.org/D79813
The file was modifiedllvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
Commit 2a12acda4c9fad4d69dce7a43e99690df357648c by dkszelethus
[analyzer][StreamChecker] Don't make StreamTestChecker depend on StreamChecker for the time being

The comment in Checkers.td explains whats going on. As StreamChecker grows,
expect a need to have smaller checkers out of it, but let that be a worry for
later.

Differential Revision: https://reviews.llvm.org/D78120
The file was modifiedclang/test/Analysis/stream-error.c
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
Commit fcfb3170a776f89dde4de8ee105c99e10660f455 by efriedma
[SROA] Clean up some uses of MaybeAlign in SROA.

Use Align instead of using MaybeAlign; all the operations in question
have known alignment.

For getSliceAlign() in particular, in the cases where we used to return
None, it would be converted back to an Align by IRBuilder, so there's no
functional change there.

Split off from D77454.

Differential Revision: https://reviews.llvm.org/D79205
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 15426b2161a4680051f13dcf0824eeab602b25fa by erik.pilkington
[demangler] Fix demangling of enumerators with negative values

rdar://27527445
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
Commit 72416b136ec67e3036add616875438dc93bec149 by psteinfeld
Fixed a problem removing temp files

Summary:
Before making this change, whenever I ran "check-flang", I'd get an
error message like:

llvm-lit: /mnt/c/GitHub/f18/c751/flang/build/bin/../../../llvm/utils/lit/lit/main.py:252: warning: Failed to delete temp directory '/tmp/lit_tmp_gOKUIh'

With this change, there's no such message in the output, and the temp
directory is successfully removed.

Note that my working environment is on Windows 10 running Windows
Subsystem for Linux using the Ubuntu app.  I'm running Python version
2.7.1.

Earlier versions of Python do not contain `shutil`.  It may be that this
module was available on Windows systems later than other platforms.
Upgrading my version of Python made the problem go away

I don't believe that timing was a problem since inserting a long delay
didn't fix things.

So I added some text to the error message recommending that the user
upgrade their version of Python if they run into this problem.

Reviewers: yln, DavidTruby

Subscribers: delcypher, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79861
The file was modifiedllvm/utils/lit/lit/main.py
Commit 5435c5def24e68b4cd54efa9e989cd78dbb9b8cc by douglas.yung
Add shim for fork() on PS4 as it is not supported there.

Reviewers: probinson

Subscribers: #sanitizers llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79839
The file was modifiedcompiler-rt/lib/profile/InstrProfilingUtil.h
Commit 47985451edeb1a6de560dfcae031093bc5eb0f9f by craig.topper
[X86] Make the if statement structure for inline assembly constraints 'l', 'r', 'q', 'Q', and 'R' the same.

These did similar things but had slight differences. For example
'Q' didn't allow f64, but the others did.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 38e0ab2f3a3dc03acba37efe311c7c0a66665b79 by craig.topper
[X86] Don't allow f80 to be used with the 'q', 'r', 'l', 'Q' or 'q' inline assembly constraints.

It was previously trying to use the 64-bit class, but 80 isn't
evenly divisible by 64 so it will trigger a crash.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/asm-reject-reg-type-mismatch.ll
Commit 704b539f65b74bbe961ba95caffdc8f98a5e374d by Matthew.Arsenault
AMDGPU: Use Register
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit db04ff4b6bc3fbf5618556c52f8dd57a00790648 by asbirlea
[SimpleLoopUnswitch] Add non-empty unreachable block check to exit cases removed.

Summary:
Update check to include the check for unreachable.

Basic blocks ending in unreachable are special cased, as these blocks may be already unswitched. Before this patch this check is only done for the default destination.
The condition for the exit cases and the default case must be the same, because we should never leave edges from the switch instruction to a basic block that we are unswitching. In PR45355 we still have a remaining edge (that we're attempting to remove from the DT) because its the default edge to an unreachable-terminated block where we unswitch a case edge to that block.

Resolves PR45355.

Reviewers: chandlerc

Subscribers: hiraditya, uabelho, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78279
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll
Commit bd541b217f4d750391677144ccaa586874236f38 by asbirlea
[NewPassManager] Add assertions when getting statefull cached analysis.

Summary:
Analyses that are statefull should not be retrieved through a proxy from
an outer IR unit, as these analyses are only invalidated at the end of
the inner IR unit manager.
This patch disallows getting the outer manager and provides an API to
get a cached analysis through the proxy. If the analysis is not
stateless, the call to getCachedResult will assert.

Reviewers: chandlerc

Subscribers: mehdi_amini, eraman, hiraditya, zzheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72893
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/include/llvm/Analysis/CGSCCPassManager.h
The file was modifiedllvm/include/llvm/Transforms/Utils/CallGraphUpdater.h
The file was modifiedllvm/lib/Transforms/Scalar/ConstantHoisting.cpp
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp
The file was modifiedllvm/unittests/IR/PassManagerTest.cpp
The file was modifiedllvm/unittests/Transforms/Scalar/LoopPassManagerTest.cpp
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit ed428c429e97592c260ad74a6198c210ce381a61 by efriedma
[SelectionDAG] Require constant index for INSERT/EXTRACT_SUBVECTOR.

It sounds like an interesting idea in theory, but nothing is actually
taking advantage of it, and specifying/implementing the edge cases is
painful. So just forbid it.

Differential Revision: https://reviews.llvm.org/D79814
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit e7bdfba4f00d65f0e5d3ff5adb772f424ba7f02d by Louis Dionne
[libc++] Explicitly list Lit features from the config_site header

When grepping for unused features in the test suite, we will now find
those features and where they are defined, as opposed to thinking they
are dead features.
The file was modifiedlibcxx/utils/libcxx/test/features.py
Commit 028bfdd8913616f7a3e57e8ef5c2a9990e528ff0 by craig.topper
[X86] Only allow f32, f64, or f80 to be used with 'f' inline assembly constraint.

Avoids crash when using i128. Gives better error than
'scalar-to-vector conversion failed' for other types.
The file was modifiedllvm/test/CodeGen/X86/asm-reject-reg-type-mismatch.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit d6695e18763a05b30cb336c18157175277da8f4b by mtrofin
[llvm] Add interface to drive inlining decision using ML model

Summary:

This change introduces InliningAdvisor (and related APIs), the interface
that abstracts decision making away from the inlining pass. We will use
this interface to delegate decision making to a trained ML model,
subsequently (see referenced RFC).

RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html

Reviewers: davidxl, eraman, dblaikie

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79042
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks-yaml.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was addedllvm/test/Transforms/Inline/inlining-advisor-default.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Inliner.h
The file was modifiedllvm/test/Transforms/Inline/monster_scc.ll
The file was modifiedllvm/test/Other/scc-pass-printer.ll
The file was modifiedllvm/test/Transforms/Inline/internal-scc-members.ll
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks.ll
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks-passed-yaml.ll
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h
The file was modifiedllvm/test/Other/scc-deleted-printer.ll
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
The file was modifiedllvm/test/Transforms/Inline/inline_stats.ll
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/Inline/module-inlining.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks-hotness-threshold.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/include/llvm/Analysis/InlineAdvisor.h
Commit ee33ee68fe5d9990d5812ea4347e5741337b0881 by mtrofin
[docs] Add link to zorg github project

Reviewers: gkistanova

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79891
The file was modifiedllvm/docs/HowToAddABuilder.rst
Commit f829ba60dadb71340318d525708e33b08ad61f8b by ctetreau
Ensure that CMake tries to find Python3 before processing

Summary:
It is possible that CMake tries to process debuginfo-tests before any
attempt to find Python3. Ensure that CMake attempts to find it before
complaining that it doesn't exist.

Reviewers: zturner, rnk, jmorse, chandlerc

Reviewed By: rnk

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79795
The file was modifieddebuginfo-tests/CMakeLists.txt
Commit 25f6464b320274df9b7cabd5cf33152b56c0c9f6 by craig.topper
[X86] Fix one of the PMADDWD tests to not have dead code.

There are two reductions in this test. It looks like I intended
to combine them by packing one of them into the upper 32 bits of
the result. But the OR instruction was missing.
The file was modifiedllvm/test/CodeGen/X86/madd.ll
Commit c86f9664391133f8f610443e079fa1b89d2e4e29 by mtrofin
[llvm][NFC] Remove unused fields in InlineAdvisor
The file was modifiedllvm/include/llvm/Analysis/InlineAdvisor.h
Commit 71ddc03a59bf8af02fb670d6c3221c83ad5be3a3 by stephen.neuendorffer
[cmake] Update creation of object library dependencies for LINK_LIBS PUBLIC (v2)

REGEX matching doesn't work here because the problematic library can
sometimes be "-lpthread" and sometimes "pthread".  Let's do the
simplest thing possible and just string compare.

Differential Revision: https://reviews.llvm.org/D79908
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 3d9511a311a038d83022a31f2a846e76e21d70be by craig.topper
[X86] Add test case for a regression from D76649. NFC

When combineLoopMAdd was moved to IR we got stricter about
ensuring the truncate was free. This prevents us from matching
this sum of squares of byte differences pattern show here.

We used to get this case when it was in SelectionDAG.
The file was modifiedllvm/test/CodeGen/X86/madd.ll
Commit a549c0d00486bf01cb485e343d778fe4a3649a43 by amccarth
Fix template class debug info for Visual Studio visualizers

An earlier change eliminated spaces between the close brackets of nested
template lists.  Unfortunately that prevents the Windows debuggers from
matching some types to their corresponding visualizers (e.g., std::map).

This selects the SeparateTemplateClosers flag when generating CodeView.
Note that we were already making formatting adjustments under similar
circumstances for similar reasons.

This wasn't caught by existing tests because they were using only
-std=c++98.

Differential Revision: https://reviews.llvm.org/D79274
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-codeview-display-name.cpp
Commit 40927427406da6aa021ab80acf5f9944d762fbfd by rnk
[PDB] Switch from LLVM_PACKED to LLVM_PACKED_START/END

Reportedly using the pragma instead of the __attribute__ silences
warnings with some GCC versions.
The file was modifiedllvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
Commit d6e3e55c40a973e233b168c19b1f1718212b41a4 by echristo
Remove unused Debugging variable.
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Inliner.h
Commit e57807769b5c21dd06ee293ed7ebaa13f8914ba2 by johannes
[Attributor] Use AAValueConstantRange to infer dereferencability.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D76208
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/IR/Operator.cpp
The file was modifiedllvm/test/Transforms/Attributor/willreturn.ll
Commit 0aa97ad5c8a6153de1479e50fcbe03a6a425e193 by silvasean
[mlir] Change generate-test-checks.py to `%[[V:.*]]` style

Summary:
This style seems to be the preferred style lately as it plays better
with op syntaxes that include `[` and `]`.

Input:
```
module {
  func @f(%arg0 : i32) -> i32 {
    %0 = addi %arg0, %arg0 : i32
    %1 = muli %arg0, %0 : i32
    return %1 : i32
  }
}
```

New output:

```
// NOTE: Assertions have been autogenerated by utils/generate-test-checks.py
// CHECK:       module {

// CHECK-LABEL:   func @f(
// CHECK-SAME:            %[[VAL_0:.*]] : i32) -> i32 {
// CHECK:           %[[VAL_1:.*]] = addi %[[VAL_0]], %[[VAL_0]] : i32
// CHECK:           %[[VAL_2:.*]] = muli %[[VAL_0]], %[[VAL_1]] : i32
// CHECK:           return %[[VAL_2]] : i32
// CHECK:         }
// CHECK:       }
```

Old output:
```
// NOTE: Assertions have been autogenerated by utils/generate-test-checks.py
// CHECK:       module {

// CHECK-LABEL:   func @f(
// CHECK-SAME:            [[VAL_0:%.*]] : i32) -> i32 {
// CHECK:           [[VAL_1:%.*]] = addi [[VAL_0]], [[VAL_0]] : i32
// CHECK:           [[VAL_2:%.*]] = muli [[VAL_0]], [[VAL_1]] : i32
// CHECK:           return [[VAL_2]] : i32
// CHECK:         }
// CHECK:       }
```

Differential Revision: https://reviews.llvm.org/D79836
The file was modifiedmlir/utils/generate-test-checks.py
Commit 591b029f40f7f23b298d2f4718d7552f4f7f7fac by Stanislav.Mekhanoshin
[AMDGPU] Optimized indirect multi-VGPR addressing

SelectMOVRELOffset prevents peeling of a constant from an index
if final base could be negative. isBaseWithConstantOffset() succeeds
if a value is an "add" or "or" operator. In case of "or" it shall
be an add-like "or" which never changes a sign of the sum given a
non-negative offset. I.e. we can safely allow peeling if operator is
an "or".

Differential Revision: https://reviews.llvm.org/D79898
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
Commit 1b7bf1bd75dcc4a362a83e4abc1200aaa75a38be by Yaxun.Liu
[HIP] Do not emit debug info for stub function

The stub function is generated by compiler and its instructions have nothing
to do with the kernel source code.

Currently clang generates debug info for the stub function, which causes
confusion for the HIP debugger. For example, when users set break point
on a line of a kernel, the debugger should break on that line when the kernel is
executed and reaches that line, but instead the debugger breaks in the stub function.

This patch disables debug info for stub function for HIP.

Differential Revision: https://reviews.llvm.org/D79866
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was addedclang/test/CodeGenCUDA/kernel-dbg-info.cu
Commit a52f10b5a382c040e7ad1ce933cda6c07a4b3a8d by efriedma
[AArch64][SVE] Add patterns for VSELECT of immediate merged with a variable.

This covers forms involving "CPY (immediate, merging)".

Differential Revision: https://reviews.llvm.org/D79803
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-vselect-imm.ll
Commit bfa200ebcf3706fde0dde335a3c1fa3fe1b3ba3f by echristo
Remove an unused variable.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 824a8593328cb076e509f9a03e80ac681e52605e by flo
[AArch64] Don't promote constants with float ConstantExpr.

Currently the AsmPrinter cannot emit some floating point constant
expressions in global initializers. Avoid generating them.

Reviewers: dmgreen, t.p.northover, arsenm, efriedma, Gerolf

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D79865
The file was addedllvm/test/CodeGen/AArch64/arm64-promote-const-complex-initializers.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
Commit 3254a001fc23e87c4ba3c544beb860cacddaee12 by ctetreau
[SVE] Remove usages of VectorType::getNumElements() from AMDGPU

Reviewers: efriedma, arsenm, david-arm, fpetrogalli

Reviewed By: efriedma

Subscribers: dmgreen, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, tschuett, hiraditya, rkruppe, psnobl, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79807
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
Commit 6025fc2243c6b7c00f07bdadcea6658e1b63518a by gclayton
Add .debug_ranges support to the DWARF YAML.

Summary: This allows DIEs with DW_AT_ranges to be encoded and decoded _and_ actually have their address ranges be included instead of having DW_AT_ranges with a section offset value for a section that doesn't exist.

Reviewers: labath, aprantl, JDevlieghere, dblaikie, probinson

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78782
The file was modifiedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFEmitter.h
The file was addedllvm/test/tools/obj2yaml/macho-DWARF-debug-ranges.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
Commit 6045a804b94b423812b97c38c1d18136698de44d by johannes
[Attributor] Check lines accidentally not committed with D76208
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
Commit 425333c23be91e24966c84f7763cfe0820702ea5 by johannes
[Attributor] Improve the alignment of the loads

This patch introduces an improvement in the Alignment of the loads
generated in createReplacementValues() by querying AAAlign attribute for
the best Alignment for the base.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D76550
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/misc_crash.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
Commit 9ed9860d8774b364412ce50bf5d59a8eaee1adb7 by stephen.neuendorffer
[cmake] Check for empty LLVM_PTHREAD_LIB

Windows builds broke because LLVM_THREAD_LIB is not set.
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 382d3a85e2a9269569e7fb8caa487d7ef57900c6 by joelkevinjones
[AARch64] Add Marvell ThunderX3T110 support

This is the first checkin to support Marvell ThunderX3T110.

Initial definition of the micro-ops of the instructions in ThunderX3T110
is included.

Differential Revision: https://reviews.llvm.org/D78129
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-combine-fmul-fsub.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedThunderX2T99.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedExynosM4.td
The file was modifiedllvm/test/CodeGen/AArch64/cpus.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedA57.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedExynosM5.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedKryo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedFalkor.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp
The file was modifiedclang/test/Driver/aarch64-cpus.c
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedThunderX.td
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedA53.td
The file was modifiedllvm/test/CodeGen/AArch64/preferred-function-alignment.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-combiner-madd.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedCyclone.td
The file was modifiedllvm/include/llvm/Support/AArch64TargetParser.def
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedExynosM3.td
The file was modifiedllvm/test/CodeGen/AArch64/remat.ll
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was addedllvm/lib/Target/AArch64/AArch64SchedThunderX3T110.td
Commit 2a77d1d0ed1fd5756da4b0695ab1208f2fbea988 by ctetreau
[SVE] Remove usages of VectorType::getNumElements() from Hexagon

Reviewers: efriedma, kmclaughlin, sdesmalen, kparzysz

Reviewed By: kparzysz

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79819
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
Commit 4f4b5b98a2a08461babd1e851a55acd37dd33c96 by stephen.neuendorffer
[cmake] Need PUBLIC dependencies for object targets even if LLVM_PTHREAD_LIB is unset

Fix logic in previous patch.
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 6701993027f8af172d7ba697884459261b00e3c6 by stephen.neuendorffer
[cmake] fix typo.
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit fa8c2ae76f7e4f498d29e2716233bd29025e8827 by craig.topper
[X86] Return true from trySADReplacement in the partial reduction pass when a change is made.

Otherwise we don't signal to the pass manager that we changed IR.
The file was modifiedllvm/lib/Target/X86/X86PartialReduction.cpp
Commit fd842d3626625d8075b0ecbd4d24de70d7ac2456 by huihuiz
[CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.

Summary:
Use explicit target triple to match more accurately the output for libcall
or native atomic.

Similar to D74847, without explicit target triple, this test will fail for ARM.

This patch update test pr45476.cpp to check for both native atomic and libcall.

Reviewers: efriedma, ekatz, rjmccall, rsmith, luismarques

Reviewed By: efriedma

Subscribers: kristof.beyls, jfb, cfe-commits, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D79914
The file was modifiedclang/test/CodeGen/pr45476.cpp
Commit a255870f0397b0b2805c2211f2bccc92ab7701a1 by mcberg2017
Propagate MIFlags in table gen

Summary: Add flag propagation to tablegen via OutMIs from originating MI in InstructionSelector::executeMatchTable.

Reviewers: dsanders, volkan

Reviewed By: dsanders

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74988
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-jump-table-brjt.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
Commit 79af7314fbde836854315ef7213076653076f20c by douglas.yung
Fix PS4 build of compiler-rt runtime.

In a previous change I added a shim for fork(), but when compiled from InstrProfiling.c, the
required header file was not included, so pid_t was undefined. This change adds that include.
The file was modifiedcompiler-rt/lib/profile/InstrProfilingUtil.h
Commit 1c1fb350c59a9c79078959b2fa15e6d658934a56 by erik.pilkington
[demangler] Support for 'this' expressions

llvm.org/PR45896
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
Commit 50a81ea2bce3aec01ae6fae1505e57ec7aa36ac7 by Akira
Don't apply lvalue-to-rvalue conversion in DefaultLValueConversion to
the expression that is passed to it if it has a function type or array
type

lvalue-to-rvalue conversion should only be applied to non-function,
non-array types, but clang was applying the conversion to discarded
value expressions of array types.

rdar://problem/61203170

Differential Revision: https://reviews.llvm.org/D78134
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/SemaCXX/warn-unused-value-cxx11.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/CXX/expr/p10-0x.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 6e73f12a641bb8fd965d28937ea3a6d1dcecc8c0 by gclayton
Fix buildbots errors after comitting D78782.

Rename "Ranges" variables to "DebugRanges" to avoid warnings/errors on machines that have extra settings enabled.

https://reviews.llvm.org/D78782
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
Commit 20db891cef97df752ff8d2a249c155e5605ba06d by sguelton
Fix typo in error message
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
Commit d3530e95f1d4c97cf24e77c6db2d32ee5344d4ee by stephen.neuendorffer
[MLIR][cmake] don't glob for sources.

Generally speaking, this is bad practice.  It also causes the build to
break if there are editor temporary files.

Differential Revision: https://reviews.llvm.org/D79906
The file was modifiedmlir/lib/Dialect/SCF/CMakeLists.txt
The file was modifiedmlir/lib/Pass/CMakeLists.txt
The file was modifiedmlir/lib/IR/CMakeLists.txt
Commit 104e38cf761e3de3fb7838863001dbf007e5328b by csigg
Only run pretty-printer tests for builds with debug-info.

Reviewers: dblaikie

Reviewed By: dblaikie

Subscribers: tbosch, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79897
The file was modifieddebuginfo-tests/lit.cfg.py
The file was modifieddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
Commit 91063cf85a4038537731f582a27936187fb0759c by konstantin.schwarz
[GlobalISel][InlineAsm] Add support for basic input operand constraints

Reviewers: arsenm, dsanders, aemerson, volkan, t.p.northover, paquette

Reviewed By: arsenm

Subscribers: gargaroff, wdng, rovka, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78319
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-inline-asm.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
Commit 9ffaba86e5b33b9f7e919bc5da8a36390bb816ee by herhut
[mlir] Fix the example for std.rank

Summary:
The assembly format for std.rank expects the operand type and not the
result type after the colon.

Differential Revision: https://reviews.llvm.org/D79857
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit dbc9e1c39aed43e6faa6b29caeed7bc5b43569f1 by hokein.wu
[clangd] Only emit default error/fatal diagnostices from included files.

Summary:
This would avoid adding too much noise when there is a "-Wall" in the
compile command.

Reviewers: sammccall

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79923
The file was modifiedclang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
The file was modifiedclang-tools-extra/clangd/Diagnostics.cpp
Commit 2974b3c566d68f1d7c907f891137cf0292dd35aa by Xing
[llvm-dwarfdump] Make commandline arguments consistent.

Currently, llvm-dwarfdump's help message has two issues.

1. Most long options are printed in `--long-option`, except for some section dumping options, e.g., `-apple-names`, `-debug-addr`.

2. Most options are printed with consistent indention, except for some section dumping options.

This patch helps resolve these two issues.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D79618
The file was modifiedllvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/cmdline.test
Commit f665e80c023ec52557f55d7eeaf34471e4c6fa0d by pavel
[lldb] Don't dissasemble large functions by default

Summary:
If we have a binary without symbol information (and without
LC_FUNCTION_STARTS, if on a mac), then we have to resort to using
heuristics to determine the function boundaries. However, these don't
always work, and so we can easily end up thinking we have functions
which are several megabytes in size. Attempting to (accidentally)
disassemble these can take a very long time spam the terminal with
thousands of lines of disassembly.

This patch works around that problem by adding a sanity check to the
disassemble command. If we are about to disassemble a function which is
larger than a certain threshold, we will refuse to disassemble such a
function unless the user explicitly specifies the number of instructions
to disassemble, uses start/stop addresses for disassembly, or passes the
(new) --force argument.

The threshold is currently fairly aggressive (4000 bytes ~~ 1000
instructions). If needed, we can increase it, or even make it
configurable.

Differential Revision: https://reviews.llvm.org/D79789
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit
The file was modifiedlldb/test/Shell/Commands/command-disassemble.s
The file was modifiedlldb/test/Shell/Commands/command-disassemble-process.yaml
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.cpp
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.h
Commit 3a16829748a1ed208a37c719d3a3bcca50dcbd0f by pavel
[lldb] Switch Section-dumping code to raw_ostream

Also, add a basic test for dumping sections.
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Target/SectionLoadList.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Core/Address.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/source/API/SBSection.cpp
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
The file was addedlldb/test/Shell/Commands/command-target-modules-dump-sections.yaml
Commit 7f0e6c31c25530352aa6e4cd9e2bdc4381368eba by martin
[LLD] [COFF] Add options for disabling auto import and runtime pseudo relocs

Allow disabling either the full auto import feature, or just
forbidding the cases that require runtime fixups.

As long as all auto imported variables are referenced from separate
.refptr$<name> sections, we can alias them on top of the IAT entries
and don't actually need any runtime fixups via pseudo relocations.
LLVM generates references to variables in .refptr stubs, if it
isn't known that the variable for sure is defined in the same object
module. Runtime pseudo relocs are needed if the addresses of auto
imported variables are used in constant initializers though.

Fixing up runtime pseudo relocations requires the use of
VirtualProtect (which is disallowed in WinStore/UWP apps) or
VirtualProtectFromApp. To allow any risk of ambiguity, allow
rejecting cases that would require this at the linker stage.

This adds support for the --disable-runtime-pseudo-reloc and
--disable-auto-import options in the MinGW driver (matching GNU ld.bfd)
with corresponding lld private options in the COFF driver.

Differential Revision: https://reviews.llvm.org/D78923
The file was modifiedlld/test/MinGW/driver.test
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/test/COFF/autoimport-x86.s
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/MinGW/Options.td
The file was modifiedlld/test/COFF/autoimport-refptr.s
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/COFF/Config.h
Commit deea174ee508c84652785e55f54c81fd1fba492c by pavel
[lldb/gdb-remote] Change default value of use-libraries-svr4 to true

This setting was added last year, defaulting to false. There have been
no bug reports about the svr4 code path since then, and the using this
packet is definitely faster than walking the module list from lldb.

Set the default value of the setting to true, as that is a better
default. Users can still change it back if encountering problems, or we
can revert the change as well, in case of bigger issues.

I also add a note to the setting description that it is only effective
if lldb is built with xml support.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td
Commit 1858953395d2e2d13f6e2e5642b45849c3c388aa by dave
[libcxx testing] Remove ALLOW_RETRIES from two futures tests

These two tests do not use the "thread sleeps X milliseconds" pattern
that other libcxx tests use, so all we can do in order to remove
ALLOW_RETRIES workaround is remove the assumption that measuring the
"quick" return of `wait()` is possible (it is not). Let the test harness
verify overall that `wait()` does not hang.

As a bonus, have the spin-waiting threads `yield()`, which is what well
behaved code should do.
The file was modifiedlibcxx/test/std/thread/futures/futures.unique_future/wait_until.pass.cpp
The file was modifiedlibcxx/test/std/thread/futures/futures.shared_future/wait_until.pass.cpp
Commit b0969be4dfbbb81acb34c7d4c38ef158d2c27d00 by martin
[LLD] [COFF] Try to fix test errors from 7f0e6c31c255303 on windows

Just skip trying to match for the path separator explicitly (instead
of making it match either a forward or backwards slash), simplifying
the test a little.
The file was modifiedlld/test/COFF/autoimport-x86.s
Commit 4d25f4453d60dee522e905c844dde0f4b6ed9475 by john.brawn
[libc++] Adjust how we guard the inclusion of unistd.h

unistd.h isn't guaranteed to exist when the target isn't Windows, in
particular if the target is bare-metal (i.e. no operating system).
Handle this by using __has_include instead, though in
filesystem/operations.cpp we already unconditionally include it so
just remove the extra include.

Differential Revision: https://reviews.llvm.org/D79784
The file was modifiedlibcxx/src/chrono.cpp
The file was modifiedlibcxx/src/filesystem/operations.cpp
The file was modifiedlibcxx/src/thread.cpp
Commit 2045189043d4e2748ed82915dd7bdf3e96728738 by hokein.wu
[clangd] Setting recovery-ast flag in buildCompilerInvocation, NFC.

This saves some duplicated code (in buildPreamble and buildAST).
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/Preamble.cpp
The file was modifiedclang-tools-extra/clangd/Compiler.cpp
Commit 638efe3929cd3f62590462434d6397c150ad78ed by pavel
[lldb] Use llvm::MC for register numbers in AArch64 ABIs

Summary:
This is equivalent to previous patches (e.g. 07355c1c0) for the x86 ABIs.

One name fixup is needed -- lldb refers to the floating/vector registers by
their vector name (vN). Llvm does not use this name, so we map it to qN,
representing the register as a single 128 bit value (this choice is fairly
arbitrary -- any other name would also work fine as they all have the same
DWARF number).

Reviewers: JDevlieghere, jasonmolenda, omjavaid

Reviewed By: omjavaid

Subscribers: clayborg, danielkiss, aprantl, kristof.beyls, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D75607
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIAArch64.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h
Commit dac6e9ca2190b7ece67ab7b62ea113d3ade5067a by pavel
[lldb] Fix a "missing return" warning in XcodeSDK
The file was modifiedlldb/source/Utility/XcodeSDK.cpp
Commit 735ab46cb4148c92d636c912832a32509252b579 by sam.mccall
[clangd] Don't create as much garbage while building Dex index.

Summary:
The Token objects are relatively expensive and we were spending a lot of
CPU creating them for each trigram emitted. Instead, use a tiny trigram
structure until we're ready to finalize the index.

This improves the new BuildDex benchmark by 20%. This code is hot and on
the critical path in clangd: it runs after a new preamble is built.

Reviewers: kbobyrev

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79918
The file was modifiedclang-tools-extra/clangd/index/dex/Trigram.cpp
The file was modifiedclang-tools-extra/clangd/test/Inputs/requests.json
The file was modifiedclang-tools-extra/clangd/index/dex/Trigram.h
The file was modifiedclang-tools-extra/clangd/unittests/DexTests.cpp
The file was modifiedclang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.cpp
Commit 17ba631d1317f294460036cc430d0000d158ad3d by sam.mccall
[clangd] Remove extra qualification
The file was modifiedclang-tools-extra/clangd/index/dex/Trigram.h
Commit 4c8285c750bc957f2064e591720241d0047c69f5 by flo
[VPlan] Move emission of \\l\"+\n to dumpBasicBlock (NFC).

The patch standardizes printing of VPRecipes a bit, by hoisting out the
common emission of \\l\"+\n. It simplifies the code and is also a first
step towards untangling printing from DOT format output, with the goal
of making the DOT output optional and to provide a more concise debug
output if DOT output is disabled.

Reviewers: gilr, Ayal, rengolin

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D78883
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
Commit 0e5706d018762f4ab4d895ba268bb6444ae04884 by hokein.wu
[clangd] Correct the elog message, NFC.
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
Commit 80715b71249e7a63f990ac676483278f34a7b7e9 by llvm-dev
SelectionDAG.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC.

Now that D79814 has landed, we can assume that subvector ops use constant, in-range indices.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit c73a491d10b8f0258c02385fe14ad0626e8c8efd by Louis Dionne
[libcxx][span] Remove tuple interface

This implements P2116 by removing the tuple interface from std::span.

Differential Revision: https://reviews.llvm.org/D75640
The file was removedlibcxx/test/std/containers/views/span.tuple/tuple_size.fail.cpp
The file was modifiedlibcxx/include/span
The file was removedlibcxx/test/std/containers/views/span.tuple/get.fail.cpp
The file was removedlibcxx/test/std/containers/views/span.tuple/tuple_size.pass.cpp
The file was modifiedlibcxx/www/cxx2a_status.html
The file was removedlibcxx/test/std/containers/views/span.tuple/get.pass.cpp
The file was removedlibcxx/test/std/containers/views/span.tuple/tuple_element.fail.cpp
The file was removedlibcxx/test/std/containers/views/span.tuple/tuple_element.pass.cpp
Commit cb1eeb42c03c31d4dadd00dbaec693e6d7516099 by 1.int32
[Analyzer][VLASizeChecker] Check VLA size in typedef and sizeof.

Summary:
The check of VLA size was done previously for variable declarations
(of VLA type) only. Now it is done for typedef (and type-alias)
and sizeof expressions with VLA too.

Reviewers: Szelethus, martong

Reviewed By: Szelethus, martong

Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79072
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
The file was modifiedclang/test/Analysis/vla.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
Commit c5ff4031c6d1dd20e9b9a4929f537a1e50bcf76c by Louis Dionne
[libcxx][span] Remove const_iterator from std::span

This implements the resolution to LWG-3320.

Differential Revision: https://reviews.llvm.org/D75642
The file was modifiedlibcxx/test/std/containers/views/span.iterators/rbegin.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/types.pass.cpp
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/test/std/containers/views/span.iterators/end.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.iterators/begin.pass.cpp
The file was modifiedlibcxx/include/span
The file was modifiedlibcxx/test/std/containers/views/span.iterators/rend.pass.cpp
Commit 26e742fd848b27ff925eab23e4d2a5675b418721 by spatel
[x86][CGP] improve sinking of splatted vector shift amount operand

Expands on the enablement of the shouldSinkOperands() TLI hook in:
D79718

The last codegen/IR test diff shows what I suspected could happen - we were
sinking all splat shift operands into a loop. But that's not what we want in
general; we only want to sink the *shift amount* operand if it is a splat.

Differential Revision: https://reviews.llvm.org/D79827
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/vec-shift.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
Commit c98872e3a3c0fc4390e0892866d7e844df929179 by vsavchenko
[analyzer] Modernize analyzer's Python scripts

Summary:
Fix read/write in binary format, which crashes Python 3.
Additionally, clean up redundant (as for Python 3) code and
fix a handful of flake8 warnings.

Differential Revision: https://reviews.llvm.org/D79932
The file was modifiedclang/utils/analyzer/SATestAdd.py
The file was modifiedclang/utils/analyzer/CmpRuns.py
The file was modifiedclang/utils/analyzer/SumTimerInfo.py
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/utils/analyzer/SATestBuild.py
The file was modifiedclang/utils/analyzer/SATestUpdateDiffs.py
The file was modifiedclang/utils/analyzer/SATestUtils.py
Commit 7b8e3065606cb555e7528e3b59d5e164ecf008fa by melanie.blower
[clang] Fix bug in #pragma float_control(push/pop)

Summary: #pragma float_control(pop) was failing to restore the expected
floating point settings because the settings were not correctly preserved
at #pragma float_control(push).
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
Commit d061685a8304eb0b6adacd24f8dd2c2ef6dfee39 by gabor.marton
[analyzer] Make NonNullParamChecker as dependency for StdCLibraryFunctionsChecker

Summary:
If a given parameter in a FunctionDecl has a nonull attribute then the NonNull
constraint in StdCLibraryFunctionsChecker has the same effect as
NonNullParamChecker. I think it is better to emit diagnostics from the simpler
checker. By making NonNullParamChecker as a dependency, in these cases it will
be the first to emit a diagnostic and to stop the analysis on that path.

Reviewers: Szelethus, NoQ, baloghadamsoftware, balazske, steakhal

Subscribers: whisperity, xazax.hun, szepet, rnkovacs, a.sidorin, mikhail.ramalho, donat.nagy, dkrupp, gamesh411, Charusso, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79420
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/analyzer-enabled-checkers.c
Commit 79941086fba3df115e5e7b54a5f826096c933102 by Louis Dionne
[libc++][span] SFINAE span default constructor on Extent == 0

The default constructor of a static span requires _Extent == 0 so
SFINAE it out rather than using a static_assert

Differential Revision: https://reviews.llvm.org/D71994
The file was modifiedlibcxx/test/std/containers/views/span.cons/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/default.fail.cpp
The file was modifiedlibcxx/include/span
Commit ff4492c89feb54e6ddfd6edaea59c98776963208 by gabor.marton
[analyzer] StdLibraryFunctionsChecker: Add option to display loaded summaries

Reviewers: NoQ, Szelethus, baloghadamsoftware, balazske

Subscribers: whisperity, xazax.hun, szepet, rnkovacs, a.sidorin, mikhail.ramalho, donat.nagy, dkrupp, gamesh411, Charusso, steakhal, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78118
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/analyzer-config.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
The file was modifiedclang/test/Analysis/std-c-library-functions.c
Commit 5fc05c376a3cc0fb9a532e41d12e51f3d9916692 by gabor.marton
Fix Z3 function calls regarding arithmetic operations

Summary:
The order of Z3_mk_fpa_mul, Z3_mk_fpa_div, Z3_mk_fpa_add and Z3_mk_fpa_sub functions' arguments is: context, rounding_mode, ast1, ast2.
See for example: https://github.com/Z3Prover/z3/blob/a14c2a30516003cd1a60f8b7deca029033d11c78/src/api/api_fpa.cpp#L433

At function calls from LLVM the argument order was different: rounding_mode was passed as last argument.

Unfortunately these Z3_ast and other function parameter types are technically like void* which are reinterpret_cast-ed to a specific class type. So there was no type error, but the assertions fail in runtime if something goes wrong. Such a crash happened during Z3 refutation while using StaticAnalyzer.

Reviewers: Szelethus, xazax.hun, baloghadamsoftware, steakhal, martong, mikhail.ramalho

Reviewed By: martong

Subscribers: hiraditya, rnkovacs, mikhail.ramalho, martong, llvm-commits

Tags: #llvm

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

Patch by Tibor Brunner!
The file was modifiedllvm/lib/Support/Z3Solver.cpp
Commit 5f3f45dc5338266f4e73bdbea2ce20fdb7142ded by kparzysz
[Hexagon] Check isInstr() before getInstr() with SUnit

SUnit represent a MachineInstr in post-regalloc scheduling but SDNode
in pre-regalloc scheduling. when pass -enable-hexagon-sdnode-sched to
Hexagon backend with -O1 and above, this may cause an assertion failed.

Fixes PR45194.

Differential Revision: https://reviews.llvm.org/D76134
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.cpp
Commit 7c3768495e8c1599dc30986f7bd47d5e91f303f2 by gabor.marton
[analyzer] Improve PlacementNewChecker

Summary:
1. Added insufficient storage check for arrays
2. Added align support check

Based on https://reviews.llvm.org/D76229

Reviewers: aaron.ballman, lebedev.ri, NoQ, martong

Reviewed By: martong

Subscribers: xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, ASDenysPetrov, cfe-commits

Tags: #clang

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

Patch by Karasev Nikita!
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
The file was modifiedclang/test/Analysis/placement-new.cpp
Commit 2b2a961309e65fb175fcf8d56507323fa6872425 by Matthew.Arsenault
lld: Let find_package(LLD) work

Install a cmake config file. Copied exactly from how clang exports.

I also wasn't sure whether the canonical capitalization is "lld" or
"LLD". The project() is still calling this lld, but most places seemed
to capitalize it.
The file was addedlld/cmake/modules/CMakeLists.txt
The file was modifiedlld/CMakeLists.txt
The file was addedlld/cmake/modules/LLDConfig.cmake.in
The file was modifiedlld/cmake/modules/AddLLD.cmake
Commit eb50b643fe00171823e055f7801e6610ee7bdef7 by pavel
[lldb/PDB] Make "native" pdb tests host-independent

These test don't execute the binaries they build, and so they don't need
to build for the host. By hardcoding the target, we don't have do xfail
or skip them for targets which don't have the appropriate support in
clang(-cl).
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/ast-functions.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/bitfields.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/global-classes.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/nested-types.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-classes.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/globals-bss.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/globals-fundamental.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/source-list.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/ast-methods.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/ast-types.cpp
Commit bb308b020522420413c7d3f2989a88f2fc423c56 by anna
[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer

Summary:
This is a more general fix to 59029b9eef23 (D75704).
This patch does the following:
1. updates isKnownBaseValue to account for base pointer and
derived pointer having differing types.
2. This inturn allows us to populate the
lattice (States) for such derived pointers.
3. It also updates all states where the base and derived pointers have
differing types (vector versus scalar) and conservatively marks these
states as conflictcs.
Note that in 59029b9eef23, we were just fixing existing lattice values
and that too, only for uses of extractelement.

Reviewers: reames, skatkov, dantrushin

Reviewed By: skatkov

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76305
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector.ll
Commit f20c62741e7b8c35f1d840488352f8e035af0abb by anna
Revert "[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer"

This reverts commit bb308b020522420413c7d3f2989a88f2fc423c56.
Failing a testcase.
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector.ll
Commit 5f1f4a5d0157c11e0a88d9a273f49c8f866b01ef by erich.keane
Prohibit capture of _ExtInt in inline assembly.

The backends don't seem to properly handle the _ExtInt type in inline
assembly with crashes occurring in many. While the ones I tested seem to
work for powers of 2 < 64 (and some any multiple of 64 greater than
that), it seemed like a better idea to just use of this type in inline
assembly prohibited.
The file was modifiedclang/test/SemaCXX/ext-int.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
Commit ce4ebc14a8963e58f08a6ab6c5ce4096469d570d by sd.fertile
[PowerPC] Remove support for SplitCSR.

SplitCSR was only suppored for functions with CXX_FAST_TLS calling
convention. Clang only emits that calling convention for Darwin which is
no longer supported by the PowerPC backend. Another IR producer could
use the calling convention, but considering the calling convention is
meant to be an optimization and the codegen for SplitCSR can be
attrocious on Power (see the modifed lit test) it is best to remove it
and codegen CXX_FAST_TLS same as the C calling convention.

Differential Revision: https://reviews.llvm.org/D79018
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/cxx_tlscc64.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
Commit ab9f11168f55add345f29592ec0946ac2e5ae697 by Louis Dionne
[libcxx][span] Implement solution to LWG-3255

This implements the relaxed requirements on the std::array constructors of span,
where the type only needs to be convertible to the element type of the span.

Note that the previous tests were not sufficient, as the const array<T, n> constructor
was only tested for compile time and the array<T, N> only during runtime.

Restructure the tests so that we can test conversions as well as both constructors.

Differential Revision: https://reviews.llvm.org/D75706
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/test/std/containers/views/span.cons/stdarray.pass.cpp
The file was modifiedlibcxx/include/span
Commit 631048e8117864c09672e33eb7b6fcc4efe5f749 by pavel
Moving executable module symbols parsing to target creation method.

Summary:
In our project we are using remote client-server LLDB configuration.
We want to parse as much debugging symbols as we can before debugger starts attachment to the remote process.
To do that we are passing the path of the local executable module to CreateTarget method at the client.
But, it seems that this method are not parsing the executable module symbols.
To fix this I added PreloadSymbols call for executable module to target creation method.

This patch also fixes a problem where the DynamicLoader would reset a
module when launching the target. We fix it by making sure
Platform::ResolveExecutable returns the module object obtained from the
remote platform.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D78654
The file was modifiedlldb/source/Target/RemoteAwarePlatform.cpp
The file was modifiedlldb/unittests/Target/CMakeLists.txt
The file was modifiedlldb/source/Target/TargetList.cpp
The file was addedlldb/unittests/Target/RemoteAwarePlatformTest.cpp
Commit c6c265527dd16bea1069b53760f56577c840036c by ehudkatz
Revert "[StructurizeCFG] Fix region nodes ordering"

This reverts commit 897d8ee5cd693e17f95a7e84194bca4c089a520b,
due to causing an infinite loop when encountering a loop with
a sub-region with an inner loop.
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
The file was removedllvm/test/Transforms/StructurizeCFG/interleaved-loop-order.ll
Commit 29560a89ddcaf3af9b8a73d98d968a0911d21e27 by benny.kra
[Support] Make UniqueStringSaver wrap a StringSet

This is slightly more efficient while providing exactly the same
semantics.
The file was modifiedllvm/lib/Support/StringSaver.cpp
The file was modifiedllvm/include/llvm/Support/StringSaver.h
Commit eb282be9f8e96053dc7dda687cd0608997810ccf by anna
[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer""

This is relanding of rGbb308b020522420413c7d3f2989a88f2fc423c56 after
speculatively fixing buildbot lit test failure which was seen on two
bots (I cannot reproduce the lit test failure locally either).

[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived
pointer

Summary:
This is a more general fix to 59029b9eef23 (D75704).
This patch does the following:

updates isKnownBaseValue to account for base pointer and
derived pointer having differing types.

This inturn allows us to populate the
lattice (States) for such derived pointers.

It also updates all states where the base and derived pointers have
differing types (vector versus scalar) and conservatively marks these
states as conflictcs.
Note that in 59029b9eef23, we were just fixing existing lattice values
and that too, only for uses of extractelement.

Reviewers: reames, skatkov, dantrushin

Reviewed By: skatkov

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D76305
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector.ll
Commit 0c5db3e4aa197bab6e4d9f8c02ca0edf4fa9dce3 by erich.keane
Fix test from 5f1f4a5

My test needs a requires target clause to support inline assembly.  This
patch splits out the asm tests into a separate test so we don't skip the
rest of the conditions.
The file was addedclang/test/SemaCXX/ext-int-asm.cpp
The file was modifiedclang/test/SemaCXX/ext-int.cpp
Commit 17941437a2ed8abefef719345391da94e6df8ebb by jay.foad
[TargetLowering] Improve expansion of FSHL/FSHR

Use an extra shift-by-1 instead of a compare and select to handle the
shift-by-zero case. This sometimes saves one instruction (if the compare
couldn't be combined with a previous instruction). It also works better
on targets that don't have good select instructions.

Note that currently this change doesn't affect most targets because
expandFunnelShift is not used because funnel shift intrinsics are
lowered early in SelectionDAGBuilder. But there is work afoot to change
that; see D77152.

Differential Revision: https://reviews.llvm.org/D77301
The file was modifiedllvm/test/CodeGen/X86/fshl.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fshr.ll
Commit bc2e572f51dac4aed8ef86b2f09427109f0cabb8 by momchil.velikov
Re-commit: [ARM] CMSE code generation

This patch implements the final bits of CMSE code generation:

* emit special linker symbols

* restrict parameter passing to no use memory

* emit BXNS and BLXNS instructions for returns from non-secure entry
  functions, and non-secure function calls, respectively

* emit code to save/restore secure floating-point state around calls
  to non-secure functions

* emit code to save/restore non-secure floating-pointy state upon
  entry to non-secure entry function, and return to non-secure state

* emit code to clobber registers not used for arguments and returns

* when switching to no-secure state

Patch by Momchil Velikov, Bradley Smith, Javed Absar, David Green,
possibly others.

Differential Revision: https://reviews.llvm.org/D76518
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was addedllvm/test/CodeGen/ARM/cmse-clear-float-bigend.mir
The file was addedllvm/test/CodeGen/ARM/cmse-clear-float.ll
The file was addedllvm/test/CodeGen/ARM/cmse-clear.ll
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb.td
The file was addedllvm/test/CodeGen/ARM/cmse-clrm-it-block.ll
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb1FrameLowering.cpp
The file was addedllvm/test/CodeGen/ARM/cmse.ll
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was addedllvm/test/CodeGen/ARM/cmse-expand-bxns-ret.mir
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was addedllvm/test/CodeGen/ARM/cmse-clear-float-mve.ll
The file was modifiedllvm/lib/Target/ARM/ARMRegisterInfo.td
The file was addedllvm/test/CodeGen/ARM/cmse-clear-float-hard2.ll
The file was addedllvm/test/CodeGen/ARM/cmse-clear-float-hard.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 235fb7dc24b1cf7034dfc76bb853ffb4ac5dec5d by Matthew.Arsenault
AMDGPU/OpenCL: Accept -nostdlib in place of -nogpulib

-nogpulib makes sense when there is a host (where -nostdlib would
apply) and offload target. Accept nostdlib when there is no offload
target as an alias.
The file was modifiedclang/test/Driver/rocm-not-found.cl
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was addedclang/test/Driver/rocm-detect.hip
Commit 54a335a2f60b0f7bb85d01780bb6bbf653b1f399 by rnk
[COFF] Move type merging to TpiSource::mergeDebugT virtual method

This paves the way to doing more things in parallel, and allows us to
order type sources in dependency order. PDBs and PCH objects have to be
loaded before object files which use them.

This is a rebase of the unapplied remaining changes in
https://reviews.llvm.org/D59226. I found it very challenging to rebase
this across the LLD variable name style change. I recall there was a
tool for that, but I didn't take the time to use it.

Reviewers: aganea, akhuang

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79672
The file was modifiedlld/COFF/TypeMerger.h
The file was modifiedlld/test/COFF/precomp-link.test
The file was modifiedlld/COFF/Driver.h
The file was modifiedlld/COFF/DebugTypes.cpp
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/InputFiles.h
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/DebugTypes.h
Commit d2a26ad0dc2bd8e17f08cdef5af186de5657eaff by peter
hwasan: Collect ring buffer statistics and include in dev note.

These statistics are intended to help us tune the scudo MTE
implementation.

Differential Revision: https://reviews.llvm.org/D79913
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit 10b49315faa6338eaf52bb782e7c53644ad17dab by Alex Lorenz
[test] NFC, add missing declarations and include to test files to avoid 'implicit-function-declaration' diagnostics in the tests
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/darwin-avoid-spinlock.m
The file was modifiedcompiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c
The file was modifiedcompiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c.gcov
The file was modifiedcompiler-rt/test/profile/instrprof-value-prof.c
Commit acb6f1ae096e8262fb30a267e9f40dea62432b26 by llvm-dev
TargetLowering.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC.

Now that D79814 has landed, we can assume that subvector ops use constant, in-range indices.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 2b0b9b1148c205dfd73c70d195f51ef9895e2307 by craig.topper
[X86] Fix a regression caused by moving combineLoopMAddPattern to IR

When I moved combineLoopMAddPattern to an IR pass. I didn't match the behavior of canReduceVMulWidth that was used in the SelectionDAG version. canReduceVMulWidth just calls computeSignBits and assumes a truncate is always profitable. The version I put in IR just looks for constants and zext/sext. Though I neglected to check the number of bits in input of the zext/sext.

This patch adds a check for the number of input bits to the sext/zext. And it adds a special case for add/sub with zext/sext inputs which can be handled by combineTruncatedArithmetic. Match the original SelectionDAG behavior appears to be a regression in some cases if the truncate isn't removed and becomes pack and permq. So enabling only this specific case is the conservative approach.

Differential Revision: https://reviews.llvm.org/D79909
The file was modifiedllvm/lib/Target/X86/X86PartialReduction.cpp
The file was modifiedllvm/test/CodeGen/X86/madd.ll
Commit f5a79713b612376baae54cb47c8ec87b14f4b9b3 by rnk
[LLD] Fix precomp-link.test

I had a stale directory at %t, so the test passed locally, but not
remotely. Skip the %t directory altogether.
The file was modifiedlld/test/COFF/precomp-link.test
Commit 5ecb51414637402b0f89a96924ac7b015d23bcfa by maskray
[Driver] Pass -plugin-opt=O2 for -Os -Oz and -plugin-opt=O1 for -Og

Fixes PR42445 (compiler driver options -Os -Oz translate to
-plugin-opt=Os (Oz) which are not recognized by LLVMgold.so or LLD).

The optimization level mapping matches
CompilerInvocation.cpp:getOptimizationLevel() and SpeedLevel of
PassBuilder::OptimizationLevel::O*.

-plugin-opt=O* affects the way we construct regular LTO/ThinLTO pass
manager pipeline.

Reviewed By: pcc

Differential Revision: https://reviews.llvm.org/D79919
The file was modifiedclang/test/Driver/lto.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit e29cae1e5340dc4c1c16c6c16af297bb69c3cef6 by Jonas Devlieghere
[lldb/Test] Skip TestExpressionInSyscall with reproducers

Skip this test because it relies on a timeout.
The file was modifiedlldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py
Commit e7c91e3124b66cb1454a45dfd75c0a350852d6a6 by Jonas Devlieghere
[lldb/Test] Skip remaining 'side_effect' tests with reproducers.

The side_effect Python package bypasses the reproducer instrumentation
and therefore these tests are not expected to replay from a reproducer.
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
The file was modifiedlldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
Commit 426afd79da70ec8c7f82164d007fe7045e5fe05e by joker.eph
[mlir] Adopt changes in mlir-opt to standalone example

MLIRContext was moved with commit 6bce7d8

Differential Revision: https://reviews.llvm.org/D79946
The file was modifiedmlir/examples/standalone/standalone-opt/standalone-opt.cpp
Commit 42a556050346ffaa0fe3c0cc4dab24ad65a115a4 by jay.foad
[AMDGPU] New SIInsertHardClauses pass

Enable clausing of memory loads on gfx10 by adding a new pass to insert
the s_clause instructions that mark the start of each hard clause.

Differential Revision: https://reviews.llvm.org/D79792
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8s.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.scale.ll
The file was addedllvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
The file was addedllvm/test/CodeGen/AMDGPU/hard-clauses.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mov.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-descriptor-waterfall-loop-idom-update.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4s.ll
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot2.ll
Commit 2fdeee9c8282df6e1fc0af02a503b4d2c908e49e by craig.topper
[X86] Add support for forming vXi16 PMULH instructions from shifts.

We already form PMULH when the shift is truncated. But we can
also do it from just a shift by extending the result.

Unfortunately, I get regressions if I try to replace the truncate
combine with this as we turn the truncate into a more complicated
sequence first. Then we are unable to combine that sequence with
the extend produced at the end of this combine.

Differential Revision: https://reviews.llvm.org/D79682
The file was modifiedllvm/test/CodeGen/X86/pmulh.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7b73e5e08d74f2a2369160a1a0434f9c387cf716 by llvmgnsyncbot
[gn build] Port 42a55605034
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Commit 3774bcf9f84520a8c35bf765d9a528040d68a14b by rnk
[COFF] Fix var names cVStrTab->cvStrTab sXDataChunks->sxDataChunks

NFC
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/InputFiles.h
Commit 77346daaa54e81233dcf8ff7158a5cde4b2c35ee by benny.kra
[StringSet] Simplify code a bit. NFC.
The file was modifiedllvm/include/llvm/ADT/StringSet.h
Commit 8f2cc889b0517c4ad748de1a96f13489e89968a5 by zoecarver
[libcxx] [NFC] Add more reinterpret_pointer_cast tests.

* Add test for inheritance.
* Test value is preserved through cast.
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/reinterpret_pointer_cast.pass.cpp
Commit 6a3469f58d0c230e86043f6975f048968334dfa4 by vsapsai
[ObjC] Add compatibility mode for type checking of qualified id block parameters.

Commit 73152a2ec20766ac45673a129bf1f5fc97ca9bbe fixed type checking for
blocks with qualified id parameters. But there are existing APIs in
Apple SDKs relying on the old type checking behavior. Specifically,
these are APIs using NSItemProviderCompletionHandler in
Foundation/NSItemProvider.h. To keep existing code working and to allow
developers to use affected APIs introduce a compatibility mode that
enables the previous and the fixed type checking. This mode is enabled
only on Darwin platforms.

Reviewed By: jyknight, ahatanak

Differential Revision: https://reviews.llvm.org/D79511
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/SemaObjC/block-type-safety.m
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/test/Driver/darwin-objc-options.m
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/Driver/CC1Options.td
Commit 44ecaabc0729fb75fcfec1d46a6bef6bc7c9e1e1 by efriedma
[BitcodeReader] datalayout must be specified before it is queried.

This isn't really a new invariant; it effectively already existed due to
existing DataLayout queries.  But this makes it explicit.

This is technically not backward-compatible with the existing bitcode
reader, but it's backward-compatible with the output of the bitcode
writer, which is what matters in practice.

No testcase because I don't know a good way to write one: there are no
existing tools that can generate a bitcode file that would trigger the
error.

Split off from D78403.

Differential Revision: https://reviews.llvm.org/D79900
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit 920ff806d4e9fd74f8c546a82e71d930e9b61003 by ctetreau
[SVE] Remove usages of VectorType::getNumElements() from SystemZ

Reviewers: efriedma, david-arm, c-rhodes, jnspaulsson

Reviewed By: david-arm

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79824
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
Commit 2b920ae78c1d3fd36aeb7e77ca8de18a36b92344 by jezng
[lld] Add archive file support to Mach-O backend

With this change, basic archive files can be linked together. Input
section discovery has been refactored into a function since archive
files lazily resolve their symbols / the object files containing those
symbols.

Reviewed By: int3, smeenai

Differential Revision: https://reviews.llvm.org/D78342
The file was modifiedlld/MachO/Symbols.h
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/Driver.cpp
The file was addedlld/test/MachO/archive.s
The file was modifiedlld/MachO/SymbolTable.cpp
The file was addedlld/test/MachO/symbol-order.s
The file was addedlld/test/MachO/invalid/archive-no-index.s
The file was modifiedlld/MachO/InputFiles.h
The file was addedlld/test/MachO/invalid/bad-archive.s
The file was modifiedlld/MachO/SymbolTable.h
The file was modifiedlld/MachO/Symbols.cpp
Commit 4532a50899b1748a64320abce7a69ac10b801a34 by efriedma
Infer alignment of unmarked loads in IR/bitcode parsing.

For IR generated by a compiler, this is really simple: you just take the
datalayout from the beginning of the file, and apply it to all the IR
later in the file. For optimization testcases that don't care about the
datalayout, this is also really simple: we just use the default
datalayout.

The complexity here comes from the fact that some LLVM tools allow
overriding the datalayout: some tools have an explicit flag for this,
some tools will infer a datalayout based on the code generation target.
Supporting this properly required plumbing through a bunch of new
machinery: we want to allow overriding the datalayout after the
datalayout is parsed from the file, but before we use any information
from it. Therefore, IR/bitcode parsing now has a callback to allow tools
to compute the datalayout at the appropriate time.

Not sure if I covered all the LLVM tools that want to use the callback.
(clang? lli? Misc IR manipulation tools like llvm-link?). But this is at
least enough for all the LLVM regression tests, and IR without a
datalayout is not something frontends should generate.

This change had some sort of weird effects for certain CodeGen
regression tests: if the datalayout is overridden with a datalayout with
a different program or stack address space, we now parse IR based on the
overridden datalayout, instead of the one written in the file (or the
default one, if none is specified). This broke a few AVR tests, and one
AMDGPU test.

Outside the CodeGen tests I mentioned, the test changes are all just
fixing CHECK lines and moving around datalayout lines in weird places.

Differential Revision: https://reviews.llvm.org/D78403
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-ranges.ll
The file was modifiedllvm/test/Transforms/IRCE/ranges_of_different_types.ll
The file was modifiedllvm/test/Analysis/MustExecute/loop-header.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_indirect.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/invalid-alloca.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll
The file was modifiedllvm/test/Transforms/GVN/invariant.group.ll
The file was modifiedllvm/test/Transforms/IRCE/unsigned_comparisons_ult.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/hoist-with-range.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/simple.ll
The file was modifiedpolly/test/ForwardOpTree/forward_into_region_redundant_use.ll
The file was addedllvm/test/Verifier/unsized-types-store.ll
The file was modifiedllvm/test/Transforms/LoopIdiom/X86/unordered-atomic-memcpy.ll
The file was modifiedllvm/test/Transforms/MergeFunc/ranges-multiple.ll
The file was removedllvm/test/Verifier/unsized-types.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_double_write.ll
The file was modifiedllvm/test/Transforms/LICM/guards.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_tripleuse.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_ordered-2.ll
The file was modifiedllvm/test/Analysis/MemorySSA/invariant-groups.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll
The file was modifiedllvm/tools/llvm-as/llvm-as.cpp
The file was modifiedllvm/test/Transforms/Util/assume-builder.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_memset_before.ll
The file was modifiedllvm/test/Transforms/JumpThreading/thread-loads.ll
The file was modifiedllvm/test/CodeGen/AVR/call.ll
The file was modifiedllvm/test/Transforms/NewGVN/pr33367.ll
The file was modifiedpolly/test/ForwardOpTree/forward_phi_load.ll
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/test/CodeGen/AVR/rust-avr-bug-95.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/float-minmax-instruction-flag.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_fromloop.ll
The file was modifiedllvm/test/Bitcode/memInstructions.3.2.ll
The file was modifiedllvm/test/Transforms/LICM/hoist-deref-load.ll
The file was modifiedllvm/lib/AsmParser/Parser.cpp
The file was modifiedllvm/test/Transforms/IRCE/pre_post_loops.ll
The file was modifiedllvm/test/CodeGen/AArch64/falkor-hwpf.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/phi-common-val.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/invariant-load.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/include/llvm/Bitcode/BitcodeReader.h
The file was modifiedllvm/test/Transforms/LoopUnroll/unroll-header-exiting-with-phis.ll
The file was modifiedllvm/include/llvm/IRReader/IRReader.h
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/invariant.group.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/CodeGen/AVR/rust-avr-bug-37.ll
The file was modifiedllvm/include/llvm/AsmParser/Parser.h
The file was modifiedllvm/test/Transforms/IRCE/range_intersect_miscompile.ll
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/deref-pointers.ll
The file was modifiedllvm/test/Analysis/TypeBasedAliasAnalysis/sink.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_ordered.ll
The file was modifiedllvm/test/Transforms/NewGVN/noalias.ll
The file was modifiedllvm/test/Transforms/DCE/basic-preservation.ll
The file was modifiedllvm/test/Feature/md_on_instruction.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/load-store-to-memcpy.ll
The file was modifiedpolly/test/ForwardOpTree/forward_hoisted.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_epilogue_last.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/squaring.ll
The file was addedllvm/test/Verifier/unsized-types-alloca.ll
The file was modifiedllvm/test/Transforms/EarlyCSE/invariant-loads.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-simple.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-preservation.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/volatile.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/schedule_budget.ll
The file was modifiedllvm/test/Transforms/SeparateConstOffsetFromGEP/test-add-sub-separation.ll
The file was modifiedllvm/test/Analysis/ValueTracking/deref-bitcast-of-gep.ll
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedllvm/test/Transforms/Reassociate/keep-debug-loc.ll
The file was modifiedllvm/lib/AsmParser/LLParser.h
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/range.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/multiple-strides-vectorization.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/phi-translate.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_epilogue.ll
The file was modifiedllvm/test/Analysis/MemoryDependenceAnalysis/InvariantLoad.ll
The file was modifiedllvm/test/Transforms/GVN/range.ll
The file was modifiedllvm/test/LTO/X86/strip-debug-info.ll
The file was modifiedllvm/test/CodeGen/AVR/icall-func-pointer-correct-addr-space.ll
The file was modifiedllvm/test/Transforms/NewGVN/metadata-nonnull.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_unrelatedunusual.ll
The file was modifiedllvm/test/Transforms/SROA/basictest.ll
The file was modifiedllvm/test/Transforms/IRCE/unsigned_comparisons_ugt.ll
The file was modifiedllvm/tools/llc/llc.cpp
The file was modifiedpolly/test/ForwardOpTree/forward_load_differentarray.ll
The file was modifiedllvm/test/Transforms/JumpThreading/combine-metadata.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/load-metadata.ll
The file was modifiedllvm/include/llvm/CodeGen/MIRParser/MIRParser.h
The file was addedllvm/test/Verifier/unsized-types-load.ll
The file was modifiedllvm/test/Transforms/NewGVN/range.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_noepilogue.ll
The file was modifiedllvm/test/Transforms/EarlyCSE/invariant.start.ll
The file was modifiedllvm/test/Transforms/MergeFunc/ranges.ll
The file was modifiedllvm/test/Transforms/NewGVN/pr33204.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load.ll
The file was modifiedllvm/lib/IRReader/IRReader.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/guards.ll
The file was modifiedllvm/test/Transforms/GVN/noalias.ll
The file was modifiedllvm/test/Analysis/BasicAA/featuretest.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/non-null.ll
Commit 2d6f4fec07292f1d2f77cbbf5188de3838a70b78 by Jonas Devlieghere
[lldb/Test] Skip test using files to synchronize.

Files written by the inferior are not captured by the reproducers and
the inferior doesn't actually run during replay.
The file was modifiedlldb/test/API/commands/settings/TestSettings.py
The file was modifiedlldb/test/API/commands/settings/quoting/TestQuoting.py
Commit 5144e48c1497e154961f22a7ac1de36c0d3e3f5d by Jonas Devlieghere
 [lldb] Update stop info override callback comment.

In D31172 GetStopInfoOverrideCallback was moved and renamed.

Differential revision: https://reviews.llvm.org/D79953
The file was modifiedlldb/source/Target/Thread.cpp
Commit 2b7fe0863ac3c076797404f90b49cee696af0564 by aardappel
[WebAssembly] Added Debug Fixup pass

This pass changes debug_value instructions referring to stackified registers into TI_OPERAND_STACK with correct stack depth.
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/Target/WebAssembly/CMakeLists.txt
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was addedllvm/test/CodeGen/WebAssembly/stackified-debug.ll
The file was addedllvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.h
Commit accc6b55450510577f9cfa0b434c97e45ab5d6c6 by efriedma
LoadInst should store Align, not MaybeAlign.

The fact that loads and stores can have the alignment missing is a
constant source of confusion: code that usually works can break down in
rare cases.  So fix the LoadInst API so the alignment is never missing.

To reduce the number of changes required to make this work, IRBuilder
and certain LoadInst constructors will grab the module's datalayout and
compute the alignment automatically.  This is the same alignment
instcombine would eventually apply anyway; we're just doing it earlier.
There's a minor risk that the way we're retrieving the datalayout
could break out-of-tree code, but I don't think that's likely.

This is the last in a series of patches, so most of the necessary
changes have already been merged.

Differential Revision: https://reviews.llvm.org/D77454
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVNHoist.cpp
Commit bc5565f9ea7aa7d3815a3554a0c937c7b48c7dcd by diego.caballero
[mlir][Affine] Introduce affine.vector_load and affine.vector_store

This patch adds `affine.vector_load` and `affine.vector_store` ops to
the Affine dialect and lowers them to `vector.transfer_read` and
`vector.transfer_write`, respectively, in the Vector dialect.

Reviewed By: bondhugula, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D79658
The file was modifiedmlir/test/Dialect/Affine/load-store.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/include/mlir/Conversion/AffineToStandard/AffineToStandard.h
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/test/Dialect/Affine/invalid.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was addedmlir/test/Conversion/AffineToStandard/lower-affine-to-vector.mlir
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.td
Commit 3a11ca7bed03219ce166bd78304bdfdb439aff65 by benny.kra
[MLIR] Add symbol map to mlir ExecutionEngine

Add additional symbol mapping to be able to provide custom symbols to jitted code at runtime.

Differential Revision: https://reviews.llvm.org/D79812
The file was modifiedmlir/include/mlir/ExecutionEngine/ExecutionEngine.h
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 67bb16049af1faa699a2614f10a64eccd0378944 by wmi
[llvm-profdata] Update CommandGuide

Add a bunch of SampleFDO related flags added recently into llvm-profdata to
its command guide.

Differential Revision: https://reviews.llvm.org/D79911
The file was modifiedllvm/docs/CommandGuide/llvm-profdata.rst
Commit 428d0b6f77986efd944df01bb4ae7888c6262c2f by efriedma
Fix clang test failures from D77454
The file was modifiedclang/lib/CodeGen/CGCleanup.cpp
Commit 11d612ac99a621c762c2cc8f7bacbb8ae32d7fe9 by Alex Lorenz
[clang][Preprocessor] Replace the slow translateFile call by a new, faster isMainFile check

The commit 3c28a2dc6bdc331e5a0d8097a5fa59d06682b9d0 introduced the check that checks if we're
trying to re-enter a main file when building a preamble. Unfortunately this slowed down the preamble
compilation by 80-90% in some test cases, as translateFile is really slow. This change checks
to see if the FileEntry is the main file without calling translateFile, but by using the new
isMainFile check instead. This speeds up preamble building by 1.5-2x for certain test cases that we have.

rdar://59361291

Differential Revision: https://reviews.llvm.org/D79834
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was modifiedclang/lib/Basic/SourceManager.cpp
The file was modifiedclang/include/clang/Basic/SourceManager.h
The file was modifiedclang/unittests/Basic/SourceManagerTest.cpp
Commit 1cbd1b8f692df7742efb9114510688045d901f96 by shafik
Revert "[lldb] Don't dissasemble large functions by default"

This reverts commit f665e80c023ec52557f55d7eeaf34471e4c6fa0d.

Reverting because it breaks TestFoundationDisassembly.py
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit
The file was modifiedlldb/test/Shell/Commands/command-disassemble-process.yaml
The file was modifiedlldb/test/Shell/Commands/command-disassemble.s
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.h
Commit b5d2bd74d75ddcb9ce702aca61e8aa54cc0104ec by llvmgnsyncbot
[gn build] Port 2b7fe0863ac
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
Commit 184b38345746a8f2b8ff5608fdd115991fa2c0fe by Stanislav.Mekhanoshin
Add v16f64 value type

We need to use it to handle <16 x double> indirect indexes
in the AMDGPU BE.

The only visible change from adding it is in ARM cost model.
To me it looks reasonable. With doubling a vector size it
quadruples the cost up to the size 8 and then it did only
double it. Now it also quadruples, which seems a logical
progression to me.

Actual AMDGPU code is to follow, this is a common part, plus
load/store legalization in the AMDGPU BE not to break what
works now.

Differential Revision: https://reviews.llvm.org/D79952
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
Commit b085e51d818a39c7e2ea659ebbefd1943689c642 by cameron.mcinally
[AArch64][SVE] Add some integer DestructiveBinaryComm* patterns

Add DestructiveBinaryComm* patterns for ADD, SUB, and SUBR.

Differential Revision: https://reviews.llvm.org/D76711
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-merging.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 887dfeec53ad5e564e9990c433e5b53f2e651dbf by konstantin.schwarz
[GlobalISel][InlineAsm] Add early return for memory inputs that need to be indirectified

Summary:
D78319 introduced basic support for inline asm input operands in GlobalISel.
However, that patch did not handle the case where a memory input operand still needs to
be indirectified. Later code asserts that the memory operand is already indirect.

This patch adds an early return false to trigger the SelectionDAG fallback for now.

Reviewers: arsenm, paquette

Reviewed By: arsenm

Subscribers: wdng, rovka, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79955
The file was modifiedllvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
Commit 9d4cf5bd421fb6467ff5f00e26a37527246dd4d6 by Stanislav.Mekhanoshin
[AMDGPU] Make v16f64/v16i64 legal

This allows indirect VGPR addressing to work.

Differential Revision: https://reviews.llvm.org/D79960
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-vgpr-to-agpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit 0363ae97abb841114e841a963c95eb6a2202716d by a.bataev
[OPENMP50]Codegen for uses_allocators clause.

Summary:
Predefined allocators should not be mapped at all (they are just enumeric
constants). FOr user-defined allocators need to map the traits only as
firstprivates, the allocator itself is private.
At the beginning of the target region the user-defined allocatores must
be created and then destroyed at the end of the target region:
```
omp_allocator_handle_t my_allocator = __kmpc_init_allocator(<gtid>,
/*default memhandle*/ 0, <number_of_traits>, &<traits>);
...
call void @__kmpc_destroy_allocator(<gtid>, my_allocator);
```

Reviewers: jdoerfert, aaron.ballman

Subscribers: jholewinski, yaxunl, guansong, cfe-commits, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79257
The file was addedclang/test/OpenMP/target_teams_distribute_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_teams_distribute_parallel_for_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_uses_allocators_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was addedclang/test/OpenMP/target_teams_distribute_simd_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_parallel_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_teams_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_parallel_for_simd_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_parallel_for_uses_allocators_codegen.cpp
The file was addedclang/test/OpenMP/target_simd_uses_allocators_codegen.cpp
Commit 05eedf1f5b449ae42f5493576164b0f9a001646c by Jan Korous
[clang][VerifyDiagnosticConsumer] Support filename wildcards

Differential Revision: https://reviews.llvm.org/D72100
The file was modifiedclang/lib/Frontend/VerifyDiagnosticConsumer.cpp
The file was addedclang/test/Frontend/verify-any-file.h
The file was addedclang/test/Frontend/verify-any-file.c
The file was modifiedclang/include/clang/Frontend/VerifyDiagnosticConsumer.h
Commit e9802aa4221ba3857041c2328639ce2aac0ace67 by leonardchan
Revert "Run Coverage pass before other *San passes under new pass manager"

This reverts commit 7d5bb94d78386e4653535c35d3e8258bf4502340.

Reverting since this leads to a linker error we're seeing on Fuchsia.
The underlying issue seems to be that inlining is run after sanitizers
and causes different comdat groups instrumented by Sancov to reference
non-key symbols defined in other comdat groups.

Will re-land this patch after a fix for that is landed.
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit 7d16a22eb0c19ac8ea6115a7d04021b835307d0b by Stanislav.Mekhanoshin
[AMDGPU] Peephole adjacent equivalent S_SET_GPR_IDX_ON

Differential Revision: https://reviews.llvm.org/D79907
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
The file was addedllvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir
Commit f26823c9dccf3bb02663f0d7e29291e8e33fe038 by Vedant Kumar
[test/dsymutil] Suppress LeakSanitizer on ARM dsymutil tests

Just like on X86, we're getting reports of bogus leaks from
CoreFoundation in:

[_CFXPreferences(SourceAdditions) withSourceForIdentifier:user:byHost:container:cloud:perform:]

rdar://63238710
The file was modifiedllvm/test/tools/dsymutil/ARM/lit.local.cfg
Commit 9fde516032d71c325f156cb4b878cf6b12280de8 by Jonas Devlieghere
[lldb/Test] Replace assertTrue with more specific checks (NFC)

Use assertEqual(a, b) instead of assertTrue(a == b) etc.
The file was modifiedlldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py
Commit 8a2e2a6a2bd0ed9310a8739c256456567e2adb23 by mtrofin
[llvm] Fix refactoring bug introduced in D79042

Incorrectly copied over the GetAssumptionCache snippet.

This patch also renames a variable for clarity.
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
Commit 61f73f893c1d57e1719df46f65496148701dec2e by Vedant Kumar
llvm/test: Check in suppressions file left out of f26823c9d
The file was addedllvm/test/tools/dsymutil/ARM/suppressions.txt
Commit e0c155427408814ceff22d16352331006eb81b6b by thakis
Revert "[GlobalISel][InlineAsm] Add early return for memory inputs that need to be indirectified"

This reverts commit 887dfeec53ad5e564e9990c433e5b53f2e651dbf.
It broke irtranslator-inline-asm.ll on many bots, e.g.
http://lab.llvm.org:8011/builders/lld-x86_64-freebsd/builds/38606/steps/test-check-all/logs/FAIL%3A%20LLVM%3A%3Airtranslator-inline-asm.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
Commit 592303a53e6bc0737c3999e91aab9ea2147f73ab by leonardchan
[Fuchsia] Do not enable the Z3 solver for a fuchsia toolchain

gLinux started shipping incompatible versions of Z3, which can lead to a
missing `z3.h` header when building the Z3 solver locally. This patch
disables the Z3 solver when building a clang toolchain for Fuchsia.

Differential Revision: https://reviews.llvm.org/D79974
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit da52aa2c3340d91025c0188175012c476967dc74 by ditaliano
[LICM] When promoting loads to the preheader, drop the location.

It's really almost going to be misleading, see the example in
https://bugs.llvm.org/show_bug.cgi?id=45820

Maybe at some point we can do something fancier, but at least
this will fix a bug where we step on dead code while debugging.
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was addedllvm/test/Transforms/LICM/hoisting-preheader-debugloc.ll
Commit 5df55bc7a46fd5319402ac856753bc5ba5e7fb8a by jdenny.ornl
[FileCheck] Fix isalpha/isalnum calls

D79276 caused the following builder to fail:

  http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489

Specifically, FileCheck dumped stack in the following tests:

  LLVM :: MC/Mips/micromips-jump-pc-region.s
  LLVM :: MC/Mips/mips-jump-pc-region.s

Those tests contained characters encoded as 160 but that render (at
least for me in vim) like a single space (32).  Those characters
appeared between the `#` and `RUN:` on several lines, and D79276
caused FileCheck to process those lines differently: `RUN:` is a
comment directive.  As a result, D79276 caused FileCheck to start
calling is `isalnum` on those characters.

The problem is that FileCheck calls `isalnum` on type `char` without
casting to `unsigned char` first, so it sign-extends 160 beyond what
`unsigned char` or `EOF` can represent.  C says that has undefined
behavior.  This problem is general to FileCheck's prefix parsing and
so exists independently of D79276.

524457edbc3d fixed the above tests.  This patch changes FileCheck to
use LLVM's replacements for `ctype.h` functions, and it adds tests for
cases that are representative with or without D79276.

Reviewed By: jhenderson, thopre, efriedma

Differential Revision: https://reviews.llvm.org/D79810
The file was addedllvm/test/FileCheck/bad-char.txt
The file was modifiedllvm/lib/Support/FileCheck.cpp
Commit bf02bcffcfd7dc965e930c6a3035895823d2d78b by Jonas Devlieghere
[lldb/Test] Modify more tests for API replay

Skip tests or parts thereof that aren't expected to work when run from a
reproducer. Also improve the doc comments in configuration.py to prevent
mistakes in the future.
The file was modifiedlldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
The file was modifiedlldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py
Commit 85725a67c745cb833174a7eae2aa53e74753bcb1 by clementval
[Flang][OpenMP] Avoid abort when collapse clause value is negative

Summary:
If the value in the collapse close is negative f18 abort without the correct error message. This PR change the size_t in name resolution to a int64_t and check appropriately for negative or zero before the privatization of induction variable.
The correct error is then catch by the OpenMP structure check.

This diff is migrated from the GitHub pull request https://github.com/flang-compiler/f18/pull/1098

Reviewers: ichoyjx, jdoerfert, sscalpone, DavidTruby

Reviewed By: ichoyjx, sscalpone, DavidTruby

Subscribers: sscalpone, klausler, yaxunl, guansong, llvm-commits

Tags: #llvm, #flang

Differential Revision: https://reviews.llvm.org/D77821
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/omp-clause-validity01.f90
Commit dad2e92eaf531500af5ab9ee3350e3e186944185 by echristo
Temporarily Revert "[Support] Make UniqueStringSaver wrap a StringSet"
as it's causing asan failures in clangd. Followed up offline
with repro instructions.

This reverts commit 29560a89ddcaf3af9b8a73d98d968a0911d21e27.
The file was modifiedllvm/lib/Support/StringSaver.cpp
The file was modifiedllvm/include/llvm/Support/StringSaver.h
Commit aedb6615a8d08d7dfeba17bf22ff4c6fd104cadc by shkzhang
[MachineVerifier] Use the for_range loop to instead llvm::any_of

Summary:
In the patch D78849, it uses llvm::any_of to instead of for loop to
simplify the function addRequired().
It's obvious that above code is not a NFC conversion. Because any_of
will return if any addRequired(Reg) is true immediately, but we want
every element to call addRequired(Reg).

This patch uses for_range loop to fix above any_of bug.

Reviewed By: MaskRay, nickdesaulniers

Differential Revision: https://reviews.llvm.org/D79872
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
Commit 940d949435e88dcbf154fbd310d148295781ea04 by hubert.reinterpretcast
Speculative fix for build breakage from D78403

D78403 appears responsible for breaking bots:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux-multistage/builds/12261/steps/build%20stage%201/logs/stdio
The file was modifiedllvm/tools/llc/CMakeLists.txt
The file was modifiedllvm/tools/opt/CMakeLists.txt
Commit f1b972041adf565c08d1abca41068d2adcf62702 by ntv
[mlir][Linalg] Start a LinalgToStandard pass and move conversion to library calls.

This revision starts decoupling the include the kitchen sink behavior of Linalg to LLVM lowering by inserting a -convert-linalg-to-std pass.

The lowering of linalg ops to function calls was previously lowering to memref descriptors by having both linalg -> std and std -> LLVM patterns in the same rewrite.

When separating this step, a new issue occurred: the layout is automatically type-erased by this process. This revision therefore introduces memref casts to perform these type erasures explicitly. To connect everything end-to-end, the LLVM lowering of MemRefCastOp is relaxed because it is artificially more restricted than the op semantics. The op semantics already guarantee that source and target MemRefTypes are cast-compatible. An invalid lowering test now becomes valid and is removed.

Differential Revision: https://reviews.llvm.org/D79468
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was addedmlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was addedmlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was addedmlir/test/Dialect/Linalg/standard.mlir
The file was modifiedmlir/lib/Conversion/CMakeLists.txt
The file was modifiedmlir/test/Conversion/StandardToLLVM/invalid.mlir
The file was addedmlir/include/mlir/Conversion/LinalgToStandard/LinalgToStandard.h
The file was modifiedmlir/test/mlir-cpu-runner/linalg_integration_test.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit 0b3e478b10e233460073d24df527253ab5edac2a by ravishankarm
[mlir][GPUToSPIRV] Use default ABI only when none of the arguments
have abi attributes.

To ensure there is no conflict, use the default ABI only when none of
the arguments have the spv.interface_var_abi attribute. This also
implies that if one of the arguments has a spv.interface_var_abi
attribute, all of them should have it as well.

Differential Revision: https://reviews.llvm.org/D77232
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
Commit 767db5be67cab5aa04d81227725765cad9620611 by mtrofin
[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs

Summary:
Replacing uses of std::function pointers or refs, or Optional, to
function_ref, since the usage pattern allows that. If the function is
optional, using a default parameter value (nullptr). This led to a few
parameter reshufles, to push all optionals to the end of the parameter
list.

Reviewers: davidxl, dblaikie

Subscribers: arsenm, jvesely, nhaehnle, eraman, hiraditya, haicheng, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79917
The file was modifiedllvm/lib/Transforms/IPO/InlineSimple.cpp
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineCost.h
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Cloning.h
Commit 454de99a6fec705e76ed7743bf538f7a77296f59 by mtrofin
Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs"

This reverts commit 767db5be67cab5aa04d81227725765cad9620611.
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Transforms/IPO/InlineSimple.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Cloning.h
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineCost.h
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
Commit ab699d78a26f147b56537326ecadc072f8f5a03b by SourabhSingh.Tomar
[DebugInfo] llvm rejects DWARF operator DW_OP_push_object_address

llvm rejects DWARF operator DW_OP_push_object_address.This DWARF
operator is needed for Flang to support allocatable array.

Summary:
Currently llvm rejects DWARF operator DW_OP_push_object_address.
below error is produced when llvm finds this operator.

[..]
invalid expression
!DIExpression(151)
warning: ignoring invalid debug info in pushobj.ll
[..]

There are some parts missing in support of this operator, need to
be completed.

Testing
-added a unit testcase
-check-debuginfo
-check-llvm

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D79306
The file was addedllvm/test/DebugInfo/dwarfdump-pushobjectaddress.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
Commit a2545c3499a03cc1fdbd5f638f88572b23adf570 by SourabhSingh.Tomar
[NFCI] Removed '%' from llc in test case in ab699d78a26f147b
The file was modifiedllvm/test/DebugInfo/dwarfdump-pushobjectaddress.ll
Commit 4042ada1c1fe4a9cd546600602281686bb2270cd by SourabhSingh.Tomar
[DebugInfo] support for DW_AT_data_location in llvm

This patch adds support for DWARF attribute DW_AT_data_location.

Summary:
Dynamic arrays in fortran are described by array descriptor and
data allocation address. Former is mapped to DW_AT_location and
later is mapped to DW_AT_data_location.

Testing:
unit test cases added (hand-written)
check llvm
check debug-info

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D79592
The file was addedllvm/test/DebugInfo/dwarfdump-dataLocationExp.ll
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/unittests/IR/DebugTypeODRUniquingTest.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was addedllvm/test/DebugInfo/dwarfdump-dataLocationVar.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was addedllvm/test/Verifier/array_dataLocation.ll
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was addedllvm/test/Bitcode/dataLocation.ll
Commit 8ce4a8f6dfbe5ed34ebdc5baf904e5102514d81c by david.sherwood
[CodeGen] Refactor CreateStackTemporary

I've created a new variant of CreateStackTemporary that takes
TypeSize and Align arguments, and made the older instances of
CreateStackTemporary call this new function. This refactoring is
in preparation for more patches in this area related to scalable
vectors and improving the alignment calculations.

Differential Revision: https://reviews.llvm.org/D79933
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit f83d66c249bffe576460c7d233d295818775a651 by SourabhSingh.Tomar
Fixed bot failure after 4042ada1c1fe4a9cd5

Added '-' in `mtriple` in test case
There was a bot failure due to this:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-debian/builds/6790
The file was modifiedllvm/test/DebugInfo/dwarfdump-dataLocationExp.ll
Commit 0e4827aa4e4ae25813f66d3b872db67d93813009 by yvan.roux
[ARM][MachineOutliner] Add Machine Outliner support for ARM.

Enables Machine Outlining for ARM and Thumb2 modes.  This is the first
patch of the series which adds all the basic logic for the support, and
only handles tail-calls and thunks.

The outliner can be turned on by using clang -moutline option or -mllvm
-enable-machine-outliner one (like AArch64).

Differential Revision: https://reviews.llvm.org/D76066
The file was modifiedllvm/lib/Target/ARM/ARMTargetMachine.cpp
The file was addedllvm/test/CodeGen/ARM/machine-outliner-unsafe-registers.mir
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was addedllvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir
The file was addedllvm/test/CodeGen/ARM/machine-outliner-thunk.ll
The file was addedllvm/test/CodeGen/ARM/machine-outliner-tail.ll
Commit 7c89297cf7eecd52327915de587df8183793afac by Raphael Isemann
Correct the argument list of command `breakpoint read`

Summary: Command `breakpoint read` should not accept breakpoint ids as
arguments, and in fact, it is not implemented to deal with breakpoint id
arguments either. So this patch is to correct the argument list of this
command so that the help text won't misguide users.

Reviewers: teemperor, JDevlieghere, jingham

Reviewed By: teemperor, JDevlieghere

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D79722
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
Commit d6b937056d49450a3ea8a304be2fd677ccf71ac1 by SourabhSingh.Tomar
Fixed bot failure after ab699d78a26f147b

Added `target triple` to the test case, it was failing on
aarch64 bot:
http://lab.llvm.org:8011/builders/flang-aarch64-ubuntu/builds/97
The file was modifiedllvm/test/DebugInfo/dwarfdump-pushobjectaddress.ll
Commit 67d0e2160c4dcad4182ca05df16264d779e0be59 by djordje.todorovic
[NFC][test] Add missing ':' after 'CHECK'

Without the ':' the check command doesn't do anything.
This typo was introduced along with the commit for the D77789.
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/statistics.ll
Commit 80173566f4855cb98d4d73003d6829111bf96260 by qiucofan
[PowerPC] Add an intrinsic for Popcntb

Summary: This patch adds the intrinsic llvm.ppc.popcntb for the HW
instruction POPCNTB

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D79703
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
The file was modifiedllvm/test/CodeGen/PowerPC/popcnt.ll
Commit 85bb9b71b7d42c4e6fff95b715b2eefbd8e4355e by russell.gallop
[ELF] Update release notes and man page for LLD time-trace

Differential Revision: https://reviews.llvm.org/D79780
The file was modifiedlld/docs/ld.lld.1
The file was modifiedlld/docs/ReleaseNotes.rst
Commit 525b8e6dcbbd6e40fd9d91e4ed349a93381c1ccc by david.sherwood
[SVE] Fix wrong usage of getNumElements() in matchIntrinsicType

I have changed the ScalableVecArgument case in matchIntrinsicType
to create a new FixedVectorType. This means that the next case we
hit (Vector) will not assert when calling getNumElements(), since
we know that it's always a FixedVectorType. This is a temporary
measure for now, and it will be fixed properly in another patch
that refactors this code.

The changes are covered by this existing test:

CodeGen/AArch64/sve-intrinsics-fp-converts.ll

In addition, I have added a new test to ensure that we correctly
reject SVE intrinsics when called with fixed length vector types.

Differential Revision: https://reviews.llvm.org/D79416
The file was modifiedllvm/lib/IR/Function.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-bad-intrinsics.ll
Commit f58e78f9920531f85d98e8041f6967eeb1bd0d3a by mschellenbergercosta
[libcxx][span] trivial whitespace fix to test commit rights

Reviewers: #libc!, miscco

Reviewed By: miscco

Subscribers: broadwaylamb, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D79986
The file was modifiedlibcxx/test/std/containers/views/span.cons/container.fail.cpp
Commit 854f5f332af4640d9425e9a94442629e4f5a3f98 by Akira
[Sema] Teach -Wcast-align to compute an accurate alignment using the
alignment information on VarDecls in more cases

This commit improves upon https://reviews.llvm.org/D21099. The code that
computes the source alignment now understands array subscript
expressions, binary operators, derived-to-base casts, and several more
expressions.

rdar://problem/59242343

Differential Revision: https://reviews.llvm.org/D78767
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/SemaCXX/warn-cast-align.cpp
Commit d48ef7cab55878fbb598e7a968b6073f9c7aa9ed by Raphael Isemann
[lldb] Print full Clang diagnostics when the ClangModulesDeclVendor fails to compile a module

Summary:
When the ClangModulesDeclVendor currently fails it just prints very basic and often incomplete diagnostics without any source locations:
```
(lldb) p @import Foundation
error: while importing modules:
'foo/bar.h' file not found
could not build module 'Darwin'
[...]
```
or even just
```
(lldb) p @import Foundation
error: while importing modules:
could not build module 'Darwin'
[...]
```

These diagnostics help neither the user nor us with figuring out what is the reason for the failure.

This patch wires up a full TextDiagnosticPrinter in the ClangModulesDeclVendor and makes
sure we always return the error stream to the user when we fail to compile our modules.

Fixes rdar://63216849

Reviewers: aprantl, jdoerfert

Reviewed By: aprantl

Subscribers: JDevlieghere

Differential Revision: https://reviews.llvm.org/D79947
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was addedlldb/test/API/lang/objc/modules-compile-error/module.modulemap
The file was addedlldb/test/API/lang/objc/modules-compile-error/main.m
The file was addedlldb/test/API/lang/objc/modules-compile-error/module.h
The file was addedlldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py
The file was addedlldb/test/API/lang/objc/modules-compile-error/Makefile
Commit 170ac4be3392201d5f5e124e8a1b7d78de3f82c8 by djordje.todorovic
[CSInfo][ISEL] Call site info generation support for Mips

Debug entry values functionality provides debug information about
call sites and function parameters values at the call entry spot.
Condition for generating this type of information is
compiling with -g option and optimization level higher
than zero(-O0).

In ISEL phase, while lowering call instructions, collect info
about registers that forward arguments into following
function frame. We store such info into MachineFunction of
the caller function. This is used very late, when dumping DWARF
info about call site parameters.

The call site info is visible at MIR level, as callSites attribute
of MachineFunction. Also, when using unmodified parameter value
inside callee it could be described as DW_OP_entry_value expression.
To deal with callSites attribute, we should pass
-emit-call-site-info option to llc.

This patch enables functionality in clang frontend and adds
call site info generation support for MIPS targets
(mips, mipsel, mips64, mips64el).

Patch by Nikola Tesic

Differential Revision: https://reviews.llvm.org/D78105
The file was addedllvm/test/DebugInfo/Mips/dw_op_entry_value_64bit.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedllvm/test/CodeGen/Mips/call-site-info-output.ll
The file was addedllvm/test/CodeGen/Mips/dbg-call-site-info-reg-d-split.ll
The file was addedllvm/test/DebugInfo/Mips/dw_op_entry_value_32bit.ll
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsTargetMachine.cpp
Commit 7fc5f28068d3c9563cbf5b4e5b92b5cfc8958698 by zinenko
[mlir] LinalgToStandard: add build dependency on MLIRPass

This is supposed to resolve the build problem with shared libraries.
The file was modifiedmlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
Commit 7ccae2cece72153d2c8210ef916bf0052da216ad by grimar
[yaml2obj] - Introduce the "Offset" property for sections.

Currently there is no good way to set a physical offset for a section:

* We have the `ShOffset` that allows to override the `sh_offset`, but
  it does not affect the real data written.
* We can use a `Filler` to create an artificial gap, but it is more like a hack
  rather than a proper solution for this problem.

This patch adds the `Offset` property which allows setting physical
offsets for sections.

It also generalizes the code, so that we set sh_offset field in one place

Differential revision: https://reviews.llvm.org/D78927
The file was addedllvm/test/tools/yaml2obj/ELF/section-offset.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/custom-null-section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
Commit 56970ec6a0bed5ba4312872eed13137ca43f67fb by grimar
[llvm-readobj] - --gnu-hash-table: do not crash when the GNU hash table goes past the EOF.

We might have a scenario where a the `GbuHashTable` variable correctly points
to a place inside the file (we validate this fact early in `parseDynamicTable`),
but nbuckets/maskwords fields are broken in the way the code tries
to read the data past the EOF. This patch fixes the issue.

Differential revision: https://reviews.llvm.org/D79853
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnuhash.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/tools/llvm-readobj/ObjDumper.h
Commit 4ead2cf76c4a1df260e7dff0fa767074bae6e2b8 by zinenko
[mlir] Rename conversions involving ex-Loop dialect to mention SCF

The following Conversions are affected: LoopToStandard -> SCFToStandard,
LoopsToGPU -> SCFToGPU, VectorToLoops -> VectorToSCF. Full file paths are
affected. Additionally, drop the 'Convert' prefix from filenames living under
lib/Conversion where applicable.

API names and CLI options for pass testing are also renamed when applicable. In
particular, LoopsToGPU contains several passes that apply to different kinds of
loops (`for` or `parallel`), for which the original names are preserved.

Differential Revision: https://reviews.llvm.org/D79940
The file was modifiedmlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
The file was modifiedmlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
The file was removedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPU.h
The file was modifiedmlir/test/Conversion/LoopsToGPU/step_positive.mlir
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was removedmlir/lib/Conversion/LoopToStandard/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/GPU/Transforms/ParallelLoopMapper.cpp
The file was modifiedmlir/test/lib/Transforms/TestGpuParallelLoopMapping.cpp
The file was removedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPUPass.h
The file was addedmlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp
The file was removedmlir/lib/Conversion/VectorToLoops/CMakeLists.txt
The file was removedmlir/test/lib/Transforms/TestVectorToLoopsConversion.cpp
The file was addedmlir/test/lib/Transforms/TestVectorToSCFConversion.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was removedmlir/lib/Conversion/VectorToLoops/ConvertVectorToLoops.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was addedmlir/lib/Conversion/VectorToSCF/CMakeLists.txt
The file was modifiedmlir/test/Conversion/LoopsToGPU/step_one.mlir
The file was addedmlir/lib/Conversion/SCFToGPU/SCFToGPUPass.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was removedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
The file was addedmlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorTransforms.h
The file was addedmlir/include/mlir/Conversion/SCFToGPU/SCFToGPU.h
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was removedmlir/include/mlir/Conversion/LoopToStandard/ConvertLoopToStandard.h
The file was removedmlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
The file was addedmlir/lib/Conversion/SCFToStandard/SCFToStandard.cpp
The file was addedmlir/include/mlir/Conversion/SCFToStandard/SCFToStandard.h
The file was modifiedmlir/test/Conversion/convert-to-cfg.mlir
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was addedmlir/lib/Conversion/SCFToGPU/CMakeLists.txt
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was removedmlir/lib/Conversion/LoopsToGPU/CMakeLists.txt
The file was modifiedmlir/test/Conversion/LoopsToGPU/linalg_to_gpu.mlir
The file was modifiedmlir/test/Conversion/LoopsToGPU/no_blocks_no_threads.mlir
The file was modifiedmlir/test/Conversion/VectorToLoops/vector-to-loops.mlir
The file was addedmlir/include/mlir/Conversion/VectorToSCF/VectorToSCF.h
The file was removedmlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
The file was modifiedmlir/lib/Conversion/CMakeLists.txt
The file was addedmlir/include/mlir/Conversion/SCFToGPU/SCFToGPUPass.h
The file was addedmlir/lib/Conversion/SCFToStandard/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/CMakeLists.txt
The file was removedmlir/include/mlir/Conversion/VectorToLoops/ConvertVectorToLoops.h
The file was modifiedflang/tools/tco/CMakeLists.txt
Commit 4549d830184294607d075c993836b5c858e6ad95 by sven.vanhaastregt
[GlobalISel] Update GIComplexOperandMatcher comment; NFC

Update a comment to account for 2deea1878ea ("[globalisel][tablegen]
Revise API for ComplexPattern operands to improve flexibility.",
2017-04-22).
The file was modifiedllvm/include/llvm/Target/GlobalISel/Target.td
Commit 969c63a2ecfb536062ff2174645abe31e4036067 by grimar
[LLD][ELF] - Fix section-alignment.test after yaml2obj change.

yaml2obj changed in rG7ccae2cece72. Previous version of the
yaml produced a different error and a 500mb binary.
The file was modifiedlld/test/ELF/invalid/section-alignment.test
Commit 8b845ac5edc19524817911d703dd314aac2ca97d by labath
Recommit "[lldb] Don't dissasemble large functions by default"

This recommits f665e80c023 which was reverted in 1cbd1b8f692d for breaking
TestFoundationDisassembly.py. The fix is to use --force in the test to avoid
bailing out on large functions.

I have also doubled the large function limit to 8000 bytes (~~ 2000 insns), as
the foundation library contains a lot of large-ish functions. The intent of this
feature is to prevent accidental disassembling of enormous (multi-megabyte)
"functions", not to get in people's way.

The original commit message follows:

If we have a binary without symbol information (and without
LC_FUNCTION_STARTS, if on a mac), then we have to resort to using
heuristics to determine the function boundaries. However, these don't
always work, and so we can easily end up thinking we have functions
which are several megabytes in size. Attempting to (accidentally)
disassemble these can take a very long time spam the terminal with
thousands of lines of disassembly.

This patch works around that problem by adding a sanity check to the
disassemble command. If we are about to disassemble a function which is
larger than a certain threshold, we will refuse to disassemble such a
function unless the user explicitly specifies the number of instructions
to disassemble, uses start/stop addresses for disassembly, or passes the
(new) --force argument.

The threshold is currently fairly aggressive (4000 bytes ~~ 1000
instructions). If needed, we can increase it, or even make it
configurable.

Differential Revision: https://reviews.llvm.org/D79789
The file was modifiedlldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit
The file was modifiedlldb/test/Shell/Commands/command-disassemble.s
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py
The file was modifiedlldb/test/Shell/Commands/command-disassemble-process.yaml
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.cpp
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.h
Commit 710d9d66f8e2f8ac148ef9a3d226c6a8e22f15c5 by grimar
[DebugInfo] - DWARFDebugFrame: do not call abort() on errors.

Imagine we have a broken .eh_frame.
Below is a possible sample output of llvm-readelf:

```
...
    entry 2 {
      initial_location: 0x10f5
      address: 0x2080
    }
  }
}
.eh_frame section at offset 0x2028 address 0x2028:
LLVM ERROR: Parsing entry instructions at 0 failed
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.  Program arguments: /home/umb/LLVM/LLVM/llvm-project/build/bin/llvm-readelf -a 1
#0 0x000055f4a2ff5a1a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/umb/LLVM/LLVM/llvm-project/build/bin/llvm-readelf+0x2b9a1a)
...
#15 0x00007fdae5dc209b __libc_start_main /build/glibc-B9XfQf/glibc-2.28/csu/../csu/libc-start.c:342:3
#16 0x000055f4a2db746a _start (/home/umb/LLVM/LLVM/llvm-project/build/bin/llvm-readelf+0x7b46a)
Aborted
```

I.e. it calls abort(), suggests to submit a bug report and exits with the code 134.
This patch changes the logic to propagate errors to callers.
This fixes the behavior for llvm-dwarfdump, llvm-readobj and other possible tools.

Differential revision: https://reviews.llvm.org/D79165
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/test/DebugInfo/X86/eh-frame-cie-id.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/unwind.test
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
Commit 36b9b1e6171d438105839aac6f333a1c98fda74c by pavel
[lldb] Fixup command-disassemble-process.yaml test

Increase the function size to account for the changed threshold in
8b845ac5edc1.
The file was modifiedlldb/test/Shell/Commands/command-disassemble-process.yaml
Commit 1024e82469b465803e57360c01c5943c679257e0 by llvm-dev
X86ISelLowering.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC.

Now that D79814 has landed, we can assume that subvector ops use constant, in-range indices.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit aef778d4d38e45fd413e7e95919fbb72cde42488 by n.james93
[clang-tidy] Fix assertion in RenamerClangTidyChecks
The file was modifiedclang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
Commit 1a3b801db5afe98718b31ba9a760e06557daccb1 by Artem Dergachev
[analyzer] SATestBuild.py: Fix handling invalid plists after 2to3 conversion.

The updated plistlib throws a different exception class.
The file was modifiedclang/utils/analyzer/SATestBuild.py
Commit 5425cdc3adf9998aeaf587d93417bd2f4f1373c9 by konstantin.schwarz
[GlobalISel][InlineAsm] Add early return for memory inputs that need to be indirectified

Summary:
D78319 introduced basic support for inline asm input operands in GlobalISel.
However, that patch did not handle the case where a memory input operand still needs to
be indirectified. Later code asserts that the memory operand is already indirect.

This patch adds an early return false to trigger the SelectionDAG fallback for now.

Reviewers: arsenm, paquette

Reviewed By: arsenm

Subscribers: thakis, wdng, rovka, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79955
The file was modifiedllvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
Commit 9d4b4f344d8ea917e082cf58d66b71c0171e1650 by llvm-dev
DAGCombiner.cpp - remove non-constant EXTRACT_SUBVECTOR/INSERT_SUBVECTOR handling. NFC.

Now that D79814 has landed, we can assume that subvector ops use constant, in-range indices.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit a26883e5aa14f9f0c6de312fb55ec1a13fdc762a by tpopp
[MLIR] Add shape.witness type and ops

Summary: These represent shape based preconditions on execution of code.

Differential Revision: https://reviews.llvm.org/D79717
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
Commit 182adf120ccffe937d95d5b447f6506f82f615ec by marek
[libc++] [span] [P1976] Update status page. NFC

It was implemented by commit 6d2599e4f776d0cd88438cb82a00c4fc25cc3f67 "[libcxx][span] Implement P1976R2".
The file was modifiedlibcxx/www/cxx2a_status.html
Commit 0ef62fc25d3f2017551c24f4c65d001e003e88ab by sam.parker
[NFC][ARM] Intrinsic CostModel Tests

Add throughput tests for saturating, overflowing and reduction
operations.
The file was addedllvm/test/Analysis/CostModel/ARM/arith-ssat.ll
The file was addedllvm/test/Analysis/CostModel/ARM/arith-usat.ll
The file was addedllvm/test/Analysis/CostModel/ARM/reduce-umax.ll
The file was addedllvm/test/Analysis/CostModel/ARM/reduce-umin.ll
The file was addedllvm/test/Analysis/CostModel/ARM/reduce-smax.ll
The file was addedllvm/test/Analysis/CostModel/ARM/arith-overflow.ll
The file was addedllvm/test/Analysis/CostModel/ARM/reduce-add.ll
The file was addedllvm/test/Analysis/CostModel/ARM/reduce-smin.ll
Commit 8fa743ab82027da443bac050e86b70bcdb78cbee by jbcoe
[clang-format] C# property formatting can be controlled by config options

Summary:
Allow brace wrapping in C# property accessors to be controlled by configuration options.

Add new tests and revert old test results for Microsoft style to their previous state (as intended).

`FormatStyle.BraceWrapping.AfterFunction = true;` will change automatic property formatting from

```
Type MyType { get; set }
```

to

```
Type MyType
{ get; set }
```

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir, MyDeveloperDay

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D79000
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit 7063a83a7cca45a9b12a7e447c90abe681f6ebaf by aaron
Add MSVC natvis visualisation of llvm::Type

llvm::Type has some difficult to decode member variables with different meanings
depending on the TypeID. Specifically SubclassData and ContainedTys. This natvis
visualisation decodes and visualises those members.
The file was modifiedllvm/utils/LLVMVisualizers/llvm.natvis
Commit 8c24f33158d81d5f4b0c5d27c2f07396f0f1484b by ties.stuij
[IR][BFloat] Add BFloat IR type

Summary:
The BFloat IR type is introduced to provide support for, initially, the BFloat16
datatype introduced with the Armv8.6 architecture (optional from Armv8.2
onwards). It has an 8-bit exponent and a 7-bit mantissa and behaves like an IEEE
754 floating point IR type.

This is part of a patch series upstreaming Armv8.6 features. Subsequent patches
will upstream intrinsics support and C-lang support for BFloat.

Reviewers: SjoerdMeijer, rjmccall, rsmith, liutianle, RKSimon, craig.topper, jfb, LukeGeeson, sdesmalen, deadalnix, ctetreau

Subscribers: hiraditya, llvm-commits, danielkiss, arphaman, kristof.beyls, dexonsmith

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78190
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was addedllvm/test/Assembler/bfloat.ll
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/tools/llvm-c-test/echo.cpp
The file was modifiedllvm/lib/IR/Type.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was modifiedllvm/include/llvm/IR/Type.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/docs/BitCodeFormat.rst
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.cpp
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/lib/IR/DataLayout.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/include/llvm-c/Core.h
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit fb1c55b57dda134866803bdf3cdda2cc57a7dc5c by david.sherwood
[CodeGen] Fix FoldConstantVectorArithmetic for scalable vectors

For now I have changed FoldConstantVectorArithmetic to return early
if we encounter a scalable vector, since the subsequent code assumes
you can perform lane-wise constant folds. However, in future work we
should be able to extend this to look at splats of a constant value
and fold those if possible. I have also added the same code to
FoldConstantArithmetic, since that deals with vectors too.

The warnings I fixed in this patch were being generated by this
existing test:

  CodeGen/AArch64/sve-int-arith.ll

Differential Revision: https://reviews.llvm.org/D79421
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 151ed6aa38a3ec6c01973b35f684586b6e1c0f7e by dvyukov
[TSAN] Add option to allow instrumenting reads of reads-before-writes

Add -tsan-instrument-read-before-write which allows instrumenting reads
of reads-before-writes.

This is required for KCSAN [1], where under certain configurations plain
writes behave differently (e.g. aligned writes up to word size may be
treated as atomic). In order to avoid missing potential data races due
to plain RMW operations ("x++" etc.), we will require instrumenting
reads of reads-before-writes.

[1] https://github.com/google/ktsan/wiki/KCSAN

Author: melver (Marco Elver)
Reviewed-in: https://reviews.llvm.org/D79983
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/test/Instrumentation/ThreadSanitizer/read_before_write.ll
Commit f06e6564a1554338ca00a4b9c3acdcffa212c743 by james.henderson
[llvm-readobj] Implement --dependent-libraries for GNU output

Previously, the option was only implemented for LLVM output. This fixes
https://bugs.llvm.org/show_bug.cgi?id=45695.

At the current time, GNU readelf does not support this option.
Consequently, this patch simply attempts to roughly follow the output
style for similar options like --syms/--notes etc, combined with
--string-dump output.

Reviewed by: MaskRay, grimar

Differential Revision: https://reviews.llvm.org/D79939
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dependent-libraries.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 96c4460a0be6f5f66a02eac7fe796e49768001a4 by yvan.roux
[ARM][MachineOutliner] Fix memory leak.

Fix sanitizer bots after 0e4827aa4e4ae25813f66d3b872db67d93813009
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
Commit 436c5750cf36697afb17468908cbb7303b229e1f by james.henderson
Fix Linux build broken by f06e6564
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 76c5f277f25e334404aa44ea0aafd674a627ab74 by alexandre.ganea
Re-land [Debug][CodeView] Emit fully qualified names for globals

Before this patch, S_[L|G][THREAD32|DATA32] records were emitted with a simple name, not the fully qualified name (namespace + class scope).

Differential Revision: https://reviews.llvm.org/D79447
The file was modifiedlldb/test/Shell/SymbolFile/PDB/variables.test
The file was modifiedllvm/test/DebugInfo/COFF/global-constants.ll
The file was modifiedllvm/test/DebugInfo/COFF/globals.ll
The file was modifiedllvm/test/DebugInfo/COFF/types-array-unsized.ll
The file was modifiedllvm/test/DebugInfo/COFF/global_visibility.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
Commit 4db94094b469b4715d08ef37f1799bf3ea7ca8ea by francois.ferrand
clang-format: support aligned nested conditionals formatting

Summary:
When multiple ternary operators are chained, e.g. like an if/else-if/
else-if/.../else sequence, clang-format will keep aligning the colon
with the question mark, which increases the indent for each
conditionals:

  int a = condition1 ? result1
                     : condition2 ? result2
                                  : condition3 ? result3
                                               : result4;

This patch detects the situation (e.g. conditionals used in false branch
of another conditional), to avoid indenting in that case:

  int a = condition1 ? result1
        : condition2 ? result2
        : condition3 ? result3
                     : result4;

When BreakBeforeTernaryOperators is false, this will format like this:

  int a = condition1 ? result1 :
          condition2 ? result2 :
          conditino3 ? result3 :
                       result4;

This formatting style is referenced here:
https://www.fluentcpp.com/2018/02/27/replace-else-if-ternary-operator/
and here:
https://marcmutz.wordpress.com/2010/10/14/top-5-reasons-you-should-love-your-ternary-operator/

Reviewers: krasimir, djasper, klimek, MyDeveloperDay

Reviewed By: MyDeveloperDay

Subscribers: hokein, dyung, MyDeveloperDay, acoomans, cfe-commits

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D50078
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/ContinuationIndenter.h
The file was modifiedclang/lib/Format/WhitespaceManager.h
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
Commit 0ee04e6e0d0e1c808dc6c70ff7b92b35f960b627 by francois.ferrand
[clang-format] Fix AlignOperands when BreakBeforeBinaryOperators is set

Summary:
Even when BreakBeforeBinaryOperators is set, AlignOperands kept
aligning the beginning of the line, even when it could align the
actual operands (e.g. after an assignment).

With this patch, the operands are actually aligned, and the operator
gets aligned with the equal sign:

  int aaaaa = bbbbbb
            + cccccc;

This not happen in tests, to avoid 'breaking' the indentation:

  if (aaaaa
      && bbbbb)
    return;

Reviewers: krasimir, djasper, klimek, MyDeveloperDay

Reviewed By: MyDeveloperDay

Subscribers: MyDeveloperDay, acoomans, cfe-commits, klimek

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D32478
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/unittests/Format/FormatTestJS.cpp
The file was modifiedclang/lib/Format/ContinuationIndenter.h
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 10c10f2419676175ef3dbafe8ace869aaf6dc6bb by jay.foad
[AMDGPU] Fix assertion failure in SIInsertHardClauses

This new pass failed an assertion whenever there were s_nops after the
end of clause.

Differential Revision: https://reviews.llvm.org/D80007
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/hard-clauses.mir
Commit 6b01b465388b204d543da3cf49efd6080db094a9 by yhs
[BPF] preserve debuginfo types for builtin __builtin__btf_type_id()

The builtin function
  u32 btf_type_id = __builtin_btf_type_id(param, 0)
can help preserve type info for the following use case:
  extern void foo(..., void *data, int size);
  int test(...) {
    struct t { int a; int b; int c; } d;
    d.a = ...; d.b = ...; d.c = ...;
    foo(..., &d, sizeof(d));
  }

The function "foo" in the above only see raw data and does not
know what type of the data is. In certain cases, e.g., logging,
the additional type information will help pretty print.

This patch handles the builtin in BPF backend. It includes
an IR pass to translate the IR intrinsic to a load of
a global variable which carries the metadata, and an MI
pass to remove the intermediate load of the global variable.
Finally, in AsmPrinter pass, proper instruction are generated.

In the above example, the second argument for __builtin_btf_type_id()
is 0, which means a relocation for local adjustment,
i.e., w.r.t. bpf program BTF change,  will be generated.
The value 1 for the second argument means
a relocation for remote adjustment, e.g., against vmlinux.

Differential Revision: https://reviews.llvm.org/D74572
The file was addedllvm/lib/Target/BPF/BPFPreserveDIType.cpp
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/lib/Target/BPF/BTFDebug.h
The file was modifiedllvm/lib/Target/BPF/CMakeLists.txt
The file was modifiedllvm/lib/Target/BPF/BPFCORE.h
The file was addedllvm/test/CodeGen/BPF/BTF/builtin-btf-type-id.ll
The file was modifiedllvm/lib/Target/BPF/BPF.h
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/lib/Target/BPF/BPFTargetMachine.cpp
Commit 6894d95040b656008a5ea8682570ac3a11585c05 by llvmgnsyncbot
[gn build] Port 6b01b465388
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/BUILD.gn
Commit 3648dde3ddd3cc0ba862017d494b7ede6054631c by yvan.roux
[ARM][MachineOutliner] Fix memory leak #2.

Use smart pointer instead of new/delete.
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
Commit 7cc3769adb15f7347e28df65b16d6e6464fd3c70 by anna
[VectorUtils] Expose vector-function-abi-variant mangling as a utility.

Summary:
This change exposes the vector name mangling with LLVM ISA (used as part
of vector-function-abi-variant) as a utility.
This can then be used by front-ends that add this attribute.
Note that all parameters passed in to the function will be mangled with
the "v" token to identify that they are of of vector type. So, it is the
responsibility of the caller to confirm that all parameters in the
vectorized variant is of vector type.

Added unit test to show vector name mangling.

Reviewed-By: fpetrogalli, simoll

Differential Revision: https://reviews.llvm.org/D79867
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
Commit 04c89c7fcab4bb3fcdb1e75daa10fd0d8206e320 by Louis Dionne
[libc++] Centralize where we set the libc++ and libc++abi paths in config.py

It's just confusing to have them all over the place.
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 07837b8f499bcb1cfd9e67ad5759c68b8a470d3c by maskray
[ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {`

Similar to D74882. This reverts much code from commit
bd8cfe65f5fee4ad573adc2172359c9552e8cdc0 (D68323) and fixes some
problems before D68323.

Sorry for the churn but D68323 was a mistake. Namespace qualifiers avoid
bugs where the definition does not match the declaration from the
header. See
https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions (D74515)

Differential Revision: https://reviews.llvm.org/D79982
The file was modifiedlld/ELF/InputFiles.h
The file was modifiedlld/ELF/Arch/PPC.cpp
The file was modifiedlld/ELF/DWARF.cpp
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/Arch/X86_64.cpp
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Arch/Mips.cpp
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/EhFrame.cpp
The file was modifiedlld/ELF/Arch/AMDGPU.cpp
The file was modifiedlld/ELF/Arch/X86.cpp
The file was modifiedlld/ELF/SymbolTable.cpp
The file was modifiedlld/ELF/ScriptLexer.cpp
The file was modifiedlld/ELF/Arch/Hexagon.cpp
The file was modifiedlld/ELF/Thunks.cpp
The file was modifiedlld/ELF/Arch/MipsArchTree.cpp
The file was modifiedlld/ELF/OutputSections.cpp
The file was modifiedlld/ELF/Arch/SPARCV9.cpp
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/AArch64ErrataFix.cpp
The file was modifiedlld/ELF/Target.cpp
The file was modifiedlld/ELF/Arch/AVR.cpp
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/MapFile.cpp
The file was modifiedlld/ELF/CallGraphSort.cpp
The file was modifiedlld/ELF/DriverUtils.cpp
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/Arch/MSP430.cpp
The file was modifiedlld/ELF/ARMErrataFix.cpp
The file was modifiedlld/ELF/Arch/AArch64.cpp
The file was modifiedlld/ELF/Arch/PPC64.cpp
The file was modifiedlld/ELF/Arch/RISCV.cpp
Commit 4ec340c3e99c7fa4789387452864ad3cf36ab579 by anna.welker
[ARM][MVE] Add support for incrementing scatters

Adds support to build pre-incrementing scatters.
If the increment (i.e., add instruction) that is merged into
the scatter is the loop increment, an incrementing write-back
scatter can be built, which then assumes the role of the loop
increment.

Differential Revision: https://reviews.llvm.org/D79859
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-scatter-optimisation.ll
The file was modifiedllvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-increment.ll
Commit bb7191aa81b858e9c979556eca55a7bc0db2d87b by Louis Dionne
[libc++] Segregate back-deployment dylibs into their own subdirectory

Otherwise, specifying (for example) the libc++.dylib from macos10.13
but the libc++abi.dylib from macos10.12 would end up adding library
paths for both the 10.12 and 10.13 dylibs, which would each contain
a copy of both libc++abi.dylib and libc++.dylib. By using a separate
directory for libc++.dylib and libc++abi.dylib, those do not conflict
anymore.

The back-deployment roots were updated to match this change.
The file was modifiedlibcxx/utils/ci/macos-backdeployment.sh
Commit 1a68b5f048c63f94b71e8aacb5507445c446c9d2 by Louis Dionne
[libc++] Fix broken Lit features based on __config_site macros

Because of Python's funny scoping rules with lambdas, we were always
using the value of `macro` as set in the last iteration of the loop.
This problem was introduced by e7bdfba4f00d.
The file was modifiedlibcxx/utils/libcxx/test/features.py
Commit 4580b0f5b65c18b3029ca0936762dcec727274c4 by llvm-dev
[X86] getFauxShuffle - remove (unused) ISD::TRUNCATE shuffle decoding.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9825d3daa80c19872326d8e137ada39a1727cfe8 by llvm-dev
[X86] Use getConstantOperandVal helper in a few places. NFC.

Avoid raw cast<ConstantSDNode> calls.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp