AbortedChanges

Summary

  1. Added missing commas for mlir-nvidia buildbot. (details)
  2. [lldb win buildbot] Add a couple people to the default notifications (details)
  3. lldb-cmake job: Temporarily disable LLVM_ENABLE_MODULES (details)
  4. [zorg] Add x86_64 buildbots for Polly. (details)
  5. Re-land running check-lldb-repro on the CMake incremental bot. (details)
  6. Revert "lldb-cmake job: Temporarily disable LLVM_ENABLE_MODULES" (details)
  7. Execute libunwind/libc++abi tests on AArch64 devboard by llvm-clang-win-x-aarch64 builder. (details)
Commit 3be8cdf34c8e862bb7fe712e93e84d1a3870c8dd by gkistanova
Added missing commas for mlir-nvidia buildbot.
This fixed the broken CMake arguments.

Patch by Christian Kühnel <kuhnel@google.com>

Differential Revision: https://reviews.llvm.org/D74699
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 3a4296e9c1cdb53e0bf939b244790d257a6d5f26 by stilis
[lldb win buildbot] Add a couple people to the default notifications
The file was modifiedbuildbot/osuosl/master/config/status.py (diff)
Commit e2ed346edb77255059f41d931a1edab3ac6b11f3 by Vedant Kumar
lldb-cmake job: Temporarily disable LLVM_ENABLE_MODULES

See https://reviews.llvm.org/D75091 for the rationale and discussion, we
believe a recent clang change is breaking the stage2 lldb modules build.

rdar://59740397
The file was modifiedzorg/jenkins/monorepo_build.py (diff)
Commit f685ba3c618c59a04671b9a4268be10628f866da by llvm-zorg
[zorg] Add x86_64 buildbots for Polly.

The previous x86 builders were disfunctional and have been removed a while ago.

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D75127
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/slaves.py (diff)
Commit 537f649aaa7c9b7406169c5607383af7d3eb38eb by Jonas Devlieghere
Re-land running check-lldb-repro on the CMake incremental bot.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit d844b847bca360adc9e8fb5e81f4211281f09570 by Vedant Kumar
Revert "lldb-cmake job: Temporarily disable LLVM_ENABLE_MODULES"

This reverts commit e2ed346edb77255059f41d931a1edab3ac6b11f3.

Let's see if this is fixed.
The file was modifiedzorg/jenkins/monorepo_build.py (diff)
Commit 62983613a0def0859fdcc823e385202f7f6101b5 by vvereschaka
Execute libunwind/libc++abi tests on AArch64 devboard by llvm-clang-win-x-aarch64 builder.
The file was modifiedbuildbot/osuosl/master/config/slaves.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [lldb][NFC] Modernize test setup code in several lang/cpp tests (details)
  2. [AArch64][ASMParser] Refuse equal source/destination for LDRAA/LDRAB (details)
  3. AMDGPU/GlobalISel: Select MUBUF path for global atomic cmpxchg (details)
  4. [PatternMatch] Match XOR variant of unsigned-add overflow check. (details)
  5. [CGP] Adjust CodeGen tests after e01a3d49c22 (details)
  6. Add <128 x i1> as an intrinsic type (details)
  7. [Hexagon][NFC] Rename VK_Hexagon_PCREL to VK_PCREL (details)
  8. [AMDGPU][ConstantFolding] Fold llvm.amdgcn.fmul.legacy intrinsic (details)
  9. [gn build] revert e8e078c8bf7987 (details)
  10. [AArch64][SVE] Add initial backend support for FP splat_vector (details)
  11. [ARM,MVE] Fix predicate types of some intrinsics (details)
  12. [mlir] NFC: use ValueRange for BlockArgument in ConvertStandardToLLVM (details)
  13. tsan: removing redundant loop in ThreadClock::release() (details)
  14. [lldb][NFC] Remove giant do{...}while(false); in ClangASTSource::FindExternalVisibleDecls (details)
  15. [mlir][spirv] Add mlir-vulkan-runner (details)
  16. [SystemZ] Regenerate risbg tests. NFCI. (details)
  17. [IRBuilder] Always respect inserter/folder (details)
  18. [Sema][CodeComplete] Handle symlinks for include code completion (details)
  19. [InstCombine] Fix removal from deferred instructions (details)
  20. [mlir][ods] Adding attribute setters generation (details)
  21. Revert "[IRBuilder] Always respect inserter/folder" (details)
  22. [NFC][compiler-rt][test] Fully qualify string -> std::string (details)
  23. [libc++] Fix ABI break in __bit_reference. (details)
  24. [AMDGPU] Fix assumption about LaneBitmask content (details)
  25. [analyzer] CERT: POS34-C (details)
  26. [X86] Add DCI.isBeforeLegalize() check to the v64i1 constant splitting code in combineStore. (details)
  27. [gn build] Set up include_dirs for a54d81f597 (first checker in a subdir) (details)
  28. Fix Block::eraseArgument when block arg is also a successor operand. (details)
  29. [gn build] Port a54d81f5979 (details)
  30. [gn build] use \bfoo\b instead of \<foo\> in sync script (details)
  31. [ValueTracking]  Improve isKnownNonNaN() to recognize zero splats. (details)
  32. [AssumeBundle] Add documentation for the operand bundles of an llvm.assume (details)
  33. [lldb/Core] Remove locking in the PluginManager (details)
  34. [mlir][ODS] Add a new trait `TypesMatchWith` (details)
  35. [mlir][Parser] Use APFloat instead of FloatAttr when parsing DenseElementsAttrs. (details)
  36. Revert "[PatternMatch] Match XOR variant of unsigned-add overflow check." (details)
  37. [mlir][NFC] Fix warning for mismatched sign comparison. (details)
  38. [DDG] Data Dependence Graph - Graph Simplification (details)
  39. [mlir][NFC] Fix 'gatherLoops' utility (details)
  40. [CMake] Only detect the linker once in AddLLVM.cmake (details)
  41. [UpdateTestChecks] Add support for '.' in ir function names (details)
  42. [AMDGPU] Regenerate immediate constant tests (details)
  43. [libFuzzer] Fix denominator in the "inputs have DFT" log line. (details)
  44. Include static prof data when collecting loop BBs (details)
  45. [mlir] [VectorOps] Framework for progressive lowering of vector.contract (details)
  46. Reapply [IRBuilder] Always respect inserter/folder (details)
  47. [OpenMP][OMPIRBuilder] Introducing the `OMPBuilderCBHelpers` helper class (details)
  48. [Hexagon] Change HVX vector predicate types from v512/1024i1 to v64/128i1 (details)
  49. [x86] add test for uint->fp with unsafe-fp-math (PR43609); NFC (details)
  50. [AMDGPU] Update AMDGPUUsage with DWARF proposal (details)
  51. [IndVarSimply] Fix assert/release build difference. (details)
  52. [AMDGPU] AMDGPUUsage define call convention ABI (details)
  53. [libc++] Fixes backreferences for extended grammar. (details)
  54. [libc++] reduce <complex> parsing time (details)
  55. [TSan] Fix incorrect expansion of `%deflake` lit substitution. (details)
  56. [AMDGPU] Fix DS_WRITE_B32 patterns (details)
  57. [lld][ELF] Add --shuffle-sections=seed to shuffle input sections (details)
  58. Fix broken test on Windows caused by D74790 (details)
  59. [ORC] Add generic initializer/deinitializer support. (details)
  60. libclang: Add static build support for Windows (details)
  61. Add benchmarks for basic_string::erase (details)
  62. Another fix for 7d91633a2b9b1f563dc14c632cc0c461c3651f76 (details)
  63. [ORC] Qualify nullptr_t. (details)
  64. [ORC] Fix a missing move. (details)
  65. AMDGPU/GlobalISel: Cleanup min/max RegBankSelect tests (details)
  66. AMDGPU/GlobalISel: Remove outdated comment (details)
  67. Add cl_khr_mipmap_image_writes as supported to AMDGPU (details)
  68. AMDGPU: Enable integer division bypass (details)
  69. [JITLink] Fix testcase for main JITDylib rename in 85fb997659b. (details)
  70. [gn build] Port 85fb997659b (details)
  71. [clang-tidy] fix readability-redundant-member-init auto-fix of Function-try-block (details)
  72. [WebAssembly] Fix memory bug introduced in 52861809994c (details)
  73. [NFC] Fix issues with clang-tidy checks list.rst (details)
  74. Add a `%darwin_min_target_with_tls_support` lit substitution. (details)
  75. Add an Offset field to the SourceLocation for LookupResult objects. (details)
  76. [mlir][Linalg] Allow specifiying zero-rank shaped type operands to linalg.indexed_generic ops. (details)
  77. [MS] Mark vectorcall FP and vector args inreg (details)
  78. [ELF][test] Fix shuffle_sections.s (details)
  79. [ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s (details)
  80. [WebAssembly] Use llvm::Optional to store optional symbol attributes.  NFC. (details)
  81. [mlir] Update usage of createJITDylib to createBareJITDylib after LLVM change (details)
  82. [lldb/Test] Skip VSCode test on embedded Darwin (details)
  83. [lld][WebAssembly] Allow symbols with explict import names to be undefined at link time. (details)
  84. [gn build] (manually) partially (?) merge 7ff1f55a1219 (details)
  85. [DebugInfo] Read CIE pointer as a relocatable value. (details)
  86. [DebugInfo] Remove a misleading comment for llvm::dwarf::FDE. (details)
  87. [DebugInfo][NFCI]: Removed an exclamation mark from error message. (details)
  88. Fixup test after changes made in 709fd989. (details)
  89. [Attributor] Allow multiple uses of a casted function pointer (details)
  90. [examples] Fix the clang-interpreter example for changes in 85fb997659b. (details)
  91. [examples] Fix the SpeculativeJIT example for 85fb997659b. (details)
  92. [Attributor] Add initial AAIsDead for arguments (details)
  93. [lldb/Test] s/skipIfDarwinEmbedded/skipIfRemote/ in VSCode tests. (details)
  94. [Attributor][FIX] Do not create new calls edge we cannot handle (details)
  95. [Attributor] Generalize `getAssumedConstantInt` interface (details)
  96. TableGen: Fix logic for default operands (details)
  97. [Attributor][FIX] Avoid setting wrong load/store alignments (details)
  98. [Attributor] Use existing `returned` information better (details)
  99. [Attributor][NFC] Add more memory_location tests (details)
  100. [Attributor][NFC] Improve the debug output & add a TODO (details)
  101. [MustExecute] Add backward exploration for must-be-executed-context (details)
  102. [ELF][test] Fix section sh_type and sh_flags (details)
  103. Fix compiler extension in standalone mode (details)
  104. Remove debugging artefact. (details)
  105. [lldb] Remove license headers from all test source files (details)
  106. [Attributor][NFC] Prepare some tests to be used with update test script (details)
  107. [Attributor][NFC] Refactor interface (details)
  108. [Attributor] Make sure abstract attributes are properly initialized (details)
  109. [LLD][ELF][ARM] Add test cases for R_ARM_THM_MOV*-type relocs (details)
  110. [lldb/DWARF] Always construct a DWARFDebugInfo object (details)
  111. [compiler-rt] [builtins] Fix logb / logbl tests (details)
  112. [NFC] Remove ar/ranlib test noise during cmake step (details)
  113. [ARM,MVE] Add vqdmull[b,t]q intrinsic families (details)
  114. [clang-tidy] misc-no-recursion: point to the function defs, not decls (details)
  115. SpeculativeExecution: fixed ingoring free execution (details)
  116. [AMDGPU] simplifyI24 - replace GetDemandedBits with SimplifyMultipleUseDemandedBits (details)
  117. [AArch64][SVE] Re-arrange definitions in AArch64SVEInstrInfo.td (NFC) (details)
  118. [lldb] Add boilerplate to recognize the .debug_tu_index section (details)
  119. [lldb]: fix typo in lldb-gdb-remote.txt (details)
  120. [Sema] Demote call-site-based 'alignment is a power of two' check for AllocAlignAttr into a warning (details)
  121. Revert "Reland "[DebugInfo] Enable the debug entry values feature by default"" (details)
  122. [clang][Index] Fix the incomplete instantiations in libindex. (details)
  123. Regenerate rotate test. NFC. (details)
  124. [AMDGPU] Don’t marke the .note section as ALLOC (details)
  125. [Utils][x86] add an option to reduce scrubbing of shuffles with memops (details)
  126. AMDGPU: Fix v2i64<->v4f32 bitcast (details)
  127. [NFC][RDA] Break-up initialization code (details)
  128. [PowerPC][NFC] We do not save/restore vrsave for any remaining subtargets. (details)
  129. [x86] regenerate test checks with less shuffle scrubbing; NFC (details)
  130. Add #include <condition_variable> to fix build after 85fb997659b5 (details)
  131. [DAGCombine] visitEXTRACT_VECTOR_ELT - add SimplifyDemandedBits multi use support (details)
  132. [clang][analyzer] Modify include AllocationState.h in PutenvWithAutoChecker.cpp (details)
  133. [X86] Add DAG combines to form CVTPH2PS/CVTPS2PH from vXf16->vXf32/vXf64 fp_extends and vXf32->vXf16 fp_round. (details)
  134. [AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations (details)
  135. [x86] add vector tests for splatted memory ops; NFC (details)
  136. [AArch64] Move isOverflowIntrOpRes help function to the ISD namespace in SelectionDAG.h. NFC (details)
  137. [X86] Rewrite LowerBRCOND to remove dead code and handle ISD::SETCC and overflow ops directly. (details)
  138. [libc++] Fix unintended ADL inside ref(reference_wrapper<T>) and cref(reference_wrapper<T>) (details)
  139. [libc++] Fix unqualified call to 'ref' inside shared_ptr(unique_ptr<U, D>) (details)
  140. [clang-tidy] rename_check.py: maintain alphabetical order in Renamed checks section (details)
  141. [X86] Fix a -Wparentheses warning. NFC (details)
  142. [clang] Fix search path logic for C_INCLUDE_DIRS (details)
  143. Add target.xml support for qXfer request. (details)
  144. [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY (details)
  145. [DAGCombiner] Use SDValue::getConstantOperandAPInt helper where possible. NFC. (details)
  146. [macho][NFC] Extract all CPU_(SUB_)TYPE logic to libObject (details)
  147. [mlir] Refactor the structure of the 'verifyConstructionInvariants' methods. (details)
  148. Revert "[macho][NFC] Extract all CPU_(SUB_)TYPE logic to libObject" (details)
  149. [PowerPC][NFC] Cleanup some of the Darwin mentions in the README.txt. (details)
  150. [x86] allow peeking through an extract_subvector to find a splatted operand (details)
  151. [libc] Add Initial Support for Signals (details)
  152. Fix some typos in the MLIR documentation. (details)
  153. [ORC][examples] Fix ThinLtoJIT example after changes in 85fb997659b. (details)
  154. [ORC] Add a convenience method for setting the ExecutionSession to LLJITBuilder. (details)
  155. [X86] Fix NSW/NUW typo in avg test (PR44973) (details)
  156. [clang-format] Merge name and colon into a single token for C# named arguments (details)
  157. libclang: Make shared object symbol exporting by default (details)
  158. [AIX] Pack BasicBlockBits (details)
  159. [clang][doxygen] Fix false -Wdocumentation warning for tag typedefs (details)
  160. [GISel][KnownBits] Give up on PHI analysis as soon as we don't know anything (details)
  161. [cxx_status] Update -std= instructions for C++20. (details)
  162. [llvm][build] Fix shared lib builds. [NFC] (details)
  163. Revert "[NFCI][DebugInfo]: Corrected a Typo." (details)
  164. [ConstantFold] add/move tests for FP with undef operand; NFC (details)
  165. Revert "[AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations" (details)
  166. Revert "libclang: Add static build support for Windows" and (details)
  167. [X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT (details)
  168. Revert 714265dabb606bfef2f85694234f152edbfa91ac "[X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT" (details)
  169. Recommit "[X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT"" (details)
  170. [AIX] Improve 32/64-bit build configuration (details)
  171. [ASTImporter] Add linkage check to ASTNodeImporter::hasSameVisibilityContext and rename to hasSameVisibilityContextAndLinkage (details)
  172. [Driver] Escape the program path for -frecord-command-line (details)
  173. [SVE] Add support for lowering GEPs involving scalable vectors. (details)
  174. [SCCP] Do not mark unknown loads as overdefined. (details)
  175. [mlir] [VectorOps] Multi-dim reductions for lowering vector.contract (details)
  176. [mlir] Use LLJIT::getMainJITDylib instead of hardcoding '<main>' (details)
  177. [lldb/Plugin] Don't mark ProcessNetBSD as a plugin (details)
  178. Revert "[Driver] Escape the program path for -frecord-command-line" (details)
  179. [mlir][Parser] Update DenseElementsAttr to print in hex when the number of elements is over a certain threshold. (details)
  180. [lldb/Test] Remove stale README in test/API (details)
  181. [libc++] Explain XFAILs with std::uncaught_exceptions test (details)
  182. [X86] Custom legalize v1i1 add/sub/mul to xor/xor/and with avx512. (details)
  183. [X86] Fix a couple copy mistakes in v4i1 or/and/xor isel patterns. (details)
  184. [X86] Custom legalize v1i1 UADDSAT/USUBSAT/SADDSAT/UADDSAT to match v2i1/v4i1/v8i1 etc. (details)
  185. [X86] Expand vselect of v1i1 under avx512. (details)
  186. [X86] Add CMOV_VK1 pseudo so we don't crash on v1i1 ISD::SELECT (details)
  187. [libc++][regex] Validate backreferences in the constructor. (details)
  188. [libunwind][CMake] Treat S files as C to work around CMake bug. (details)
  189. Filter callbr insts from critical edge splitting (details)
  190. [Dominators] Use Instruction::comesBefore for block-local queries, NFC (details)
  191. [XCore] Add instruction pattern for bitrev (details)
  192. [OpenMP][NFC] Remove leftover debug messages (details)
  193. [mlir] Use getOperation()->setAttr when generating attribute set (details)
  194. Split _LIBCPP_STRING_EXTERN_TEMPLATE_LIST up into a V1 and UNSTABLE version. (details)
  195. [X86] Add CMOV_VR64 pseudo instruction for MMX. Remove mmx handling from combineSelect. (details)
  196. libclc: Use acos implementation from amd_builtins (details)
  197. [X86] Remove unnecessary isNullConstant in LowerSelect. NFC (details)
  198. [WebAssembly] Remove unneeded getWasmKindForNamedSection function (details)
  199. [X86] Autogenerate complete checks. NFC (details)
  200. [X86] Make combineCMov not create unsupported FCMOVs when f32/f64 are using X87. (details)
  201. [X86] Don't bother avoiding illegal FCMOVs if we don't have the cmov subtarget feature. (details)
  202. [clangd] Fix the incomplete template specialization in findTarget. (details)
  203. [lldb][NFC] Split up ClangASTSource::FindExternalVisibleDecls (details)
  204. [clangd] Allow renaming class templates in cross-file rename. (details)
  205. Make unittests include path relative (details)
  206. [NFC][mlir] Adding more operators to EDSC TemplatedIndexedValue (details)
  207. test/CodeGen/AMDGPU: Add a test case that shows a miscompilation (details)
  208. [NFC] Corrected a minor typo in a comment (details)
  209. Detect and disable openmp tests that require multiple hardware processor to run (details)
  210. [ConstantFold] fold fsub -0.0, undef to undef rather than NaN (details)
  211. [DependenceAnalysis] Memory dependence analysis internal caching mechanism is broken in presence of TBAA (PR42733). (details)
  212. [Hexagon] Introduce noop intrinsic to cast between vector predicate types (details)
  213. [mlir] Add a signedness semantics bit to IntegerType (details)
  214. [TargetLowering] SimplifyDemandedBits - use getValidShiftAmountConstant helper. (details)
  215. [X86] Regenerate hi reg tests (details)
  216. [Error/unittests] Add a FailedWithMessage gtest matcher (details)
  217. [PowerPC][NFC] Remove Darwin specific logic in frame finalization. (details)
  218. [AST][NFC] Update outdated comments in ASTStructuralEquivalence.cpp (details)
  219. [PowerPC][NFC] Add a test for vrsave usage iinline asm. (details)
  220. [lldb/DWARF] Add support for type units in dwp files (details)
  221. Remove unused functions in llvm-ml (details)
  222. [mlir] Silence error: call to constructor of 'llvm::APInt' is ambiguous (details)
  223. AMDGPU/GlobalISel: Fix constant bus violation with source modifiers (details)
  224. AMDGPU/GlobalISel: Select llvm.amdgcn.fmul.legacy (details)
  225. AMDGPU/GlobalISel: Legalize G_FPOW (details)
  226. AMDGPU/GlobalISel: Manually select G_BUILD_VECTOR_TRUNC (details)
  227. [ARM] Correct Formatting. NFC (details)
  228. AMDGPU/GlobalISel: Precommit xnor matching test (details)
  229. [ELF] Ignore the maximum of input section alignments for two cases (details)
  230. [ELF] Warn changed output section address (details)
  231. [lldb-vscode] Use libOption with tablegen to parse command line options. (details)
  232. [ELF] Shuffle .init_array/.fini_array with --shuffle-sections= (details)
  233. [TargetLowering] Apply basic shift combines before recursive SimplifyDemandedBits calls. (details)
  234. AMDGPU/GlobalISel: Fix xnor matching (details)
  235. AMDGPU/GlobalISel: Commit test changes I forgot to squash (details)
  236. GlobalISel: Fix narrowing of (G_ASHR i64:x, 32) (details)
  237. [AArch64][SVE] Add +fullfp16 to sve-vector-splat.ll (details)
  238. [DSE,MSSA] Add debug counter. (details)
  239. [AST matchers] Add basic matchers for googletest EXPECT/ASSERT calls. (details)
  240. [VectorCombine] refactor matching code to reduce duplication; NFC (details)
  241. [AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations (details)
  242. AMDGPU: Use default operand for VOP3P clamp (details)
  243. [SystemZ]  Return scalarized costs for vector instructions on older archs. (details)
  244. [gn build] Port 23444edf30b (details)
  245. [SimplifyLibCalls][IRBuilder] Accept any IRBuilder in SimplifyLibCalls (details)
  246. [X86] Fix SDLoc initialization (details)
  247. [VectorUtils] Move ToVectorTy to VectorUtils.h (NFC). (details)
  248. [DSE,MSSA] Dbg counters required assertions. Mark test accordingly. (details)
  249. [InstCombine] Use replaceOperand() in more places (details)
  250. [Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp} (details)
  251. [BFI] Fix missed BFI updates in MachineSink. (details)
  252. [InstCombine] Improve simplify demanded bits worklist management (details)
  253. [llvm][CodeGen] DAG Combiner folds for vscale. (details)
  254. [MLIR] Allow Loop dialect IfOp and ForOp to define values (details)
  255. [XCOFF][AIX] Put undefined symbol name into StringTable when neccessary (details)
  256. [LoopVectorize][X86] Regenerate tests. NFCI. (details)
  257. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  258. AMDGPU/GlobalISel: Select G_SHUFFLE_VECTOR (details)
  259. AMDGPU/GlobalISel: Select VOP3P instructions (details)
  260. AMDGPU/GlobalISel: Select llvm.amdgcn.fdot2 (details)
  261. AMDGPU: Move dot intrinsic patterns to instruction def (details)
  262. [lldb/cmake] Enable more verbose find_package output. (details)
  263. AMDGPU/GlobalISel: Fix SALU mapping for v2s16 min/max (details)
  264. [ARM] Change ARMAttributeParser::Parse to use support::endianness and simplify (details)
  265. [libc++] Do not set the `availability=XXX` feature when not testing against a system libc++ (details)
  266. [AArch64][SVE] Add backend support for splats of immediates (details)
  267. [CodeGen][RISCV] Fix clang/test/CodeGen/atomic_ops.c for RISC-V (details)
  268. [mlir][spirv] Add lowering for load/store zero-rank memref from std to SPIR-V. (details)
  269. [MLIR] Remove constexpr from LoopOps.td (details)
  270. [Hexagon] Simplify intrinsic (vandvrt (vandqrt q b) m) -> q if possible (details)
  271. Move StandardOps/Ops.h to StandardOps/IR/Ops.h (details)
  272. [llvm][aarch64] SVE addressing modes. (details)
  273. [VectorCombine] refactor cost calcs to reduce duplication; NFC (details)
  274. [llvm][CodeGen][aarch64] Add contiguous prefetch intrinsics for SVE. (details)
  275. [IR] Update BasicBlock::validateInstrOrdering comments, NFC (details)
  276. [X86] Add a new format type for instructions that represent named prefix bytes like data16 and rep. Use it to make a simpler version of isPrefix. (details)
  277. [macho][NFC] Extract all CPU_(SUB_)TYPE logic to BinaryFormat (details)
  278. Allow customized relative PYTHONHOME (details)
  279. [gn build] Port 1874dee5662 (details)
  280. [VectorCombine] refactor to reduce duplicated code; NFC (details)
  281. AMDGPU/GlobalISel: Better code for one case of G_SHUFFLE_VECTOR on v2i16 (details)
  282. [AArch64][SVE] Add support for DestructiveBinary and DestructiveBinaryComm DestructiveInstTypes (details)
  283. [llvm-objcopy][MachO] Change the storage of sections (details)
  284. [lldb/test] Move `platform process list` tests to its own directory (NFC) (details)
  285. [lldb/Plugins] Add ability to fetch crash information on crashed processes (details)
  286. [AArch64][SVE] Fix -Wimplicit-fallthrough after D73711 (details)
  287. clang/Modules: Finish renaming CompilerInstance::ModuleManager, NFC. (details)
  288. [SelectionDAG] remove unused isFast() helper function; NFC (details)
  289. [AArch64][SVE] Fix -DBUILD_SHARED_LIBS=on builds after -D74808/1874dee5662603c9251228c71b66de72cec0c979 (details)
  290. [AArch64] Delete an unneeded dependency on Object after 1874dee5662603c9251228c71b66de72cec0c979 (details)
  291. [Hexagon] Define __ELF__ by default. (details)
  292. [CloneFunction] Update loop headers after cloning all blocks in loop. (details)
  293. [Attributor][FIX] Undo 16188f9 until SCC iterator bug is fixed (details)
  294. [GISel][KnownBits] Add a cache mechanism to speed compile time (details)
  295. [Attributor][FIX] Disable a test to unblock the builders (details)
  296. [Target] Remove libObject dependency in lib/Target (details)
  297. Revert "Allow customized relative PYTHONHOME" (details)
  298. [Analysis][Docs] Parents of loops documentation. (details)
  299. [mlir][DeclarativeParser] Add support for the TypesMatchWith trait. (details)
  300. [mlir][DeclarativeParser] Add basic support for optional groups in the assembly format. (details)
  301. [mlir][DeclarativeParser] Add an 'attr-dict-with-keyword' directive (details)
  302. [mlir] Add a utility iterator range that repeats a given value `n` times. (details)
  303. [mlir][ODS] Add support for specifying the successors of an operation. (details)
  304. [mlir][DeclarativeParser] Add support for formatting the successors of an operation. (details)
  305. [mlir][Tutorial] Add a section to Toy Ch.2 detailing the custom assembly format. (details)
  306. [llvm-objdump] Print method name from debug info in disassembly output. (details)
  307. [MC][ELF] Error for sh_type, sh_flags or sh_entsize change (details)
  308. [lldb/test] Tweak libcxx string test on Apple+ARM devices (details)
  309. Revert "[AMDGPU] Don’t marke the .note section as ALLOC" (details)
  310. [mlir][DeclarativeParser][NFC] Use explicit type names in TypeSwitch to (details)
  311. [Driver] Escape the program path for -frecord-command-line (details)
  312. AMDGPU/GlobalISel: Remove dead code (details)
  313. Allow customized relative PYTHONHOME (Attemp 1) (details)
  314. [llvm-objdump][test] Fix source-interleave-function-from-debug.test on Windows after D74507 (details)
  315. [WebAssembly] Fix a non-determinism problem in FixIrreducibleControlFlow (details)
  316. Flags for displaying only hot nodes in CFGPrinter graph (details)
  317. [lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index (details)
  318. Remove unused variable (details)
  319. [X86] Teach combineCVTPH2PS to shrink v8i16 loads when the output type is v4f32. Remove extra isel patterns. (details)
  320. [lldb][test] Fix sh_flags and sh_entsize of .debug_str.dwo (details)
  321. [libc] Lay out framework for fuzzing libc functions. (details)
  322. [GISel][KnownBits] Suppress unused warning on the dump method (details)
  323. [Preprocessor][test] Move AArch64 tests from init.c to init-aarch.c (details)
  324. [Preprocessor][test] Fix __VERSION__ in init-aarch64.c (details)
  325. [Frontend] Replace CC1 option -mcode-model with -mcmodel= (details)
  326. [AArch64] Predefine __AARCH64_CMODEL_*__ as GCC does (details)
  327. [Preprocessor][X86] Fix __code_model_*__ predefine macros (details)
  328. Update Quantization.md (details)
  329. Update ShapeInference.md (details)
  330. [VE][fix] missing include (details)
  331. [yaml2obj] - Automatically assign sh_addr for allocatable sections. (details)
  332. [lldb][test] - Update basic-elf.yaml to fix build bot. (details)
  333. [NFC] Remove some GCC warning from c9e93c84f61400d1aac7d195a0578e80bc48c69a (details)
  334. [libcxx] [test] Suppress MSVC++ warning 4640 under /Zc:threadSafeInit- (details)
  335. Add a llvm::shuffle and use it in lld (details)
  336. [Sema] Fix pointer-to-int-cast diagnostic for _Bool (details)
  337. [ORC] Add errors for missing and extraneous symbol definitions. (details)
  338. [ORC] Update LLJIT to automatically run specially named initializer functions. (details)
  339. [X86] Use movlps for i64 atomic stores on 32-targets with sse1. (details)
  340. [X86] Teach EltsFromConsecutiveLoads that it's ok to form a v4f32 VZEXT_LOAD with a 64 bit memory size on SSE1 targets. (details)
  341. [X86] Add AddToWorklist(N) after calls to SimplifyDemandedBits/SimplifyDemandedVectorElts that are called on an operand of N. (details)
  342. [X86] Add sse2 command lines to sse-intrinsics-fast-isel.ll. (details)
  343. [NFC] Test commit access. Drop trivial braces. (details)
  344. [NFC] fix test nan value (details)
  345. [clangd] Debounce rebuilds responsively to rebuild times. (details)
  346. [clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails. (details)
  347. Revert "[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails." (details)
  348. [DSE] Track overlapping stores. (details)
  349. [SDAG] fold fsub -0.0, undef to undef rather than NaN (details)
  350. [X86] Regenerate some tests to show FMA4 comments. NFC (details)
  351. Recommit "[PatternMatch] Match XOR variant of unsigned-add overflow check." (details)
  352. [AArch64] Update new test. (details)
  353. [clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails. (details)
  354. Updating a comment to clarify that SkipUntil handles balanced delimiters. (details)
  355. [clangd] Try to fix buildbots - copy elision not happening here? (details)
  356. [SystemZ]  Support the kernel back chain. (details)
  357. [X86] Use FIST for i64 atomic stores on 32-bit targets without SSE. (details)
  358. [X86] Enable the use of movlps for i64 atomic load on 32-bit targets with sse1. (details)
  359. [X86] Remove most X86 specific subclasses of MemSDNode. Just use a MemIntrinsicSDNode as we usually do. (details)
  360. [SelectionDAG] Remove SelectionDAG::getTargetMemSDNode now that its not used. (details)
  361. IR printing for single function with the new pass manager. (details)
  362. [NFC][PowerPC] Refactor the tryAndWithMask() (details)
  363. [Driver][X86] Add helptext for malign-branch*, mbranches-within-32B-boundaries (details)
  364. [libc] Add a README to the sub-directories under the utils directory. (details)
  365. [SelectionDAG] Remove ISD::LIFETIME_START/LIFETIME_END from assert in getMemIntrinsicNode. (details)
  366. [X86] Use custom isel for gather/scatter instructions. (details)
  367. [X86] When creating X86ISD::MGATHER nodes from AVX2 gather intrinsics, cast the mask to integer type. (details)
  368. [JITLink] Add a MachO x86-64 GOT and Stub bypass optimization. (details)
  369. [lldb] Remove all the 'current_id'  logging counters from the lookup code. (details)
  370. [ARM][MVE] Combine more extending masked loads (details)
  371. [lldb/DWARF] Don't index dwp file multiple times (details)
  372. [lldb/test] simplify basic-elf.yaml (details)
  373. [lldb] Disable auto fix-its when evaluating expressions in the test suite (details)
  374. [MC] Widen the functional unit type from 32 to 64 bits. (details)
  375. Use new FailedWithMessage matcher in DWARFDebugLineTest.cpp (details)
  376. [profile] Don't dump counters when forking and don't reset when calling exec** functions (details)
  377. [Intrinsic] Add fixed point saturating division intrinsics. (details)
  378. Add a basic tiling pass for parallel loops (details)
  379. Silence compiler warnings (details)
  380. [AArch64][SVE] Add intrinsics for SVE2 cryptographic instructions (details)
  381. [ORC] Remove spammy debug print (details)
  382. Use temporary directory for tests in D74346 (details)
  383. [CostModel][X86] Try to check against common prefixes before using target-specific cpu checks (details)
  384. [ARM] FP16 bitcast test. NFC (details)
  385. [ARM,MVE] Remove 64-bit variants of vbrsrq* intrinsics (details)
  386. Fix TryParsePtrOperatorSeq. (details)
  387. [RDA][ARM][LowOverheadLoops] Iteration count IT blocks (details)
  388. [AArch64][SVE] Add the SVE dupq_lane intrinsic (details)
  389. [MIR][ARM] MachineOperand comments (details)
  390. [CostModel][X86] We don't need a scale factor for SLM extract costs (details)
  391. add release notes for ffp-model and ffp-exception-behavior (details)
  392. [AIX][Frontend] C++ ABI customizations for AIX boilerplate (details)
  393. [OpenMP] Refactor the analysis in checkMapClauseBaseExpression using StmtVisitor class. (details)
  394. [libc++] Implementation of C++20's P1135R6 for libcxx (details)
  395. [libc++] Adapt a few things around the implementation of P1135R6 (details)
  396. [libc++] Mark the C++03 version of std::function as deprecated (details)
  397. [lldb/DWARF] Fix dwp search path in the separate-debug-file case (details)
  398. [PowerPC][AIX] Spill/restore the callee-saved condition register bits. (details)
  399. [X86] getTargetShuffleInputs - check that the source inputs are all the right size. (details)
  400. [gn build] (manually) merge 54fa9ecd308 (details)
  401. [libc++] Fix CI and Linux failures after landing D68480 (details)
  402. [gn build] remove -std=c++11 in libcxx build pending discussion in 80e73f2 review thread (details)
  403. Revert "Rework go bindings so that validation works fine" (details)
  404. [NFC] Fix typo in error message (details)
  405. [libc++] Drop redundant check for -std=c++14 (details)
  406. [ReleaseNotes] Mention the `vector-function-abi-variant` attribute. (details)
  407. [CMake] Default to static linking for subprojects. (details)
  408. [XCOFF][AIX] Fix incorrect alignment for function descriptor csect (details)
  409. [AVR] Use correct register class for mul instructions (details)
  410. [AVR] Don't assert on an undefined operand (details)
  411. [X86] combineX86ShuffleChain - select X86ISD::FAND/ISD::AND based on MaskVT (details)
  412. [AVR] Disassemble register operands (details)
  413. [bindings/go] Add RemoveFromParentAsInstruction (details)
  414. [MachO] Add cpu(sub)type tests and improve error handling (details)
  415. [SelectionDAG] Merge constant SDNode arithmetic into foldConstantArithmetic (details)
  416. [LLVM-C] Add bindings for addCoroutinePassesToExtensionPoints (details)
  417. [mlir][spirv] NFC: Move test passes to test/lib (details)
  418. [libc++] Give headers that require C++14 a cplusplus14 requires in the modulemap (details)
  419. [AMDGPU] use llvm_unreachable instead of default for rp set (details)
  420. [X86] Add back fmaddsub intrinsics to work towards fixing the strict fp implementation (details)
  421. [MLIR] NFC - Fix indentation in examples in LoopOps.td (details)
  422. [ms] [llvm-ml] Improve data support, adding names and complex initializers. (details)
  423. [lldb/Debugger] Remove macros formerly used by property definitions (details)
  424. [lldb] Color the current PC marker (details)
  425. Revert "[ms] [llvm-ml] Improve data support, adding names and complex initializers." (details)
  426. [Hexagon] Lower bitcast of a vector predicate (details)
  427. [MachineVerifier] Doing ::calcRegsPassed in RPO: ~35% faster MV, NFC (details)
  428. Reland "[ms] [llvm-ml] Improve data support, adding names and complex initializers." (details)
  429. [Hexagon] Lower vector predicate store (details)
  430. [lldb/Test] Update TestDisassemblyFormat for new format (details)
  431. Add methods to data extractor for extracting bytes and fixed length C strings. (details)
  432. Validate argument passed to __builtin_frame_address and __builtin_return_address (details)
  433. [NFC] [DA] Refactoring getIndexExpressionsFromGEP (details)
  434. Revert "Validate argument passed to __builtin_frame_address and __builtin_return_address" (details)
  435. [lldb/Plugins] Move SBTarget::GetExtendedCrashInformation to SBProcess (details)
  436. [libc] [UnitTest] Create death tests (details)
  437. AMDGPU/GlobalISel: Lower 64-bit uaddo/usubo (details)
  438. [LegalizeTypes] Scalarize non-byte sized loads in WidenRecRes_Load and SplitVecResLoad (details)
  439. [lldb] Color the line marker (details)
  440. [docs] dump_ast_matchers strips internal::(Bindable)?Matcher from Result_type (details)
  441. Unwind past an interrupt handler correctly on arm or at pc==0 (details)
  442. [arcconfig] Default base to previous revision (details)
  443. [arcconfig] Delete subproject arcconfigs (details)
  444. Adjust max_align_t handling (details)
  445. Prefer PATH_MAX to MAXPATHLEN (details)
  446. [MLIR] Add std.atomic_rmw op (details)
  447. [polly] Don't count scops in a global variable. (details)
  448. My prevous commit to RegisterContextLLDB is causing a test fail (details)
  449. [AArch64] SVE implies fullfp16 (details)
  450. [NFC] Cleaned up ASTMatchersInternal Code (details)
  451. GlobalISel: Reimplement fewerElementsVectorBasic (details)
  452. AMDGPU/GlobalISel: Fix incorrect VOP3P fneg folding (details)
  453. [DebugInfo]: Refactored Macinfo section consumption part to allow future (details)
  454. Allow "callbr" to return non-void values (details)
  455. Support output constraints on "asm goto" (details)
  456. [MachineVerifier] Doing ::calcRegsPassed over faster sets: ~15-20% faster MV, NFC (details)
  457. Revert "My prevous commit to RegisterContextLLDB is causing a test fail" (details)
  458. Revert "Unwind past an interrupt handler correctly on arm or at pc==0" (details)
  459. AMDGPU/GlobalISel: Introduce post-legalize combiner (details)
  460. GlobalISel: Remove unneeded initialiation (details)
  461. [Attributor] Use AssumptionCache in AANonNullFloating::initialize (details)
  462. [lldb/Utility] Fix unspecified behavior. (details)
  463. [Sparc][NFC] Remove trailing space (details)
  464. [lldb] Mark ObjectFileBreakpad test inputs as non-text (details)
  465. [lldb] Fix that a crashing test is marked as unsupported when it prints UNSUPPORTED before crashing (details)
  466. [ASTMatchers] Matcher macros with params move params instead of copying (details)
  467. [ASTMatchers] Adds a matcher called `hasAnyOperatorName` (details)
  468. [X86] Remove mask output from X86 gather/scatter ISD opcodes. (details)
  469. [X86] Pass parameters into selectVectorAddr to remove dependency on X86MaskedGatherScatterSDNode. (details)
  470. [libc] [UnitTest] Give UnitTest gtest like colors (details)
  471. [lldb][NFC] Make ArrayRef initialization more obvious in lldb-test.cpp (details)
  472. [lldb] s/CHECK-NEXT/CHECK-DAG in dwp-debug-types.s (details)
  473. [NFC][PowerPC] Add a new test case scalar_cmp.ll (details)
  474. [lldb][NFC] Move namespace lookup in ClangASTSource to own function. (details)
  475. libclc: cmake configure should depend on file list (details)
  476. AMDGPU/GlobalISel: add legalize tests for s64 max/min (details)
  477. GlobalISel: NFC minor cleanup to avoid a couple of fixed size local arrays (details)
  478. [profile] gcov_mutex must be static (details)
  479. Add llvm-cov to LLVM_TOOLCHAIN_TOOLS (details)
  480. [DebugInfo] Fix printing CIE offsets in EH FDEs. (details)
  481. [analyzer][MallocChecker][NFC] Communicate the allocation family to auxiliary functions with parameters (details)
  482. [AArch64][SVE] Add predicate reinterpret intrinsics (details)
  483. [yaml2obj] - Address post commit comments for D74764 (details)
  484. [MLIR][GPU] Implement a simple greedy loop mapper. (details)
  485. Don't generate libcalls for wide shift on Windows ARM (PR42711) (details)
  486. [mlir] Generalize intrinsic builders in the LLVM dialect definition (details)
  487. [mlir] Intrinsics generator: use TableGen-defined builder function (details)
  488. [mlir] simplify affine maps and operands in affine.min/max (details)
  489. [lldb][NFC] Modernize logging in ClangASTSource/ExpressionDeclMap (details)
  490. [AArch64][SVE] Update names and comments for gathers/scatters (NFC) (details)
  491. [MLIR][GPU] Fix forward declaration of Region class. (details)
  492. build_llvm_package.bat: Produce zip files in addition to the installers (details)
  493. [clangd] Disable ExtractVariable for C (details)
  494. [lldb][NFC] Move NameSearchContext to own header/source files (details)
  495. [lldb][NFC] Make NameSearchContext::m_found members bools instead of bitfields (details)
  496. Remove myself from CODE_OWNERS. (details)
  497. [gn build] (manually) merge fee41517fe0f (details)
  498. [lldb] Initialize NameSearchContext::m_namespace_map in constructor (details)
  499. [lldb][NFC] Move filling namespace map in ClangASTSource to own function (details)
  500. [debuginfo-tests] Warn, not error, if we can't delete working directory (details)
  501. [mlir] NFC: move AffineOps tests from test/ to test/Dialect (details)
  502. [MLIR][GPU] Properly model step in parallel loop to gpu conversion. (details)
  503. [DSE,MSSA] Do not attempt to remove un-removable memdefs. (details)
  504. [VectorCombine] make cost calc consistent for binops and cmps (details)
  505. [VectorCombine] add tests for possible extract->shuffle; NFC (details)
  506. [ASTImporter] Improved variable template redecl chain handling. (details)
  507. [Analyzer] Fix for iterator modeling and checkers: handle negative numbers correctly (details)
  508. [PhaseOrdering] add test for missing vector/CSE transforms (PR45015); NFC (details)
  509. [CodeGen] fix clang test that runs the optimizer pipeline; NFC (details)
  510. [mlir] NFC: update documentation in ConvertLinalgToLLVM (details)
  511. [RISCV] Fix sysroot tests without GCC on RISC-V hosts with GCC (details)
  512. Fix DfaEmitter::visitDfaState() crash in MSVC x86 debug builds (PR44945) (details)
  513. [clang-format]  Wrap lines for C# property accessors (details)
  514. [OpenMP][cmake] ignore warning on unknown CUDA version (details)
  515. Stop including sys/param.h from Unix.h (details)
  516. [clangd] Migrate Lexer usages in TypeHierarchy to TokenBuffers (details)
  517. [analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription (details)
  518. clang-cl: Add a `/showIncludes:user` flag. (details)
  519. [AMDGPU] Precommit some test updates for D68338 "Remove dubious logic in bidirectional list scheduler" (details)
  520. Make test not write to the source directory (details)
  521. [NFC][InstCombine] Add shift amount reassociation miscompile example from PR44802 (details)
  522. [InstCombine] reassociateShiftAmtsOfTwoSameDirectionShifts(): fix miscompile (PR44802) (details)
  523. [NFC][InstCombine] Add shift amount reassociation in bittest miscompile example from PR44802 (details)
  524. [InstCombine] foldShiftIntoShiftInAnotherHandOfAndInICmp(): fix miscompile (PR44802) (details)
  525. [LLDB] Let DataExtractor deal with two-byte addresses (details)
  526. [DWARFDebugLine] Avoid dumping prologue members we did not parse (details)
  527. [analyzer] Add support for CXXInheritedCtorInitExpr. (details)
  528. [clang-rename] Add the USR of incomplete decl to the USRSet. (details)
  529. [ELF] Support archive:file syntax in input section descriptions (details)
  530. AMDGPU/GlobalISel: Legalize s64 min/max by lowering (details)
  531. Make builtbot happy. (details)
  532. [Sema][C++] Propagate conversion kind to specialize the diagnostics (details)
  533. [remark][diagnostics] [codegen] Fix PR44896 (details)
  534. AMDGPU/GlobalISel: Use packed for G_ADD/G_SUB/G_MUL v2s16 (details)
  535. [libc++] Proper fix for libc++'s modulemap after D68480 (details)
  536. [libc++] Revert 03dd205c151 "Adjust max_align_t handling" (details)
  537. AMDGPU/GlobalISel: Un-XFAIL a test (details)
  538. Revert "[DWARFDebugLine] Avoid dumping prologue members we did not parse" (details)
  539. Revert "[LICM] Support hosting of dynamic allocas out of loops" (details)
  540. [libc++] Remove incorrect XFAIL in modules test (details)
  541. [NFC][Codegen] Add miscompile test for constant store merging from PR43446 (details)
  542. [Codegen] Revert rL354676/rL354677 and followups - introduced PR43446 miscompile (details)
  543. [PowerPC][NFC] Remove comments mentioning Darwin and VRSAVE from lit test. (details)
  544. [MachineInstr] Add a dumpr method (details)
  545. [X86MCTargetDesc.h] Speculative fix for macro collision with sys/param.h (details)
  546. Make __builtin_amdgcn_dispatch_ptr dereferenceable and align at 4 (details)
  547. Emit register names in cfi assembly directives (details)
  548. Support emitting .cfi_undefined in CodeGen (details)
  549. [AMDGPU] Implement wave64 DWARF register mapping (details)
  550. Fix a race between lldb's packet timeout and the profile thread's usleep. (details)
  551. [PhaseOrdering] add tests for missed CSE; NFC (details)
  552. [libcxx] Fix building for windows after 54fa9ecd3088508 (details)
  553. Add 'l' constraint to goto label reference (details)
  554. [NFC][SCEV] Piping to pass TTI into SCEVExpander::isHighCostExpansionHelper() (details)
  555. [NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpander::isHighCostExpansionHelper() (details)
  556. [NFC][SCEV] SCEVExpander::isHighCostExpansionHelper(): check that we processed expression first (details)
  557. [SCEV] SCEVExpander::isHighCostExpansion(): assert if TTI is not provided (details)
  558. [SCEV] SCEVExpander::isHighCostExpansionHelper(): begin cost modelling - model cast cost (details)
  559. [SCEV] SCEVExpander::isHighCostExpansionHelper(): cost-model UDiv by power-of-two as LShr (details)
  560. [NFC][IndVarSimplify] Adjust value names in IndVarSimplify/exit_value_test2.ll (details)
  561. [SCEV] SCEVExpander::isHighCostExpansionHelper(): cost-model plain UDiv (details)
  562. [SCEV] SCEVExpander::isHighCostExpansionHelper(): cost-model add/mul (details)
  563. [SCEV] SCEVExpander::isHighCostExpansionHelper(): cost-model polynomial recurrence (details)
  564. [SCEV] SCEVExpander::isHighCostExpansionHelper(): cost-model min/max (PR44668) (details)
  565. [SCEV] rewriteLoopExitValues(): even if have hard uses, still rewrite if cheap (PR44668) (details)
  566. [SCEV][IndVars] Always provide insertion point to the SCEVExpander::isHighCostExpansion() (details)
  567. Use "nop" to avoid size warnings. (details)
  568. Check args passed to __builtin_frame_address and __builtin_return_address. (details)
  569. [X86] Add test to show incorrect ordering of flt.rounds intrinsic relative to calls to fesetround. (details)
  570. [LIBOMPTARGET]Fix PR44933: fix crash because of the too early deinitialization of libomptarget. (details)
  571. [ObjC][ARC] Don't move a retain call living outside a loop into the loop (details)
  572. [libTooling] Add function to determine associated text of a declaration. (details)
  573. [WebAssembly] Simplify extract_vector lowering (details)
  574. [OpenMP][Opt] Combine `struct ident_t*` during deduplication (details)
  575. [llvm][TextAPI] rename test vars, NFC (details)
  576. [Sema] Perform call checking when building CXXNewExpr (details)
  577. [clang] Annotating C++'s `operator new` with more attributes (details)
  578. Revert "[X86MCTargetDesc.h] Speculative fix for macro collision with sys/param.h" (details)
  579. [libc++] Avoid including <semaphore.h> on Apple (details)
  580. Re-land Unwind past an interrupt handler correctly on arm or at pc==0 (details)
  581. [mlir][DenseElementsAttr] Fix storage size for bfloat16 when parsing from hex. (details)
  582. [NFC][libc++] Refactor some future tests to reduce code duplication (details)
  583. [mlir] [VectorOps] Add vector.print to EDSC (details)
  584. [GISel][KnownBits] Update a comment regarding the effect of cache on PHIs (details)
  585. Revert "[libTooling] Add function to determine associated text of a declaration." (details)
  586. Fix a null dereference in the LLDB data formatters. (details)
  587. [ORC] Remove the JITDylib::SymbolTableEntry::isInMaterializingState() method. (details)
  588. Remove std::shared_ptr::allocate_shared (details)
  589. [SelectionDAG][PowerPC][AArch64][X86][ARM] Add chain input and output the ISD::FLT_ROUNDS_ (details)
  590. [compiler-rt] Fix a typo in a comment in FuzzedDataProvider.h. (details)
  591. Remove namespace lld { namespace coff { from COFF LLD cpp files (details)
  592. [docs] dump-ast-matchers removes const from Matcher args and handles template functions slightly better (details)
  593. [Analysis] Fix -Wrange-loop-analysis after D69876 (details)
  594. [MC][ARM] Don't create multiple .ARM.exidx associated to one .text (details)
  595. [MC] Default MCContext::UseNamesOnTempLabels to false and only set it to true for MCAsmStreamer (details)
  596. [PowerPC] Fix the unexpected modification caused by D62993 in LowerSELECT_CC for power9 (details)
  597. [SimpleLoopUnswitch] Fix introduction of UB when hoisted condition may be undef or poison (details)
  598. Add a llvm-gsymutil tool that can convert object files to GSYM and perform lookups. (details)
  599. [ARC][NFC] Remove trailing space (details)
  600. [SimpleLoopUnswitch] Canonicalize variable names (details)
  601. Add missing dependency to fix shared library build. (details)
  602. Remove no un-necessary require for load_extension.ll (details)
  603. Strip preceeding -Xclang when stripping -fcolor-diagnostics or -fdiagnostics-color (details)
  604. [clangd] Expose the rename LimitFiles option to the C++ API, NFC. (details)
  605. Fix the clangd-fuzzer build error. (details)
  606. [lldb/gdb-remote] Add support for the qOffsets packet (details)
  607. Support -fuse-ld=lld for riscv (details)
  608. Fix typo in clang lit config (details)
  609. AMDGPU: Fix some incorrect FUNC-LABEL checks (details)
  610. [docs][llvm-symbolizer] Fix --functions description (details)
  611. [docs][llvm-symbolizer] Fix indentation of inline option examples (details)
  612. [docs][llvm-objcopy][llvm-strip] Move --wildcard description earlier (details)
  613. [AArch64] Flip default for register renaming in the ld/st optimizier. (details)
  614. [ARM][RDA] add getUniqueReachingMIDef (details)
  615. [AArch64][SVE] Add SVE2 intrinsics for bit permutation & table lookup (details)
  616. tsan: fix pthread_detach with called_from_lib suppressions (details)
  617. Revert "[compiler-rt] Add a critical section when flushing gcov counters" (details)
  618. [gn build] (manually) merge e058667a2e01 (details)
  619. [clangd] Bump index version number. (details)
  620. [clang][Tooling] Add a way to tokenize a FileRange (details)
  621. [OpenMP] Fix the test by generating output file in temporary directory (details)
  622. [gn build] (manually) port 2f6cc21f44e (details)
  623. [Assembler] Allow assembling empty index with non-zero flags (details)
  624. [gn build] re-"gn format" all gn files (details)
  625. [OpenCL] Add atomic type builtins (details)
  626. [mlir][Linalg] NFC - Refactor LinalgStructuredOps towards "named" Linalg ops (details)
  627. AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible (details)
  628. AMDGPU: Fix some more incorrect check lines (details)
  629. [libTooling] Add function to determine associated text of a declaration. (details)
  630. Quick fix for bot failure on "AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible" (details)
  631. Put microsoft template parameter shadow warning behind separate flag (PR44794) (details)
  632. [AIX] Remove whitelist checking for ExternalSymbolSDNodes (details)
  633. [ARM,MVE] Add predicated intrinsics for many unary functions. (details)
  634. Full fix for "AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible" (hopefully) (details)
  635. [clangd] use printQualifiedName to skip the inlinenamespace qualifiers. (details)
  636. [clang-format] Special handling of spaces for C# code (details)
  637. Recommit "[DWARFDebugLine] Avoid dumping prologue members we did not parse" (details)
  638. [DAG] visitRotate - modulo non-uniform constant rotation amounts (details)
  639. Add unit tests for RangeDataVector::FindEntryIndexesThatContain (details)
  640. [AArch64] add tests for fake fneg; NFC (details)
  641. Add _LIBCPP_BUILTIN_CONSTANT_P support. (details)
  642. Introduce DWARFDataExtractor::getInitialLength (details)
  643. [gn build] Port 3c36d8dad57 (details)
  644. [DAGCombiner] avoid narrowing fake fneg vector op (details)
  645. [clangd] Clean-up XRefs.cpp from Lexer usages and unnecessary SourceLoc transformations (details)
  646. [ELF] --orphan-handling=: don't warn/error for unused synthesized sections (details)
  647. [llvm-objcopy][test] Improve empty section tests (details)
  648. Avoid SmallString.h include in MD5.h, NFC (details)
  649. [libc] Fix build when -DBUILD_SHARED_LIBS=On (details)
  650. Use virtual functions in ParsedAttrInfo instead of function pointers (details)
  651. [PowerPC][NFC] Convert grep usage to FileCheck in lit test. (details)
  652. [compiler-rt] Build all alias in builtin as private external on Darwin (details)
  653. [mlir][spirv] NFC: move folders and canonicalizers in a separate file (details)
  654. Devirtualize a call on alloca without waiting for post inline cleanup and next (details)
  655. [libcxx] Fix _LIBCPP_HAS_THREAD_API_EXTERNAL build (details)
  656. [TTI] Let getOperationCost assume that Freeze is free (details)
  657. [SDAG] Add SDNode::values() = make_range(values_begin(), values_end()) (details)
  658. [lldb/test] Skip running a test under ASan, it intentionally double-frees (details)
  659. Fix buildbots after recent GSYM commit. (details)
  660. [ELF] --orphan-handling=: don't warn/error for input SHT_REL[A] retained by --emit-relocs (details)
  661. Remove unneeded Compiler.h and DataTypes.h includes, NFC (details)
  662. Inline basic_string::erase for fastpath where __n == npos (details)
  663. [Hexagon] Improve casting of boolean HVX vectors to scalars (details)
  664. Fix LLP64 detection in SwapByteOrder.h (details)
  665. [InstCombine] Remove trivially empty ranges from end (details)
  666. [AVR] Don't adjust addresses by 2 for absolute values (details)
  667. [AVR] Fix private label prefix (details)
  668. [CVP] Add test for cmp of local phi; NFC (details)
  669. [InstCombine] Simplify DCE code; NFC (details)
  670. [TSan] Add CMake check for minimal SDK requirements on Darwin (details)
  671. [CVP] Simplify cmp of local phi node (details)
  672. [SimpleLoopUnswitch] Remove unnecessary include; NFC (details)
  673. [clang] fix error detection in consteval calls (details)
  674. [mlir][spirv] Add some folders for spv.LogicalAnd/spv.LogicalOr (details)
  675. [VectorCombine] add a debug flag to skip all transforms (details)
  676. [ms] Rename ParsingInlineAsm functions/variables to reflect MS-specificity. (details)
  677. [dsymutil] Avoid copying swiftinterfaces from the SDK into the dsym bundle (details)
  678. Fix for the test failues introduced in https://reviews.llvm.org/D74704. (details)
  679. [libc] Fix typo of namespace in round implementation. (details)
  680. [scudo][standalone] Various improvements wrt RSS (details)
  681. [mlir][spirv] Refactoring to avoid calling the same function twice (details)
  682. [llvm-objcopy] Enable --discard-all for MachO (details)
  683. [MC] Pull out a relaxFragment helper [NFC] (details)
  684. Update the ARC docs for non-trivial ownership in structs. (details)
  685. [DebugInfo][NFC] Remove handler with ErrorPolicy from DWARFContext. (details)
  686. [ASTMatchers] HasNameMatcher handles `extern "C"` (details)
  687. [AArch64][GlobalISel] Fixup <32b heterogeneous regbanks of G_PHIs just before selection. (details)
  688. [ObjectFileMachO] Fix a build error on embedded. (details)
  689. [X86] Add proper MachinePointerInfo to the loads/stores created for moving data between SSE and X87 in X86DAGToDAGISel::PreprocessISelDAG (details)
  690. [X86] Use correct MachineMemOperand for stack load in LowerFLT_ROUNDS_ (details)
  691. [X86] Use proper alignment for stack temporary and correct MachinePointerInfo for stack accesses in LowerUINT_TO_FP. (details)
  692. [X86] Query constant pool object alignment instead of hardcoding. (details)
  693. Visit previously unreachable nodes in the debug info metadata verifier. (details)
  694. Disable memory leak checking in a test to work around a bot failure (details)
  695. PR44978: Accept as an extension some cases where destructor name lookup (details)
  696. [libc++] Temporarily disable availability markup for the C++20 Synchronization library (details)
  697. Revert "[libc++] Do not set the `availability=XXX` feature when not testing against a system libc++" (details)
  698. [X86] Explicitly pass Pointer, MachinePointerInfo and Alignment to BuildFILD. (details)
  699. [X86] Explicitly pass Destination VT and debug location to BuildFILD. NFC (details)
  700. [libc++] Workaround unused variable warning in test (details)
  701. [X86] Add proper MachinePointerInfo to stack store created in LowerWin64_i128OP. (details)
  702. Cost Annotation Writer for InlineCost (details)
  703. [ELF][test] Rename SHF_LINK_ORDER related "metadata" to "linkorder" (details)
  704. [X86] Add test cases showing incorrect setting of nofpexcept flag due to CSE occuring during SelectionDAG creation. (details)
  705. [docs][LoopTerminology] Add Loop Simplify Form description. (details)
  706. GlobalISel: Cleanup code with MachineIRBuilder features (details)
  707. AMDGPU/GlobalISel: Add missing G_[US]ADDE/G_[US]SUBE tests (details)
  708. GlobalISel: Fix lowering for G_UADDE/G_USUBE (details)
  709. AMDGPU/GlobalISel: Add missing test for G_UMULH (details)
  710. [LoopVectorize] Fix cost for calls to functions that have vector versions (details)
  711. Fix buildbot break after c46b85aaf4d4 (details)
  712. Some fixes for open breaks on MacOS and UBSan (details)
  713. [libc] Add an optional `NAME` argument to `add_entrypoint_object` rule. (details)
  714. [MLIR] Add `take_back()` to STLExtras.h for completeness. (details)
  715. [clangd] Get rid of getBeginningOfIdentifier helper (details)
  716. [libc] Add CMake script to check host cpu features (details)
  717. [clangd] Get rid of lexer usage in AST.cpp (details)
  718. [AArch64] Peephole optimization: merge AND and TST instructions (details)
  719. [NFC][ARM] Add test case (details)
  720. [clang,ARM,MVE] Remove redundant #includes in test file. (details)
  721. [lldb] Skip TestWasm.py on sanitized builds until D75200 has landed (details)
  722. [ARM] Add CPSR as an implicit use of t2IT (details)
  723. [lldb][NFC] Fix several -Wdocumentation warnings (details)
  724. [DebugInfo][NFC] Move out lambdas from collectCallSiteParameters() (details)
  725. [DebugInfo] Describe call site values for chains of expression producing instrs (details)
  726. [DebugInfo][ARM] Fix noreg case when checkig if it is an addImm (details)
  727. Revert "[Hexagon] Improve casting of boolean HVX vectors to scalars" (details)
  728. [lldb] Show the actual error when 'watchpoint set expression' failed (details)
  729. [InstCombine] Fix confusing variable name. (details)
  730. [MC][ARM] Resolve some pcrel fixups at assembly time (PR44929) (details)
  731. [clang-format] Handle commas in [] in C# (details)
  732. [ARM] Fixup FP16 bitcasts (details)
  733. Require asserts for debuginline-cost-delta.ll test (details)
  734. [AVX] Cleanup check prefixes (details)
  735. [driver][darwin] Don't use -platform_version flag by default (PR44813) (details)
  736. [AArch64][SVE] Add intrinsics for first-faulting gather loads (details)
  737. [CallSiteInfo] Handle bundles when updating call site info (details)
  738. Revert "make -fmodules-codegen and -fmodules-debuginfo work also with PCHs" (details)
  739. [clang-format] Recognize C# named argument colons as a token type (details)
  740. [X86] createVariablePermute - handle case where recursive createVariablePermute call fails (details)
  741. [clangd][NFC] Don't query the index if the rename symbol is function (details)
  742. [mlir] fix wrong symbol order in AffineApplyNormalizer (details)
  743. Fix uninitialized variable warning. NFC. (details)
  744. [X86] LowerMSCATTER/MGATHER - reduce scope of MaskVT. NFCI. (details)
  745. Fix shadow variable warnings. NFC. (details)
  746. Fix shadow variable warning. NFC. (details)
  747. Add GPU lowerings for the different log ops. (details)
  748. Adding some documentation for __builtin_dump_struct. (details)
  749. [X86] Use Subtarget.useSoftFloat() in X86TargetLowering constructor (details)
  750. Fix cppcheck definition/declaration arg mismatch warnings. NFCI. (details)
  751. [AMDGPU][ConstantFolding] Fold llvm.amdgcn.fract intrinsic (details)
  752. Revert "Devirtualize a call on alloca without waiting for post inline cleanup and next" (details)
  753. [mlir] NFC - Move runner utils from mlir-cpu-runner to ExecutionEngine (details)
  754. [Hexagon] Do not use init_arrays by default (details)
  755. [SYCL] Driver option to select SYCL version (details)
  756. [DA] Delinearization of fixed-size multi-dimensional arrays (details)
  757. [Debuginfo][NFC] Unify error reporting routines inside DebugInfoDWARF. (details)
  758. Revert "[ARM] Add CPSR as an implicit use of t2IT" (details)
  759. [CostModel][X86] Improve extract/insert element costs (PR43605) (details)
  760. [InstCombine] Add PR14365 test cases + vector equivalents. (details)
  761. [WebAssembly] Add an `isWasm` target triple predicate. (details)
  762. [WebAssembly] Teach lld how to demangle "__main_argc_argv". (details)
  763. [WebAssembly] Mangle the argc/argv `main` as `__wasm_argc_argv`. (details)
  764. [Transforms][Debugify] Ignore PHI nodes when checking for DebugLocs (details)
  765. Revert "[SYCL] Driver option to select SYCL version" (details)
  766. Remove BinaryOperator::CreateFNeg (details)
  767. Add an attribute registry so plugins can add attributes (details)
  768. [InstCombine] DCE instructions earlier (details)
  769. [mlir] Hotfix - Rename MLIRRuntimeUtils to mlir_runtime_utils (details)
  770. [AMDGPU] improve fragile test for divergent branches (details)
  771. Forward declare special case lists (details)
  772. Forward declare FileEntry and DirectoryEntry in Module.h (details)
  773. [libc++] Mark more try_lock tests as possibly flaky. (details)
  774. [XCOFF] Don't emit non-external labels in the symbol table and handle MCSA_LGlobal (details)
  775. [clang-tidy] Store all ranges in clang::tooling::Diagnostic (details)
  776. [MLIR] add show-dialects option for mlir-opt (details)
  777. [MLIR][Loops] Expose transformations on loop.parallel in header (NFC). (details)
  778. [mlir] NFC - Split out RunnerUtils that don't require a C++ runtime (details)
  779. [LLDB] Fix AddressSanitizer failure in MemoryCache (details)
  780. [AArch64] regenerate complete test checks; NFC (details)
  781. [AArch64] add splat shuffle combine test; NFC (details)
  782. [x86] use instruction-level fast-math-flags to drive MachineCombiner (details)
  783. [libc++] Rework docker files for buildbots. (details)
  784. [ADT] Add CoalescingBitVector, implemented using IntervalMap [1/3] (details)
  785. [LiveDebugValues] Encode a location in VarLoc IDs, NFC [2/3] (details)
  786. [LiveDebugValues] Encode register location within VarLoc IDs [3/3] (details)
  787. [gn build] Port b0142cd9867 (details)
  788. [AMDGPU] Enable runtime unroll for LDS (details)
  789. unittest: Disable checks to work around compiler errors (details)
  790. [lldb/CMake] Use PYTHON_HOME as a hint to find Python 3. (details)
  791. [libc++] Update lld version on buildbots to be LLVM-11. (details)
  792. Avoid SourceManager.h include in RawCommentList.h, add missing incs (details)
  793. Update Sanitizer tests for Android R. (details)
  794. unittest: Convert EXPECT_EQ iterator checks to use EXPECT_TRUE instead (details)
  795. [libc++] Update compiler images and more docker cleanup. (details)
  796. Add some missing header dependencies (details)
  797. [llvm-exegesis] Remove unnecessary deletion of an assignment operator of WrappingIterator that angers some versions of MSVC (details)
  798. Avoid ASTContext.h -> TargetInfo.h dep (details)
  799. Fix DSE miscompile when store is clobbered across loop iterations (details)
  800. Need /bigobj to build SourceCodeTest.cpp with MSVC. (details)
  801. [DFSan] Remove unused IRBuilder. NFC (details)
  802. Change test to use -S so it works when an external assembler is used that is not present in the testing environment. (details)
  803. [DFSan] Add flag to insert event callbacks. (details)
  804. [Support] Remove byte swapping from MathExtras.h (details)
  805. Add missing cstdint include not found on Windows (details)
  806. [IndVars] Fix sort comparator. (details)
  807. [mlir] Clarify/Fix parts of MLIR toy tutorial chapter 2 (details)
  808. [mlir] Fix comma+typo in MLIR toy tutorial chapter 3. (details)
  809. [mlir] Fix/clarify parts of MLIR toy tutorial chaper 4. (details)
  810. Fix/Clarify parts of MLIR toy tutorial chapter 5 (details)
  811. [mlir] Fix/Clarify parts of MLIR toy tutorial chapter 6+7 (details)
  812. [mlir][Tutorial] Fix comment position in SimplifyRedundantTranspose. (details)
  813. Revert "[SimpleLoopUnswitch] Fix introduction of UB when hoisted condition may be undef or poison" (details)
  814. [Coroutines] CoroElide enhancement (details)
  815. [X86] Add FMA commuting test case for D75016 (details)
  816. build: process the libxml2 library path for embedding (details)
  817. [DataExtractor] Improve error message when we run off the end of the buffer (details)
  818. [DebugInfo] Avoid crashing when parsing an invalid unit header in DWP. (details)
  819. [DebugInfo] Fix parsing DWARF64 units in DWP. (details)
  820. [clangd] Use tokenize instead of raw lexer in SourceCode/lex (details)
  821. [clangd] Get rid of lexer usage in ObjCLocalizeStringLiteral tweak (details)
  822. [ASTImporter] Improved import of AlignedAttr. (details)
  823. llvm-ar: Fix MinGW compilation (details)
  824. No longer generate calls to *_finite (details)
  825. SROA: Don't drop atomic load/store alignments (PR45010) (details)
  826. [lldb] Use llvm MC as the source of dwarf/eh register numbers for X86 ABIs (details)
  827. [debuginfo-tests][dexter] Add a test tool --calculate-average option (details)
  828. [DWARFLinker][NFC] Remove usages of "const object::ObjectFile" from DWARFLinker. (details)
  829. [mlir] Fix the build by using correct symbol name (details)
  830. [NFC] [Test commit] Testing commit access with new email (details)
  831. [ARM][Thumb2] Support .w assembler qualifier for pld/pldw/pli (details)
  832. [ARM][Thumb2] support .w assembler qualifier for dmb/dsb/isb (details)
  833. [clang-format] Recognize C# nullable types (details)
  834. [RDA] Track implicit-defs (details)
  835. [AMDGPU] Precommit some scheduler related test updates (details)
  836. [NFC][ARM] Add tests (details)
  837. [MC][ELF][ARM] Add relocations for some pc-relative fixups (details)
  838. [LLD][ELF][ARM] Implement Thumb pc-relative relocations for adr and ldr (details)
  839. Let EarlyCSE fold equivalent freeze instructions (details)
  840. [DebugInfo] Re-implement LexicalScopes dominance method, add unit tests (details)
  841. [ELF][LLD][ARM] Add missing REQUIRES: arm to tests (details)
  842. [gn build] Port 6af859dcca2 (details)
  843. [RISCV] Compress instructions based on function features (details)
  844. [clang-format] Improve C# handling of spaces in square brackets (details)
  845. [clang-tidy] Added virtual isLanguageVersionSupported to ClangTidyCheck (details)
  846. Fix buildbots after c074f5234d29439116f0e0be6033ea9331e85394. (details)
  847. [AMDGPU] Update a comment missed in 74e2974ac6a (details)
  848. [AMDGPU] Mark the scheduling model as complete (details)
  849. [Utils] Make some scripts directly executable (details)
  850. [cmake][msvc] Don't disable C4345 any more. (details)
  851. Skip TemplateSpecializedType in modernize-pass-by-value. (details)
  852. [ARM] Additional MVE VMLA tests. NFC (details)
  853. [ARM] MVE VMLAS (details)
  854. Reland 7691790dfd1011d08f5468f63952d7690755aad4 with a MSAN fix (details)
  855. [Transform][MemCpyOpt] Add missing DebugLoc to %tmpbitcast (details)
  856. [TargetLowering] SimplifyDemandedBits - fix SCALAR_TO_VECTOR knownbits bug (details)
  857. Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. NFCI. (details)
  858. [Inliner] Inlining should honor nobuiltin attributes (details)
  859. [mlir] Add reifyReturnShape to shaped type OpInterface (details)
  860. [F16C] Add strict-fp constrained tests (details)
  861. [AVX512] Add strict-fp cvtph2ps constrained tests (details)
  862. [mlir] [VectorOps] Add vector.broadcast to EDSC (details)
  863. Revert "[NFC][ARM] Update test" (details)
  864. [SLP][NFC] Delete some unreachable code. (details)
  865. [CallPromotionUtils] Add missing promotion legality check to tryPromoteCall. (details)
  866. Devirtualize a call on alloca without waiting for post inline cleanup and next DevirtSCCRepeatedPass iteration. (details)
  867. [lld][WebAssembly] Handle mixed strong and weak undefined symbols (details)
  868. [X86] Recognize CVTPH2PS from STRICT_FP_EXTEND (details)
  869. [SLP]Update test checks, NFC. (details)
  870. [SLP][NFC] Assert that tree entry operands completed when scheduler looks for dependencies. (details)
  871. [libc++] update GCC cherry-pick to build 4.8.5 (details)
  872. [VectorCombine] Fix assert on compare extract index (details)
  873. [DAGCombine] Fix alias analysis for unaligned accesses (details)
  874. [AST Matchers] Fix bug in 'optionally' matcher wherein all previous bindings are cleared when all inner matchers fail. (details)
  875. Add a pass that specializes parallel loops for easier unrolling and vectorization (details)
  876. [mlir] Fix typo (details)
  877. [MLIR] Refactor handling of dialect libraries (details)
  878. [MLIR] Refactor library handling for conversions. (details)
  879. [MLIR] Refactor library initialization of JitRunner. (details)
  880. [MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries. (details)
  881. [MLIR] Remove redundant library dependencies (details)
  882. [MLIR] Move from add_dependencies() to DEPENDS (details)
  883. [MLIR] Add support for libMLIR.so (details)
  884. [MLIR] Fixes for BUILD_SHARED_LIBS=on (details)
  885. [OpenMP5.0] Allow pointer arithmetic in motion/map clause, by Chi Chun (details)
  886. Revert "[MLIR] Fixes for BUILD_SHARED_LIBS=on" (details)
  887. Revert "[MLIR] Add support for libMLIR.so" (details)
  888. Revert "[MLIR] Move from add_dependencies() to DEPENDS" (details)
  889. [Hexagon] Map dcfetch intrinsic to Y2_dcfetchbo, not Y2_dcfetch (details)
  890. [MLIR] Add LLVMConversionTarget as a customization point. NFC. (details)
  891. [MLIR] Add llvm.mlir.cast op for semantic preserving cast between dialect types. (details)
  892. [MLIR] Add vector support for fpexp and fptrunc. (details)
  893. [LTO][Legacy] Add new API to query Mach-O CPU (sub)type (details)
  894. [LLD] Report errors occurred while parsing debug info as warnings. (details)
  895. [AMDGPU] Remove dubious logic in bidirectional list scheduler (details)
  896. Revert "[MLIR] Remove redundant library dependencies" (details)
  897. Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." (details)
  898. [NFC] Fix minor python issues. (details)
  899. [ADT] Allow K to be incomplete during DenseMap<K*, V> instantiation (details)
  900. [DFSan] Add __dfsan_load_callback. (details)
  901. [entry values] ARM: Add a describeLoadedValue override (PR45025) (details)
  902. [ubsan] Add support for -fsanitize=nullability-* suppressions (details)
  903. [llvm][Support][modulemap] Exclude WindowsSupport.h from the LLVM_Util module (details)
  904. [X86] Cleanup a comment around bitcasting X86ISD::VBROADCAST_LOAD and add an assert to make sure memory VT size doesn't change. (details)
  905. [X86] Remove stale FIXME form test. NFC. (details)
  906. [X86] Canonicalize (bitcast (vbroadcast_load)) so that the cast and vbroadcast_load are both integer or fp. (details)
  907. [AMDGPU] Fix scheduling model for V_MULLIT_F32 (details)
  908. [modules] Allow frameworks to have only a private module without a public one. (details)
  909. [DFSan] Add __dfsan_mem_transfer_callback. (details)
  910. [Sema] Fix an assert when objc_externally_retained was applied to an unprototyped function (details)
  911. [DFSan] Add __dfsan_cmp_callback. (details)
  912. [LTO][Legacy] Add explicit dependency on BinaryFormat (details)
  913. [compiler-rt/test] Use FileCheck -allow-empty instead of count 0 (details)
  914. [X86] Remove isel patterns from broadcast of loadi32. (details)
  915. Fix GSYM tests to run the yaml files and fix test failures on some machines. (details)
  916. Try to fix WindowsManifest CMake logic on Windows (details)
  917. [Coverage] Revise format to reduce binary size (details)
  918. [compiler-rt/test] Relax a test so we can debug it on sanitizer-x86_64-linux-android (details)
  919. Revert "[Coverage] Revise format to reduce binary size" (details)
  920. Reland: [Coverage] Revise format to reduce binary size (details)
  921. Add cast to appease clang-armv7-linux-build-cache (D69471 followup) (details)
  922. Disable instrprof-merging.cpp on powerpc64 (D69471 follow up) (details)
  923. [cmake] Fix LLVM_USE_SPLIT_DWARF (details)
  924. Revert "Fix GSYM tests to run the yaml files and fix test failures on some machines." (details)
  925. [ELF] Delete two unneeded `referenced = true` after D65584 (details)
  926. [ELF][PPC32] Fix canonical PLTs when the order does not match the PLT order (details)
  927. [X86] Disable the NOP padding for branches when bundle is enabled (details)
  928. [X86] Move the function getOrCreateBoundaryAlignFragment (details)
  929. [libc] Add ability to generate enum types/values to HdrGen. (details)
  930. ArrayRef'ize restoreCalleeSavedRegisters. NFCI. (details)
  931. [llvm-readobj] - Report warnings instead of errors for broken relocations. (details)
  932. [ExecutionEngine] Add JITSymbolFlags::fromSummary(GlobalValueSummary*) (details)
  933. [PassManager] add tests for vector pass enabling; NFC (details)
  934. Remove unused parameter from CXXRecordDecl::forallBases [NFC] (details)
  935. [MC] Add MCStreamer::emitInt{8,16,32,64} (details)
  936. Ensure that multi-threading is disabled when enabling IRPrinting with module scope (details)
  937. [MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries. (details)
  938. [MLIR] Remove redundant library dependencies (details)
  939. [MLIR] Move from add_dependencies() to DEPENDS (details)
  940. [MLIR] Add support for libMLIR.so (details)
  941. [MLIR] Fixes for BUILD_SHARED_LIBS=on (details)
  942. [X86][F16C] Remove cvtph2ps intrinsics and use generic half2float conversion (PR37554) (details)
  943. [CMake] Use PUBLIC link mode for static libraries (details)
  944. [CMake] Link against ZLIB::ZLIB (details)
  945. Revert "[MLIR] Fixes for BUILD_SHARED_LIBS=on" (details)
  946. Revert "[MLIR] Add support for libMLIR.so" (details)
  947. Make argument const to silence cppcheck warning. NFCI. (details)
  948. [MachineInst] Remove dead code. NFCI. (details)
  949. Fix Wdocumentation warning - use tparam for template parameters. NFC. (details)
  950. Revert "[MLIR] Move from add_dependencies() to DEPENDS" (details)
  951. Revert "[MLIR] Remove redundant library dependencies" (details)
  952. Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." (details)
  953. Avoid including FileSystem.h from MemoryBuffer.h (details)
  954. [X86] Tighten up the SDTypeProfile for X86ISD::CVTNE2PS2BF16. NFCI (details)
  955. [GVN] Fold equivalent freeze instructions (details)
  956. [ValueTracking] A value is never undef or poison if it must raise UB (details)
  957. [ValueTracking] Let getGuaranteedNonFullPoisonOp consider assume, remove mentioning about br (details)
  958. Fix MLIR build by adding missing header after cleanup in af450eab (details)
  959. [PowerPC] Move .got2/.toc logic from PPCLinuxAsmPrinter::doFinalization() to emitEndOfAsmFile() (details)
  960. [X86] Don't add DELETED_NODES to DAG combine worklist after calling SimplifyDemandedBits/SimplifyDemandedVectorElts. (details)
  961. [Coroutines][new pass manager] Move CoroElide pass to right position (details)
  962. Revert "[Coroutines][new pass manager] Move CoroElide pass to right position" (details)
  963. [Coroutines][New pass manager] Move CoroElide pass to right position (details)
  964. [DAGCombiner] recognize shuffle (shuffle X, Mask0), Mask --> splat X (details)
  965. [WinEH] Fix inttoptr+phi optimization in presence of catchswitch (details)
  966. Attempt to fix ZLIB CMake logic on Windows (details)
  967. [ADT][NFC] SCCIterator: Change hasLoop() to hasCycle() (details)
  968. Fix [ADT][NFC] SCCIterator: Change hasLoop() to hasCycle() (details)
  969. [JITLink] Update DEBUG_TYPE string for llvm-jitlink. (details)
  970. [DAGCombiner] Don't emit select_cc from visitSINT_TO_FP/visitUINT_TO_FP. Use plain select instead. (details)
  971. [X86][TwoAddressInstructionPass] Teach tryInstructionCommute to continue checking for commutable FMA operands in more cases. (details)
  972. [X86] Not track size of the boudaryalign fragment during the layout (details)
  973. [DAGCombiner][X86] Disable narrowExtractedVectorLoad if the element type size isn't byte sized (details)
  974. [Sparc] Fix incorrect operand for matching CMPri pattern (details)
  975. [ELF][PPC32] Don't report "relocation refers to a discarded section" for .got2 (details)
  976. [InlineSpiller] Relax re-materialization restriction for statepoint (details)
  977. [PowerPC][test] Improve .got2 and .toc tests (details)
  978. [DebugInfo][clang][DWARF5]: Added support for debuginfo generation for defaulted parameters (details)
  979. Revert "[DebugInfo][clang][DWARF5]: Added support for debuginfo generation for defaulted parameters" (details)
  980. [libc] Add sigprocmask (details)
  981. [clangd] Remove the deprecated clangdServer::rename API, NFC. (details)
  982. Syndicate, test and fix base64 implementation (details)
  983. [gn build] Port 5a1958f2673 (details)
  984. [MLIR] Added llvm.freeze (details)
  985. [NFC][PowerPC] Move some alias definition from PPCInstrInfo.td to PPCInstr64Bit.td (details)
  986. [ARM][MVE] Restrict allowed types of gather/scatter offsets (details)
  987. [git-clang-format] Fix typo in help message (details)
  988. Fix Base64Test - for StringRef size (details)
  989. [DWARFDebugLine] Use new DWARFDataExtractor::getInitialLength (details)
  990. [DWARF] Use getInitialLength in range list parsing (details)
  991. [DWARF] Use DWARFDataExtractor::getInitialLength to parse debug_names (details)
  992. [lld] Fix test failure from d978656fd06 (details)
  993. [ARM,MVE] Add ACLE intrinsics for VQMOV[U]N family. (details)
  994. [ARM,MVE] Correct MC operands in VCVT.F32.F16. (NFC) (details)
  995. [ARM,MVE] Add ACLE intrinsics for VCVT.F32.F16 family. (details)
  996. [ARM,MVE] Add ACLE intrinsics for VCVT[ANPM] family. (details)
  997. [AArch64][SVE] Add intrinsics for non-temporal gather-loads/scatter-stores (details)
  998. [mlir] mlir-opt: print a newline after the top-level module (details)
  999. Fix operator precedence warning. NFCI. (details)
  1000. Reland "[DebugInfo][clang][DWARF5]: Added support for debuginfo generation for defaulted parameters (details)
  1001. [analyzer][StreamChecker] Using function description objects - NFC. (details)
  1002. [clang-tidy] Copy the Ranges field from the Diagnostic when creating the ClangTidyError (details)
  1003. [CostModel][X86] Add vXi1 extract/insert cost tests (details)
  1004. Fix shadow variable warning. NFC. (details)
  1005. Fix shadow variable warning. NFC. (details)
  1006. [ARM] Add Cortex-M55 Support for clang and llvm (details)
  1007. [clangd] Get rid of unnecessary source transformations in locateMacroAt (details)
  1008. [clangd] Get rid of lexer usage in locateMacroAt (details)
  1009. [MLIR] Add includes to PointerLikeTypeTraits where needed. (details)
  1010. [clang-format] Handle NullCoalescing and NullConditional operators in C# (details)
  1011. [CodeGen] avoid running the entire optimizer pipeline in clang test file; NFC (details)
  1012. [clangd] No need to query ctor refs in cross-file rename. (details)
  1013. [mlir] NFC - Move Vector structure from RunnerUtils.h to CRunnerUtils.h (details)
  1014. [CodeGen] avoid running the entire optimizer pipeline in clang test file; NFC (details)
  1015. [MLIR][GPU] fix loop trip count computation in LoopsToGPU (details)
  1016. [OpenMP] Allow const parameters in declare simd linear clause (details)
  1017. Partially inline basic_string::operator=(const basic_string&) (details)
  1018. [LoopVectorizer] Change types of lists from pointers to references. NFC (details)
  1019. EHScopeStack::Cleanup has virtual functions so the destructor should be too. (details)
  1020. [CodeGenPGO] Fix shadow variable warning. NFC. (details)
  1021. [X86] Cleanup ShuffleDecode implementations. NFCI. (details)
  1022. Build fix: Turn off _GLIBCXX_DEBUG based on a compile check (details)
  1023. Add flag _LIBCPP_ABI_STRING_OPTIMIZED_EXTERNAL_INSTANTIATIONS for basic_string ABI (details)
  1024. [clang-format] Rename CSharpNullConditionalSq and add missing test (details)
Commit 53eece04bd15d9235b104e545d01184347e5f703 by Raphael Isemann
[lldb][NFC] Modernize test setup code in several lang/cpp tests

All these tests can just call lldbutil.run_to_source_breakpoint
instead of reimplementing it.
The file was modifiedlldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
The file was modifiedlldb/test/API/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/TestBreakpointInMemberFuncWNonPrimitiveParams.py
The file was modifiedlldb/test/API/lang/cpp/stl/TestSTL.py
The file was modifiedlldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py
The file was modifiedlldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py
The file was modifiedlldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py
The file was modifiedlldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
The file was modifiedlldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py
The file was modifiedlldb/test/API/lang/cpp/auto/TestCPPAuto.py
The file was modifiedlldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py
The file was modifiedlldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py
The file was modifiedlldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py
The file was modifiedlldb/test/API/lang/cpp/char8_t/main.cpp
The file was modifiedlldb/test/API/lang/cpp/bool/TestCPPBool.py
The file was modifiedlldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py
The file was modifiedlldb/test/API/lang/cpp/wchar_t/main.cpp
Commit 39cecabece8c705187b50612ae5db8748f07b5be by pierre.vanhoutryve
[AArch64][ASMParser] Refuse equal source/destination for LDRAA/LDRAB

Differential Revision: https://reviews.llvm.org/D74822
The file was modifiedllvm/test/MC/AArch64/armv8.3a-signed-pointer.s
The file was modifiedllvm/test/MC/AArch64/armv8.3a-diagnostics.s
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Commit ff4639f06016bb21ccd00bfd0f6c7cd8d12292e6 by Matthew.Arsenault
AMDGPU/GlobalISel: Select MUBUF path for global atomic cmpxchg

I'm not sure why this isn't a pattern, but the DAG manually selects
this.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-global.mir
Commit e01a3d49c224d6f8a7afc01205b05b9deaa07afa by flo
[PatternMatch] Match XOR variant of unsigned-add overflow check.

Instcombine folds (a + b <u a) to (a ^ -1 <u b) and that does not match
the expected pattern in CodeGenPerpare via UAddWithOverflow.

This causes a regression over Clang 7 on both X86 and AArch64:
https://gcc.godbolt.org/z/juhXYV

This patch extends UAddWithOverflow to also catch the XOR case, if the
XOR is only used in the ICMP. This covers just a single case, but I'd
like to make sure I am not missing anything before tackling the other
cases.

Reviewers: nikic, RKSimon, lebedev.ri, spatel

Reviewed By: nikic, lebedev.ri

Differential Revision: https://reviews.llvm.org/D74228
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/CodeGenPrepare/AArch64/overflow-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
Commit a6a585b8030b6e8d4c50c71f54a6addb21995fe0 by flo
[CGP] Adjust CodeGen tests after e01a3d49c22
The file was modifiedllvm/test/CodeGen/AArch64/sat-add.ll
The file was modifiedllvm/test/CodeGen/X86/sat-add.ll
Commit bc23e83e45ebefa523c660aa500c6161d9be57ee by kparzysz
Add <128 x i1> as an intrinsic type
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/utils/TableGen/IntrinsicEmitter.cpp
The file was modifiedllvm/lib/IR/Function.cpp
Commit 440ca29ea266a816c4a00216aff356ece0d14cc9 by stefanp
[Hexagon][NFC] Rename VK_Hexagon_PCREL to VK_PCREL

On PowerPC we will soon need to use pcrel to indicate PC Relative addressing.
Renamed the Hexagon specific variant kind to a non target specific VK so that
it can be used on both Hexagon and PowerPC.

Differential Revision: https://reviews.llvm.org/D74788
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
The file was modifiedllvm/lib/MC/MCExpr.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
The file was modifiedllvm/include/llvm/MC/MCExpr.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
Commit b329d1b06eb2f7781be414002d49eca79b85b726 by jay.foad
[AMDGPU][ConstantFolding] Fold llvm.amdgcn.fmul.legacy intrinsic

Reviewers: arsenm, rampitec, nhaehnle

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74835
The file was addedllvm/test/Analysis/ConstantFolding/AMDGPU/lit.local.cfg
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was addedllvm/test/Analysis/ConstantFolding/AMDGPU/fmul_legacy.ll
Commit bde0e320bcf0902aa334fe67d7cc8f63e8d3c38f by thakis
[gn build] revert e8e078c8bf7987

Now that I've updated ancient goma clients on the bots, this should
work. (Internal goma bug: b/139410332, fixed months ago.)
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit 393173499099649eb95816132889295c3b463faf by mcinally
[AArch64][SVE] Add initial backend support for FP splat_vector

Differential Revision: https://reviews.llvm.org/D74632
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
Commit 461fd94f004c78374fc7b0338d018f9610f2e5f5 by mikhail.maltsev
[ARM,MVE] Fix predicate types of some intrinsics

Summary:
Some predicated MVE intrinsics return a vector with element size
different from the input vector element size. In this case the
predicate must type correspond to the output vector type.

The following intrinsics use the incorrect predicate type:
* llvm.arm.mve.mull.int.predicated
* llvm.arm.mve.mull.poly.predicated
* llvm.arm.mve.vshll.imm.predicated

This patch fixes the issue.

Reviewers: simon_tatham, dmgreen, ostannard, MarkMurrayARM

Reviewed By: MarkMurrayARM

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

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74838
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmullbq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmulltq.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmullbq.ll
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vector-shift-imm.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmulltq.c
Commit d97d409277278704b68382884b43fcc91f2b9962 by zinenko
[mlir] NFC: use ValueRange for BlockArgument in ConvertStandardToLLVM

When the conversion was implemented, ValueRange did not support
BlockArguments the code materialized a vector. This is no longer
necessary.
The file was modifiedmlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
Commit 9b91bcf6c6187afb488ef6e12b8ef245b6635fd2 by dvyukov
tsan: removing redundant loop in ThreadClock::release()

The removed loop clears reused for entries at the tail of a SyncClock.
The loop is redundant since those entries were already cleared by the
immediately preceding loop, which iterates over all entries in the
SyncClock (including the tail entries).
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_clock.cpp
Commit bb61021a8fcc21676af65e4cbbf4d495831fad52 by Raphael Isemann
[lldb][NFC] Remove giant do{...}while(false); in ClangASTSource::FindExternalVisibleDecls
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit 896ee361a641bf9529bb9103a3a018b1c28dc21d by antiagainst
[mlir][spirv] Add mlir-vulkan-runner

Add an initial version of mlir-vulkan-runner execution driver.
A command line utility that executes a MLIR file on the Vulkan by
translating MLIR GPU module to SPIR-V and host part to LLVM IR before
JIT-compiling and executing the latter.

Differential Revision: https://reviews.llvm.org/D72696
The file was modifiedmlir/test/CMakeLists.txt
The file was modifiedmlir/test/lit.site.cfg.py.in
The file was addedmlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp
The file was addedmlir/test/mlir-vulkan-runner/addf.mlir
The file was modifiedmlir/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/tools/CMakeLists.txt
The file was addedmlir/test/mlir-vulkan-runner/lit.local.cfg
The file was modifiedmlir/test/lit.cfg.py
The file was addedmlir/tools/mlir-vulkan-runner/VulkanRuntime.h
The file was addedmlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
The file was addedmlir/tools/mlir-vulkan-runner/CMakeLists.txt
The file was addedmlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
Commit 7a554270c030ed8b7074ebd9a339a633b8f45059 by llvm-dev
[SystemZ] Regenerate risbg tests. NFCI.

Pre-commit for some upcoming SimplifyDemandedBits bitrotate handling.
The file was modifiedllvm/test/CodeGen/SystemZ/risbg-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/risbg-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/risbg-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/risbg-04.ll
Commit f12fb2d99b8dd0dbef1c79f1d401200150f2d0bd by nikita.ppv
[IRBuilder] Always respect inserter/folder

Some IRBuilder methods that were originally defined on
IRBuilderBase do not respect custom IRBuilder inserters/folders,
because those were not accessible prior to D73835. Fix this by
making use of existing (and now accessible) IRBuilder methods,
which will handle inserters/folders correctly.

There are some changes in OpenMP tests, where bitcasts now get
constant folded. I've also highlighted one InstCombine test which
now finishes in two rather than three iterations, thanks to new
instructions being inserted into the worklist.

Differential Revision: https://reviews.llvm.org/D74787
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/test/Transforms/InstCombine/saturating-add-sub.ll
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
Commit f50fe5eb6d2ec0adb5b2fd91a4023fc1573e061f by davg
[Sema][CodeComplete] Handle symlinks for include code completion

Summary:
Previously any symlinks would be ignored since the directory
traversal doesn't follow them.

With this change we now follow symlinks (via a `stat` call
in order to figure out the target type of the symlink if it
is valid).

Reviewers: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74790
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was addedclang/test/CodeCompletion/included-symlinks.cpp
Commit 6b5ce0de7e57cbb37c7a03e216c779ed4073ad2e by nikita.ppv
[InstCombine] Fix removal from deferred instructions

Make sure we don't skip the Deferred.remove() call if the
instruction is not in the worklist. Both of those are separate.

We don't have any cases where deferred instructions get removed
right now, but may cause problems in the future.
The file was modifiedllvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
Commit 476ca094c846a0b6d4d9f37710aba21a6b0b265a by antiagainst
[mlir][ods] Adding attribute setters generation

In some dialects, attributes may have default values that may be
determined only after shape inference. For example, attributes that
are dependent on the rank of the input cannot be assigned a default
value until the rank of the tensor is inferred.

While we can set attributes without explicit setters, referring to
the attributes via accessors instead of having to use the string
interface is better for compile time verification.

The proposed patch add one method per operation attribute that let us
set its value. The code is a very small modification of the existing
getter methods.

Differential Revision: https://reviews.llvm.org/D74143
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
Commit b92b1701cd30d356fa3ac4da3d0dba20fa614e0b by nikita.ppv
Revert "[IRBuilder] Always respect inserter/folder"

This reverts commit f12fb2d99b8dd0dbef1c79f1d401200150f2d0bd.

I missed some changes in instrumentation test cases.
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/test/Transforms/InstCombine/saturating-add-sub.ll
Commit 3f7d0e7e319486fa9ca29896eb35bb2bd60733d2 by rupprecht
[NFC][compiler-rt][test] Fully qualify string -> std::string
The file was modifiedcompiler-rt/lib/asan/tests/asan_test_utils.h
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.cpp
The file was modifiedcompiler-rt/lib/asan/tests/asan_str_test.cpp
Commit a829443cc7359ecf0f2de8f82519f511795675ec by eric
[libc++] Fix ABI break in __bit_reference.

The libc++ __bit_iterator type has weird ABI calling conventions as a
quirk
of the implementation. The const bit iterator is trivial, but the
non-const
bit iterator is not because it declares a user-defined copy constructor.

Changing this now is an ABI break, so this test ensures that each type
is trivial/non-trivial as expected.

The definition of 'non-trivial for the purposes of calls':
  A type is considered non-trivial for the purposes of calls if:
      * it has a non-trivial copy constructor, move constructor, or
            destructor, or
        * all of its copy and move constructors are deleted.
The file was modifiedlibcxx/include/__bit_reference
The file was addedlibcxx/test/libcxx/containers/sequences/vector.bool/trivial_for_purposes_of_call.pass.cpp
Commit ada205e91eb0ed85d225fb2ce5b0f881a1909230 by Stanislav.Mekhanoshin
[AMDGPU] Fix assumption about LaneBitmask content

Yet another assumption about an actual LaneBitmask content
is fixed.

Differential Revision: https://reviews.llvm.org/D74805
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegPressure.cpp
Commit a54d81f597963b8768ce2b94a8ef570f9eaaac25 by zurab.tsinadze
[analyzer] CERT: POS34-C

Summary:
This patch introduces a new checker:
`alpha.security.cert.pos.34c`

This checker is implemented based on the following rule:
https://wiki.sei.cmu.edu/confluence/x/6NYxBQ
The check warns if  `putenv` function is
called with automatic storage variable as an argument.

Differential Revision: https://reviews.llvm.org/D71433
The file was modifiedclang/docs/analyzer/checkers.rst
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
The file was modifiedclang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
The file was addedclang/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp
The file was addedclang/test/Analysis/cert/pos34-c.cpp
The file was addedclang/test/Analysis/cert/pos34-c-fp-suppression.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
Commit f559cecc3e040bcd9f9f42fa92f262a6b4cc877b by craig.topper
[X86] Add DCI.isBeforeLegalize() check to the v64i1 constant splitting code in combineStore.

We only need to split after type legalization. If we're before
we can just use a wide store and type legalization will split it.

Add a v128i1 test to exercise it post type legalization.
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f14f9bd22ea024049ce4be65f4132306bfd5c12b by thakis
[gn build] Set up include_dirs for a54d81f597 (first checker in a subdir)
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Commit e84aa5922b1cc8e40f60a560c3803122d820c53d by silvasean
Fix Block::eraseArgument when block arg is also a successor operand.

Summary:
This could trigger an assertion due to the block argument being used by
this block's own successor operands.

Reviewers: rriddle!

Subscribers: mehdi_amini, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74583
The file was modifiedmlir/lib/IR/Block.cpp
Commit 069b85fed110988a178a40abbed0dae49dc2d29b by llvmgnsyncbot
[gn build] Port a54d81f5979
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Commit 187204cd746f537405d11ee27d60d8ab59c9192d by thakis
[gn build] use \bfoo\b instead of \<foo\> in sync script

\<foo\> is more correct, but since we use shell=True on Windows,
the < and > get interpreted as redirection operators.

Rather than adding cmd escaping, just use \bfoo\b, which is Good
Enough Often Enough.
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit 0eddeeab29a1cce8f9169b270c9fdd484534d91b by paulsson
[ValueTracking]  Improve isKnownNonNaN() to recognize zero splats.

isKnownNonNaN() could not recognize a zero splat because that is a
ConstantAggregateZero which is-a ConstantData but not a ConstantDataVector.

Patch makes a ConstantAggregateZero return true.

Review: Thomas Lively

Differential Revision: https://reviews.llvm.org/D74263
The file was addedllvm/test/CodeGen/SystemZ/vec-max-min-zerosplat.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 170ae68fef05941120bff138d1f2b93cd0564454 by tyker
[AssumeBundle] Add documentation for the operand bundles of an llvm.assume

Summary:
Operand bundles on an llvm.assume allows representing
assumptions that an attribute holds for a certain value at a certain position.
Operand bundles enable assumptions that are either hard or impossible to
represent as a boolean argument of an llvm.assume.

Reviewers: jdoerfert, fhahn, nlopes, reames, regehr, efriedma

Reviewed By: jdoerfert

Subscribers: lebedev.ri, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74209
The file was modifiedllvm/docs/LangRef.rst
Commit df590f51b62d57c19f8cae8e87c1641dc0382f55 by Jonas Devlieghere
[lldb/Core] Remove locking in the PluginManager

Remove locking as all the plugin registration takes place from a single
thread. Addresses Pavel's feedback in D74816.
The file was modifiedlldb/source/Core/PluginManager.cpp
Commit 6b6c96695c0054ebad6816171ef89d5cb76a058b by riddleriver
[mlir][ODS] Add a new trait `TypesMatchWith`

Summary:
This trait takes three arguments: lhs, rhs, transformer. It verifies that the type of 'rhs' matches the type of 'lhs' when the given 'transformer' is applied to 'lhs'. This allows for adding constraints like: "the type of 'a' must match the element type of 'b'". A followup revision will add support in the declarative parser for using these equality constraints to port more c++ parsers to the declarative form.

Differential Revision: https://reviews.llvm.org/D74647
The file was modifiedmlir/include/mlir/Support/STLExtras.h
The file was modifiedmlir/lib/Dialect/StandardOps/Ops.cpp
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/Ops.td
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
Commit 4a7364f1c2ef0c45d7e603799fe0b7662d4c4078 by riddleriver
[mlir][Parser] Use APFloat instead of FloatAttr when parsing DenseElementsAttrs.

Summary: DenseElementsAttr stores float values as raw bits internally, so creating attributes just to have them unwrapped is extremely inefficient.

Differential Revision: https://reviews.llvm.org/D74818
The file was modifiedmlir/lib/Parser/Parser.cpp
Commit c7fc0e5da6c3c36eb5f3a874a6cdeaedb26856e0 by flo
Revert "[PatternMatch] Match XOR variant of unsigned-add overflow check."

This reverts commit e01a3d49c224d6f8a7afc01205b05b9deaa07afa.
and commit a6a585b8030b6e8d4c50c71f54a6addb21995fe0.

This causes a failure on GreenDragon:
http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake/9597
The file was modifiedllvm/test/CodeGen/X86/sat-add.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/CodeGenPrepare/AArch64/overflow-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sat-add.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
Commit fd0e8b4c0ca78880bed974a5a14b7cd16a89d91c by riddleriver
[mlir][NFC] Fix warning for mismatched sign comparison.
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
Commit 0a2626d0cdc2942799026c616fcac974e0a1e204 by bmahjour
[DDG] Data Dependence Graph - Graph Simplification

Summary:
This is the last functional patch affecting the representation of DDG.
Here we try to simplify the DDG to reduce the number of nodes and edges by
iteratively merging pairs of nodes that satisfy the following conditions,
until no such pair can be identified. A pair of nodes consisting of a and b
can be merged if:

    1. the only edge from a is a def-use edge to b and
    2. the only edge to b is a def-use edge from a and
    3. there is no cyclic edge from b to a and
    4. all instructions in a and b belong to the same basic block and
    5. both a and b are simple (single or multi instruction) nodes.

These criteria allow us to fold many uninteresting def-use edges that
commonly exist in the graph while avoiding the risk of introducing
dependencies that didn't exist before.

Authored By: bmahjour

Reviewer: Meinersbur, fhahn, myhsu, xtian, dmgreen, kbarton, jdoerfert

Reviewed By: Meinersbur

Subscribers: ychen, arphaman, simoll, a.elovikov, mgorny, hiraditya, jfb, wuzish, llvm-commits, jsji, Whitney, etiotto, ppc-slack

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72350
The file was modifiedllvm/lib/Analysis/DependenceGraphBuilder.cpp
The file was modifiedllvm/test/Analysis/DDG/basic-b.ll
The file was modifiedllvm/include/llvm/Analysis/DependenceGraphBuilder.h
The file was modifiedllvm/include/llvm/Analysis/DDG.h
The file was modifiedllvm/test/Analysis/DDG/basic-loopnest.ll
The file was modifiedllvm/lib/Analysis/DDG.cpp
The file was modifiedllvm/test/Analysis/DDG/basic-a.ll
Commit 376c68539c5a4b8baf7dc8f34ffa71daadada28f by diego.caballero
[mlir][NFC] Fix 'gatherLoops' utility

It replaces DenseMap output with a SmallVector and it
removes empty loop levels from the output.

Reviewed By: andydavis1, mehdi_amini

Differential Revision: https://reviews.llvm.org/D74658
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedmlir/test/lib/Transforms/TestAffineDataCopy.cpp
The file was modifiedmlir/include/mlir/Transforms/LoopUtils.h
Commit 84f80b1faaeb385a178f4b517d92d29ca6a6d854 by Louis Dionne
[CMake] Only detect the linker once in AddLLVM.cmake

Summary:
Otherwise, the build output contains a bunch of "Linker detection: <xxx>"
lines that are really redundant. We also make redundant calls to the
linker, although that is a smaller concern.

Reviewers: smeenai

Subscribers: mgorny, fedor.sergeev, jkorous, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68648
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 59982a6d8f9d0ba34a47798fe155121767e66411 by llvm-dev
[UpdateTestChecks] Add support for '.' in ir function names

Will let us regenerate from amdgpu float constant tests
The file was modifiedllvm/utils/UpdateTestChecks/common.py
Commit 025ff5a4eaf7dd01810e0dd0deb38a204a32a357 by llvm-dev
[AMDGPU] Regenerate immediate constant tests
The file was modifiedllvm/test/CodeGen/AMDGPU/imm16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/imm.ll
Commit 076475713c236081a3247a53e9dbab9043c3eac2 by mmoroz
[libFuzzer] Fix denominator in the "inputs have DFT" log line.

Summary:
The number of "inputs have the Data Flow Trace" cannot be greater than
the number of inputs touching the focus function. The existing message is rather
confusing as the same log would mention a greater total number of traces a few
lines above.

Reviewers: kcc, metzman

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74779
The file was modifiedcompiler-rt/test/fuzzer/dataflow.test
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
Commit 129c911efaa492790c251b3eb18e4db36b55cbc5 by isanbard
Include static prof data when collecting loop BBs

Summary:
If the programmer adds static profile data to a branch---i.e. uses
"__builtin_expect()" or similar---then we should honor it. Otherwise,
"__builtin_expect()" is ignored in crucial situations. So we trust that
the programmer knows what they're doing until proven wrong.

Subscribers: hiraditya, JDevlieghere, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74809
The file was addedllvm/test/CodeGen/X86/block-placement-2.ll
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/X86/move_latch_to_loop_top.ll
The file was modifiedllvm/test/CodeGen/X86/block-placement.ll
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was modifiedllvm/test/CodeGen/X86/ragreedy-bug.ll
The file was modifiedllvm/test/CodeGen/Hexagon/prof-early-if.ll
Commit 0ba9ee9f0e55b1f9155a5bb5739550860fa5fec2 by ajcbik
[mlir] [VectorOps] Framework for progressive lowering of vector.contract

Summary:
Lowers all free/batch dimensions in a vector.contract progressively
into simpler vector.contract operations until a direct vector.reduction
operation is reached. Then lowers 1-D reductions into vector.reduce.

Still TBD:
multi-dimensional contractions that remain after removing all the parallel dims

Reviewers: nicolasvasilache, andydavis1, rriddle

Reviewed By: andydavis1

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74797
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/VectorOps/vector-contract-transforms.mlir
Commit f6875c434ec20eb4f24495317592f64334347784 by nikita.ppv
Reapply [IRBuilder] Always respect inserter/folder

Some IRBuilder methods that were originally defined on
IRBuilderBase do not respect custom IRBuilder inserters/folders,
because those were not accessible prior to D73835. Fix this by
making use of existing (and now accessible) IRBuilder methods,
which will handle inserters/folders correctly.

There are some changes in OpenMP and Instrumentation tests, where
bitcasts now get constant folded. I've also highlighted one
InstCombine test which now finishes in two rather than three
iterations, thanks to new instructions being inserted into the
worklist.

Differential Revision: https://reviews.llvm.org/D74787
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/byval-alignment.ll
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64le.ll
The file was modifiedllvm/test/Transforms/InstCombine/saturating-add-sub.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64el.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/X86/vararg_call.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64.ll
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64.ll
Commit ba3f863dfb9c5f9bf5e6fdca2198b609df3b7761 by johannes
[OpenMP][OMPIRBuilder] Introducing the `OMPBuilderCBHelpers` helper class

This patch introduces a new helper class `OMPBuilderCBHelpers`,
which will contain all reusable C/C++ language specific function-
alities required by the `OMPIRBuilder`.

Initially, this helper class contains the body and finalization
codegen functionalities implemented using callbacks which were
moved here for reusability among the different directives
implemented in the `OMPIRBuilder`, along with RAIIs for preserving
state prior to emitting outlined and/or inlined OpenMP regions.

In the future this helper class will also contain all the different
call backs required by OpenMP clauses/variable privatization.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D74562
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit b1d47467e26142e6029e9ec7ca5c42645ffaa7bb by kparzysz
[Hexagon] Change HVX vector predicate types from v512/1024i1 to v64/128i1

This commit removes the artificial types <512 x i1> and <1024 x i1>
from HVX intrinsics, and makes v512i1 and v1024i1 no longer legal on
Hexagon.

It may cause existing bitcode files to become invalid.

* Converting between vector predicates and vector registers must be
  done explicitly via vandvrt/vandqrt instructions (their intrinsics),
  i.e. (for 64-byte mode):
    %Q = call <64 x i1> @llvm.hexagon.V6.vandvrt(<16 x i32> %V, i32 -1)
    %V = call <16 x i32> @llvm.hexagon.V6.vandqrt(<64 x i1> %Q, i32 -1)

  The conversion intrinsics are:
    declare  <64 x i1> @llvm.hexagon.V6.vandvrt(<16 x i32>, i32)
    declare <128 x i1> @llvm.hexagon.V6.vandvrt.128B(<32 x i32>, i32)
    declare <16 x i32> @llvm.hexagon.V6.vandqrt(<64 x i1>, i32)
    declare <32 x i32> @llvm.hexagon.V6.vandqrt.128B(<128 x i1>, i32)
  They are all pure.

* Vector predicate values cannot be loaded/stored directly. This directly
  reflects the architecture restriction. Loading and storing or vector
  predicates must be done indirectly via vector registers and explicit
  conversions via vandvrt/vandqrt instructions.
The file was modifiedllvm/test/CodeGen/Hexagon/inline-asm-vecpred128.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/v65-gather-double.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v60-vecpred-spill.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v60small.ll
The file was modifiedllvm/test/CodeGen/Hexagon/reg-scavengebug-2.ll
The file was modifiedclang/include/clang/Basic/BuiltinsHexagon.def
The file was modifiedllvm/test/CodeGen/Hexagon/v6vect-pred2.ll
The file was modifiedllvm/test/CodeGen/Hexagon/convert_const_i1_to_i8.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v6-vecpred-copy.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v6-inlasm4.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsHexagonDep.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedclang/include/clang/module.modulemap
The file was addedclang/include/clang/Basic/BuiltinsHexagonMapCustomDep.def
The file was modifiedllvm/test/CodeGen/Hexagon/v60_sort16.ll
The file was modifiedllvm/test/CodeGen/Hexagon/reg-scavengebug-4.ll
The file was modifiedllvm/test/CodeGen/Hexagon/late_instr.ll
The file was modifiedllvm/test/CodeGen/Hexagon/vecPred2Vec.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics-v60-misc.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-prolog-phi.ll
The file was modifiedllvm/test/CodeGen/Hexagon/vector-align.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/v65-scatter-double.ll
The file was modifiedllvm/test/CodeGen/Hexagon/peephole-move-phi.ll
The file was modifiedclang/include/clang/Basic/BuiltinsHexagonDep.def
The file was modifiedllvm/test/CodeGen/Hexagon/bug-aa4463-ifconv-vecpred.ll
The file was modifiedllvm/test/CodeGen/Hexagon/reg-scavengebug-3.ll
The file was modifiedllvm/test/CodeGen/Hexagon/vselect-pseudo.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v60-vsel1.ll
The file was modifiedllvm/test/CodeGen/Hexagon/inline-asm-qv.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v60-vsel2.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/byte-store.ll
The file was modifiedllvm/test/CodeGen/Hexagon/reg-scavenger-valid-slot.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonIntrinsicsV60.td
The file was modifiedllvm/test/CodeGen/Hexagon/v60Intrins.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v62-inlasm4.ll
The file was modifiedllvm/test/CodeGen/Hexagon/vec-pred-spill1.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics-v60-alu.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.h
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/v65-gather.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v6-spill1.ll
The file was modifiedclang/test/CodeGen/builtins-hvx128.c
The file was modifiedllvm/test/CodeGen/Hexagon/hvx-byte-store-double.ll
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsHexagon.td
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/byte-store-double.ll
The file was modifiedllvm/test/CodeGen/Hexagon/hvx-dual-output.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics-v60-vcmp.ll
The file was modifiedclang/lib/Basic/Targets/Hexagon.h
The file was modifiedllvm/test/CodeGen/Hexagon/early-if-vecpred.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v6vect-spill-kill.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/v65-scatter.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-sigma.ll
The file was modifiedllvm/test/CodeGen/Hexagon/split-vecpred.ll
The file was modifiedllvm/test/CodeGen/Hexagon/intrinsics/v65.ll
The file was modifiedllvm/test/CodeGen/Hexagon/autohvx/bitwise-pred-128b.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonIntrinsics.td
The file was modifiedllvm/test/CodeGen/Hexagon/hvx-dbl-dual-output.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
The file was modifiedclang/test/CodeGen/builtins-hexagon-v66.c
The file was modifiedclang/test/CodeGen/builtins-hvx64.c
The file was modifiedllvm/test/CodeGen/Hexagon/eliminate-pred-spill.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v6vect-dbl-spill.ll
The file was modifiedllvm/test/CodeGen/Hexagon/v6-unaligned-spill.ll
The file was modifiedclang/test/CodeGen/builtins-hexagon-v66-128B.c
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.td
The file was modifiedllvm/test/CodeGen/Hexagon/hvx-byte-store.ll
The file was modifiedllvm/test/CodeGen/Hexagon/vect-downscale.ll
Commit 2ade59ec9430b23d4d42c8197b71e441a0b32773 by spatel
[x86] add test for uint->fp with unsafe-fp-math (PR43609); NFC
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
Commit f5678d4a6a602bd966570b6f9fdd9aa0de5855b8 by Tony.Tye
[AMDGPU] Update AMDGPUUsage with DWARF proposal

Summary:
- Add AMDGPU DWARF proposal.
- Add references for gfx10 ISA and SemVer.

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, aprantl, dstuttard, tpr, jfb, dmgreen, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70523
The file was modifiedllvm/docs/AMDGPUUsage.rst
Commit e4d20ec8add39209972e55a71c327fa5b4fc4400 by llvm-project
[IndVarSimply] Fix assert/release build difference.

In builds with assertions enabled (!NDEBUG), IndVarSimplify does an
additional query to ScalarEvolution which may change future SCEV queries
since it fills the internal cache differently. The result is actually
only used with the -verify-indvars command line option. We fix the issue
by only calling SE->getBackedgeTakenCount(L) if -verify-indvars is
enabled such that only -verify-indvars shows the behavior, but not debug
builds themselves. Also add a remark to the description of
-verify-indvars about this behavior.

Fixes llvm.org/PR44815

Differential Revision: https://reviews.llvm.org/D74810
The file was addedllvm/test/Transforms/IndVarSimplify/deterministic-scev-verify.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 788e74ce29c9b2dfd6b392b03b7b829f01d637a7 by Tony.Tye
[AMDGPU] AMDGPUUsage define call convention ABI

Reviewers: scott.linder, arsenm, b-sumner

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74861
The file was modifiedllvm/docs/AMDGPUUsage.rst
Commit 6ba2d7b166c2e07dfc8328a8253276710619b1fe by Louis Dionne
[libc++] Fixes backreferences for extended grammar.

The regex backreferences were not properly parsed and used when using
the extended grammar. This change parses them. The issue was found while
working on PR34297.

Thanks to Mark de Wever for the patch!

Differential Revision: https://reviews.llvm.org/D62451
The file was modifiedlibcxx/test/std/re/re.alg/re.alg.search/extended.pass.cpp
The file was modifiedlibcxx/test/std/re/re.alg/re.alg.match/extended.pass.cpp
The file was modifiedlibcxx/include/regex
Commit c3478eff7a65d6a77b34e756eabc7176a2b422e8 by Louis Dionne
[libc++] reduce <complex> parsing time

Instead of including <ios> for ios_base::failbit, simply get failbit
member of the template argument. Print directly to a stream instead
of using intermediate ostringstream.

    Parsing time: 874ms -> 164ms (-81%)

Thanks to Nikita Kniazev for the patch!

Differential Revision: https://reviews.llvm.org/D71214
The file was modifiedlibcxx/include/complex
Commit ddd2257f48a83843aa35e7cbd337c3fe0c103598 by Dan Liew
[TSan] Fix incorrect expansion of `%deflake` lit substitution.

dadc214e4d9d09a8a7a9f15780c1201c18f93e05 introduced a change to
`%deflake` to support a configurable threshold but the patch forgot
to add a trailing space.
The file was modifiedcompiler-rt/test/tsan/lit.cfg.py
Commit 03954a12aecbe77afb9c3ad47620305ec2675858 by Stanislav.Mekhanoshin
[AMDGPU] Fix DS_WRITE_B32 patterns

It uses VGPR_32.RegTypes which includes 16 bit types. As a
result DS_WRITE_B32 may be generated for "store i16" which
is a bug. The only reason we do not hit it now is relative
patterns complexity and sorting. Should DS_WRITE_B16 pattern
complexity become higher and the bug appears.

Differential Revision: https://reviews.llvm.org/D74868
The file was modifiedllvm/lib/Target/AMDGPU/DSInstructions.td
Commit d48d339156916b4dd87a8c06c1c242fd794f08e5 by i
[lld][ELF] Add --shuffle-sections=seed to shuffle input sections

Summary:
This option causes lld to shuffle sections by assigning different
priorities in each run.

The use case for this is to introduce randomization in benchmarks. The
idea is inspired by the paper "Producing Wrong Data Without Doing
Anything Obviously Wrong!"
(https://www.inf.usi.ch/faculty/hauswirth/publications/asplos09.pdf). Unlike
the paper, we shuffle individual sections, not just input files.

Doing this in lld is particularly convenient as the --reproduce option
makes it easy to collect all the necessary bits for relinking the
program being benchmarked. Once that it is done, all that is needed is
to add --shuffle-sections=0 to the response file and relink before each
run of the benchmark.

Differential Revision: https://reviews.llvm.org/D74791
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Options.td
The file was addedlld/test/ELF/shuffle-sections.s
The file was modifiedlld/docs/ld.lld.1
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Writer.cpp
Commit 7d91633a2b9b1f563dc14c632cc0c461c3651f76 by davg
Fix broken test on Windows caused by D74790
The file was modifiedclang/test/CodeCompletion/included-symlinks.cpp
Commit 85fb997659b55101b58e3545733e581bf4ed9cf2 by Lang Hames
[ORC] Add generic initializer/deinitializer support.

Initializers and deinitializers are used to implement C++ static constructors
and destructors, runtime registration for some languages (e.g. with the
Objective-C runtime for Objective-C/C++ code) and other tasks that would
typically be performed when a shared-object/dylib is loaded or unloaded by a
statically compiled program.

MCJIT and ORC have historically provided limited support for discovering and
running initializers/deinitializers by scanning the llvm.global_ctors and
llvm.global_dtors variables and recording the functions to be run. This approach
suffers from several drawbacks: (1) It only works for IR inputs, not for object
files (including cached JIT'd objects). (2) It only works for initializers
described by llvm.global_ctors and llvm.global_dtors, however not all
initializers are described in this way (Objective-C, for example, describes
initializers via specially named metadata sections). (3) To make the
initializer/deinitializer functions described by llvm.global_ctors and
llvm.global_dtors searchable they must be promoted to extern linkage, polluting
the JIT symbol table (extra care must be taken to ensure this promotion does
not result in symbol name clashes).

This patch introduces several interdependent changes to ORCv2 to support the
construction of new initialization schemes, and includes an implementation of a
backwards-compatible llvm.global_ctor/llvm.global_dtor scanning scheme, and a
MachO specific scheme that handles Objective-C runtime registration (if the
Objective-C runtime is available) enabling execution of LLVM IR compiled from
Objective-C and Swift.

The major changes included in this patch are:

(1) The MaterializationUnit and MaterializationResponsibility classes are
extended to describe an optional "initializer" symbol for the module (see the
getInitializerSymbol method on each class). The presence or absence of this
symbol indicates whether the module contains any initializers or
deinitializers. The initializer symbol otherwise behaves like any other:
searching for it triggers materialization.

(2) A new Platform interface is introduced in llvm/ExecutionEngine/Orc/Core.h
which provides the following callback interface:

  - Error setupJITDylib(JITDylib &JD): Can be used to install standard symbols
    in JITDylibs upon creation. E.g. __dso_handle.

  - Error notifyAdding(JITDylib &JD, const MaterializationUnit &MU): Generally
    used to record initializer symbols.

  - Error notifyRemoving(JITDylib &JD, VModuleKey K): Used to notify a platform
    that a module is being removed.

  Platform implementations can use these callbacks to track outstanding
initializers and implement a platform-specific approach for executing them. For
example, the MachOPlatform installs a plugin in the JIT linker to scan for both
__mod_inits sections (for C++ static constructors) and ObjC metadata sections.
If discovered, these are processed in the usual platform order: Objective-C
registration is carried out first, then static initializers are executed,
ensuring that calls to Objective-C from static initializers will be safe.

This patch updates LLJIT to use the new scheme for initialization. Two
LLJIT::PlatformSupport classes are implemented: A GenericIR platform and a MachO
platform. The GenericIR platform implements a modified version of the previous
llvm.global-ctor scraping scheme to provide support for Windows and
Linux. LLJIT's MachO platform uses the MachOPlatform class to provide MachO
specific initialization as described above.

Reviewers: sgraenitz, dblaikie

Subscribers: mgorny, hiraditya, mgrang, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74300
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Layer.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Layer.cpp
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/Mangling.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileUtils.cpp
The file was addedllvm/lib/ExecutionEngine/Orc/Mangling.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
The file was addedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was addedllvm/test/ExecutionEngine/OrcLazy/objc-minimal.ll
Commit 7ff1f55a1219719f57a6f7905c26ce41d1767e4c by martin
libclang: Add static build support for Windows

Differential Revision: https://reviews.llvm.org/D74564
The file was modifiedclang/tools/libclang/CMakeLists.txt
The file was modifiedclang/include/clang-c/Platform.h
Commit c4b8c3ddc1ab15c914051faea6575cac2581aedb by mvels
Add benchmarks for basic_string::erase

Reviewers: EricWF

Subscribers: christof, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D73740
The file was modifiedlibcxx/benchmarks/string.bench.cpp
Commit 4960eb4a1bdd6f469d5ad6d5049609cf97a982f3 by davg
Another fix for 7d91633a2b9b1f563dc14c632cc0c461c3651f76

Forgot to update lines for RUNs
The file was modifiedclang/test/CodeCompletion/included-symlinks.cpp
Commit 9df65ca19e5a4f5e49d036b190d814ca8a1784a0 by Lang Hames
[ORC] Qualify nullptr_t.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
Commit 63d0932c358012bcfc1a87f78a5f05bafc2dc86d by Lang Hames
[ORC] Fix a missing move.
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit 0b6ead018a6838dcb430001af295b1f044a8baf2 by arsenm2
AMDGPU/GlobalISel: Cleanup min/max RegBankSelect tests

Use common check prefix, although update_mir_test_checks makes this
unnecessarily annoying. Also make sure to have uses in case that ever
ends up mattering.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umin.mir
Commit cbc3b3046f6b1e2a721534439f62b7a275597a6e by arsenm2
AMDGPU/GlobalISel: Remove outdated comment
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit ed07c89fc50f38c4f1403b19897468edd7e5cbf3 by Yaxun.Liu
Add cl_khr_mipmap_image_writes as supported to AMDGPU

Differential Revision: https://reviews.llvm.org/D74807
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
Commit 4bb0c8f91cb7448ef6de913367f2b46b46392fda by arsenm2
AMDGPU: Enable integer division bypass

We probably want this, and I've meant to turn this on for a long
time. SC actually emits a special case to early-out for a 1
denominator, which perhaps should also be considered.
The file was modifiedllvm/test/CodeGen/AMDGPU/udiv64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/srem64.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/urem64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was addedllvm/test/CodeGen/AMDGPU/bypass-div.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdiv64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdivrem64.r600.ll
Commit f5efa08247c7b5dded4e6854c49c9f49b96398f2 by Lang Hames
[JITLink] Fix testcase for main JITDylib rename in 85fb997659b.
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/LocalDependencyPropagation.s
Commit 38419b8afa8daeb0c650143c87037bab907650bf by llvmgnsyncbot
[gn build] Port 85fb997659b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
Commit 709fd989b644a80527e0f4a22503d54255bc095c by n.james93
[clang-tidy] fix readability-redundant-member-init auto-fix of Function-try-block

Summary: This fixes https://bugs.llvm.org/show_bug.cgi?id=39310

Reviewers: malcolm.parsons, ioeric

Reviewed By: malcolm.parsons

Subscribers: xazax.hun

Tags: #clang-format, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D74800
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
The file was modifiedclang/unittests/Format/CleanupTest.cpp
Commit 16aabc86e0ab49dd9dc91dc4d0f71b3fbcdba2bf by tlively
[WebAssembly] Fix memory bug introduced in 52861809994c

Summary:
The instruction at `DefI` can sometimes be destroyed by
`rematerializeCheapDef`, so it should not be used after calling that
function. The fix is to use `Insert` instead when examining additional
multivalue stackifications. `Insert` is the address of the new
defining instruction after all moves and rematerializations have taken
place.

Reviewers: aheejin

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74875
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
Commit d1d5180e6904b3fa86f750a05a6721163e115f4d by n.james93
[NFC] Fix issues with clang-tidy checks list.rst

Added FixItHint comments to ReservedIdentifierCheck and IdentifierNamingCheck to trick the python scripts into detecting a fix it is provided as it can't see the FixItHints in RenamerClangTidyCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit 562c6b80192243b141d1ddd15d1827c860992147 by Dan Liew
Add a `%darwin_min_target_with_tls_support` lit substitution.

Summary:
This substitution expands to the appropriate minimum deployment target
flag where thread local storage (TLS) was first introduced on Darwin
platforms. For all other platforms the substitution expands to an empty
string.

E.g. for macOS the substitution expands to `-mmacosx-version-min=10.12`

This patch adds support for the substitution (and future substitutions)
by doing a minor refactor and then uses the substitution in the relevant
TSan tests.

rdar://problem/59568956

Reviewers: yln, kubamracek, dvyukov, vitalybuka

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74802
The file was modifiedcompiler-rt/test/tsan/dtls.c
The file was modifiedcompiler-rt/test/tsan/tls_race.cpp
The file was modifiedcompiler-rt/test/lit.common.cfg.py
The file was modifiedcompiler-rt/test/tsan/tls_race2.cpp
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp
Commit 95e3956189a6722d1ec4b6d98fb855ee257e64fe by gclayton
Add an Offset field to the SourceLocation for LookupResult objects.

Summary:
The Offset provides the offset within the function in a SourceLocation struct. This allows us to show the byte offset within a function. We also track offsets within inline functions as well. Updated the lookup tests to verify the offset for functions and inline functions.

0x1000: main + 32 @ /tmp/main.cpp:45

Reviewers: labath, aadsm, serhiy.redko, jankratochvil, xiaobai, wallace, aprantl, JDevlieghere

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74680
The file was modifiedllvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/InlineInfo.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/LookupResult.h
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
Commit 28e0449ec690cc828fb0d94ecee30c8680e0a3d7 by hanchung
[mlir][Linalg] Allow specifiying zero-rank shaped type operands to linalg.indexed_generic ops.

Patch D74638 allows linalg.generic ops to use zero-rank shaped type operands,
this also can be applied to linalg.indexed_generic ops.
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
Commit 0edb2129258c727e9efe6fa234b28880ff64c1b9 by rnk
[MS] Mark vectorcall FP and vector args inreg

This has no effect on how LLVM passes the arguments, but it prevents
rewriteWithInAlloca from thinking that these parameters should be part
of the inalloca pack.

Follow-up to D72114

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D74452
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/test/CodeGenCXX/inalloca-vector.cpp
The file was modifiedclang/test/CodeGen/vectorcall.c
Commit 40463301e4586a1b1bcdf4af65ef10b67ac32c66 by i
[ELF][test] Fix shuffle_sections.s

C++ standard libraries have different random function implementations.
We cannot expect a particular order.
The file was modifiedlld/test/ELF/shuffle-sections.s
Commit 878159038b0cae2c9ca4180ea35f5e115e9570ce by maskray
[ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s
The file was modifiedlld/test/ELF/shuffle-sections.s
Commit bd4812776bc73ca27bf6c68629a20f03268cdd6e by sbc
[WebAssembly] Use llvm::Optional to store optional symbol attributes.  NFC.

The changes the in-memory representation of wasm symbols such that their
optional ImportName and ImportModule use llvm::Optional.

ImportName is set whenever WASM_SYMBOL_EXPLICIT_NAME flag is set.
ImportModule (for imports) is currently always set since it defaults to
"env".

In the future we can possibly extent to binary format distingish
import which have explit module names.

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74109
The file was modifiedllvm/tools/llvm-readobj/WasmDumper.cpp
The file was modifiedlld/wasm/Symbols.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/wasm/LTO.cpp
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/include/llvm/MC/MCSymbolWasm.h
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedllvm/test/tools/llvm-readobj/wasm/symbols.test
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedllvm/test/tools/llvm-readobj/wasm/wasm-imports.test
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
The file was modifiedlld/wasm/SyntheticSections.cpp
Commit a750422609eb5687f6f27d8908dda3a119622254 by riddleriver
[mlir] Update usage of createJITDylib to createBareJITDylib after LLVM change

A few tests are broken, but this allows for MLIR to build.
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 6990eaf1fe00e9736fbfbcae160e18c5edbcd1d4 by Jonas Devlieghere
[lldb/Test] Skip VSCode test on embedded Darwin

These tests are not configured to run on the device.
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
The file was modifiedlldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
The file was modifiedlldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py
Commit 06f1a5c9c283838b8ed1d16961e41462371cd61f by sbc
[lld][WebAssembly] Allow symbols with explict import names to be undefined at link time.

Differential Revision: https://reviews.llvm.org/D74110
The file was modifiedlld/test/wasm/import-name.ll
The file was modifiedlld/docs/WebAssembly.rst
The file was modifiedlld/wasm/Relocations.cpp
Commit 8ea3eb86d65f458208a5df12d44c914b1d1e6dea by thakis
[gn build] (manually) partially (?) merge 7ff1f55a1219
The file was modifiedllvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn
Commit be66cf221bbe6bb119d478e69fd2ca21872e2ad3 by ikudrin
[DebugInfo] Read CIE pointer as a relocatable value.

The CIE pointer field of an FDE record contains an offset to
a corresponding CIE record. In object files, this value comes with
relocation because the value has to be fixed when a linker combines
the final section from multiple sources. In most object files there is
only one CIE record at offset 0 of the .debug_frame section, so reading
a relocated or a raw value makes no difference. However, in partially
linked object files there are multiple CIE records and the relocations
should be applied to recover the right offset value.

Differential Revision: https://reviews.llvm.org/D74612
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
The file was addedllvm/test/DebugInfo/debug-frame-cie-pointer-reloc.test
Commit 95a239be5b771614a3be47db55ff5ce4acd69390 by ikudrin
[DebugInfo] Remove a misleading comment for llvm::dwarf::FDE.

The comment described a linked CIE to be acquired lazily.
That is not true and looks like it was never true.

Differential Revision: https://reviews.llvm.org/D74761
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
Commit 84fc1233d9a47cd7b6e681b4573d9abbc779dd2b by SourabhSingh.Tomar
[DebugInfo][NFCI]: Removed an exclamation mark from error message.
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
Commit 6730f390a1fb069e567ebd635390de381d21b994 by douglas.yung
Fixup test after changes made in 709fd989.

The change added a test that required exceptions, so enable that explicitly
so that it works on platforms that default to having exceptions disabled
(like the PS4).
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
Commit c6ac717aa70d3f31c0a4fd6385e8baaa9f3e2724 by johannes
[Attributor] Allow multiple uses of a casted function pointer

If a function pointer is casted into a different type the resulting
expression can be a constant. If so, it can be used multiple times which
cannot be handled by the AbstractCallSite constructor alone. Instead, we
follow the cast expression uses now explicitly during the call site
traversal.
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-type-mismatch.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
Commit 490a9a4b77ea23f388cae67d732af6bd8aa576f9 by Lang Hames
[examples] Fix the clang-interpreter example for changes in 85fb997659b.
The file was modifiedclang/examples/clang-interpreter/main.cpp
Commit 92250ec270e1b0ed9f25ddaa224b5cbda9afc686 by Lang Hames
[examples] Fix the SpeculativeJIT example for 85fb997659b.
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
Commit 1e99fc9d58d12b77f8d7319d464b416a1672c3e2 by johannes
[Attributor] Add initial AAIsDead for arguments

We usually will ask for liveness of an argument anyway so we ended up
lazily creating the attribute anyway. However, that is not always the
case and even if it is we should go the eager route here. Various tests
show how this can improve the outcome. One test exposed a problem with
type mismatches between argument and call site argument, a fix is
included. For liveness various more tests were added as well.
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
Commit 14fb31795a4bd25798bc2788dd4d4e38e3ea41c7 by Jonas Devlieghere
[lldb/Test] s/skipIfDarwinEmbedded/skipIfRemote/ in VSCode tests.

As pointed out on lldb-commits this skipIfRemote is the better fit for
the decorator.
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py
The file was modifiedlldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
Commit 16188f9d70d77ca9ff1d1d2ff2db64479341e9bf by johannes
[Attributor][FIX] Do not create new calls edge we cannot handle

If we propagate function pointers across function boundaries we can
create new call edges. These need to be represented in the CG if we run
as a CGSCC pass. In the new pass manager that is currently not handled
by the CallGraphUpdater so we need to prevent the situation for now.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit e1eed6c5b9faf89491beaa592180a1c96fe13e0e by johannes
[Attributor] Generalize `getAssumedConstantInt` interface

We are often interested in an assumed constant and sometimes it has to
be an integer constant. Before we only looked for the latter, now we can
ask for either.
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/chained.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-07-02-array-indexing.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
Commit de6e968c0d44d21b16da9b6ec07599e529b8482a by arsenm2
TableGen: Fix logic for default operands

This was checking for default operands in the current DAG instruction,
rather than the correct result operand list. I'm not entirly sure how
this managed to work before, but was failing for me when multiple
default operands were overridden.
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modifiedllvm/test/TableGen/DefaultOpsGlobalISel.td
Commit a801ee869dede6fcef4e6970e94f1a87dc805b76 by johannes
[Attributor][FIX] Avoid setting wrong load/store alignments
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/align.ll
Commit f8ad735729bf8892d71863b4da44ca2dde24d778 by johannes
[Attributor] Use existing `returned` information better

We can look through calls with `returned` argument attributes when we
collect subsuming positions. This allows us to get existing attributes
from more places.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
Commit 3c4da4d7454404b4b4b2376f089226443709f05c by johannes
[Attributor][NFC] Add more memory_location tests
The file was modifiedllvm/test/Transforms/Attributor/memory_locations.ll
Commit 8e76fec0ae89d724a8d20d48f34c6c596404b916 by johannes
[Attributor][NFC] Improve the debug output & add a TODO
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit e253cdda35eb24f29170aaaf102caed94a85201c by uenoku.tokotoko
[MustExecute] Add backward exploration for must-be-executed-context

Summary:
As mentioned in D71974, it is useful for must-be-executed-context to explore CFG backwardly.
This patch is ported from parts of D64975. We use a dominator tree to find the previous context if
a dominator tree is available.

Reviewers: jdoerfert, hfinkel, baziotis, sstefan1

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74817
The file was modifiedllvm/include/llvm/Analysis/MustExecute.h
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Analysis/MustExecute/must_be_executed_context.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
The file was modifiedllvm/lib/Analysis/MustExecute.cpp
Commit d6d640ebae65d7a9f556f3a957a7b36d025dd16f by maskray
[ELF][test] Fix section sh_type and sh_flags

A future MC change may add a warning/error when a .section directive
specifies incorrect sh_flags/sh_type.
The file was removedlld/test/ELF/Inputs/eh-frame-end.s
The file was modifiedlld/test/ELF/linkerscript/compress-debug-sections-custom.s
The file was modifiedlld/test/ELF/linkerscript/compress-debug-sections.s
The file was modifiedlld/test/ELF/invalid-eh-frame6.s
The file was modifiedlld/test/ELF/eh-frame-value-format2.s
The file was modifiedlld/test/ELF/ehframe-relocation.s
The file was modifiedlld/test/ELF/eh-frame-marker.s
The file was modifiedlld/test/ELF/invalid-cie-length2.s
The file was modifiedlld/test/ELF/mips-micro-relocs.s
The file was modifiedlld/test/ELF/invalid-fde-rel.s
The file was modifiedlld/test/ELF/eh-frame-value-format3.s
The file was modifiedlld/test/ELF/eh-frame-pcrel-overflow.s
The file was modifiedlld/test/ELF/invalid-eh-frame5.s
The file was modifiedlld/test/ELF/invalid-cie-length4.s
The file was modifiedlld/test/ELF/ppc64-ld-got-dtprel.s
The file was modifiedlld/test/ELF/eh-frame-value-format8.s
The file was modifiedlld/test/ELF/invalid-cie-length.s
The file was modifiedlld/test/ELF/invalid/eh-frame-hdr-no-out.s
The file was modifiedlld/test/ELF/invalid-cie-length3.s
The file was modifiedlld/test/ELF/invalid-cie-length5.s
The file was modifiedlld/test/ELF/comdat-discarded-reloc.s
The file was modifiedlld/test/ELF/eh-frame-value-format5.s
The file was modifiedlld/test/ELF/compress-debug-sections-reloc.s
The file was removedlld/test/ELF/Inputs/mips-nonalloc.s
The file was modifiedlld/test/ELF/Inputs/ppc64-sort-small-cm-relocs-input4.s
The file was modifiedlld/test/ELF/eh-frame-value-format9.s
The file was modifiedlld/test/ELF/invalid-cie-reference.s
The file was modifiedlld/test/ELF/eh-frame-negative-pcrel-sdata2.s
The file was modifiedlld/test/ELF/eh-frame-value-format1.s
The file was modifiedlld/test/ELF/eh-frame-value-format7.s
The file was modifiedlld/test/ELF/invalid-eh-frame3.s
The file was modifiedlld/test/ELF/invalid-eh-frame4.s
The file was modifiedlld/test/ELF/eh-frame-value-format6.s
The file was modifiedlld/test/ELF/no-augmentation.s
The file was modifiedlld/test/ELF/eh-frame-negative-pcrel-sdata8.s
The file was modifiedlld/test/ELF/Inputs/eh-frame-pcrel-overflow.s
The file was modifiedlld/test/ELF/linkerscript/Inputs/compress-debug-sections.s
The file was modifiedlld/test/ELF/mips-nonalloc.s
The file was modifiedlld/test/ELF/invalid-eh-frame.s
The file was modifiedlld/test/ELF/eh-frame-value-format4.s
The file was modifiedlld/test/ELF/eh-frame-begin-end.s
The file was modifiedlld/test/ELF/icf16.s
The file was modifiedlld/test/ELF/eh-frame-negative-pcrel-sdata4.s
The file was modifiedlld/test/ELF/invalid-eh-frame2.s
The file was modifiedlld/test/ELF/invalid-eh-frame9.s
The file was modifiedlld/test/ELF/invalid-eh-frame8.s
The file was modifiedlld/test/ELF/invalid-eh-frame7.s
Commit 3a0f6e699bb6d96dc62dce6faef20ac26cf103fd by sguelton
Fix compiler extension in standalone mode

Use a dedicated cmake file to store the extension configured within LLVM. That
way, a standalone build of clang can load this cmake file and get all the
configured standalone extensions.

This patch is related to https://reviews.llvm.org/D74602

Differential Revision: https://reviews.llvm.org/D74757
The file was modifiedllvm/cmake/modules/CMakeLists.txt
The file was modifiedclang/CMakeLists.txt
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit d8916e58cf1c37dbb1aef1a0e466537262046a8f by pifon
Remove debugging artefact.
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
Commit fdea9a4ec9b0d9585b8fe8a612686d9f44f40ddc by Raphael Isemann
[lldb] Remove license headers from all test source files

Summary:
Around a third of our test sources have LLVM license headers. This patch removes those headers from all test
sources and also fixes any tests that depended on the length of the license header.

The reasons for this are:

* A few tests verify line numbers and will start failing if the number of lines in the LLVM license header changes. Once I landed my patch for valid SourceLocations in debug info we will probably have even more tests that verify line numbers.
* No other LLVM project is putting license headers in its test files to my knowledge.
* They make the test sources much more verbose than they have to be. Several tests have longer license headers than the actual test source.

For the record, the following tests had their line numbers changed to pass with the removal of the license header:
    lldb-api :: functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
    lldb-shell :: Reproducer/TestGDBRemoteRepro.test
    lldb-shell :: Reproducer/TestMultipleTargets.test
    lldb-shell :: Reproducer/TestReuseDirectory.test
    lldb-shell :: ExecControl/StopHook/stop-hook-threads.test
    lldb-shell :: ExecControl/StopHook/stop-hook.test
    lldb-api :: lang/objc/exceptions/TestObjCExceptions.py

Reviewers: #lldb, espindola, JDevlieghere

Reviewed By: #lldb, JDevlieghere

Subscribers: emaste, aprantl, arphaman, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74839
The file was modifiedlldb/test/API/commands/frame/var-scope/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/pyobjsynthprovider/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
The file was modifiedlldb/test/API/lang/cpp/extern_c/main.cpp
The file was modifiedlldb/test/API/functionalities/load_using_paths/hidden/d.cpp
The file was modifiedlldb/test/API/lang/c/typedef/main.c
The file was modifiedlldb/test/API/lang/c/function_types/main.c
The file was modifiedlldb/test/API/lang/cpp/llvm-style/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/summary-string-onfail/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp
The file was modifiedlldb/test/API/lang/c/stepping/main.c
The file was modifiedlldb/test/API/tools/lldb-server/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_size/main.c
The file was modifiedlldb/test/API/commands/target/basic/b.c
The file was modifiedlldb/test/API/lang/cpp/char1632_t/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/state/main.cpp
The file was modifiedlldb/test/API/functionalities/tsan/thread_numbers/main.c
The file was modifiedlldb/test/API/python_api/lldbutil/iter/main.cpp
The file was modifiedlldb/test/API/lang/cpp/printf/main.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
The file was modifiedlldb/test/API/functionalities/breakpoint/serialize/main.c
The file was modifiedlldb/test/API/commands/expression/persistent_variables/main.c
The file was modifiedlldb/test/API/macosx/duplicate-archive-members/main.c
The file was modifiedlldb/test/API/functionalities/load_unload/a.cpp
The file was modifiedlldb/test/API/python_api/sbtype_typeclass/main.m
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp
The file was modifiedlldb/test/API/lang/cpp/namespace_conflicts/main.cpp
The file was modifiedlldb/test/API/lang/cpp/namespace_definitions/a.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/vector-types/main.cpp
The file was modifiedlldb/test/API/lang/cpp/namespace_definitions/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/hexcaps/main.cpp
The file was modifiedlldb/test/API/lang/objc/exceptions/main.mm
The file was modifiedlldb/test/API/functionalities/type_lookup/main.mm
The file was modifiedlldb/test/API/functionalities/load_unload/b.cpp
The file was modifiedlldb/test/API/functionalities/archives/a.c
The file was modifiedlldb/test/API/commands/watchpoints/multiple_threads/main.cpp
The file was modifiedlldb/test/API/lang/cpp/stl/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/main.m
The file was modifiedlldb/test/API/lang/cpp/namespace_definitions/b.cpp
The file was modifiedlldb/test/API/functionalities/inferior-assert/main.c
The file was modifiedlldb/test/Shell/Reproducer/Inputs/simple.c
The file was modifiedlldb/test/API/functionalities/thread/jump/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/break_after_join/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/multi_break/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/main.cpp
The file was modifiedlldb/test/API/functionalities/load_unload/main.cpp
The file was modifiedlldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-threads.cpp
The file was modifiedlldb/test/API/functionalities/thread/crash_during_step/main.cpp
The file was modifiedlldb/test/API/python_api/frame/get-variables/main.c
The file was modifiedlldb/test/API/lang/cpp/unique-types/main.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/basic/main.c
The file was modifiedlldb/test/API/lang/c/bitfields/main.c
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/regex/subsystem/main.c
The file was modifiedlldb/test/API/functionalities/asan/main.c
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_set_restart/main.cpp
The file was modifiedlldb/test/API/functionalities/dead-strip/main.c
The file was modifiedlldb/test/API/lang/cpp/bool/main.cpp
The file was modifiedlldb/test/API/lang/cpp/unicode-literals/main.cpp
The file was modifiedlldb/test/API/python_api/watchpoint/watchlocation/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/step_out/main.cpp
The file was modifiedlldb/test/API/lang/cpp/type_lookup/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/hello_watchlocation/main.cpp
The file was modifiedlldb/test/API/functionalities/longjmp/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/nsdictionarysynth/main.m
The file was modifiedlldb/test/API/functionalities/darwin_log/format/main.c
The file was modifiedlldb/test/API/lang/cpp/namespace/ns2.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-script/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-smart-array/main.cpp
The file was modifiedlldb/test/API/functionalities/tsan/multiple/main.m
The file was modifiedlldb/test/API/lang/cpp/enum_types/main.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/exact_match/activity/main.c
The file was modifiedlldb/test/API/python_api/class_members/main.mm
The file was modifiedlldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp
The file was modifiedlldb/test/API/functionalities/tsan/basic/main.c
The file was modifiedlldb/test/API/lang/cpp/namespace/ns3.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/exact_match/activity-chain/main.c
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/exact_match/category/main.c
The file was modifiedlldb/test/API/functionalities/unwind/standard/hand_written/divmod.cpp
The file was modifiedlldb/test/API/lang/c/tls_globals/a.c
The file was modifiedlldb/test/API/commands/watchpoints/multiple_hits/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/concurrent_events/main.cpp
The file was modifiedlldb/test/API/lang/c/strings/main.c
The file was modifiedlldb/test/API/commands/watchpoints/hello_watchpoint/main.c
The file was modifiedlldb/test/API/lang/cpp/namespace/ns.cpp
The file was modifiedlldb/test/API/functionalities/archives/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/synthupdate/main.m
The file was modifiedlldb/test/API/commands/expression/save_jit_objects/main.c
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/regex/activity/main.c
The file was modifiedlldb/test/API/linux/thread/create_during_instruction_step/main.cpp
The file was modifiedlldb/test/API/functionalities/load_unload/hidden/d.cpp
The file was modifiedlldb/test/API/functionalities/plugins/command_plugin/plugin.cpp.template
The file was modifiedlldb/test/API/lang/c/tls_globals/main.c
The file was modifiedlldb/test/API/functionalities/ptr_refs/main.c
The file was modifiedlldb/test/API/lang/cpp/diamond/main.cpp
The file was modifiedlldb/test/API/commands/register/register/register_command/main.cpp
The file was modifiedlldb/test/API/commands/target/basic/c.c
The file was modifiedlldb/test/API/lang/cpp/const_this/main.cpp
The file was modifiedlldb/test/API/lang/cpp/class_types/main.cpp
The file was modifiedlldb/test/API/python_api/event/main.c
The file was modifiedlldb/test/Shell/Reproducer/Inputs/GDBRemoteCapture.in
The file was modifiedlldb/test/API/lang/c/struct_types/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/main.m
The file was modifiedlldb/test/API/benchmarks/expression/main.cpp
The file was modifiedlldb/test/API/lang/c/enum_types/main.c
The file was modifiedlldb/test/API/lang/cpp/dynamic-value/sbvalue-cast.cpp
The file was modifiedlldb/test/API/python_api/objc_type/main.m
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_ids/main.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/source/debug/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-cpp/main.cpp
The file was modifiedlldb/test/API/functionalities/load_using_paths/main.cpp
The file was modifiedlldb/test/API/lang/objc/print-obj/blocked.m
The file was modifiedlldb/test/API/functionalities/breakpoint/cpp/main.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/source/info/main.c
The file was modifiedlldb/test/API/lang/objc/ptr_refs/main.m
The file was modifiedlldb/test/API/lang/cpp/wchar_t/main.cpp
The file was modifiedlldb/test/API/python_api/symbol-context/main.c
The file was modifiedlldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in
The file was modifiedlldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_a.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/dump_dynamic/main.cpp
The file was modifiedlldb/test/API/commands/frame/recognizer/main.m
The file was modifiedlldb/test/API/functionalities/data-formatter/setvaluefromcstring/main.m
The file was modifiedlldb/test/API/python_api/target/main.c
The file was modifiedlldb/test/API/lang/cpp/template/main.cpp
The file was modifiedlldb/test/API/functionalities/tsan/thread_leak/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/nsarraysynth/main.m
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/regex/category/main.c
The file was modifiedlldb/test/API/functionalities/thread/create_during_step/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
The file was modifiedlldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp
The file was modifiedlldb/test/API/functionalities/unwind/standard/hand_written/fprintf.cpp
The file was modifiedlldb/test/Shell/Reproducer/Inputs/GDBRemoteCrashCapture.in
The file was modifiedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/jump/other.cpp
The file was modifiedlldb/test/Shell/Reproducer/TestMultipleTargets.test
The file was modifiedlldb/test/API/functionalities/data-formatter/ptr_ref_typedef/main.cpp
The file was modifiedlldb/test/API/commands/apropos/with-process/main.cpp
The file was modifiedlldb/test/API/functionalities/value_md5_crash/main.cpp
The file was modifiedlldb/test/API/python_api/watchpoint/condition/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp
The file was modifiedlldb/test/API/lang/cpp/template-function/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/multi_watchpoint_slots/main.c
The file was modifiedlldb/test/API/functionalities/inferior-changed/main2.c
The file was modifiedlldb/test/API/functionalities/memory/find/main.cpp
The file was modifiedlldb/test/API/python_api/process/main.cpp
The file was modifiedlldb/test/API/lang/cpp/namespace/ns.h
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_set_command/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/frameformat_smallstruct/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/main.cpp
The file was modifiedlldb/test/API/lang/cpp/function-template-parameter-pack/main.cpp
The file was modifiedlldb/test/API/python_api/section/main.c
The file was modifiedlldb/test/API/commands/settings/main.cpp
The file was modifiedlldb/test/API/functionalities/type_completion/main.cpp
The file was modifiedlldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/regex/activity-chain/main.c
The file was modifiedlldb/test/API/python_api/sbdata/main.cpp
The file was modifiedlldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit
The file was modifiedlldb/test/API/commands/add-dsym/uuid/main.cpp.template
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-categories/main.cpp
The file was modifiedlldb/test/API/issue_verification/inline_rerun_inferior.cpp
The file was modifiedlldb/test/API/commands/command/nested_alias/main.cpp
The file was modifiedlldb/test/API/lang/cpp/unsigned_types/main.cpp
The file was modifiedlldb/test/API/python_api/value/linked_list/main.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/comp_dir_symlink/main.cpp
The file was modifiedlldb/test/API/lang/cpp/class_static/main.cpp
The file was modifiedlldb/test/API/python_api/lldbutil/process/main.cpp
The file was modifiedlldb/test/API/lang/cpp/symbols/main.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.c
The file was modifiedlldb/test/API/lang/cpp/this/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/consecutive_breakpoints/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/nssetsynth/main.m
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c
The file was modifiedlldb/test/API/python_api/frame/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/main.cpp
The file was modifiedlldb/test/API/functionalities/archives/b.c
The file was modifiedlldb/test/API/lang/objc/exceptions/TestObjCExceptions.py
The file was modifiedlldb/test/API/linux/builtin_trap/main.cpp
The file was modifiedlldb/test/API/commands/expression/radar_8638051/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/main.m
The file was modifiedlldb/test/API/lang/cpp/signed_types/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/typedef_array/main.cpp
The file was modifiedlldb/test/API/functionalities/recursion/main.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/exact_match/subsystem/main.c
The file was modifiedlldb/test/API/python_api/thread/main2.cpp
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/exact_match/message/main.c
The file was modifiedlldb/test/API/commands/log/basic/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/exit_during_break/main.cpp
The file was modifiedlldb/test/API/python_api/function_symbol/main.c
The file was modifiedlldb/test/API/lang/c/global_variables/main.c
The file was modifiedlldb/test/API/functionalities/memory/cache/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/poarray/main.mm
The file was modifiedlldb/test/API/commands/expression/ir-interpreter-phi-nodes/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_on_vectors/main.c
The file was modifiedlldb/test/API/lang/c/global_variables/a.c
The file was modifiedlldb/test/API/lang/c/set_values/main.c
The file was modifiedlldb/test/API/python_api/thread/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/ostypeformatting/main.mm
The file was modifiedlldb/test/API/functionalities/thread/exit_during_step/main.cpp
The file was modifiedlldb/test/API/commands/register/register/register_command/a.cpp
The file was modifiedlldb/test/API/lang/objc/variadic_methods/main.m
The file was modifiedlldb/test/API/python_api/exprpath_synthetic/main.mm
The file was modifiedlldb/test/API/macosx/nslog/main.m
The file was modifiedlldb/test/API/python_api/value/main.c
The file was modifiedlldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_b_quote.cpp
The file was modifiedlldb/test/API/commands/target/basic/globals.c
The file was modifiedlldb/test/API/functionalities/conditional_break/main.c
The file was modifiedlldb/test/API/functionalities/tsan/cpp_global_location/main.cpp
The file was modifiedlldb/test/API/functionalities/thread/thread_exit/main.cpp
The file was modifiedlldb/test/API/lang/cpp/namespace_definitions/foo.h
The file was modifiedlldb/test/API/functionalities/data-formatter/stringprinter/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/user-format-vs-summary/main.cpp
The file was modifiedlldb/test/API/lang/cpp/namespace/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/main.m
The file was modifiedlldb/test/API/macosx/duplicate-archive-members/a.c
The file was modifiedlldb/test/API/functionalities/non-overlapping-index-variable-i/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp
The file was modifiedlldb/test/API/lang/cpp/static_methods/main.cpp
The file was modifiedlldb/test/API/commands/target/create-deps/a.cpp
The file was modifiedlldb/test/API/api/check_public_api_headers/main.cpp.template
The file was modifiedlldb/test/API/commands/command/script/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-synth/main.cpp
The file was modifiedlldb/test/API/python_api/type/main.cpp
The file was modifiedlldb/test/API/commands/target/create-deps/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/language_category_updates/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/sbapi_support/main.cpp
The file was modifiedlldb/test/API/lang/objc/self/main.m
The file was modifiedlldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook.c
The file was modifiedlldb/test/API/functionalities/unwind/standard/hand_written/new_delete.cpp
The file was modifiedlldb/test/API/python_api/watchpoint/main.c
The file was modifiedlldb/test/API/lang/cpp/global_variables/main.cpp
The file was modifiedlldb/test/API/tools/lldb-server/signal-filtering/main.cpp
The file was modifiedlldb/test/API/tools/lldb-server/libraries-svr4/main.cpp
The file was modifiedlldb/test/API/commands/register/register/intel_xtended_registers/mpx_bound_violation/main.cpp
The file was modifiedlldb/test/API/lang/objc/bitfield_ivars/main.m
The file was modifiedlldb/test/API/python_api/value/empty_class/main.cpp
The file was modifiedlldb/test/API/commands/target/basic/a.c
The file was modifiedlldb/test/API/functionalities/postmortem/elf-core/gcore/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_commands/main.c
The file was modifiedlldb/test/API/functionalities/darwin_log/filter/regex/message/main.c
The file was modifiedlldb/test/API/functionalities/memory/read/main.cpp
The file was modifiedlldb/test/API/lang/c/array_types/main.c
The file was modifiedlldb/test/API/functionalities/load_unload/c.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_names/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/compactvectors/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m
The file was modifiedlldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_commands/condition/main.cpp
The file was modifiedlldb/test/API/lang/cpp/static_members/main.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_hit_count/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/parray/main.cpp
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_command/main.c
The file was modifiedlldb/test/API/macosx/duplicate-archive-members/sub1/a.c
The file was modifiedlldb/test/API/functionalities/postmortem/elf-core/thread_crash/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-advanced/main.cpp
The file was modifiedlldb/test/API/lang/cpp/lambdas/main.cpp
The file was modifiedlldb/test/API/commands/register/register/intel_xtended_registers/main.cpp
The file was modifiedlldb/test/API/functionalities/inferior-crashing/main.c
The file was modifiedlldb/test/API/commands/expression/radar_9531204/main.c
The file was modifiedlldb/test/API/functionalities/load_unload/d.cpp
The file was modifiedlldb/test/API/python_api/signals/main.cpp
The file was modifiedlldb/test/API/commands/expression/radar_9673664/main.c
The file was modifiedlldb/test/API/functionalities/data-formatter/boolreference/main.mm
The file was modifiedlldb/test/API/commands/expression/persistent_types/main.c
The file was modifiedlldb/test/API/macosx/order/main.c
The file was modifiedlldb/test/API/android/platform/main.cpp
The file was modifiedlldb/test/API/python_api/lldbutil/frame/main.c
The file was modifiedlldb/test/API/functionalities/inferior-changed/main.c
The file was modifiedlldb/test/API/commands/disassemble/basic/main.cpp
The file was modifiedlldb/test/API/functionalities/tsan/global_location/main.c
The file was modifiedlldb/test/API/lang/cpp/auto/main.cpp
Commit b6e5808b2133c0fb411989ecccdd276111c937b3 by johannes
[Attributor][NFC] Prepare some tests to be used with update test script
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/nofree.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
Commit 6185fb13d6410ef64dd98d40d11d1edb8c712908 by johannes
[Attributor][NFC] Refactor interface
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit d95cb56649e8493cc1a7e9e20875e464e185f84f by johannes
[Attributor] Make sure abstract attributes are properly initialized
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 14d7b802db4fd0c8124b0a58ad405fb52f44956d by daniel.kiss
[LLD][ELF][ARM] Add test cases for R_ARM_THM_MOV*-type relocs

Summary: This patch adds missing tests cases for R_ARM_THM_MOVW/MOVT* relocations for the sake of completeness.

Reviewers: peter.smith, MaskRay, espindola, psmith

Reviewed By: MaskRay, psmith

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

Tags: #llvm, #lld

Differential Revision: https://reviews.llvm.org/D74827
The file was modifiedlld/test/ELF/arm-mov-relocs.s
Commit ddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e by pavel
[lldb/DWARF] Always construct a DWARFDebugInfo object

Change the return value of SymbolFileDWARF::DebugInfo from a pointer to
a reference, and remove all null checks.

Previously, we were not constructing the DebugInfo object when the
debug_info section was empty. Now we always construct the object but
it will return an empty list of dwarf units (a thing which it already
supported).
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
Commit 689f1e85ba68db7440451a6834095a52d1526b00 by luismarques
[compiler-rt] [builtins] Fix logb / logbl tests

Like was done before in D67999 for `logbf`, this patch fixes the tests for
the internal compiler-rt implementations of `logb` and `logbl` to consider
all NaNs equivalent. Not doing so was resulting in test failures for
riscv64, since the the NaNs had different signs, but the spec doesn't
specify the NaN signedness or payload.

Fixes bug 44244.

Reviewers: rupprecht, delcypher
Reviewed By: rupprecht, delcypher
Differential Revision: https://reviews.llvm.org/D74826
The file was modifiedcompiler-rt/test/builtins/Unit/compiler_rt_logb_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
Commit def62c7f6548104274f95154bb5a91264646c701 by sguelton
[NFC] Remove ar/ranlib test noise during cmake step

At least on RHEL, ar outputs on stderr a message similar to

        .../bin/ar: creating t.a

Which creates noise during the cmake step. Get rid of it.
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
Commit f4fd7dbf85e278eff303514760bff4773a87e601 by mikhail.maltsev
[ARM,MVE] Add vqdmull[b,t]q intrinsic families

Summary:
This patch adds two families of ACLE intrinsics: vqdmullbq and
vqdmulltq (including vector-vector and vector-scalar variants) and the
corresponding LLVM IR intrinsics llvm.arm.mve.vqdmull and
llvm.arm.mve.vqdmull.predicated.

Reviewers: simon_tatham, MarkMurrayARM, dmgreen, ostannard

Reviewed By: MarkMurrayARM

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

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74845
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vqdmull.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vqdmullbq.c
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vqdmulltq.c
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit c8f9e526bc5319f2d0beed4012fbf17b11e15161 by lebedev.ri
[clang-tidy] misc-no-recursion: point to the function defs, not decls

Results in slightly better UX.
This actually was the initial intent, but it kinda got lost along the way.
The file was modifiedclang/include/clang/Analysis/CallGraph.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-no-recursion.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/NoRecursionCheck.cpp
Commit dbfc682e2ba2581e214fabb04ba1b555ff8b274a by dfukalov
SpeculativeExecution: fixed ingoring free execution

Summary:
After updating cost model in AMDGPU target (47a5c36b37f0) the pass started to
ignore some BBs since they got all instructions estimated as free.

Reviewers: arsenm, chandlerc, nhaehnle

Reviewed By: nhaehnle

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74825
The file was addedllvm/test/CodeGen/AMDGPU/speculative-execution-freecasts.ll
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
Commit 6085593c128e91fd7db998c5441ebe120c7e4f04 by llvm-dev
[AMDGPU] simplifyI24 - replace GetDemandedBits with SimplifyMultipleUseDemandedBits

GetDemandedBits mostly just calls SimplifyMultipleUseDemandedBits now, but it does a very blunt constant simplification that SimplifyMultipleUseDemandedBits avoids.

If we need to demand bits from constants we should handle this through ShrinkDemandedConstant/targetShrinkDemandedConstant.

@arsenm confirmed that the sign extended immediates are better for code size.

Differential Revision: https://reviews.llvm.org/D74857
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-mul24-knownbits.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/lshl64-to-32.ll
Commit 0e417b034ad2572e5a09dbc650d351393c2b574c by andrzej.warzynski
[AArch64][SVE] Re-arrange definitions in AArch64SVEInstrInfo.td (NFC)

Re-arrange definitions related to loads and stores so that they are
grouped together.

This patch implements only non-functional changes.
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 7b59ff2fa0a56a0158f3f21aaed217118da669a3 by pavel
[lldb] Add boilerplate to recognize the .debug_tu_index section

It's just like debug_cu_index, only for type units.
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/test/Shell/ObjectFile/ELF/section-types.yaml
The file was modifiedlldb/source/Core/Section.cpp
Commit c7b7f76ae6ae2a5f3d9753b37ef811da15386cd4 by kkleine
[lldb]: fix typo in lldb-gdb-remote.txt

Summary: The logic of the sentence made more sense when "with" is replaced with "without".

Reviewers: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74895
The file was modifiedlldb/docs/lldb-gdb-remote.txt
Commit 9ea5d17cc9544838c73e593de4ef224d54fa1cff by lebedev.ri
[Sema] Demote call-site-based 'alignment is a power of two' check for AllocAlignAttr into a warning

Summary:
As @rsmith notes in https://reviews.llvm.org/D73020#inline-672219
while that is certainly UB land, it may not be actually reachable at runtime, e.g.:
```
template<int N> void *make() {
  if ((N & (N-1)) == 0)
    return operator new(N, std::align_val_t(N));
  else
    return operator new(N);
}
void *p = make<7>();
```
and we shouldn't really error-out there.

That being said, i'm not really following the logic here.
Which ones of these cases should remain being an error?

Reviewers: rsmith, erichkeane

Reviewed By: erichkeane

Subscribers: cfe-commits, rsmith

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73996
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/SemaCXX/alloc-align-attr.cpp
The file was addedclang/test/CodeGen/non-power-of-2-alignment-assumptions.c
The file was modifiedclang/test/Sema/alloc-align-attr.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit 2f215cf36adced6bf1abda4bdbbc6422c1369353 by djordje.todorovic
Revert "Reland "[DebugInfo] Enable the debug entry values feature by default""

This reverts commit rGfaff707db82d.
A failure found on an ARM 2-stage buildbot.
The investigation is needed.
The file was modifiedllvm/test/DebugInfo/X86/dbgcall-site-zero-valued-imms.ll
The file was modifiedllvm/test/CodeGen/MIR/X86/call-site-info-error4.mir
The file was modifiedllvm/test/CodeGen/X86/tail-dup-repeat.ll
The file was modifiedllvm/test/DebugInfo/MIR/ARM/dbgcall-site-propagated-value.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param.mir
The file was modifiedllvm/test/CodeGen/X86/statepoint-allocas.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-anyregcc.ll
The file was modifiedclang/test/CodeGen/debug-info-extern-call.c
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/valid-call-site-GNU-extensions.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/debug-call-site-param.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-reference.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/test/DebugInfo/X86/loclists-dwp.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/unreachable-block-call-site.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-reg-shuffle.mir
The file was modifiedclang/test/CodeGenCXX/dbg-info-all-calls-described.cpp
The file was modifiedllvm/test/CodeGen/MIR/X86/call-site-info-error3.mir
The file was modifiedllvm/test/DebugInfo/ARM/entry-value-multi-byte-expr.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-lea-interpretation.mir
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-copy-super-sub.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-partial-describe.mir
The file was modifiedllvm/lib/CodeGen/TargetOptionsImpl.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-two-fwd-reg-defs.mir
The file was modifiedllvm/lib/Target/ARM/ARMTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/X86/hoist-invariant-load.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg-multiple-defs.mir
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/test/CodeGen/ARM/smml.ll
The file was removedllvm/test/DebugInfo/X86/no-entry-values-with-O0.ll
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/test/DebugInfo/AArch64/call-site-info-output.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-range.ll
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/test/DebugInfo/MIR/AArch64/dbgcall-site-orr-moves.mir
The file was modifiedllvm/test/CodeGen/AArch64/arm64-patchpoint.ll
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/call-site-info-output.ll
The file was modifiedllvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpret-movzxi.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/propagate-entry-value-cross-bbs.mir
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
The file was modifiedllvm/test/CodeGen/X86/xray-custom-log.ll
The file was modifiedllvm/test/CodeGen/MIR/Hexagon/bundled-call-site-info.mir
The file was modifiedllvm/test/CodeGen/X86/xray-typed-event-log.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/call-site-gnu-vs-dwarf5-attrs.mir
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.ll
The file was modifiedllvm/test/CodeGen/MIR/X86/call-site-info-error1.mir
The file was modifiedllvm/test/DebugInfo/Sparc/entry-value-complex-reg-expr.ll
The file was modifiedllvm/test/DebugInfo/MIR/ARM/if-coverter-call-site-info.mir
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-regmask-clobber.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/DW_OP_entry_value.mir
The file was modifiedllvm/test/CodeGen/MIR/X86/call-site-info-error2.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir
The file was modifiedllvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpretation.mir
The file was modifiedllvm/test/DebugInfo/MIR/Hexagon/dbgcall-site-instr-before-bundled-call.mir
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedllvm/test/DebugInfo/ARM/call-site-info-output.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir
The file was modifiedllvm/test/DebugInfo/X86/dbgcall-site-64-bit-imms.ll
The file was modifiedllvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
The file was modifiedllvm/test/DebugInfo/MIR/SystemZ/call-site-lzer.mir
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py
The file was modifiedllvm/test/DebugInfo/MIR/X86/entry-values-diamond-bbs.mir
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
The file was modifiedlldb/test/API/functionalities/param_entry_vals/basic_entry_values_x86_64/Makefile
The file was modifiedllvm/test/DebugInfo/MIR/Hexagon/live-debug-values-bundled-entry-values.mir
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-tls-dynamics.ll
The file was removedllvm/test/DebugInfo/MIR/ARM/dbgcallsite-noreg-is-imm-check.mir
The file was modifiedllvm/test/tools/llvm-locstats/locstats.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit bb9e92bad55f65f2de58bf29548bdfd3dea2d7ab by hokein.wu
[clang][Index] Fix the incomplete instantiations in libindex.

Summary:
libindex will canonicalize references to template instantiations:
- 1) reference to an explicit template specialization, report the specializatiion
- 2) otherwise, report the primary template

but 2) is not true for incomplete instantiations, this patch fixes this.

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

Reviewers: kadircet

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74830
The file was modifiedclang/test/Index/Core/index-instantiated-source.cpp
The file was modifiedclang/test/Index/Core/index-source.cpp
The file was modifiedclang/lib/Index/IndexingContext.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit fa221fc6b8ac5ecd344daac634f0db8f22ebf435 by llvm-dev
Regenerate rotate test. NFC.
The file was modifiedllvm/test/CodeGen/ARM/rotate.ll
Commit 977cd661cf019039dec7ffdd15bf0ac500828c87 by sebastian.neubauer
[AMDGPU] Don’t marke the .note section as ALLOC

Marking a section as ALLOC tells the ELF loader to load the section into memory.
As we do not want to load the notes into VRAM, the flag should not be there.

Differential Revision: https://reviews.llvm.org/D74600
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa.ll
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
Commit 15e20dcb8f9decf1928871d562a3724e8cc1e343 by spatel
[Utils][x86] add an option to reduce scrubbing of shuffles with memops

I was drafting a patch that would increase broadcast load usage,
but our shuffle scrubbing makes it impossible to see if the memory
operand offset was getting created correctly. I'm proposing to make
that an option (defaulted to 'off' for now to reduce regression
test churn).

The updated files provide examples of tests where we can now verify
that the pointer offset for a loaded memory operand is correct. We
still have stack and constant scrubbing that can obscure the operand
even if we don't scrub the entire instruction.

Differential Revision: https://reviews.llvm.org/D74775
The file was modifiedllvm/test/CodeGen/X86/extractelement-load.ll
The file was modifiedllvm/utils/update_llc_test_checks.py
The file was modifiedllvm/test/CodeGen/X86/avx-splat.ll
The file was modifiedllvm/utils/UpdateTestChecks/asm.py
Commit 083717cf49968ebb973d73b448709d45e3fc0e99 by arsenm2
AMDGPU: Fix v2i64<->v4f32 bitcast

I'm not sure how to test the v2i64->v4f32 case since I can't think of
any v2i64 cases that won't legalize to v4i32.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn.bitcast.ll
Commit 659500c0c9657fc6e8d2d184b507f4e4da99297e by sam.parker
[NFC][RDA] Break-up initialization code

Separate out the initialization code from the loop traversal so
that the analysis can be reset and re-run by a user.
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/include/llvm/CodeGen/ReachingDefAnalysis.h
Commit 45f008704df2680660ee82a7c3543d3ac9499a99 by sd.fertile
[PowerPC][NFC] We do not save/restore vrsave for any remaining subtargets.

Extend lit test to show that we don't save or restore vrsave register
when expanding @llvm.eh.unwind.init().
The file was modifiedllvm/test/CodeGen/PowerPC/unwind-dw2.ll
Commit 216a6e05249544db4c1c3f30944aba3da7463eef by spatel
[x86] regenerate test checks with less shuffle scrubbing; NFC

For shuffles with memory operands, we generally don't want to
hide the asm because we want to verify that the address offsets
are as expected.
The file was modifiedllvm/test/CodeGen/X86/masked_gather.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
Commit 1f984c83a41bb68b8af4998a7f68876d52bff872 by hans
Add #include <condition_variable> to fix build after 85fb997659b5

See https://reviews.llvm.org/D74300#1884614
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
Commit fc2b4a02b1a82c40ac1459cd15b9911ebfc78acc by llvm-dev
[DAGCombine] visitEXTRACT_VECTOR_ELT - add SimplifyDemandedBits multi use support

Similar to what we already do with SimplifyDemandedVectorElts, call SimplifyDemandedBits across all the extracted elements of the source vector, treating it as single use.

There's a minor regression in store-weird-sizes.ll which will be addressed in an upcoming SimplifyDemandedBits patch.
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8s.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-weird-sizes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extractelt-to-trunc.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4s.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4u.ll
The file was modifiedllvm/test/CodeGen/X86/psadbw.ll
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-and-legalization.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit cb54c13c217b3e5fcda5c97bab229c1f9c3934b7 by usx
[clang][analyzer] Modify include AllocationState.h in PutenvWithAutoChecker.cpp

Summary:
PutenvWithAutoChecker.cpp used to include "AllocationState.h" that is present in project root.
This makes build systems like blaze unhappy. Made it include the header relative to source file.

Reviewers: kadircet

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74906
The file was modifiedclang/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp
Commit 12cc105f806f5a7e7c14350c5ba54654e263c972 by craig.topper
[X86] Add DAG combines to form CVTPH2PS/CVTPS2PH from vXf16->vXf32/vXf64 fp_extends and vXf32->vXf16 fp_round.

Only handle power of 2 element count for simplicity. Not sure what to do with vXf64->vXf16 fp_round to avoid double rounding

Differential Revision: https://reviews.llvm.org/D74886
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/half.ll
The file was modifiedllvm/test/CodeGen/X86/vector-half-conversions.ll
Commit ce70e2899879e092b153a4078b993833b6696713 by danilo.carvalho.grael
[AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations

Summary:
Add intrinsics for the following operations:
- eor3, bcax
- bsl, bsl1n, bsl2n, nbsl

Reviewers: kmclaughlin, c-rhodes, sdesmalen, efriedma, rengolin

Reviewed By: efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74785
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedllvm/test/CodeGen/AArch64/sve2-bitwise-ternary.ll
Commit 914a97a4e6184234ea231321c3073e021e0c60c7 by spatel
[x86] add vector tests for splatted memory ops; NFC

These correspond to patterns seen in PR42024:
https://bugs.llvm.org/show_bug.cgi?id=42024
The file was modifiedllvm/test/CodeGen/X86/x86-interleaved-access.ll
Commit 9bbf271fc9d5b84f9e657805dfff0fb8a1607af4 by craig.topper
[AArch64] Move isOverflowIntrOpRes help function to the ISD namespace in SelectionDAG.h. NFC

Enables sharing with an upcoming X86 change.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit 3543ac9ab52df77af55a2ebdeeddfb76aba15d29 by craig.topper
[X86] Rewrite LowerBRCOND to remove dead code and handle ISD::SETCC and overflow ops directly.

There's a lot of old leftover code in LowerBRCOND. Especially
the detecting or AND or OR of X86ISD::SETCC nodes. Those were
needed before LegalizeDAG was changed to visit nodes before
their operands.

It also relied on reversing the output of LowerSETCC to find the
flags producing node to use for the X86ISD::BRCOND node.

Rather than using LowerSETCC this patch uses emitFlagsForSetcc to
handle the integer ISD::SETCC case. This gives the flag producer
and the comparison code to use directly. I've removed the addTest
flag and just produce a X86ISD::BRCOND and return immediately.

Floating point ISD::SETCC case is just an X86ISD::FCMP with special
care for OEQ and UNE derived from the previous code. I've left
f128 out so it will emit a test. And LowerSETCC will be called
later to produce a libcall and X86ISD::SETCC. We have combines
that can merge the test and X86ISD::SETCC.

We need to handle two cases for overflow ops. Either they are used
directly or they have a seteq 0 or setne 1 to invert the overflow.
The old code did not handle the setne 1 case, but I think some
other combines were making up for it.

If we fail to find a condition, we'll wrap an AND with 1 on the
original condition and tell emitFlagsForSetcc to emit a compare
with 0. This will pickup the LowerAndToBT and or the EmitTest case.
I kept the isTruncWithZeroHighBitsInput call, but we might be able
to fold that in to emitFlagsForSetcc.

Differential Revision: https://reviews.llvm.org/D74750
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e442f38395f71b680bc1174568e461b5ff1f7ebf by Louis Dionne
[libc++] Fix unintended ADL inside ref(reference_wrapper<T>) and cref(reference_wrapper<T>)

This patch qualifies calls to ref and cref inside ref(reference_wrapper<T>)
and cref(reference_wrapper<T>), respectively. These previously unqualified
calls could break in the presence of user functions called ref/cref inside
associated namespaces: https://gcc.godbolt.org/z/8VfprT

Fixes PR44398.

Differential Revision: https://reviews.llvm.org/D74287
The file was modifiedlibcxx/include/__functional_base
The file was modifiedlibcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp
Commit 092a57f5082146b6770f89839666b7545a0d27f0 by Louis Dionne
[libc++] Fix unqualified call to 'ref' inside shared_ptr(unique_ptr<U, D>)

This prevents unintended ADL: https://gcc.godbolt.org/z/EHw3Gy
This issue was mentioned as an addendum in PR44398.

Differential Revision: https://reviews.llvm.org/D74289
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp
The file was modifiedlibcxx/include/memory
Commit db8911aad726d050fb36f17f2978bd35f69165cc by n.james93
[clang-tidy] rename_check.py: maintain alphabetical order in Renamed checks section

Summary:
Also use //check// in add_new_check.py for terminology consistency.

PS

My GitHub ID is [[ https://github.com/EugeneZelenko | EugeneZelenko ]], if it's necessary for attribution.

Reviewers: alexfh, hokein, aaron.ballman, njames93, MyDeveloperDay

Reviewed By: njames93

Subscribers: Andi, xazax.hun, cfe-commits

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D73580
The file was modifiedclang-tools-extra/clang-tidy/rename_check.py
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/add_new_check.py
Commit 0ed7a61543840ddfe4dcc71307dd77b032dcca6c by craig.topper
[X86] Fix a -Wparentheses warning. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 6fa3894c4e771c773712b1ae777f78c1c922a908 by Louis Dionne
[clang] Fix search path logic for C_INCLUDE_DIRS

For each absolute path given to C_INCLUDE_DIRS, we want it to be added
as-is to the include search path. Relative paths should be prefixed
with the sysroot.

Thanks to Marco Hinz for the patch.

Differential Revision: https://reviews.llvm.org/D69221
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
The file was modifiedclang/lib/Driver/ToolChains/Hurd.cpp
The file was modifiedclang/lib/Driver/ToolChains/Solaris.cpp
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit af64b31959f634031e5ddbcf8df1fab69689bfee by omair.javaid
Add target.xml support for qXfer request.

Summary:
Requesting registers one by one takes a while in our project.
We want to get rid of it by using target.xml.

Reviewers: jarin, labath, omjavaid

Reviewed By: labath, omjavaid

Subscribers: omjavaid, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74217
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-server/registers-target-xml-reading/Makefile
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-server/registers-target-xml-reading/main.cpp
Commit 0ffa6e1a7e1c5de36276375486f49277c6f95d0e by rupprecht
[lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY

Summary:
lldb's format string (line one) is:
`lldb version $clang_version ($lldb_repo revision $lldb_revision)`

When only using $lldb_revision and not $lldb_repo, this might look like:
`lldb version 11 ( revision 12345)`
which looks pretty ugly.

Aside: I'm not sure we really need all the different versions since we've moved to the monorepo layout -- I don't think anyone is using different llvm/clang/lldb revisions, are they? We could likely tidy this up further if we knew how people consumed the output of lldb --version.

Reviewers: labath, JDevlieghere, friss

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74859
The file was modifiedlldb/source/lldb.cpp
Commit f9c326364e76ea734ce87c9fab5ac8b08ef8e7bb by llvm-dev
[DAGCombiner] Use SDValue::getConstantOperandAPInt helper where possible. NFC.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 726c342ce27ada28efe90cb04ffb69c75065710a by francisvm
[macho][NFC] Extract all CPU_(SUB_)TYPE logic to libObject

This moves all the logic of converting LLVM Triples to
MachO::CPU_(SUB_)TYPE from the specific target (Target)AsmBackend to
more convenient functions in libObject.

This also gets rid of the separate two X86AsmBackend classes.

Differential Revision: https://reviews.llvm.org/D74808
The file was modifiedllvm/lib/Object/MachOObjectFile.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
The file was modifiedllvm/include/llvm/Object/MachO.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
Commit 70d8fec7c947996e857aa136aa22c22a555b02fa by riddleriver
[mlir] Refactor the structure of the 'verifyConstructionInvariants' methods.

Summary:
The current structure suffers from several problems, but the main one is that a construction failure is impossible to debug when using the 'get' methods. This is because we only optionally emit errors, so there is no context given to the user about the problem. This revision restructures this so that errors are always emitted, and the 'get' methods simply pass in an UnknownLoc to emit to. This allows for removing usages of the more constrained "emitOptionalLoc", as well as removing the need for the context parameter.

Fixes [PR#44964](https://bugs.llvm.org/show_bug.cgi?id=44964)

Differential Revision: https://reviews.llvm.org/D74876
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/include/mlir/Dialect/QuantOps/QuantTypes.h
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/docs/DefiningAttributesAndTypes.md
The file was modifiedmlir/lib/IR/Types.cpp
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
The file was modifiedmlir/include/mlir/IR/StorageUniquerSupport.h
The file was modifiedmlir/lib/Dialect/QuantOps/IR/QuantTypes.cpp
The file was modifiedmlir/include/mlir/IR/Location.h
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/lib/IR/MLIRContext.cpp
Commit 3f785212e9ceb85251183b1fcf5902715df923fb by francisvm
Revert "[macho][NFC] Extract all CPU_(SUB_)TYPE logic to libObject"

This reverts commit 726c342ce27ada28efe90cb04ffb69c75065710a.

This breaks the windows bots with linker errors.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was modifiedllvm/lib/Object/MachOObjectFile.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
The file was modifiedllvm/include/llvm/Object/MachO.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
Commit da181d4ba0cdbae487ba1571917adb8677456e55 by sd.fertile
[PowerPC][NFC] Cleanup some of the Darwin mentions in the README.txt.
The file was modifiedllvm/lib/Target/PowerPC/README.txt
Commit 064cd2ecdb3d0c52be5b6cf4fc67125baa714d3a by spatel
[x86] allow peeking through an extract_subvector to find a splatted operand

The motivating case is seen in "splat4_v8f32_load_store" and based on code in PR42024:
https://bugs.llvm.org/show_bug.cgi?id=42024
(I haven't stepped through the v8i32 sibling test yet to see why that diverged.)

There are other potential improvements visible like allowing scalarization or vector
narrowing.

Differential Revision: https://reviews.llvm.org/D74909
The file was modifiedllvm/test/CodeGen/X86/avx-splat.ll
The file was modifiedllvm/test/CodeGen/X86/pr34653.ll
The file was modifiedllvm/test/CodeGen/X86/insertelement-var-index.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v32.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/x86-interleaved-access.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
The file was modifiedllvm/test/CodeGen/X86/fma.ll
The file was modifiedllvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/masked_gather.ll
The file was modifiedllvm/test/CodeGen/X86/extractelement-load.ll
Commit 5d2baa956ac3784e3956e35f610e118cacc7128b by alexbrachetmialot
[libc] Add Initial Support for Signals

Summary:
This patch adds signal support on Linux. The current implementation gets the SIG* macros and types like `sigset_t` from <linux/signals.h>

This patch also adds raise(3), and internal routines  `block_all_signals` and `restore_signals`

Reviewers: sivachandra, MaskRay, gchatelet

Reviewed By: sivachandra

Subscribers: libc-commits, mgorny, tschuett

Differential Revision: https://reviews.llvm.org/D74528
The file was addedlibc/src/signal/CMakeLists.txt
The file was addedlibc/test/src/signal/CMakeLists.txt
The file was addedlibc/src/signal/linux/CMakeLists.txt
The file was addedlibc/src/signal/raise.h
The file was modifiedlibc/config/linux/api.td
The file was addedlibc/config/linux/signal.h.in
The file was modifiedlibc/spec/linux.td
The file was addedlibc/src/signal/linux/signal.h
The file was addedlibc/src/signal/linux/raise.cpp
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/test/src/CMakeLists.txt
The file was addedlibc/test/src/signal/raise_test.cpp
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/src/CMakeLists.txt
The file was modifiedlibc/include/CMakeLists.txt
The file was addedlibc/include/signal.h.def
Commit 8928c6dbbf7d1de32e84f3ec2b778c006fc70091 by riddleriver
Fix some typos in the MLIR documentation.

Summary: Fix minor typos in the tutorial and the "writing a pass" page.

Differential Revision: https://reviews.llvm.org/D74905
The file was modifiedmlir/docs/Tutorials/Toy/Ch-5.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-4.md
The file was modifiedmlir/docs/WritingAPass.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
Commit 6de21c556d159d29e7957821fa8b83ef68083b76 by Lang Hames
[ORC][examples] Fix ThinLtoJIT example after changes in 85fb997659b.
The file was modifiedllvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
Commit 813b1b9fd6c19706b735a595d33f7b8ebcd08be7 by Lang Hames
[ORC] Add a convenience method for setting the ExecutionSession to LLJITBuilder.

Can be used to set a custom pre-configured ExecutionSession for the LLJIT or
LLLazyJIT instance being constructed.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
Commit e2c2eb0a5509ed8e013c4e4d880de27e60641b9a by llvm-dev
[X86] Fix NSW/NUW typo in avg test (PR44973)

The not_avg_v16i8_wide_constants test shouldn't assume NSW/NUW for the addition of -1 - copy + paste typo from other avg tests
The file was modifiedllvm/test/CodeGen/X86/avg.ll
Commit a11ff39ba2ad3975a40e2684948a4dd2ada89bd3 by jbcoe
[clang-format] Merge name and colon into a single token for C# named arguments

Summary:
Merge 'argumentName' and ':' into a single token in foo(argumentName: bar).

Add C# named argument as a token type.

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir

Tags: #clang-format

Differential Revision: https://reviews.llvm.org/D74894
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
The file was modifiedclang/lib/Format/FormatTokenLexer.h
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
Commit 7a7c753b0cca6abb61f054842fb087dfc30dc563 by thakis
libclang: Make shared object symbol exporting by default

https://reviews.llvm.org/D74564 enabled static building for libclang,
and for non CMake consumers they had to set the `CMAKE_EXPORTS` define
when consuming libclang.

This commit makes the non CMake users of the static building have to define `CMAKE_NO_EXPORTS`.

Differential Revision: https://reviews.llvm.org/D74907
The file was modifiedclang/include/clang-c/Platform.h
The file was modifiedclang/tools/libclang/CMakeLists.txt
Commit 967eeb109bedc4ae606fdf6ad6eca58ffbac6739 by daltenty
[AIX] Pack BasicBlockBits

Summary:
D51664 introduces a new structure BasicBlockBits which it expects to be
packed a certain way. This change is very similar to D60164, and we apply the
same fix:

"On AIX, the canonical layout of bit-fields would cause
these ... to span four bytes. Applying the pack pragma for compilers that
employ the AIX canonical layout allows these ... to fit within the expected
two bytes. In the future, the pragma would also likely need to be applied when
building with Clang on AIX."

Reviewers: jasonliu, hubert.reinterpretcast, sfertile, xingxue

Reviewed By: sfertile

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74911
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
Commit 2f56789c8fe8edb57bc7a193592ecd35a393fe4a by Jan Korous
[clang][doxygen] Fix false -Wdocumentation warning for tag typedefs

For tag typedefs like this one:

/*!
@class Foo
*/
typedef class { } Foo;

clang -Wdocumentation gives:

warning: '@class' command should not be used in a comment attached to a
non-struct declaration [-Wdocumentation]

... while doxygen seems fine with it.

Differential Revision: https://reviews.llvm.org/D74746
The file was addedclang/test/Sema/warn-documentation-tag-typedef.cpp
The file was modifiedclang/include/clang/AST/CommentSema.h
The file was modifiedclang/lib/AST/CommentSema.cpp
Commit e4a9225f5d10f35cf9cf3664bb93620880228782 by qcolombet
[GISel][KnownBits] Give up on PHI analysis as soon as we don't know anything

When analyzing PHIs, we gather the known bits for every operand and
merge them together to get the known bits of the result of the PHI.
It is not unusual that merging the information leads to know nothing
on the result (e.g., phi a: i8 3, b: i8 unknown, ..., after looking at the
second argument we know we will know nothing on the result), thus, as
soon as we reach that state, stop analyzing the following operand (i.e.,
on the previous example, we won't process anything after looking at `b`).

This improves compile time in particular with PHIs with a large number
of operands.

NFC.
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Commit 6d34a87bae6ea211076c25faef7da5d29cb8e46d by richard
[cxx_status] Update -std= instructions for C++20.

We merged support for -std=c++20 to the Clang 10 branch, so -std=c++2a
is only needed in Clang 9 and earlier.
The file was modifiedclang/www/cxx_status.html
Commit 0c8fa6db90ae856b844d7d2925672cbaef3e0668 by francesco.petrogalli
[llvm][build] Fix shared lib builds. [NFC]

The code at https://reviews.llvm.org/D74808 has broken builds that are
configured with -DBUILD_SHARED_LIBS=On.

This patch adds the correct library dependencies.
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
Commit 3d0564c7e07b00a4ddd672e5efb12b75501f47d9 by SourabhSingh.Tomar
Revert "[NFCI][DebugInfo]: Corrected a Typo."

This reverts commit 3e1090922a0b808f424ff424b744752b0d53a3ee
as per Paul Robinson's suggestion.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
Commit 7ddbf802cf64e89b77ef2ce44182248921a42172 by spatel
[ConstantFold] add/move tests for FP with undef operand; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/fp-undef.ll
The file was addedllvm/test/Analysis/ConstantFolding/fp-undef.ll
Commit 6f4d9d10293d8e93d7cf3397e3a82ac19c8b629f by thakis
Revert "[AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations"

This reverts commit ce70e2899879e092b153a4078b993833b6696713.
It broke MC/AArch64/SVE2/bsl-diagnostics.s everywhere.
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was removedllvm/test/CodeGen/AArch64/sve2-bitwise-ternary.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit e84444781aad23ed66d46d23637df4768677e76e by thakis
Revert "libclang: Add static build support for Windows" and
follow-up "libclang: Make shared object symbol exporting by default"

This reverts commit 7a7c753b0cca6abb61f054842fb087dfc30dc563.
This reverts commit 7ff1f55a1219719f57a6f7905c26ce41d1767e4c.

They broke building libclang.dll on Windows, see
https://reviews.llvm.org/D74564
The file was modifiedclang/include/clang-c/Platform.h
The file was modifiedclang/tools/libclang/CMakeLists.txt
Commit 714265dabb606bfef2f85694234f152edbfa91ac by craig.topper
[X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT

The type here isn't guaranteed to be a simple type.

Fixes PR44976
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/pr44976.ll
Commit 1d8860f90bcec1902e2d247c6b1261955a4b6353 by craig.topper
Revert 714265dabb606bfef2f85694234f152edbfa91ac "[X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT"

I accidentally messed up the author on the previous commit somehow.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was removedllvm/test/CodeGen/X86/pr44976.ll
Commit c7b54a196e1363cbe43122f01a728cd71fa1686a by craig.topper
Recommit "[X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT""

With the correct author this time
The file was addedllvm/test/CodeGen/X86/pr44976.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9e0c95572e5a245b79eff2b214d9b3580e703e4d by daltenty
[AIX] Improve 32/64-bit build configuration

Summary:
AIX supports both 32-bit and 64-bit environments (with 32-bit being the default). This patch improves support for building LLVM on AIX in both 32-bit and 64-bit mode.

  - Change host detection to return correct 32/64-bit triple as config_guess does not return the correct version on 64-bit. This can confuse JIT tests and other things that care about what the host triple is.
  - Remove manual setting of 64-bit flags on AIX. AIX provides OBJECT_MODE environment variable to enable the user to obtain a 64-bit development environment. CMake will properly set these flags provided the user sets the correct OBJECT_MODE before configuring and setting them manually will interfere with 32-bit builds.
  - Don't present the LLVM_BUILD_32_BITS option on AIX, users should use OBJECT_MODE when running CMake instead.

Reviewers: hubert.reinterpretcast, DiggerLin, stevewan

Reviewed By: DiggerLin, stevewan

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74256
The file was modifiedllvm/cmake/modules/GetHostTriple.cmake
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
The file was modifiedllvm/CMakeLists.txt
Commit bf3f427ba239bd2942bfaa350d06ed072935f048 by shafik
[ASTImporter] Add linkage check to ASTNodeImporter::hasSameVisibilityContext and rename to hasSameVisibilityContextAndLinkage

This fixed is based on the assert in LinkageComputer::getLVForDecl(...) which assumes that all the decls in a redecl chain have the same linkage.

Differential Revision: https://reviews.llvm.org/D74639
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 6123074d0c0de3614f1552f2f2d6b9db7b32cebe by scott.linder
[Driver] Escape the program path for -frecord-command-line

Similar to the rest of the command line that is recorded, the program
path must also have spaces and backslashes escaped. Without this
parsing the recorded command line becomes hard on platforms like
Windows where spaces and backslashes are common.

Patch By: Ravi Ramaseshan
Differential Revision: https://reviews.llvm.org/D74811
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit c767cf24e48d9f6c17179abf2e42497601c7165b by efriedma
[SVE] Add support for lowering GEPs involving scalable vectors.

This includes both GEPs where the indexed type is a scalable vector, and
GEPs where the result type is a scalable vector.

Differential Revision: https://reviews.llvm.org/D73602
The file was addedllvm/test/CodeGen/AArch64/sve-gep.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 99809f98d7bb18dbe3be543942a4b467dff7e92e by flo
[SCCP] Do not mark unknown loads as overdefined.

For tracked globals that are unknown after solving, we expect all
non-store uses to be replaced.

This is a follow-up to f8045b250d80, which removed forcedconstant.

We should not mark unknown loads as overdefined, as they either load
from an unknown pointer or an undef global. Restore the original logic
for loads.
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint2.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/PR26044.ll
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
The file was addedllvm/test/Transforms/SCCP/loadtest2.ll
The file was modifiedllvm/test/Transforms/SCCP/loadtest.ll
Commit ee260c1a0f1c0a8fd1179cdab9fb4312086dcc54 by ajcbik
[mlir] [VectorOps] Multi-dim reductions for lowering vector.contract

Summary:
This implements the last step for lowering vector.contract progressively
to LLVM IR (except for masks). Multi-dimensional reductions that remain
after expanding all parallel dimensions are lowered into into simpler
vector.contract operations until a trivial 1-dim reduction remains.

Reviewers: nicolasvasilache, andydavis1

Reviewed By: andydavis1

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74880
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/VectorOps/vector-contract-transforms.mlir
Commit 6d60d8695d2066c9ef9360603c88ce938ca65491 by riddleriver
[mlir] Use LLJIT::getMainJITDylib instead of hardcoding '<main>'

This fixes test failures caused by a change to the name of the main
dylib, now called 'main'. It also hardens the engine against potential
future changes to the name.
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 3ee281082737d18585abff3b482a7ab86af73b5a by Jonas Devlieghere
[lldb/Plugin] Don't mark ProcessNetBSD as a plugin

ProcessNetBSD has no initializers so it's just a regular library and
shouldn't have the PLUGIN argument in add_lldb_library.
The file was modifiedlldb/source/Plugins/Process/NetBSD/CMakeLists.txt
Commit 577d9ce35532439203411c999deefc9c80e04c69 by scott.linder
Revert "[Driver] Escape the program path for -frecord-command-line"

This reverts commit 6123074d0c0de3614f1552f2f2d6b9db7b32cebe.

Quoting/escaping rules seem host specific, so the test is failing on
some bots.
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 51bf5d3cc19ac113de2ff185fb5bc2b99b8d89bc by riddleriver
[mlir][Parser] Update DenseElementsAttr to print in hex when the number of elements is over a certain threshold.

Summary: DenseElementsAttr is used to store tensor data, which in some cases can become extremely large(100s of mb). In these cases it is much more efficient to format the data as a string of hex values instead.

Differential Revision: https://reviews.llvm.org/D74922
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was addedmlir/test/IR/dense-elements-hex.mlir
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/test/IR/invalid.mlir
Commit 0d19b016226dc2c442a34abfe9b9c06ab4d7ea1e by Jonas Devlieghere
[lldb/Test] Remove stale README in test/API

Now that the test live in the same directory the README is no longer
relevant.
The file was removedlldb/test/API/README.md
Commit 07c559caef967cda9812ab7b6ab94c20748e6ac9 by Louis Dionne
[libc++] Explain XFAILs with std::uncaught_exceptions test
The file was modifiedlibcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
Commit d95a10a7f976188e4ffec77d82000afc53a6d39a by craig.topper
[X86] Custom legalize v1i1 add/sub/mul to xor/xor/and with avx512.

We already did this for v2i1, v4i1, v8i1, etc.
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 5228a5544b2c887dab3aede7baf818ca4244141e by craig.topper
[X86] Fix a couple copy mistakes in v4i1 or/and/xor isel patterns.

VK1 was being used as the output of the copy to regclass, but it
should be VK2/VK4. Shouldn't matter in practice though since
VK1/VK2/VK4/VK8/VK16 are all identicaly and just have different VTs.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit b00ef8951b52451eb31f9e41848246c8fb17a2bb by craig.topper
[X86] Custom legalize v1i1 UADDSAT/USUBSAT/SADDSAT/UADDSAT to match v2i1/v4i1/v8i1 etc.
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7e927698621f476e698eea14e6954057c81ccf4b by craig.topper
[X86] Expand vselect of v1i1 under avx512.

We already do this for v2i1, v4i1, etc.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-select.ll
Commit e5782377f3f6184abc73a7098c9a0cea0a93350f by craig.topper
[X86] Add CMOV_VK1 pseudo so we don't crash on v1i1 ISD::SELECT
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-select.ll
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit 72ce0c8073bc8dfa109d25a3c5f245ee0285568c by Louis Dionne
[libc++][regex] Validate backreferences in the constructor.

This patch enables throwing exceptions for invalid backreferences
in the constructor when using the basic, extended,  grep, or egrep grammar.

This fixes bug 34297.

Differential Revision: https://reviews.llvm.org/D62453
The file was modifiedlibcxx/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp
The file was modifiedlibcxx/include/regex
Commit d4ded05ba851304b26a437896bc3962ef56f62cb by bigcheesegs
[libunwind][CMake] Treat S files as C to work around CMake bug.

The OSX_ARCHITECTURES property is supposed to add the -arch flag when
targeting Apple platforms. However, due to a bug in CMake
(https://github.com/Kitware/CMake/blob/master/Source/cmLocalGenerator.cxx#L1780),
this does not apply to assembly files. This results in a linker error
when trying to build libunwind for i386 on MacOS.

rdar://59642189
The file was modifiedlibunwind/src/CMakeLists.txt
Commit 2fe457690da0fc38bc7f9f1d0aee2ba6a6a16ada by isanbard
Filter callbr insts from critical edge splitting

Similarly to how splitting predecessors with an indirectbr isn't handled
in the generic way, we also shouldn't split callbrs, for similar
reasons.
The file was addedllvm/test/Transforms/LICM/callbr-crash.ll
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit 7593a480dbce4e26f7dda4aa8f15bffd03acbfdb by Vedant Kumar
[Dominators] Use Instruction::comesBefore for block-local queries, NFC

Use the lazy instruction ordering facility for block-local dominance
queries.

Differential Revision: https://reviews.llvm.org/D74931
The file was modifiedllvm/unittests/IR/DominatorTreeTest.cpp
The file was modifiedllvm/lib/IR/Dominators.cpp
Commit e27b61c1ea3dbc8329673003e16ecba96600933a by tclin914
[XCore] Add instruction pattern for bitrev

Summary:
Add support for lowering bitreverse to the bitrev instruction.
Fix https://bugs.llvm.org/show_bug.cgi?id=34628.

Reviewers: RKSimon, rtrieu, robertlytton

Reviewed By: RKSimon

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74748
The file was modifiedllvm/lib/Target/XCore/XCoreISelLowering.cpp
The file was addedllvm/test/CodeGen/XCore/bitrev.ll
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.td
Commit 4b540fa8a1c1077468cf8eb7c32fd2481cdbc520 by johannes
[OpenMP][NFC] Remove leftover debug messages
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit c32c8fd1437c69f90f48c91c7545a53d33d6ba20 by riddleriver
[mlir] Use getOperation()->setAttr when generating attribute set
methods.

This avoids the need to resolve overloads when the current operation
also defines a 'setAttr' method.
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit d8969a1cb963caa979a7cfd298f79108b9f0c0ca by mvels
Split _LIBCPP_STRING_EXTERN_TEMPLATE_LIST up into a V1 and UNSTABLE version.

This change splits the _LIBCPP_STRING_EXTERN_TEMPLATE_LIST up into a _LIBCPP_STRING_V1_EXTERN_TEMPLATE_LIST containing the stable ABI, and a _LIBCPP_STRING_UNSTABLE_EXTERN_TEMPLATE_LIST containing the unstable ABI.

The purpose is to explicitly define and maintain the two lists, where the unstable ABI allows for ABI breaking changes for purposes such as optimization while offering a strong guarantee that any change inside the unstable ABI does not affect the stable ABI.

As per the comment in the __string header, we do still allow etries to be added to the stable ABI list as the c++ versions and corresponding c++ std API changes.
The file was modifiedlibcxx/include/__string
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/src/string.cpp
Commit 78be61871704a451a5d9462d7e96ed6c982746d4 by craig.topper
[X86] Add CMOV_VR64 pseudo instruction for MMX. Remove mmx handling from combineSelect.

The combineSelect code was casting to i64 without any check that
i64 was legal. This can break after type legalization.

It also required splitting the mmx register on 32-bit targets.
It's not clear that this makes sense. Instead switch to using
a cmov pseudo like we do for XMM/YMM/ZMM.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/test/CodeGen/X86/select-mmx.ll
Commit efeafa1bdaa715733fc100bcd9d21f93c7272368 by jano.vesely
libclc: Use acos implementation from amd_builtins

Fixes acos CTS (1 thread, scalar) on AMD Turks.
Reviewer: tstellar
Differential Revision: https://reviews.llvm.org/D74011
The file was removedlibclc/generic/lib/math/acos.inc
The file was modifiedlibclc/generic/lib/math/acos.cl
Commit 457660683154014db4b649e852d152354844338a by craig.topper
[X86] Remove unnecessary isNullConstant in LowerSelect. NFC

At this point in the code we know that Op1 or Op2 is
all ones. Y points to the other operand. In the case that
Op2 is zero, Op1 must be all ones and Y is Op2. The OR
ORs Y into Res. But if Y is 0 the OR will be folded away by
getNode so we don't need to check for it.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit df74033ec9fceb0c7c1c44a61f240c05c4d5b368 by sbc
[WebAssembly] Remove unneeded getWasmKindForNamedSection function

I believe this was carried over from getELFKindForNamedSection since
the wasm backend originally used ELF object writing as a template.

Differential Revision: https://reviews.llvm.org/D74565
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit 3bc525af235038602a2e1143f5491d3b802a8b5b by craig.topper
[X86] Autogenerate complete checks. NFC
The file was modifiedllvm/test/CodeGen/X86/cmov-fp.ll
Commit 263bef2bbcb0b3bad1f9113a638d6e6c92920a6b by craig.topper
[X86] Make combineCMov not create unsupported FCMOVs when f32/f64 are using X87.

This makes the behavior consistent with what's in LowerSELECT.
The file was modifiedllvm/test/CodeGen/X86/cmov-fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/pseudo_cmov_lower.ll
Commit 97f11600e0b87b69b01412af8df4fc37af652fce by craig.topper
[X86] Don't bother avoiding illegal FCMOVs if we don't have the cmov subtarget feature.

We'll be forced to emit branches so we might as well use the most
direct condition.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/cmov-fp.ll
The file was modifiedllvm/test/CodeGen/X86/pseudo_cmov_lower.ll
Commit e326f52430419af1ca5aed635168672fbaab5654 by hokein.wu
[clangd] Fix the incomplete template specialization in findTarget.

Summary:
FindTarget doesn't report the TemplatePattern for incomplete
specialization.

Reviewers: sammccall

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74900
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 0e5ed1b26264f7eee32b23c533371c18ce1cdec0 by Raphael Isemann
[lldb][NFC] Split up ClangASTSource::FindExternalVisibleDecls

This function has two functions hidden inside it. Let's make
them proper functions.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit bc498198b5559829d8f7138db01b0f51afefe2a7 by hokein.wu
[clangd] Allow renaming class templates in cross-file rename.

Summary:
It was disabled because we don't handle explicit template
specialization well (due to the index limitation).

renaming templates is normal in practic, rather than disabling it, this patch
allows to rename them though it is not perfect (just a known limitation).

Context: https://github.com/clangd/clangd/issues/280

Reviewers: kbobyrev

Reviewed By: kbobyrev

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74709
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit e5eeb8465f29bf4e9cf6f1edb88573338fc12725 by sebastian.neubauer
Make unittests include path relative

This change is relevant when embedding the llvm cmake project into
another project.  It should not change the build behavior of a normal
llvm build.

In the case where llvm is embedded as a cmake subproject,
CMAKE_SOURCE_DIR does not point to the expected directory and building
the tests fails.
Using CMAKE_CURRENT_SOURCE_DIR fixes this problem, as it will always
point to the same directory.

Differential Revision: https://reviews.llvm.org/D73466
The file was modifiedllvm/unittests/TableGen/CMakeLists.txt
Commit d0b09f89e0ed01730173e8b609f25da33e826fa6 by zinenko
[NFC][mlir] Adding more operators to EDSC TemplatedIndexedValue

This change adds some missing arithmetic and logical operators to
`TemplatedIndexedValue` for EDSC usage.

Differential Revision: https://reviews.llvm.org/D74686
The file was modifiedmlir/include/mlir/Dialect/AffineOps/EDSC/Builders.h
The file was modifiedmlir/include/mlir/EDSC/Builders.h
Commit 32e4e7196630dfe23072990ef4071df4aaa41bb6 by nicolai.haehnle
test/CodeGen/AMDGPU: Add a test case that shows a miscompilation

Related to https://reviews.llvm.org/D74908

Change-Id: I6ebf3b5c7a32493016994f30d6796c41e95aecde
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
Commit a24d46318f669b3882f6c87f58633098e2a157bf by sguelton
[NFC] Corrected a minor typo in a comment
The file was modifiedllvm/lib/Target/ARM/README-Thumb.txt
The file was modifiedllvm/lib/Support/YAMLTraits.cpp
Commit 99b03c1c18de3e4228e31ef04d38f2d530d335be by sguelton
Detect and disable openmp tests that require multiple hardware processor to run

Team tests seem to require at least two physical cores, and using the same trick
as in https://reviews.llvm.org/D55598 doesn't work (why?) .
Using lit configuration instead.

Differential Revision: https://reviews.llvm.org/D74921
The file was modifiedopenmp/runtime/test/ompt/teams/serial_teams.c
The file was modifiedopenmp/runtime/test/lit.cfg
The file was modifiedopenmp/runtime/test/ompt/teams/parallel_team.c
Commit d799190851fdd94800428ba335f864ce5fd8135b by spatel
[ConstantFold] fold fsub -0.0, undef to undef rather than NaN

A question about this behavior came up on llvm-dev:
http://lists.llvm.org/pipermail/llvm-dev/2020-February/139003.html
...and as part of backend improvements in D73978, but this is an IR
change first because we already have fairly thorough tests in place
here.

We decided not to implement a more general change that would have
folded any FP binop with nearly arbitrary constant + undef operand
to undef because that is not theoretically correct (even if it is
practically correct).

Differential Revision: https://reviews.llvm.org/D74713
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/test/Analysis/ConstantFolding/fp-undef.ll
Commit b0761bbc7639d0901d623e1fbf53ccf6ce066b16 by evgueni.brevnov
[DependenceAnalysis] Memory dependence analysis internal caching mechanism is broken in presence of TBAA (PR42733).

Summary:
There is a flaw in memory dependence analysis caching mechanism when memory accesses with TBAA are involved. Assume we first analysed and cached results for access with TBAA. Later we request dependence for the same memory but without TBAA (or different TBAA). By design these two queries should share one entry in the internal cache which corresponds to a general access (without TBAA).  Thus upon second request internal cached is cleared and we continue analysis for access as if there is no TBAA.

The problem is that even though internal cache is cleared the set of visited nodes is not. That means we won't traverse visited nodes again and populate internal cache with the corresponding dependence results. So we end up  with internal cache in an incomplete state. Current implementation tries to signal that situation by resetting CacheInfo->Pair at line 1104. But that doesn't actually help since later code ignores this invalidation and relies on 'Cache->empty()' property to decide on cache completeness.

Reviewers: reames, hfinkel, chandlerc, fedor.sergeev, asbirlea, fhahn, john.brawn, Prazek, sunfish

Reviewed By: john.brawn

Subscribers: DaniilSuchkov, kosarev, jfb, dantrushin, hiraditya, bmahjour, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73032
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
The file was addedllvm/test/Analysis/MemoryDependenceAnalysis/memdep_with_tbaa.ll
Commit c51b0bede82b9eeddce78151dfc257cf738bf367 by kparzysz
[Hexagon] Introduce noop intrinsic to cast between vector predicate types

The (overloaded) intrinsic is llvm.hexagon.V6.pred.typecast[.128B]. The
types of the operand and the return value are HVX boolean vector types.
For each cast, there needs to be a corresponding intrinsic declared,
with different suffixes appended to the name, e.g.
  ; cast <128 x i1> to <32 x i1>
  declare <32 x i1> @llvm.hexagon.V6.pred.typecast.128B.s1(<128 x i1>)
  ; cast <32 x i1> to <64 x i1>
  declare <64 x i1> @llvm.hexagon.V6.pred.typecast.128B.s2(<32 x i1>)
etc.
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsHexagon.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was addedllvm/test/CodeGen/Hexagon/autohvx/vector-predicate-typecast.ll
Commit 35b685270b410f6a1351c2a527021f22330c25b9 by antiagainst
[mlir] Add a signedness semantics bit to IntegerType

Thus far IntegerType has been signless: a value of IntegerType does
not have a sign intrinsically and it's up to the specific operation
to decide how to interpret those bits. For example, std.addi does
two's complement arithmetic, and std.divis/std.diviu treats the first
bit as a sign.

This design choice was made some time ago when we did't have lots
of dialects and dialects were more rigid. Today we have much more
extensible infrastructure and different dialect may want different
modelling over integer signedness. So while we can say we want
signless integers in the standard dialect, we cannot dictate for
others. Requiring each dialect to model the signedness semantics
with another set of custom types is duplicating the functionality
everywhere, considering the fundamental role integer types play.

This CL extends the IntegerType with a signedness semantics bit.
This gives each dialect an option to opt in signedness semantics
if that's what they want and helps code sharing. The parser is
modified to recognize `si[1-9][0-9]*` and `ui[1-9][0-9]*` as
signed and unsigned integer types, respectively, leaving the
original `i[1-9][0-9]*` to continue to mean no indication over
signedness semantics. All existing dialects are not affected (yet)
as this is a feature to opt in.

More discussions can be found at:

https://groups.google.com/a/tensorflow.org/d/msg/mlir/XmkV8HOPWpo/7O4X0Nb_AQAJ

Differential Revision: https://reviews.llvm.org/D72533
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/IR/Builders.h
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/include/mlir/IR/Matchers.h
The file was modifiedmlir/lib/Dialect/StandardOps/Ops.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/IR/TypeDetail.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/test/mlir-tblgen/predicate.td
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/Ops.td
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/lib/Parser/Token.cpp
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/QuantOps/QuantPredicates.td
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/docs/Rationale.md
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/include/mlir/Dialect/QuantOps/UniformSupport.h
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/test/lib/TestDialect/TestDialect.cpp
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/lib/Parser/TokenKinds.def
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/lib/Dialect/FxpMathOps/Transforms/UniformKernelUtils.h
The file was modifiedmlir/include/mlir/IR/Operation.h
The file was modifiedmlir/lib/Dialect/AffineOps/EDSC/Builders.cpp
The file was modifiedmlir/lib/IR/MLIRContext.cpp
The file was modifiedmlir/lib/Parser/Lexer.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
The file was modifiedmlir/lib/Parser/Token.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.td
Commit 86c52af05a64c4aa9d61984eeda8fb7849a4b0fa by llvm-dev
[TargetLowering] SimplifyDemandedBits - use getValidShiftAmountConstant helper.

Use the SelectionDAG::getValidShiftAmountConstant helper to get const/constsplat shift amounts, which allows us to drop the out of range shift amount early-out.

First step towards better non-uniform shift amount support in SimplifyDemandedBits.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit d33e96b68c6f6424dc81145b1301f4cd478e84a2 by llvm-dev
[X86] Regenerate hi reg tests
The file was modifiedllvm/test/CodeGen/X86/h-register-addressing-64.ll
The file was modifiedllvm/test/CodeGen/X86/h-register-addressing-32.ll
Commit b55c58a2d569f2d92333b05c1a7a00114d75e0a6 by pavel
[Error/unittests] Add a FailedWithMessage gtest matcher

Summary:
We already have a "Failed" matcher, which can be used to check any
property of the Error object. However, most frequently one just wants to
check the error message, and while this is possible with the "Failed"
matcher, it is also very convoluted
(Failed<ErrorInfoBase>(testing::Property(&ErrorInfoBase::message, "the
message"))).

Now, one can just write: FailedWithMessage("the message"). I expect that
most of the usages will remain this simple, but the argument of the
matcher is not limited to simple strings -- the argument of the matcher
can be any other matcher, so one can write more complicated assertions
if needed (FailedWithMessage(ContainsRegex("foo|bar"))). If one wants to
match multiple error messages, he can pass multiple arguments to the
matcher.

If one wants to match the message list as a whole (perhaps to check the
message count), I've also included a FailedWithMessageArray matcher,
which takes a single matcher receiving a vector of error message
strings.

Reviewers: sammccall, dblaikie, jhenderson

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74898
The file was modifiedllvm/include/llvm/Testing/Support/Error.h
The file was modifiedllvm/unittests/Support/ErrorTest.cpp
Commit 4fdaac0e1eb8e75fe59de0bd01cf72329dacbdb4 by sd.fertile
[PowerPC][NFC] Remove Darwin specific logic in frame finalization.

Remove some cumbersome Darwin specific logic for updating the frame
offsets of the condition-register spill slots. The containing function has an
early return if the subtarget is not ELF based which makes the Darwin logic
dead.
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
Commit a49a41e7855fad426abf6ee9b8b88a535e8d33cc by gabor.marton
[AST][NFC] Update outdated comments in ASTStructuralEquivalence.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
Commit 175f6e309ab911d43ab21707587615341112f3b5 by sd.fertile
[PowerPC][NFC] Add a test for vrsave usage iinline asm.

Add a lit test that that uses vrsave register in the clobber list, and
tests the extended mnemonics mtvrsave and mfvrsave.
The file was addedllvm/test/CodeGen/PowerPC/vrsave-inline-asm.ll
Commit de8793b9184ece0d24f46bc2d86711092848f938 by pavel
[lldb/DWARF] Add support for type units in dwp files

all that was needed was to teach lldb's DWARF context about the
debug_tu_index section.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
The file was addedlldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
Commit f0c642e82274158f692d184de177be65eba814c1 by epastor
Remove unused functions in llvm-ml

On review, these functions will likely not be needed even in the final MasmParser.
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp
Commit 5125803d344b848cdfc9441edfcc36dc8e488407 by alexandre.ganea
[mlir] Silence error: call to constructor of 'llvm::APInt' is ambiguous

I was getting this error when using Clang 9.0.1 for compiling.

F:\llvm-project\mlir\lib\IR\Builders.cpp(119,27): error: call to constructor of 'llvm::APInt' is ambiguous
                          APInt(32, value, /*isSigned=*/false));
                          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
F:\llvm-project\llvm\include\llvm/ADT/APInt.h(277,3): note: candidate constructor
  APInt(unsigned numBits, uint64_t val, bool isSigned = false)
  ^
F:\llvm-project\llvm\include\llvm/ADT/APInt.h(304,3): note: candidate constructor
  APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]);
  ^
1 error generated.
The file was modifiedmlir/lib/IR/Builders.cpp
Commit b64aa8c715112ac4b9fd1ae8eb5ecb981ecd091a by arsenm2
AMDGPU/GlobalISel: Fix constant bus violation with source modifiers

This looked through copies to find the source modifiers, which may
have been SGPR->VGPR copies added to avoid potential constant bus
violations. Re-insert a copy to a VGPR if this happens.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s64.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/constant-bus-restriction.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
Commit fab4cdea3911b19d1b1819102aee0252cbd4eba4 by arsenm2
AMDGPU/GlobalISel: Select llvm.amdgcn.fmul.legacy
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fmul.legacy.ll
Commit 79ff188addeeea127c7a7edd808c5821917d4bb6 by arsenm2
AMDGPU/GlobalISel: Legalize G_FPOW

There are few differences from the DAG handling. First, the DAG
handling uses a primitive selection pattern instead of custom
legalizing it. Because of this, this makes use of source modifiers
while the DAG does not.

Also instead of promoting f16, try to use the f16 log/exp. There's no
f16 fmul_legacy, so widen just for the multiply, although I'm not sure
that's the best solution.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/fpow.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpow.mir
Commit ac7abe0ba9ae4c6a2248cc3ef4e4fe7e6d270105 by arsenm2
AMDGPU/GlobalISel: Manually select G_BUILD_VECTOR_TRUNC

We have patterns for s_pack* selection, but they assume the inputs are
a build_vector with 16-bit inputs, not a truncating build
vector. Since there's still outstanding work for how to handle
mismatched result and source element vector operations, and since I'm
trying a different packed vector strategy than SelectionDAG, just
manually select this for now.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
Commit 83012cb217189bb6faa1256cc44fd0c306363264 by david.green
[ARM] Correct Formatting. NFC

Also removed an unnecessary TODO that I don't believe is relevant for
the instruction in question.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 89dc8fe6222041319e073ceb8ee0cb38d045ea16 by arsenm2
AMDGPU/GlobalISel: Precommit xnor matching test
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll
Commit 6ed8e2014330b6a48d238cdc4357e788cdd6d445 by maskray
[ELF] Ignore the maximum of input section alignments for two cases

Follow-up for D74286.

Notations:

* alignExpr: the computed ALIGN value
* max_input_align: the maximum of input section alignments

This patch changes the following two cases to match GNU ld:

* When ALIGN is present, GNU ld sets output sh_addr to alignExpr, while lld use max(alignExpr, max_input_align)
* When addrExpr is specified but alignExpr is not, GNU ld sets output sh_addr to addrExpr, while lld uses `advance(0, max_input_align)`

Note, sh_addralign is still set to max(alignExpr, max_input_align).

lma-align.test is enhanced a bit to check we don't overalign sh_addr.

fixSectionAlignments() sets addrExpr but not alignExpr for the `!hasSectionsCommand` case.
This patch sets alignExpr as well so that max_input_align will be respected.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D74736
The file was modifiedlld/test/ELF/linkerscript/lma-align.test
The file was modifiedlld/test/ELF/linkerscript/outsections-addr.s
The file was modifiedlld/ELF/Writer.cpp
The file was addedlld/test/ELF/linkerscript/section-align2.test
The file was modifiedlld/ELF/LinkerScript.cpp
Commit de0dda54d38137d0714c279a540074fe73822b8b by maskray
[ELF] Warn changed output section address

When the output section address (addrExpr) is specified, GNU ld warns if
sh_addr is different. This patch implements the warning.

Note, LinkerScript::assignAddresses can be called more than once. We
need to record the changed section addresses, and only report the
warnings after the addresses are finalized.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D74741
The file was modifiedlld/test/ELF/linkerscript/lma-align.test
The file was modifiedlld/ELF/LinkerScript.h
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/linkerscript/section-align2.test
Commit c47e0e2d37d32ec56c760f1a2c9740d69c370b57 by Jonas Devlieghere
[lldb-vscode] Use libOption with tablegen to parse command line options.

This change will bring lldb-vscode in line with how several other llvm
tools process command line arguments and make it easier to add future
options.

Differential revision: https://reviews.llvm.org/D74798
The file was modifiedlldb/test/Shell/helper/toolchain.py
The file was addedlldb/test/Shell/VSCode/TestOptions.test
The file was modifiedlldb/tools/lldb-vscode/CMakeLists.txt
The file was addedlldb/tools/lldb-vscode/Options.td
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
Commit dbd7281aa775a0e23c43a02583593900cd4c05be by maskray
[ELF] Shuffle .init_array/.fini_array with --shuffle-sections=

Useful for detecting static initialization order fiasco.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D74887
The file was modifiedlld/ELF/Writer.cpp
The file was addedlld/test/ELF/shuffle-sections-init-fini.s
Commit 42ec6fdce92090c02a10506fbdb2257fdbc2d1fd by llvm-dev
[TargetLowering] Apply basic shift combines before recursive SimplifyDemandedBits calls.

Minor refactor/cleanup before we begin adding non-uniform support.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 043ed2e22ac442c2116f5df6367d3889ea0b9de1 by arsenm2
AMDGPU/GlobalISel: Fix xnor matching

We should try the generated matchers before the manual selection. This
means the patterns are now handling the common cases, but the manual
selection code is not yet dead. It's still handling the non-s32/s64
cases (like v2s16 and v2s32). Currently tablegen doesn't have a nice
way to have a single pattern that covers multiple types.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-pattern-xor3.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-pattern-or3.mir
Commit 6a479220b5e8b25ec3ffe193c463cb3fdaac0e06 by arsenm2
AMDGPU/GlobalISel: Commit test changes I forgot to squash

These should have been in ac7abe0ba9ae4c6a2248cc3ef4e4fe7e6d270105
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
Commit cab39e4b8c826ec5dfebe17a18137272022e64ac by jay.foad
GlobalISel: Fix narrowing of (G_ASHR i64:x, 32)

Reviewers: arsenm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74950
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-ashr-narrow.mir
Commit 9fff6e823cf79075d1f386e1e875b73405368620 by mcinally
[AArch64][SVE] Add +fullfp16 to sve-vector-splat.ll

Add +fullfp16 to sve-vector-splat.ll so we can test folding of immediates into moves.

This attribute can go away later when SVE has a full set of fp16 patterns in place.

Differential Revision: https://reviews.llvm.org/D74965
The file was modifiedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
Commit 134bab7cd5679673d6807595ae77b5bc0c3b83c2 by flo
[DSE,MSSA] Add debug counter.

Can be used like
-debug-counter=dse-memoryssa-skip=10,dse-memoryssa-counter-count=20

Reviewers: dmgreen, rnk, efriedma, bryant, asbirlea

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D72147
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/debug-counter.ll
Commit 23444edf30ba00ccefa3a582ac7ddc29774e9da5 by yitzhakm
[AST matchers] Add basic matchers for googletest EXPECT/ASSERT calls.

Summary:
This revision adds matchers that match calls to the gtest EXPECT and ASSERT
macros almost like function calls. The matchers are placed in separate files
(GtestMatchers...), because they are specific to the gtest library.

Reviewers: gribozavr2

Subscribers: mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74840
The file was addedclang/include/clang/ASTMatchers/GtestMatchers.h
The file was addedclang/lib/ASTMatchers/GtestMatchers.cpp
The file was modifiedclang/lib/ASTMatchers/CMakeLists.txt
The file was addedclang/unittests/ASTMatchers/GtestMatchersTest.cpp
The file was modifiedclang/unittests/ASTMatchers/CMakeLists.txt
Commit fc4455891c00bfa16c85d0cebe6158fafe11667d by spatel
[VectorCombine] refactor matching code to reduce duplication; NFC

cmp/binop were already diverging even though they are largely
the same logic.
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit db9c40f5624e6d55e0cbafe3f3980a7223e197c4 by danilo.carvalho.grael
[AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations

Summary:
Add intrinsics for the following operations:
- eor3, bcax
- bsl, bsl1n, bsl2n, nbsl

Fix MC tests for bsl instructions.

Reviewers: kmclaughlin, c-rhodes, sdesmalen, efriedma, rengolin

Reviewed By: efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74785
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/MC/AArch64/SVE2/bsl-diagnostics.s
The file was modifiedllvm/test/MC/AArch64/SVE2/bsl1n-diagnostics.s
The file was addedllvm/test/CodeGen/AArch64/sve2-bitwise-ternary.ll
The file was modifiedllvm/test/MC/AArch64/SVE2/bsl2n-diagnostics.s
The file was modifiedllvm/test/MC/AArch64/SVE2/nbsl-diagnostics.s
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 60023e347116e5004295e8c7f2f09cc1855d4d84 by arsenm2
AMDGPU: Use default operand for VOP3P clamp

We don't use this, and matching from the def doesn't make much sense.

There are multiple tablegen bugs with default operand
handling. undef_tied_input should work to handle the vdst_in
correctly, but this breaks the operand register class constraint which
it should be able to infer.
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP3PInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
Commit 41bd9ead35f60823c59367efe4f3d5ade87e756d by paulsson
[SystemZ]  Return scalarized costs for vector instructions on older archs.

A cost query for a vector instruction should return a cost even without
target vector support, and not trigger an assert.

VectorCombine does this with an input containing source code vectors.

Review: Ulrich Weigand
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was addedllvm/test/Analysis/CostModel/SystemZ/oldarch-vectors.ll
Commit 8c70a2597f53457efc8eb2798c1d1056bb105ec3 by llvmgnsyncbot
[gn build] Port 23444edf30b
The file was modifiedllvm/utils/gn/secondary/clang/unittests/ASTMatchers/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/ASTMatchers/BUILD.gn
Commit a8db806d52ce02ddca179b811da164023316d4b9 by nikita.ppv
[SimplifyLibCalls][IRBuilder] Accept any IRBuilder in SimplifyLibCalls

This changes the SimplifyLibCalls utility to accept an IRBuilderBase,
which allows us to pass through the IRBuilder used by InstCombine.
This will ensure that new instructions get added to the worklist.
The annotated test-case drops from 4 to 2 InstCombine iterations thanks
to this.

To achieve this, I'm adding an IRBuilderBase::OperandBundlesGuard,
which is basically the same as the existing InsertPointGuard and
FastMathFlagsGuard, but for operand bundles. Also add a
setDefaultOperandBundles() method so these can be set outside the
constructor.

Differential Revision: https://reviews.llvm.org/D74792
The file was modifiedllvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/simplify-libcalls.ll
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit c90ea87cfd71f8da05f2e684d3cf139f9773c15d by nikita.ppv
[X86] Fix SDLoc initialization

Fixes -Wparentheses warning, in this case indicating a genuine
bug.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 98f5268a7292c2996e2f718382e2d5404eb5d112 by flo
[VectorUtils] Move ToVectorTy to VectorUtils.h (NFC).

ToVectorTy is defined and used in multiple places. Hoist it to
VectorUtils.h to avoid duplication and improve re-usability.

Reviewers: rengolin, hsaito, Ayal, gilr, fpetrogalli

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D74959
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
Commit deb0a8bfc4923356beaa47b960d14b0c46a14721 by flo
[DSE,MSSA] Dbg counters required assertions. Mark test accordingly.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/debug-counter.ll
Commit 656dff9af48bd242fc0f8a20cf50c6d0921df052 by nikita.ppv
[InstCombine] Use replaceOperand() in more places

Followup to D73919 with another batch of replacements of
setOperand() -> replaceOperand(), to make sure the old
operand gets DCEd right away.

Differential Revision: https://reviews.llvm.org/D74932
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit e4df934ca7b408cfb52531016198545a8d50f41a by maskray
[Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp}

The Blocks runtime provide a header named Block.h.
It is generally preferable to avoid name collision with system headers
(reducing reliance on -isystem order, more friendly when navigating files in
an editor, etc).

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D74934
The file was modifiedclang/lib/AST/Interp/Pointer.cpp
The file was removedclang/lib/AST/Interp/Block.h
The file was addedclang/lib/AST/Interp/InterpBlock.cpp
The file was modifiedclang/lib/AST/Interp/Pointer.h
The file was removedclang/lib/AST/Interp/Block.cpp
The file was modifiedclang/lib/AST/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
The file was addedclang/lib/AST/Interp/InterpBlock.h
Commit 0e3e242209c7f84009c9d88fe52982f8ba21c68b by yamauchi
[BFI] Fix missed BFI updates in MachineSink.

Summary:
This prevents BFI queries on new blocks (from
MachineSinking::GetAllSortedSuccessors) and fixes a bunch of assert failures
under -check-bfi-unknown-block-queries=true.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74511
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/test/CodeGen/X86/machine-sink.ll
Commit b178555318cdccecc9d3fb4af89b4a765cb0e48c by nikita.ppv
[InstCombine] Improve simplify demanded bits worklist management

This fixes a small mistake from D72944: The worklist add should
happen before assigning the new operand, not after.

In case an actual replacement happens, the old operand needs to
be added for DCE. If no actual replacement happens, then old/new
are the same, so it doesn't matter.

This drops one iteration from the annotated test case.
The file was modifiedllvm/test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Commit 31ec721516b5ed36f7dbed180a903e269f29716d by francesco.petrogalli
[llvm][CodeGen] DAG Combiner folds for vscale.

Summary:
This patch simplifies the DAGs generated when using the intrinsic `@llvm.vscale.*` as follows:

* Fold (add (vscale * C0), (vscale * C1)) to (vscale * (C0 + C1)).
* Canonicalize (sub X, (vscale * C)) to (add X,  (vscale * -C)).
* Fold (mul (vscale * C0), C1) to (vscale * (C0 * C1)).
* Fold (shl (vscale * C0), C1) to (vscale * (C0 << C1)).

The test `sve-gep-ll` have been updated to reflect the folding introduced by this patch.

Reviewers: efriedma, sdesmalen, andwar, rengolin

Reviewed By: sdesmalen

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74782
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-vscale-combine.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-gep.ll
Commit bc7b26c333f51b4b534abb81d597c0b86123718c by diego.caballero
[MLIR] Allow Loop dialect IfOp and ForOp to define values

This patch implements the RFCs proposed here:
https://llvm.discourse.group/t/rfc-modify-ifop-in-loop-dialect-to-yield-values/463
https://llvm.discourse.group/t/rfc-adding-operands-and-results-to-loop-for/459/19.

It introduces the following changes:
- All Loop Ops region, except for ReduceOp, terminate with a YieldOp.
- YieldOp can have variadice operands that is used to return values out of IfOp and ForOp regions.
- Change IfOp and ForOp syntax and representation to define values.
- Add unit-tests and update .td documentation.
- YieldOp is a terminator to loop.for/if/parallel
- YieldOp custom parser and printer

Lowering is not supported at the moment, and will be in a follow-up PR.

Thanks.

Reviewed By: bondhugula, nicolasvasilache, rriddle

Differential Revision: https://reviews.llvm.org/D74174
The file was modifiedmlir/test/Dialect/Loops/parallel-loop-fusion.mlir
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/test/Dialect/Loops/ops.mlir
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/include/mlir/Dialect/LoopOps/LoopOps.td
The file was modifiedmlir/test/Dialect/Loops/invalid.mlir
The file was modifiedmlir/test/Dialect/Linalg/parallel_loops.mlir
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
The file was modifiedmlir/test/Conversion/LoopsToGPU/parallel_loop.mlir
Commit 6b4a193defbe59b2b93e9d0289b2a7d9c2d842b9 by jasonliu
[XCOFF][AIX] Put undefined symbol name into StringTable when neccessary

Summary:
When we have a long name for the undefined symbol, we would hit this assertion:
Assertion failed: I != StringIndexMap.end() && "String is not in table!"
This patch addresses that.

Reviewed by: DiggerLin, daltenty

Differential Revision: https://reviews.llvm.org/D74924
The file was modifiedllvm/test/CodeGen/PowerPC/aix-undef-func-call.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit 2769fb90f0a4e6178306b521c5e79708b16de1fc by llvm-dev
[LoopVectorize][X86] Regenerate tests. NFCI.
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/interleaving.ll
Commit 1723f219939e1d4dc1c53ec7caf10c9380822b99 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFCI.
The file was modifiedclang/lib/ASTMatchers/GtestMatchers.cpp
Commit 72eef820d528ab93982e54cd49c44fabf20e83a5 by arsenm2
AMDGPU/GlobalISel: Select G_SHUFFLE_VECTOR

G_SHUFFLE_VECTOR is legal since it theoretically may help match op_sel
for VOP3P instructions. Expand it in some other way in case it doesn't
fold into the use instructions.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shuffle-vector.v2s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h
Commit dfce5fd50a00110890ad95dacca75886c6fd456d by arsenm2
AMDGPU/GlobalISel: Select VOP3P instructions

This only handles the basic cases. More work is needed to make better
use of op_sel.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.v2s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.v2s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.v2s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/fmul.v2f16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.v2s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
Commit 4c1c9422a3adab64433b8fde31f1ac346459b491 by arsenm2
AMDGPU/GlobalISel: Select llvm.amdgcn.fdot2

I'm slighly worried about the generated checks, since they won't catch
incorrect modifiers being added at the end of the line.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fdot2.ll
The file was modifiedllvm/lib/Target/AMDGPU/VOP3PInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit db06870dbd5e85acbd39bb8dc3b2e1c751904f86 by arsenm2
AMDGPU: Move dot intrinsic patterns to instruction def

I tried to use some of the new tablegen features to avoid creating
different operand list permutations, but I still don't see a way to
programmatically build a source pattern dag.

Also add GlobalISel tests, which now all import successfully.

Some of the fneg fold tests are incorrect, which need to be fixed in a
future commit
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.udot2.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.sdot8.ll
The file was modifiedllvm/lib/Target/AMDGPU/VOP3PInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.sdot2.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.udot4.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.udot8.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.sdot4.ll
Commit 07d2cdae11633139947f105888163adfd5646ce7 by nullptr
[lldb/cmake] Enable more verbose find_package output.

Summary:
The purpose of this patch is to make identifying missing dependencies clearer to the user.
`find_package` will report if a package is not found, that output, combined with the exiting
status message, is clearer than not having the additional verbosity.

If the SWIG dependency is required {LLDB_ENABLE_PYTHON, LLDB_ENABLE_LUA}
and SWIG is not available, fail the configuration step.  Terminate the
configure early rather than later with a clear error message.

We could possibly modify:
`llvm-project/lldb/cmake/modules/FindPythonInterpAndLibs.cmake`
However, the patch here seems clear in my opinion.

Reviewers: aadsm, hhb, JDevlieghere

Reviewed By: JDevlieghere

Subscribers: labath, jrm, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74917
The file was modifiedlldb/cmake/modules/FindPythonInterpAndLibs.cmake
The file was modifiedlldb/cmake/modules/FindLuaAndSwig.cmake
Commit 00955a62e4333c7ca889043d6a9033cb8cbf800d by arsenm2
AMDGPU/GlobalISel: Fix SALU mapping for v2s16 min/max

The legalizer helper functions are unusably awkward to perform the 3-5
part legalization. This needs to be widened, scalarized, lowered, and
we should avoid creating vector extends and truncates. Manually do all
of this and expand.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umin.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smax.mir
Commit 73d8d83a6d9adac3216ea8a39eb502b2a5c4d083 by maskray
[ARM] Change ARMAttributeParser::Parse to use support::endianness and simplify
The file was modifiedllvm/lib/Support/ARMAttributeParser.cpp
The file was modifiedllvm/include/llvm/Support/ARMAttributeParser.h
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/unittests/Support/ARMAttributeParser.cpp
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 7dd6a862e5ece866c787d4509a5a5cad19531fbc by Louis Dionne
[libc++] Do not set the `availability=XXX` feature when not testing against a system libc++

Otherwise, the `availability=XXX` lit feature is set even when we're
testing trunk and _LIBCPP_DISABLE_AVAILABILITY is defined, which causes
tests that check for availability markup to be enabled and unexpectedly
pass.
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 266959c0f72ff359a60fe43da0cf336604611029 by mcinally
[AArch64][SVE] Add backend support for splats of immediates

This patch adds backend support for splats of both Int and FP immediates.

Differential Revision: https://reviews.llvm.org/D74856
The file was modifiedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Commit 0781e93a6eaa71ec5d87be3bbeeeed053067f7ee by luismarques
[CodeGen][RISCV] Fix clang/test/CodeGen/atomic_ops.c for RISC-V

By default the RISC-V target doesn't have the atomics standard extension
enabled. The first RUN line in `clang/test/CodeGen/atomic_ops.c` didn't
specify a target triple, which meant that on RISC-V Linux hosts it would
target RISC-V, but because it used clang cc1 we didn't get the toolchain
driver functionality to automatically turn on the extensions implied by
the target triple (riscv64-linux includes atomics). This would cause the
test to fail on RISC-V hosts.

This patch changes the test to have RUN lines for two explicit targets,
one with native atomics and one without. To work around FileCheck
limitations and more accurately match the output, some tests now have
separate prefixes for the two cases.

Reviewers: jyknight, eli.friedman, lenary, efriedma
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D74847
The file was modifiedclang/test/CodeGen/atomic_ops.c
Commit 29ad9d6b26ee92c7843c06392625d894d58658c2 by hanchung
[mlir][spirv] Add lowering for load/store zero-rank memref from std to SPIR-V.

Differential Revision: https://reviews.llvm.org/D74874
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/memory-ops.mlir
Commit 042d97eda9fabbf7718e32fc5efe9150c7d8bfa9 by diego.caballero
[MLIR] Remove constexpr from LoopOps.td

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D74978
The file was modifiedmlir/include/mlir/Dialect/LoopOps/LoopOps.td
Commit d2b7c09e79a12cb61fc424429b348b2c04364d07 by kparzysz
[Hexagon] Simplify intrinsic (vandvrt (vandqrt q b) m) -> q if possible

When each byte in b&m is non-zero, this conversion Q->V->Q is a no-op.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was addedllvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg
The file was addedllvm/test/Transforms/InstCombine/Hexagon/simplify-hvx-qvq.ll
Commit 69d757c0e8ffc5b49fda10df38e470a56d616ef4 by riddleriver
Move StandardOps/Ops.h to StandardOps/IR/Ops.h

Summary:
NFC - Moved StandardOps/Ops.h to a StandardOps/IR dir to better match surrounding
directories. This is to match other dialects, and prepare for moving StandardOps
related transforms in out for Transforms and into StandardOps/Transforms.

Differential Revision: https://reviews.llvm.org/D74940
The file was modifiedmlir/lib/Transforms/LoopCoalescing.cpp
The file was modifiedmlir/lib/Dialect/QuantOps/Transforms/ConvertConst.cpp
The file was modifiedmlir/test/lib/Transforms/TestInlining.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/lib/Dialect/VectorOps/VectorUtils.cpp
The file was removedmlir/include/mlir/Dialect/StandardOps/Ops.td
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was modifiedmlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp
The file was modifiedmlir/lib/Transforms/Utils/Utils.cpp
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/test/lib/DeclarativeTransforms/TestVectorTransformPatterns.td
The file was modifiedmlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
The file was addedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
The file was modifiedmlir/test/lib/IR/TestMatchers.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was removedmlir/include/mlir/Dialect/StandardOps/Ops.h
The file was modifiedmlir/include/mlir/Transforms/Utils.h
The file was modifiedmlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
The file was modifiedmlir/test/lib/Transforms/TestConstantFold.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/EDSC/Builders.h
The file was modifiedmlir/lib/Transforms/AffineLoopInvariantCodeMotion.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.td
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Dialect/AffineOps/AffineOps.cpp
The file was removedmlir/lib/Dialect/StandardOps/Ops.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/lib/Quantizer/Configurations/FxpMathConfig.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/lib/Analysis/NestedMatcher.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
The file was modifiedmlir/lib/Transforms/PipelineDataTransfer.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefStrideCalculation.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefBoundCheck.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
The file was modifiedmlir/lib/Transforms/Utils/FoldUtils.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was addedmlir/include/mlir/Dialect/StandardOps/IR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/GPU/Transforms/AllReduceLowering.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was addedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedmlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
The file was modifiedmlir/lib/Transforms/Vectorize.cpp
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
The file was modifiedmlir/test/lib/Transforms/TestOpaqueLoc.cpp
Commit e2ed1d14d6c2d11d1a5df23bd679bcb7e6cbf433 by francesco.petrogalli
[llvm][aarch64] SVE addressing modes.

Summary:
Added register + immediate and register + register addressing modes for the following intrinsics:

1. Masked load and stores:
     * Sign and zero extended load and truncated stores.
     * No extension or truncation.
2. Masked non-temporal load and store.

Reviewers: andwar, efriedma

Subscribers: cameron.mcinally, sdesmalen, tschuett, kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74254
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-pred-contiguous-ldst-addressing-mode-reg-reg.ll
The file was addedllvm/test/CodeGen/AArch64/sve-pred-contiguous-ldst-addressing-mode-reg-imm.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-reg.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was addedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-imm.ll
Commit 34e3485560cbe8b0e843a1a9ef0cf796e6a4e237 by spatel
[VectorCombine] refactor cost calcs to reduce duplication; NFC

More cleanup is possible now, but we probably need to
resolve the TODO about the existing difference between
compares and binops.
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit 33bf1196475cbc9b84914c41308cf252764803ee by francesco.petrogalli
[llvm][CodeGen][aarch64] Add contiguous prefetch intrinsics for SVE.

Summary: The patch covers both register/register and register/immediate addressing modes.

Reviewers: efriedma, andwar, sdesmalen

Reviewed By: sdesmalen

Subscribers: sdesmalen, tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74581
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 446b150065c331daa82a9f5436f4987e340e5d6f by rnk
[IR] Update BasicBlock::validateInstrOrdering comments, NFC

Pointed out by Jay Foad.
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
The file was modifiedllvm/lib/IR/BasicBlock.cpp
Commit 8875ee18d72b1b395331c1b7217d2b91fb4dc4b7 by craig.topper
[X86] Add a new format type for instructions that represent named prefix bytes like data16 and rep. Use it to make a simpler version of isPrefix.

isPrefix was added to support the patches to align branches.
it relies on a switch over instruction names.

This moves those opcodes to a new format so the information is
tablegen and we can just check for a specific value in some bits
in TSFlags instead.

I've left the other function in place for now so that the
existing patches in phabricator will still work. I'll work with
the owner to get them migrated.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86InstrSystem.td
The file was modifiedllvm/lib/Target/X86/X86InstrFormats.td
The file was modifiedllvm/lib/Target/X86/X86InstrTSX.td
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
The file was modifiedllvm/utils/TableGen/X86RecognizableInstr.cpp
The file was modifiedllvm/utils/TableGen/X86RecognizableInstr.h
Commit 1874dee5662603c9251228c71b66de72cec0c979 by francisvm
[macho][NFC] Extract all CPU_(SUB_)TYPE logic to BinaryFormat

This moves all the logic of converting LLVM Triples to
MachO::CPU_(SUB_)TYPE from the specific target (Target)AsmBackend to
more convenient functions in lib/BinaryFormat.

This also gets rid of the separate two X86AsmBackend classes.

The previous attempt was to add it to libObject, but that adds an
unnecessary dependency to libObject from all the targets.

Differential Revision: https://reviews.llvm.org/D74808
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
The file was modifiedllvm/lib/BinaryFormat/CMakeLists.txt
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was addedllvm/lib/BinaryFormat/MachO.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/MachO.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
Commit 0bb90628b5f7c170689d2d3f019af773772fc649 by hhb
Allow customized relative PYTHONHOME

Summary:
This change allows a hard coded relative PYTHONHOME setting. So that
python can easily be packaged together with lldb.

The change includes:
1. Extend LLDB_RELOCATABLE_PYTHON to all platforms. It defaults to ON
for platforms other than Windows, to keep the behavior compatible.
2. Allows to customize LLDB_PYTHON_HOME. But still defaults to
PYTHON_HOME.
3. LLDB_PYTHON_HOME can be a path relative to liblldb. If it is
relative, we will resolve it before send it to Py_DecodeLocale.

Subscribers: mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74727
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 8fa776b8ed02f36e6bc072c6748725890dfadcbe by llvmgnsyncbot
[gn build] Port 1874dee5662
The file was modifiedllvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn
Commit e9c79a7aef19b14e68ed50eb9382856e9453c5a0 by spatel
[VectorCombine] refactor to reduce duplicated code; NFC

This should be the last step in the current cleanup.
Follow-ups should resolve the TODO about cost calc
and enable the more general case where we extract
different elements.
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit b72f1448ce42f4e38f0c2a33418089f2320ab8f3 by jay.foad
AMDGPU/GlobalISel: Better code for one case of G_SHUFFLE_VECTOR on v2i16

Reviewers: arsenm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74987
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shuffle-vector.v2s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit a5b22b768f5a6f34c8f41eea6a32880794c1690b by mcinally
[AArch64][SVE] Add support for DestructiveBinary and DestructiveBinaryComm DestructiveInstTypes

Add support for DestructiveBinaryComm DestructiveInstType, as well as the lowering code to expand the new Pseudos into the final movprfx+instruction pairs.

Differential Revision: https://reviews.llvm.org/D73711
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-merging.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Commit dc046c70de96784772050e2704141c9e2a478220 by alexshap
[llvm-objcopy][MachO] Change the storage of sections

In this diff we change the storage of a section to unique_ptr.
This refactoring was factored out from D71647.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D74946
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
Commit 1f04d1b7069bf6c513526f36b8c7327c8dec6604 by medismail.bennani
[lldb/test] Move `platform process list` tests to its own directory (NFC)

Since the `platform process` commamnd has more tests now, this commits
separates each of the `platform process` subcommand's test in its own directory.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was addedlldb/test/API/commands/platform/process/list/Makefile
The file was addedlldb/test/API/commands/platform/process/list/main.cpp
The file was removedlldb/test/API/commands/platform/process/TestProcessList.py
The file was removedlldb/test/API/commands/platform/process/main.cpp
The file was removedlldb/test/API/commands/platform/process/Makefile
The file was addedlldb/test/API/commands/platform/process/list/TestProcessList.py
Commit d7c403e64043281b9c5883e3e034da5ebaf4985a by medismail.bennani
[lldb/Plugins] Add ability to fetch crash information on crashed processes

Currently, in macOS, when a process crashes, lldb halts inside the
implementation disassembly without yielding any useful information.
The only way to get more information is to detach from the process, then wait
for ReportCrash to generate a report, find the report, then see what error
message was included in it. Instead of waiting for this to happen, lldb could
locate the error_string and make it available to the user.

This patch addresses this issue by enabling the user to fetch extended
crash information for crashed processes using `process status --verbose`.

Depending on the platform, this will try to gather different crash information
into an structured data dictionnary. This dictionnary is generic and extensible,
as it contains an array for each different type of crash information.

On Darwin Platforms, lldb will iterate over each of the target's images,
extract their `__crash_info` section and generated a StructuredData::Array
containing, in each entry, the module spec, its UUID, the crash messages
and the abort cause. The array will be inserted into the platform's
`m_extended_crash_info` dictionnary and `FetchExtendedCrashInformation` will
return its JSON representation like this:

```
{
  "crash-info annotations": [
    {
      "abort-cause": 0,
      "image": "/usr/lib/system/libsystem_malloc.dylib",
      "message": "main(76483,0x1000cedc0) malloc: *** error for object 0x1003040a0: pointer being freed was not allocated",
      "message2": "",
      "uuid": "5747D0C9-900D-3306-8D70-1E2EA4B7E821"
    },
    ...
  ],
  ...
}
```

This crash information can also be fetched using the SB API or lldb-rpc protocol
using SBTarget::GetExtendedCrashInformation().

rdar://37736535

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/include/lldb/API/SBTarget.h
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/bindings/interface/SBTarget.i
The file was addedlldb/test/API/functionalities/process_crash_info/Makefile
The file was addedlldb/test/API/functionalities/process_crash_info/main.c
The file was modifiedlldb/source/API/SBTarget.cpp
The file was addedlldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
The file was modifiedlldb/include/lldb/Target/Platform.h
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
Commit 5c33a81b7a46373aa695ab676bec8b70b1abd0e2 by maskray
[AArch64][SVE] Fix -Wimplicit-fallthrough after D73711
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Commit a6c8698924d2b31a2f096e0f4c06a7015ecccb5e by vsapsai
clang/Modules: Finish renaming CompilerInstance::ModuleManager, NFC.

Follow-up to 20d51b2f14ac4488f684f8fc57cb0ba718a6b91d, rename the setter to
make it consistent with the getter. Also fixed a few comments along the
way, didn't try to find all references to a module manager.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D74939
The file was modifiedclang/include/clang/Frontend/CompilerInstance.h
The file was modifiedclang/lib/Frontend/ChainedIncludesSource.cpp
The file was modifiedclang/lib/Frontend/FrontendAction.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit 0ad6fc9928d8a5e3bd148a112d6e772248e515ae by spatel
[SelectionDAG] remove unused isFast() helper function; NFC

We want flag users to check individual fast-math flags,
not that all of them are set. This was also probably
not working as intended because NoFPExcept isn't always
set on non-strict nodes.
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit fad1c750f16c5f7a7ef8ec7d78ae1df4bc473c4a by maskray
[AArch64][SVE] Fix -DBUILD_SHARED_LIBS=on builds after -D74808/1874dee5662603c9251228c71b66de72cec0c979
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/LLVMBuild.txt
Commit fddbff147357a7f5618fb6166b716ad60c3eb9fc by maskray
[AArch64] Delete an unneeded dependency on Object after 1874dee5662603c9251228c71b66de72cec0c979

1874dee5662603c9251228c71b66de72cec0c979 moved CPU_(SUB_)TYPE logic to
BinaryFormat. Object is not directly referenced.
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
Commit d37cbda5f9a47a4206439632ef4fa1534e66f856 by sidneym
[Hexagon] Define __ELF__ by default.

Differential Revision: https://reviews.llvm.org/D74972
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedclang/lib/Basic/Targets/Hexagon.cpp
The file was modifiedclang/test/Preprocessor/hexagon-predefines.c
Commit 0a70edd696264ba69914f4d4ecb28d559cbe5444 by whitneyt
[CloneFunction] Update loop headers after cloning all blocks in loop.

Summary:
Blocks in a loop can be in any order as long as the loop header is the
first block in Blocks.
With some order of Blocks, cloneLoopWithPreheader would trigger the
assertion in addBasicBlockToLoop.

Example:

define void @test(i64 %N) {
preheader.i:
  br label %header.i

header.i:
  %i = phi i64 [ 0, %preheader.i ], [ %inc.i, %latch.i ]
  br label %header.j

header.j:
  %j = phi i64 [ 0, %header.i ], [ %inc.j, %latch.j ]
  br label %header.k

header.k:
  %k = phi i64 [ 0, %header.j ], [ %inc.k, %latch.k ]
  call void @baz(i64 %i, i64 %j, i64 %k)
  br label %latch.k

latch.k:
  %inc.k = add nsw i64 %k, 1
  %cmp.k = icmp slt i64 %inc.k, %N
  br i1 %cmp.k, label %header.k, label %latch.j

latch.j:
  %inc.j = add nsw i64 %j, 1
  %cmp.j = icmp slt i64 %inc.j, %N
  br i1 %cmp.j, label %header.j, label %latch.i

latch.i:
  %inc.i = add nsw i64 %i, 1
  %cmp.i = icmp slt i64 %inc.i, %N
  br i1 %cmp.i, label %header.i, label %exit.i

exit.i:
  ret void
}
declare void @baz(i64, i64, i64)
If the blocks of loop-i is in the order: header.i, latch.k, header.k,
header.j, latch.j, latch.i,
then cloneLoopWithPreheader would trigger the assertion in
addBasicBlockToLoop
assert(contains(SameHeader) && getHeader() == SameHeader->getHeader() &&
"Incorrect LI specified for this loop!");

As latch.k is in both loop-j and loop-k, it would be set as the header
of both loops after adding latch.k.
If we update loop headers during cloning blocks, then after adding
header.k,
the header of loop-k would be updated with header.k,
while the header of loop-j stays as latch.k.

When adding header.j, SameHeader is loop-k, SameHeader->getHeader() is
header.k, but getHeader() is latch.k, which trigger the assertion.
Reviewer: jdoerfert, Meinersbur, fhahn, kbarton, hfinkel, bmahjour,
etiotto
Reviewed By: Meinersbur
Subscribers: hiraditya, llvm-commits
Tag: LLVM
Differential Revision: https://reviews.llvm.org/D74382
The file was modifiedllvm/lib/Transforms/Utils/CloneFunction.cpp
Commit 9708279c725a515c69c41130aaaa36dc6a0b34d8 by johannes
[Attributor][FIX] Undo 16188f9 until SCC iterator bug is fixed

The buildbot
  http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win
shows some strange SCC iterator bug since 16188f9 which we need to
investigate. This patch should remove the part of 16188f9 that could
have exposed the problem.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 618dec2aeffd9d7778b581176e0897b10731e273 by qcolombet
[GISel][KnownBits] Add a cache mechanism to speed compile time

This patch adds a cache that is valid only for the duration of a call
to getKnownBits. With such short lived cache we avoid all the problems
of cache invalidation while still getting the benefits of reusing
the information we already computed.

This cache is useful whenever an instruction occurs more than once
in a chain of computation.
E.g.,
v0 = G_ADD v1, v2
v3 = G_ADD v0, v1

Previously we would compute the known bits for:
v1, v2, v0, then v1 again and finally v3.

With the patch, now we won't have to recompute v1 again.

NFC
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
Commit 528a6a1d4cceda58d57c28a75a524dcdd8d35f3e by johannes
[Attributor][FIX] Disable a test to unblock the builders

To unblock the builders this disables a test for which the CHECK lines
need to be updated. The patch causing the failure was not reverted
because it is needed for a different problem we are investigating. Here
we just need to update the CHECK lines which will happen in the
meantime.
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
Commit a32d539798e4f0b97420e7b60b223b3a3fae5ff1 by francisvm
[Target] Remove libObject dependency in lib/Target

This removes a couple useless includes and the dependency of X86Desc on Object,
which was useless as well.
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
Commit 215a31115f89c851331a822e67aa4528ba5c21e6 by stilis
Revert "Allow customized relative PYTHONHOME"

This reverts commit 0bb90628b5f7c170689d2d3f019af773772fc649 since it is causing failures on the Windows LLDB buildbot:

http://lab.llvm.org:8011/builders/lldb-x64-windows-ninja/builds/14048
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
Commit 393f4e8ac263d0debecb571bbab69bcf31474cdb by llvm-project
[Analysis][Docs] Parents of loops documentation.

Recently I had to use it and although one assumes it returns null if
there's no parent loop, I think it helps to doc it.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D74890
The file was modifiedllvm/include/llvm/Analysis/LoopInfo.h
The file was modifiedllvm/docs/LoopTerminology.rst
Commit 26222db01b079023d0fe3bb60f2c1b38f4f19d5a by riddleriver
[mlir][DeclarativeParser] Add support for the TypesMatchWith trait.

This allows for injecting type constraints that are not direct 1-1 mappings, for example when one type is equal to the element type of another. This allows for moving over several more parsers to the declarative form.

Differential Revision: https://reviews.llvm.org/D74648
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
Commit 2d0477a003687588886ae6e9b59b9355f8bb6b8c by riddleriver
[mlir][DeclarativeParser] Add basic support for optional groups in the assembly format.

When operations have optional attributes, or optional operands(i.e. empty variadic operands), the assembly format often has an optional section to represent these arguments. This revision adds basic support for defining an "optional group" in the assembly format to support this. An optional group is defined by wrapping a set of elements in `()` followed by `?` and requires the following:

* The first element of the group must be either a literal or an operand argument.
  - This is because the first element must be optionally parsable.
* There must be exactly one argument variable within the group that is marked as the anchor of the group. The anchor is the element whose presence controls whether the group should be printed/parsed. An element is marked as the anchor by adding a trailing `^`.
* The group must only contain literals, variables, and type directives.
  - Any attribute variables may be used, but only optional attributes can be marked as the anchor.
  - Only variadic, i.e. optional, operand arguments can be used.
  - The elements of a type directive must be defined within the same optional group.

An example of this can be seen with the assembly format for ReturnOp, which has a variadic number of operands.

```
def ReturnOp : ... {
  let arguments = (ins Variadic<AnyType>:$operands);

  // We only print the operands+types if there are a non-zero number
  // of operands.
  let assemblyFormat = "attr-dict ($operands^ `:` type($operands))?";
}
```

Differential Revision: https://reviews.llvm.org/D74681
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit ca4ea51c0af2dd3f3c73adc587c8e642c9dcdeec by riddleriver
[mlir][DeclarativeParser] Add an 'attr-dict-with-keyword' directive

This matches the '(print|parse)OptionalAttrDictWithKeyword' functionality provided by the assembly parser/printer.

Differential Revision: https://reviews.llvm.org/D74682
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/test/mlir-tblgen/op-format.mlir
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
Commit 93813e5feb18ece7becd1eece24d0138c955fd53 by riddleriver
[mlir] Add a utility iterator range that repeats a given value `n` times.

This range is useful when an desired API expects a range or when comparing two different ranges for equality, but the underlying data is a splat. This range removes the need to explicitly construct a vector in those cases.

Differential Revision: https://reviews.llvm.org/D74683
The file was modifiedmlir/include/mlir/Support/STLExtras.h
Commit b1de971ba8c83c82ef63077b666aaff3ba8e56b9 by riddleriver
[mlir][ODS] Add support for specifying the successors of an operation.

This revision add support in ODS for specifying the successors of an operation. Successors are specified via the `successors` list:
```
let successors = (successor AnySuccessor:$target, AnySuccessor:$otherTarget);
```

Differential Revision: https://reviews.llvm.org/D74783
The file was modifiedmlir/test/Dialect/SPIRV/control-flow-ops.mlir
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/include/mlir/TableGen/Constraint.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/lib/TableGen/Operator.cpp
The file was modifiedmlir/lib/TableGen/Constraint.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVControlFlowOps.td
The file was addedmlir/lib/TableGen/Successor.cpp
The file was addedmlir/include/mlir/TableGen/Successor.h
The file was modifiedmlir/lib/TableGen/CMakeLists.txt
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/TableGen/Operator.h
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit 9eb436feaa7f5f01dc4852396647a5b46311c8eb by riddleriver
[mlir][DeclarativeParser] Add support for formatting the successors of an operation.

This revision add support for formatting successor variables in a similar way to operands, attributes, etc.

Differential Revision: https://reviews.llvm.org/D74789
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVControlFlowOps.td
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/control-flow-ops.mlir
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/test/mlir-tblgen/op-format.mlir
Commit 0050e8f0cf5782217ebd78fa2b58be3aa9f8d9e2 by riddleriver
[mlir][Tutorial] Add a section to Toy Ch.2 detailing the custom assembly format.

Summary:
This details the C++ format as well as the new declarative format. This has been one of the major missing pieces from the toy tutorial.

Differential Revision: https://reviews.llvm.org/D74938
The file was modifiedmlir/test/Examples/Toy/Ch7/codegen.toy
The file was modifiedmlir/test/Examples/Toy/Ch3/codegen.toy
The file was modifiedmlir/docs/Tutorials/Toy/Ch-3.md
The file was modifiedmlir/examples/toy/Ch3/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch6/scalar.toy
The file was modifiedmlir/test/Examples/Toy/Ch5/shape_inference.mlir
The file was modifiedmlir/examples/toy/Ch6/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch4/scalar.toy
The file was modifiedmlir/examples/toy/Ch3/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch5/scalar.toy
The file was modifiedmlir/examples/toy/Ch7/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch2/scalar.toy
The file was modifiedmlir/docs/Tutorials/Toy/Ch-4.md
The file was modifiedmlir/test/Examples/Toy/Ch5/codegen.toy
The file was modifiedmlir/test/Examples/Toy/Ch6/llvm-lowering.mlir
The file was modifiedmlir/examples/toy/Ch5/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch6/affine-lowering.mlir
The file was modifiedmlir/docs/Tutorials/Toy/Ch-7.md
The file was modifiedmlir/test/Examples/Toy/Ch7/llvm-lowering.mlir
The file was modifiedmlir/docs/Tutorials/Toy/Ch-5.md
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch7/shape_inference.mlir
The file was modifiedmlir/examples/toy/Ch2/mlir/Dialect.cpp
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
The file was modifiedmlir/test/Examples/Toy/Ch4/codegen.toy
The file was modifiedmlir/test/Examples/Toy/Ch3/scalar.toy
The file was modifiedmlir/examples/toy/Ch2/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch4/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch5/affine-lowering.mlir
The file was modifiedmlir/test/Examples/Toy/Ch7/struct-codegen.toy
The file was modifiedmlir/test/Examples/Toy/Ch7/scalar.toy
The file was modifiedmlir/examples/toy/Ch5/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch6/codegen.toy
The file was modifiedmlir/docs/Tutorials/Toy/Ch-2.md
The file was modifiedmlir/test/Examples/Toy/Ch2/codegen.toy
The file was modifiedmlir/test/Examples/Toy/Ch6/shape_inference.mlir
The file was modifiedmlir/test/Examples/Toy/Ch4/shape_inference.mlir
The file was modifiedmlir/test/Examples/Toy/Ch7/affine-lowering.mlir
The file was modifiedmlir/examples/toy/Ch4/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch7/struct-opt.mlir
Commit 266877a2a8b2d1939f3b08fcfb711890fefc96e3 by rupprecht
[llvm-objdump] Print method name from debug info in disassembly output.

Summary:
GNU objdump prints the method name in disassembly output, and upon further investigation this seems to come from debug info, not the symbol table.

Some additional refactoring is necessary to make this work even when the line number is 0/the filename is unknown. The added test case includes a note for this scenario.

See http://llvm.org/PR41341 for more info.

Reviewers: dblaikie, MaskRay, jhenderson

Reviewed By: MaskRay

Subscribers: ormris, jvesely, aprantl, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74507
The file was modifiedllvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll
The file was modifiedllvm/test/tools/llvm-objdump/embedded-source.test
The file was modifiedllvm/test/tools/llvm-objdump/Hexagon/source-interleave-hexagon.ll
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was addedllvm/test/tools/llvm-objdump/X86/source-interleave-function-from-debug.test
The file was modifiedllvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
Commit 75af9da755721123e62b45cd0bc0c5e688a9722a by maskray
[MC][ELF] Error for sh_type, sh_flags or sh_entsize change

Heads-up message: https://lists.llvm.org/pipermail/llvm-dev/2020-February/139390.html

GNU as started to emit warnings for changed sh_type or sh_flags in 2000.
GNU as>=2.35 will emit errors for most sh_type/sh_flags change, and error for entsize change.

Some cases remain warnings for legacy reasons:

   .section .init_array,"ax", @progbits
   .section .init_array,"ax", @init_array
   # And some obscure sh_flags changes (OS/Processor specific flags)

The rationale of a diagnostic (warning or error) is that sh_type,
sh_flags or sh_entsize changes usually indicate user errors. The values
are taken from the first .section directive. Successive directives are ignored.

We just try to be rigid and emit errors for all sh_type/sh_flags/sh_entsize change.

A possible improvement in the future is to reuse
llvm-readobj/ELFDumper.cpp:getSectionTypeString so that we can name the
type in the diagnostics.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D73999
The file was addedllvm/test/MC/ELF/section-flags-changed.s
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was modifiedllvm/test/MC/ELF/exclude-debug-dwo.s
The file was addedllvm/test/MC/ELF/section-type-changed.s
The file was addedllvm/test/MC/ELF/section-entsize-changed.s
Commit 8a0f0e2656abf76b771037c6543caf9a31744120 by Vedant Kumar
[lldb/test] Tweak libcxx string test on Apple+ARM devices

On Apple platforms, is __arm__ isn't defined and we're not on Intel, we use an
alternate std::string layout. I.e., the libcxx string test fails on phones
because the hand-crafted "garbage" string structs are actually valid strings.

See:

```
  // _LIBCPP_ALTERNATE_STRING_LAYOUT is an old name for
  // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT left here for backward compatibility.
  #if (defined(__APPLE__) && !defined(__i386__) && !defined(__x86_64__) &&       \
       (!defined(__arm__) || __ARM_ARCH_7K__ >= 2)) ||                           \
      defined(_LIBCPP_ALTERNATE_STRING_LAYOUT)
  #define _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT
  #endif
```

Disable inspection of the garbage structs on Apple+ARM devices.
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
Commit d3e170c4388693b6628fa91cbf78506a5fb45439 by mark.searles
Revert "[AMDGPU] Don’t marke the .note section as ALLOC"

This reverts commit 977cd661cf019039dec7ffdd15bf0ac500828c87.

It breaks OpenCL testing. OpenCL Runtime is using PT_LOAD information
to calculate memory for global variables. This commit should be relanded once
the OpenCL runtime stops relying on PT_LOAD information for calculating global
variable memory size.

Differential Revision: https://reviews.llvm.org/D74995
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa.ll
Commit 42060c0a987076567814f97abdf485a55bf6018a by riddleriver
[mlir][DeclarativeParser][NFC] Use explicit type names in TypeSwitch to
appease older GCC.

Older versions of GCC are unable to properly capture 'this' in template lambdas,
resulting in errors.
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 340feac6721e840f88c1e77dd79931eea5eaccf3 by scott.linder
[Driver] Escape the program path for -frecord-command-line

Similar to the rest of the command line that is recorded, the program
path must also have spaces and backslashes escaped. Without this
parsing the recorded command line becomes hard on platforms like
Windows where spaces and backslashes are common.

This was originally reverted in
577d9ce35532439203411c999deefc9c80e04c69; this version makes a test
agnostic to the presence of backslashes in paths on some platforms.

Patch By: Ravi Ramaseshan
Differential Revision: https://reviews.llvm.org/D74811
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit bf4933b4ea657128f1afcf19758866d41e5aebf9 by arsenm2
AMDGPU/GlobalISel: Remove dead code
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 3ec3f62f0a0b1ac13230922c91ffc988c1b1e8d5 by hhb
Allow customized relative PYTHONHOME (Attemp 1)

Summary:
This is another attempt of 0bb90628b5f7c170689d2d3f019af773772fc649.

The difference is that g_python_home is not declared as const. Since
some versions of python do not expect that.

Subscribers: mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74998
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit d17123b2577e610b2a19de1f530cecea353c8c7a by maskray
[llvm-objdump][test] Fix source-interleave-function-from-debug.test on Windows after D74507
The file was modifiedllvm/test/tools/llvm-objdump/X86/source-interleave-function-from-debug.test
Commit 3648370a79235ddc7a26c2db5b968725c320f6aa by aheejin
[WebAssembly] Fix a non-determinism problem in FixIrreducibleControlFlow

Summary:
We already sorted the blocks when fixing up a set of mutual
loop entries, however, there can be multiple sets of such
mutual loop entries, and the order we encounter them
should not be random, so sort them too.

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

Patch by Alon Zakai (kripken)

Reviewers: aheejin, sbc100, dschuff

Subscribers: mgrang, sunfish, hiraditya, jgravelle-google, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74999
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
Commit e33c9bb245a0c17cdd5c06897a911f908215db50 by apilipenko
Flags for displaying only hot nodes in CFGPrinter graph

Added two flags to omit uncommon or dead paths in the CFG graphs:
  -cfg-hide-unreachable-paths
  -cfg-hide-deoptimize-paths

The main purpose is performance analysis when such block are not
"interesting" from perspective of common path performance.

Reviewed By: apilipenko, davidxl

Differential Revision: https://reviews.llvm.org/D74346
The file was addedllvm/test/Other/cfg_deopt_unreach.ll
The file was modifiedllvm/lib/Analysis/CFGPrinter.cpp
The file was modifiedllvm/include/llvm/Analysis/CFGPrinter.h
Commit ebee131259719fa9c06cd346e21ace3fa8ac0888 by maskray
[lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index

They do not have the SHF_EXCLUDE flag.
After D73999, MC errors `changed section type for .debug_cu_index, expected: 0x0`
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwp.s
Commit 1b1a97e9b55754302c4b41f6bddc8fbc3870f68a by alexbrachetmialot
Remove unused variable
The file was modifiedlibc/src/signal/linux/raise.cpp
Commit 228a2bc9b70c3d93bd28f0038a8664ef8dac042e by craig.topper
[X86] Teach combineCVTPH2PS to shrink v8i16 loads when the output type is v4f32. Remove extra isel patterns.

Similar to what do for other operations that use a subset of bits.
Allows us to remove a pattern that shrinks a load. Which was
incorrect if the load was volatile.
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e29065a105342a904871437d18a4e6fab09e5bc1 by maskray
[lldb][test] Fix sh_flags and sh_entsize of .debug_str.dwo

sh_flags: SHF_MERGE | SHF_STRINGS | SHF_EXCLUDE
sh_entsize: 1

Incorrect sh_flags or sh_entsize is an error after the assembler change made by D73999.
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwp.s
Commit a4f45ee73a9e948622488f874d5e01408dffba2a by paulatoth
[libc] Lay out framework for fuzzing libc functions.

Summary:
Added fuzzing test for strcpy and some documentation related to fuzzing.
This will be the first step in integrating this with oss-fuzz.

Reviewers: sivachandra, abrachet

Reviewed By: sivachandra, abrachet

Subscribers: gchatelet, abrachet, mgorny, MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D74091
The file was addedlibc/fuzzing/string/CMakeLists.txt
The file was modifiedlibc/docs/source_layout.rst
The file was addedlibc/fuzzing/string/strcpy_fuzz.cpp
The file was modifiedlibc/CMakeLists.txt
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
The file was addedlibc/docs/fuzzing.rst
The file was addedlibc/fuzzing/CMakeLists.txt
Commit b6d63c92ec37a4416009c3bd279561421429c396 by qcolombet
[GISel][KnownBits] Suppress unused warning on the dump method

NFC
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Commit 59a572eb742437c17b78f6cf63f14d4b808fe61f by maskray
[Preprocessor][test] Move AArch64 tests from init.c to init-aarch.c
The file was addedclang/test/Preprocessor/init-aarch64.c
The file was modifiedclang/test/Preprocessor/init.c
The file was modifiedclang/test/Preprocessor/aarch64-target-features.c
Commit 0123744d46a1fd6041755b403633af2d6c47f64a by maskray
[Preprocessor][test] Fix __VERSION__ in init-aarch64.c
The file was modifiedclang/test/Preprocessor/init-aarch64.c
Commit fc6057e34fb3b1cfbbfcd5d71ae25ba24eb3ffa3 by maskray
[Frontend] Replace CC1 option -mcode-model with -mcmodel=

Before:

% clang -mcmodel=x -xc /dev/null
error: invalid argument 'x' in '-mcode-model x'

Now:

% clang -mcmodel=x -xc /dev/null
clang-11: error: invalid argument 'x' to -mcmodel=
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGen/codemodels.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/docs/Extensions.rst
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/Driver/mcmodel.c
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was removedclang/test/Driver/code-model.c
Commit d2e949eed5b49ca70a8845dfaf7bac6ca40c429d by maskray
[AArch64] Predefine __AARCH64_CMODEL_*__ as GCC does

Make Clang on aarch64 targets predefine `__AARCH64_CMODEL_SMALL__`
or `__AARCH64_CMODEL_TINY__`, etc.  These are the names that GCC
uses for its predefines.

Reviewed By: tamur, MaskRay

Differential Revision: https://reviews.llvm.org/D75002
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedclang/test/Preprocessor/init-aarch64.c
Commit 271f96477328f42cbf31a2b42433cdef8ed91914 by maskray
[Preprocessor][X86] Fix __code_model_*__ predefine macros

GCC defines __code_model_*__ (two trailing underscores), not
__code_model_*_ (one trailing underscore).

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D75003
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/test/Preprocessor/init.c
Commit d192a4ab2b8c0f80efcb006a4b200ad3ba73d485 by sguelton
Update Quantization.md

Various typographic, grammatical and formatting edits and tidy ups.
The file was modifiedmlir/docs/Quantization.md
Commit 453cd2dbe57bce945c9d9a2bbf43677252b53597 by sguelton
Update ShapeInference.md

Variety of editorial and typographic and formatting tweaks.
The file was modifiedmlir/docs/ShapeInference.md
Commit 635034f19387427e7df60efb985d2de7766a1e58 by simon.moll
[VE][fix] missing include
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
Commit 31f2ad9c368d47721508cbd0d120d626f9041715 by grimar
[yaml2obj] - Automatically assign sh_addr for allocatable sections.

I've noticed that it is not convenient to create YAMLs from
binaries (using obj2yaml) that have to be test cases for obj2yaml
later (after applying yaml2obj).

The problem, for example is that obj2yaml emits "DynamicSymbols:"
key instead of .dynsym. It also does not create .dynstr.
And when a YAML document without explicitly defined .dynsym/.dynstr
is given to yaml2obj, we have issues:

1) These sections are placed after non-allocatable sections (I've fixed it in D74756).
2) They have VA == 0. User needs create descriptions for such sections explicitly manually
    to set a VA.

This patch addresses (2). I suggest to let yaml2obj assign virtual addresses by itself.
It makes an output binary to be much closer to "normal" ELF.
(It is still possible to use "Address: 0x0" for a section to get the original behavior
if it is needed)

Differential revision: https://reviews.llvm.org/D74764
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/versioninfo.test
The file was modifiedllvm/test/tools/obj2yaml/elf-gnu-hash-section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/verneed-invalid.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/only-keep-debug.test
The file was addedllvm/test/tools/yaml2obj/ELF/section-address-assign.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
Commit a6370d5798313e99d37fb85db5d78f1141506864 by grimar
[lldb][test] - Update basic-elf.yaml to fix build bot.

D74764 (https://reviews.llvm.org/rG31f2ad9c368d47721508cbd0d120d626f9041715)
changed the behavior of the yaml2obj. Now it assigns virtual addresses
for allocatable sections.

SymbolFile/Breakpad/symtab.test started to fail after this change:
(http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/5520/steps/test/logs/stdio)

Command Output (stderr):
--
/home/worker/lldb-x86_64-debian/lldb-x86_64-debian/llvm-project/lldb/test/Shell/SymbolFile/Breakpad/symtab.test:6:10: error: CHECK: expected string not found in input
# CHECK: Symtab, file = {{.*}}symtab.out, num_symbols = 5:
         ^
<stdin>:15:1: note: scanning from here
Symtab, file = /home/worker/lldb-x86_64-debian/lldb-x86_64-debian/build/tools/lldb/test/SymbolFile/Breakpad/Output/symtab.out, num_symbols = 6:
^
<stdin>:15:99: note: possible intended match here
Symtab, file = /home/worker/lldb-x86_64-debian/lldb-x86_64-debian/build/tools/lldb/test/SymbolFile/Breakpad/Output/symtab.out, num_symbols = 6:

For now I've updated the basic-elf.yaml so that now it produce the same layout as before D74764.
Breakpad/symtab.test should be updated it seems.
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/Inputs/basic-elf.yaml
Commit 837d8129e916765123f83f47ce380ff436191f6e by tyker
[NFC] Remove some GCC warning from c9e93c84f61400d1aac7d195a0578e80bc48c69a
The file was modifiedllvm/lib/Transforms/Utils/KnowledgeRetention.cpp
The file was modifiedllvm/unittests/Transforms/Utils/KnowledgeRetentionTest.cpp
Commit e48849a2404128175df25168f961a83d6c0a901e by bion
[libcxx] [test] Suppress MSVC++ warning 4640 under /Zc:threadSafeInit-
The file was modifiedlibcxx/test/support/count_new.h
The file was modifiedlibcxx/test/support/type_id.h
Commit 7b44f0428af4000372af5f016995c032a959d17e by i
Add a llvm::shuffle and use it in lld

With this --shuffle-sections=seed produces the same result in every
host.

Reviewed By: grimar, MaskRay

Differential Revision: https://reviews.llvm.org/D74971
The file was modifiedlld/test/ELF/shuffle-sections.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedlld/test/ELF/shuffle-sections-init-fini.s
Commit 56eb15a1c71061043d50aa669407816bc08dfb5d by koraq
[Sema] Fix pointer-to-int-cast diagnostic for _Bool

The diagnostic added in D72231 also shows a diagnostic when casting to a
_Bool. This is unwanted. This patch removes the diagnostic for _Bool types.

Differential Revision: https://reviews.llvm.org/D74860
The file was modifiedclang/test/Sema/cast.c
The file was modifiedclang/test/SemaCXX/cstyle-cast.cpp
The file was modifiedclang/test/Sema/MicrosoftExtensions.c
The file was modifiedclang/lib/Sema/SemaCast.cpp
Commit 81726894d3c8af556eb86007c8c26d7e2d9639f3 by Lang Hames
[ORC] Add errors for missing and extraneous symbol definitions.

This patch adds new errors and error checking to the ObjectLinkingLayer to
catch cases where a compiled or loaded object either:
(1) Contains definitions not covered by its responsibility set, or
(2) Is missing definitions that are covered by its responsibility set.

Proir to this patch providing the correct set of definitions was treated as
an API contract requirement, however this requires that the client be confident
in the correctness of the whole compiler / object-cache pipeline and results
in difficult-to-debug assertions upon failure. Treating this as a recoverable
error results in clearer diagnostics.

The performance overhead of this check is one comparison of densemap keys
(symbol string pointers) per linking object, which is minimal. If this overhead
ever becomes a problem we can add the check under a flag that can be turned off
if the client fully trusts the rest of the pipeline.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcError.h
The file was modifiedllvm/lib/ExecutionEngine/OrcError/OrcError.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
Commit 1df947ab403a9ec3bb1bf4cd83610a997dc4f3bc by Lang Hames
[ORC] Update LLJIT to automatically run specially named initializer functions.

The GenericLLVMIRPlatformSupport class runs a transform on all LLVM IR added to
the LLJIT instance to replace instances of llvm.global_ctors with a specially
named function that runs the corresponing static initializers (See
(GlobalCtorDtorScraper from lib/ExecutionEngine/Orc/LLJIT.cpp). This patch
updates the GenericIRPlatform class to check for this specially named function
in other materialization units that are added to the JIT and, if found, add
the function to the initializer work queue. Doing this allows object files
that were compiled from IR and cached to be reloaded in subsequent JIT sessions
without their initializers being skipped.

To enable testing this patch also updates the lli tool's -jit-kind=orc-lazy mode
to respect the -enable-cache-manager and -object-cache-dir options, and modifies
the CompileOnDemandLayer to rename extracted submodules to include a hash of the
names of their symbol definitions. This allows a simple object caching scheme
based on module names (which was already implemented in lli) to work with the
lazy JIT.
The file was addedllvm/test/ExecutionEngine/OrcLazy/static-initializers-in-objectfiles.ll
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit e7a184fc7c044b883ab782fa05e56f873050bd72 by craig.topper
[X86] Use movlps for i64 atomic stores on 32-targets with sse1.

This is similar to using movd which we do for sse2 targets.

I've added a DAG combine for VEXTRACT_STORE to use SimplifyDemandedVectorElts
to clean up some artifacts from type legalization.
The file was modifiedllvm/test/CodeGen/X86/atomic-fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll
Commit bdb1729c8347c2b7d932976f8588e524b4f7b8d5 by craig.topper
[X86] Teach EltsFromConsecutiveLoads that it's ok to form a v4f32 VZEXT_LOAD with a 64 bit memory size on SSE1 targets.

We can use MOVLPS which will load 64 bits, but we need a v4f32
result type. We already have isel patterns for this.

The code here is a little hacky. We can probably improve it with
more isel patterns.
The file was modifiedllvm/test/CodeGen/X86/merge-consecutive-loads-128.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 84cd968f75bbd6e0fbabecc29d2c1090263adec7 by craig.topper
[X86] Add AddToWorklist(N) after calls to SimplifyDemandedBits/SimplifyDemandedVectorElts that are called on an operand of N.

If a simplication occurs the operand will be added to the worklist.
But since the demanded mask was based on N, we need to make sure
we revisit N in case there are more simplifications to be done.
Returning SDValue(N, 0) as we do, only tells DAG combine that
something changed, but that won't make it add anything to the
worklist.

Found while playing around with using VEXTRACT_STORE in more cases.
But I guess this doesn't affect any of our existing tests.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 57923617181b0181e8d5c2f2e940a94a82737c7c by craig.topper
[X86] Add sse2 command lines to sse-intrinsics-fast-isel.ll.

The extra available vector types on sse2 causes us to produce
different code.
The file was modifiedllvm/test/CodeGen/X86/sse-intrinsics-fast-isel.ll
Commit 21316f6f928301fb7b4fb1cbd8836cdbbcc62b41 by khalikov.denis
[NFC] Test commit access. Drop trivial braces.
The file was modifiedmlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
Commit 98ac6e76960aec89ac5094702d124678e8524afa by nunoplopes
[NFC] fix test nan value
The file was modifiedllvm/test/Transforms/InstCombine/fneg.ll
Commit 7d3f8b1e2dcda99b245a9e3a254090aa1b5cfd66 by sam.mccall
[clangd] Debounce rebuilds responsively to rebuild times.

Summary:
Old: 500ms always. New: rebuild time, up to 500ms.

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

Reviewers: hokein

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73949
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
Commit a2ce807eb72a8e154abca09b1e968b2d99ba6933 by sam.mccall
[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails.

This reverts commit 6af1ad20d60ef8ea23f2cfdb02d299b3b3114b06.
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit b4b9706d5da368c81b86867b1c11a2e17b4472ac by sam.mccall
Revert "[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails."

This reverts commit a2ce807eb72a8e154abca09b1e968b2d99ba6933.

Buildbot failures on GCC due to SelectionTree not being copyable, and
instantiating vector<Selection> in the tweak-handling in ClangdServer.
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
Commit af69d5e10eb7bef52521fc052795690598040dc7 by flo
[DSE] Track overlapping stores.

Add a map from BasicBlocks to overlap intervals. For partial writes, we
can keep track of those in IOLs. We only add candidates that are valid
for eliminations.

Reviewers: dmgreen, bryant, asbirlea, Tyker

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D73757
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-loops.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/OverwriteStoreBegin.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-memintrinsics.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/OverwriteStoreEnd.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-missing-debugloc.ll
Commit a253a2a793cda34d1f6421ee9b7ca76a03fdfc59 by spatel
[SDAG] fold fsub -0.0, undef to undef rather than NaN

A question about this behavior came up on llvm-dev:
http://lists.llvm.org/pipermail/llvm-dev/2020-February/139003.html
...and as part of backend improvements in D73978.

We decided not to implement a more general change that would have
folded any FP binop with nearly arbitrary constant + undef operand
to undef because that is not theoretically correct (even if it is
practically correct).

This is the SDAG-equivalent to the IR change in D74713.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_fneg.ll
Commit 31059ba5eb12ccbf18c957e76318306474af6166 by craig.topper
[X86] Regenerate some tests to show FMA4 comments. NFC
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
Commit 7769030b9310c1865fd331edb78dc242a39b109a by flo
Recommit "[PatternMatch] Match XOR variant of unsigned-add overflow check."

This version fixes a buildbot failure cause by picking the wrong insert
point for XORs. We cannot pick the XOR binary operator as insert point,
as it is not guaranteed that both input operands for the overflow
intrinsic are defined before it.

This reverts the revert commit
c7fc0e5da6c3c36eb5f3a874a6cdeaedb26856e0.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/test/CodeGen/X86/sat-add.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AArch64/sat-add.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/AArch64/overflow-intrinsics.ll
Commit 335e21f9006912ce547125fc406a0441a82e8c5d by flo
[AArch64] Update new test.

Changed after 7769030b9310c1865fd331edb78dc242a39b109a.
The file was modifiedllvm/test/CodeGen/AArch64/sat-add.ll
Commit be6d07c9208e70e6453201f52e9b10dc3524abb9 by sam.mccall
[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails.

This reverts commit b4b9706d5da368c81b86867b1c11a2e17b4472ac.
Now avoiding expected<vector<selection>> in favor of expected<vector<unique_ptr<selection>>>
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 86cda4c50da4fe31771f866071c8516199c7c2b0 by aaron
Updating a comment to clarify that SkipUntil handles balanced delimiters.
The file was modifiedclang/include/clang/Parse/Parser.h
Commit e9997cfb4d44e93cc65a29d1e1bb7451f418a7c7 by sam.mccall
[clangd] Try to fix buildbots - copy elision not happening here?
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
Commit 82879c2913da69ef2deadee9d075140a84eb6e8c by paulsson
[SystemZ]  Support the kernel back chain.

In order to build the Linux kernel, the back chain must be supported with
packed-stack. The back chain is then stored topmost in the register save
area.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D74506
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
The file was modifiedclang/test/Driver/mbackchain.c
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was addedllvm/test/CodeGen/SystemZ/frame-24.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was addedllvm/test/CodeGen/SystemZ/frame-23.ll
The file was addedllvm/test/CodeGen/SystemZ/frameaddr-02.ll
Commit 2a10f8019dd9525c91d1f2f74538c83edfc16bee by craig.topper
[X86] Use FIST for i64 atomic stores on 32-bit targets without SSE.
The file was modifiedllvm/test/CodeGen/X86/atomic-load-store-wide.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-mi.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-fp.ll
Commit 15b6aa744881b6e77a3d6773afa3016fc2f9f123 by craig.topper
[X86] Enable the use of movlps for i64 atomic load on 32-bit targets with sse1.

Still a little room for improvement by using movlps to store to
the stack temporary needed to move data out of the xmm register
after the load.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-fp.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll
Commit 5a705186604fbd1bc762f5fe7370983cc0827ffd by craig.topper
[X86] Remove most X86 specific subclasses of MemSDNode. Just use a MemIntrinsicSDNode as we usually do.

Leave the gather/scatter subclasses, but make them inherit from
MemIntrinsicSDNode and delete their constructor and destructor.
This way we can still have the getIndex, getMask, etc. convenience
functions.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
Commit 384d5e33fe2ea0b40119b003b60cfa8b21e3fd15 by craig.topper
[SelectionDAG] Remove SelectionDAG::getTargetMemSDNode now that its not used.

Targets are expected to use getMemIntrinsicNode and not provide
their own subclasses. X86 was previously the only user.
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
Commit bae33a7c5a1f220671e6d99cda21749afe2501a6 by aktoon
IR printing for single function with the new pass manager.

Summary:
The IR printing always prints out all functions in a module with the new pass manager, even with -filter-print-funcs specified. This is being fixed in this change. However, there are two exceptions, i.e, with user-specified wildcast switch -filter-print-funcs=* or -print-module-scope, under which IR of all functions should be printed.

Test Plan:
make check-clang
make check-llvm

Reviewers: wenlei

Reviewed By: wenlei

Subscribers: wenlei, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74814
The file was modifiedllvm/test/Other/module-pass-printer.ll
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
Commit 8b3a62dc987288a04f84c0e105303871943e8831 by qshanz
[NFC][PowerPC] Refactor the tryAndWithMask()

Split the tryAndWithMask into several small calls.

Differential Revision: https://reviews.llvm.org/D72250
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Commit 6a3506a208b90e65c719b0942376f46902a08945 by shengchen.kan
[Driver][X86] Add helptext for malign-branch*, mbranches-within-32B-boundaries

Differential Revision: https://reviews.llvm.org/D75017
The file was modifiedclang/include/clang/Driver/Options.td
Commit 4d812acba61e6306181a830a18d21bcb07b9f8c7 by sivachandra
[libc] Add a README to the sub-directories under the utils directory.

Also, the source layout document has been updated to reflect the current
layout of the `utils` directory.

Reviewers: PaulkaToast

Differential Revision: https://reviews.llvm.org/D74502
The file was addedlibc/utils/UnitTest/README.md
The file was addedlibc/utils/HdrGen/README.md
The file was modifiedlibc/utils/CPP/README.md
The file was modifiedlibc/docs/source_layout.rst
Commit 3a6bb32bd24b6f1b01ae2378ea7fa726f453fb1c by craig.topper
[SelectionDAG] Remove ISD::LIFETIME_START/LIFETIME_END from assert in getMemIntrinsicNode.

These appear to have their own SDNode type and shouldn't use
MemIntrinsicSDNode.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit f1b8ec3398fc0022b825b709eb6e792d35276bc1 by craig.topper
[X86] Use custom isel for gather/scatter instructions.

The type profile we use for the isel patterns lied about how
many operands the gather/scatter node has to skip the index
and scale operands. This allowed us to expand the baseptr
operand into base, displacement, and segment and then merge
the index and scale with them in the final instruction during
isel. This is kind of a hack that relies on isel not checking the
number of operands at all.

This commit switches to custom isel where we can manage this
directly without relying on holes in the isel checking.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
Commit 7a7146cf72ad46f706e892f32f64405665f31ba3 by craig.topper
[X86] When creating X86ISD::MGATHER nodes from AVX2 gather intrinsics, cast the mask to integer type.

The gather intrinsics use a floating point mask when the result
type is FP. But we call DemandedBits on the mask assuming its an
integer type. We also use integer types when we create it from
generic IR. So add a bitcast to the intrinsic path to guarantee
the integer type.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 27a79b721628ce0814cdc7b4d5267717bcc52421 by Lang Hames
[JITLink] Add a MachO x86-64 GOT and Stub bypass optimization.

This optimization bypasses GOT loads and calls/branches through stubs when the
ultimate target of the access/branch is found to be within range of the
reference.

Extra debugging output is also added to the generic JITLink algorithm and
basic GOT and Stubs builder utility to aid debugging.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
The file was addedllvm/test/ExecutionEngine/JITLink/X86/Inputs/MachO_GOTAndStubsOptimizationHelper.s
The file was addedllvm/test/ExecutionEngine/JITLink/X86/MachO_GOTAndStubsOptimization.s
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/BasicGOTAndStubsBuilder.h
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
Commit e657a1eb23f8231296ac0c62a1cd497762bd0f3e by Raphael Isemann
[lldb] Remove all the 'current_id'  logging counters from the lookup code.

Summary:
We have a lot of code in our lookup code to pass around `current_id` counters which end up in our logs like this:
```
AOCTV::FT [234] Found XYZ
```

This patch removes all of this code because:
* I'm splitting up all humongous functions, so I need to write more and more boilerplate to pass around these ids.
* I never saw any similar counters in the LLDB/LLVM code base.
* They're essentially globals and the last thing we need in LLDB is even more global state.
* They're not really useful when readings logs. It doesn't help that there isn't just 1 or 2 counters, but 12 (!) unique counters. I always thought that if I see two identical counter values in those brackets it's the same lookup request, but it seems that's only true by accident (and you can't know which of the 12 counters is actually printed without reading the code). The only time I know I can trust the counters is when it's obvious from the log that it's the same counter like in the log below, but then why have the counters in the first place?

```
LayoutRecordType[28] on (ASTContext*)0x00007FFA1C840200 'scratch ASTContext' for (RecordDecl*)0x00007FFA0AAE8CF0 [name = '__tree']
LRT[28] returned:
LRT[28]   Original = (RecordDecl*)%p
LRT[28]   Size = %lld
LRT[28]   Alignment = %lld
LRT[28]   Fields:
LRT[28]     (FieldDecl*)0x00007FFA1A13B1D0, Name = '__begin_node_', Offset = 0 bits
LRT[28]     (FieldDecl*)0x00007FFA1C08FD30, Name = '__pair1_', Offset = 64 bits
LRT[28]     (FieldDecl*)0x00007FFA1C061210, Name = '__pair3_', Offset = 128 bits
LRT[28]   Bases:
```

Reviewers: labath, shafik, JDevlieghere

Reviewed By: labath, shafik, JDevlieghere

Subscribers: abidh, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74951
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
Commit 03756a41979915c63d0a9eb214524e03aaff876d by sam.parker
[ARM][MVE] Combine more extending masked loads

For MVE, don't look at the users of the extending loads so that more
as desirable for folding.

Differential Revision: https://reviews.llvm.org/D74958
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/extending-loads.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 0f7cfb25432e405aeb12251598a9798662979ced by pavel
[lldb/DWARF] Don't index dwp file multiple times

Summary:
When we added support for type units in dwo files, we changed the
"manual" dwarf index to index _all_ dwarf units in the dwo file instead
of just the split unit belonging to our skeleton unit. This was fine for
dwo files, as they contain only a single compile units and type units do
not have a split type unit which would point to them.

However, this does not work for dwp files because, these files do
contain multiple split compile units, and the current approach means
that each unit gets indexed multiple times (once for each split unit =>
n^2 complexity).

This patch teaches the manual dwarf index to treat dwp files specially.
Any type units in the dwp file added to the main list of compile units
and indexed with them in a single batch. Split compile units in dwp
files are still indexed as a part of their skeleton unit -- this is done
because we need the DW_AT_language attribute from the skeleton unit to
index them properly.

Handling of dwo files remains unchanged -- all units (type and skeleton)
are indexed when we reach the dwo file through the split unit.

Reviewers: clayborg, JDevlieghere, aprantl

Subscribers: arphaman, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74964
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
Commit be3b448c2e39b9f1302601935955a9f5e5f013e8 by pavel
[lldb/test] simplify basic-elf.yaml

Explicit dynsym/dynstr sections were added in a6370d5 to compensate for
a yaml2obj change D74764. This test doesn't need those sections, so
instead I just delete the explicit section blocks, and also the
"DynamicSymbols" block, which triggers their implicit generation.
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/Inputs/basic-elf.yaml
Commit c131dfefe2b404dc1dbb32a02ea484fd7edaffdc by Raphael Isemann
[lldb] Disable auto fix-its when evaluating expressions in the test suite

Summary:
Currently the test suite runs with enabled automatically applied Clang fix-its for expressions.
This is causing that sometimes incorrect expressions in tests are still evaluated even though they
are actually incorrect. Let's disable this feature in the test suite so that we know when expressions
are wrong and leave the fix-it testing to the dedicated tests for that feature.

Also updates the `lang/cpp/operators/` test as it seems Clang needs the `struct` keywords
before C and would otherwise fail without fixits.

Reviewers: jingham, JDevlieghere, shafik

Reviewed By: JDevlieghere, shafik

Subscribers: shafik, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74957
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/Shell/lit-lldb-init.in
The file was modifiedlldb/test/API/lang/cpp/operators/main.cpp
Commit c3f36acc92479f6f27ed226e52499d619308561e by bevin.hansson
[MC] Widen the functional unit type from 32 to 64 bits.

Summary:
The type used to represent functional units in MC is
'unsigned', which is 32 bits wide. This is currently
not a problem in any upstream target as no one seems
to have hit the limit on this yet, but in our
downstream one, we need to define more than 32
functional units.

Increasing the size does not seem to cause a huge
size increase in the binary (an llc debug build went
from 1366497672 to 1366523984, a difference of 26k),
so perhaps it would be acceptable to have this patch
applied upstream as well.

Subscribers: hiraditya, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71210
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
The file was modifiedllvm/include/llvm/MC/MCInstrItineraries.h
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/utils/TableGen/SubtargetEmitter.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.h
The file was modifiedllvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
Commit 9b23024c8b5d29d352215cc2e78eb1522f82a340 by pavel
Use new FailedWithMessage matcher in DWARFDebugLineTest.cpp

Summary:
This should produce slightly better error messages in case of failures.
Only slightly, because this code was pretty careful about that to begin
with -- I've seen code which does much worse.

Reviewers: jhenderson, dblaikie

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74899
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Commit 8f46269f0c1cc93b080931fd9dfeffc4d364004b by calixte.denizet
[profile] Don't dump counters when forking and don't reset when calling exec** functions

Summary:
There is no need to write out gcdas when forking because we can just reset the counters in the parent process.
Let say a counter is N before the fork, then fork and this counter is set to 0 in the child process.
In the parent process, the counter is incremented by P and in the child process it's incremented by C.
When dump is ran at exit, parent process will dump N+P for the given counter and the child process will dump 0+C, so when the gcdas are merged the resulting counter will be N+P+C.
About exec** functions, since the current process is replaced by an another one there is no need to reset the counters but just write out the gcdas since the counters are definitely lost.
To avoid to have lists in a bad state, we just lock them during the fork and the flush (if called explicitely) and lock them when an element is added.

Reviewers: marco-c

Reviewed By: marco-c

Subscribers: hiraditya, cfe-commits, #sanitizers, llvm-commits, sylvestre.ledru

Tags: #clang, #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74953
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
Commit 6e561d1c94edc2ecaab7b79f6b3f1a06f515d531 by bevin.hansson
[Intrinsic] Add fixed point saturating division intrinsics.

Summary:
This patch adds intrinsics and ISelDAG nodes for signed
and unsigned fixed-point division:

```
llvm.sdiv.fix.sat.*
llvm.udiv.fix.sat.*
```

These intrinsics perform scaled, saturating division
on two integers or vectors of integers. They are
required for the implementation of the Embedded-C
fixed-point arithmetic in Clang.

Reviewers: bjope, leonardchan, craig.topper

Subscribers: hiraditya, jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71550
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was addedllvm/test/CodeGen/X86/udiv_fix_sat.ll
The file was addedllvm/test/CodeGen/X86/sdiv_fix_sat.ll
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
Commit bc1947a6f51fec9239248043d1a85afa3ce586aa by benny.kra
Add a basic tiling pass for parallel loops

This exploits the fact that the iterations of parallel loops are
independent so tiling becomes just an index transformation. This pass
only tiles the innermost loop of a loop nest.

The ultimate goal is to allow vectorization of the tiled loops, but I
don't think we're there yet with the current rewriting, as the tiled
loops don't have a constant trip count.

Differential Revision: https://reviews.llvm.org/D74954
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was addedmlir/test/Dialect/Loops/parallel-loop-tiling.mlir
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LoopOps/Passes.h
The file was addedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
Commit 3ac37eb9a93a4009f58c29497aa141fc103f4c45 by benny.kra
Silence compiler warnings

mlir/lib/Parser/Parser.cpp:4484:15: warning: 'parseAssignmentList' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  ParseResult parseAssignmentList(SmallVectorImpl<OperandType> &lhs,
              ^
mlir/include/mlir/IR/OpImplementation.h:662:3: note: overridden virtual function is here
  parseAssignmentList(SmallVectorImpl<OperandType> &lhs,
  ^
mlir/lib/Parser/Parser.cpp:4488:12: warning: unused variable 'type' [-Wunused-variable]
      Type type;
           ^
The file was modifiedmlir/lib/Parser/Parser.cpp
Commit f2ff153401fa894844e1f365697e58297d328207 by kerry.mclaughlin
[AArch64][SVE] Add intrinsics for SVE2 cryptographic instructions

Summary:
Implements the following SVE2 intrinsics:
- @llvm.aarch64.sve.aesd
- @llvm.aarch64.sve.aesimc
- @llvm.aarch64.sve.aese
- @llvm.aarch64.sve.aesmc
- @llvm.aarch64.sve.rax1
- @llvm.aarch64.sve.sm4e
- @llvm.aarch64.sve.sm4ekey

Reviewers: sdesmalen, c-rhodes, dancgr, cameron.mcinally, efriedma, rengolin

Reviewed By: sdesmalen

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74833
The file was addedllvm/test/CodeGen/AArch64/sve2-intrinsics-crypto.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 8c893cac3f65cecf5b5a05dc32cfbfe4b82cc8e0 by benny.kra
[ORC] Remove spammy debug print
The file was modifiedllvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
Commit a4370b2ec4624c8aceb2754cf916b98c2bfc1914 by kbobyrev
Use temporary directory for tests in D74346
The file was modifiedllvm/test/Other/cfg_deopt_unreach.ll
Commit eaa41e103c568a3f97039fe64c89baa7e9b085ca by llvm-dev
[CostModel][X86] Try to check against common prefixes before using target-specific cpu checks

SLM/GLM is still a mess so not all of them have been updated yet.
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-extract_subvector.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/uitofp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-transpose.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fcmp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/sitofp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/extend.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fshr.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-insert_subvector.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vshift-shl-cost.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/alternate-shuffle-cost.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-two-src.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/div.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vector-insert.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-ssat.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fptoui.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-fp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vshift-ashr-cost.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vshift-lshr-cost.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fptosi.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fshl.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vector-extract.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-single-src.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/rem.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-reverse.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-overflow.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fround.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/icmp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-broadcast.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-usat.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-fix.ll
Commit f287bb8cf5e48a22b5d1be47da803f73c5aa8186 by david.green
[ARM] FP16 bitcast test. NFC
The file was addedllvm/test/CodeGen/ARM/fp16-bitcast.ll
Commit 12fed51c0807b0727f9eecdd3dcf774a82fa7ecd by mikhail.maltsev
[ARM,MVE] Remove 64-bit variants of vbrsrq* intrinsics

Summary:
According to the ACLE the vbrsrq* intrinsics don't accept vectors
with 64-bit elements (and neither does the corresponding VBRSR
instruction).

Reviewers: simon_tatham, dmgreen, MarkMurrayARM, ostannard

Reviewed By: simon_tatham

Subscribers: kristof.beyls, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75038
The file was modifiedclang/include/clang/Basic/arm_mve.td
Commit bd5b22070b6984d89c13b6cf38c3e54fc98ce291 by aaron
Fix TryParsePtrOperatorSeq.

The syntax rules for ptr-operator allow attributes after *, &,
&&, therefore we should be able to parse the following:

void fn() {
    void (*[[attr]] x)() = &fn;
    void (&[[attr]] y)() = fn;
    void (&&[[attr]] z)() = fn;
}
However the current logic in TryParsePtrOperatorSeq does not consider
the presence of attributes leading to unexpected parsing errors.

Moreover we should also consider _Atomic a possible qualifier that can
appear after the sequence of attribute specifiers.
The file was modifiedclang/test/CXX/dcl.decl/p4-0x.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/test/Parser/cxx-ambig-decl-expr.cpp
The file was modifiedclang/test/Parser/cxx-attributes.cpp
Commit a67eb221e2281350eeab5dd4b9119895c500674c by sam.parker
[RDA][ARM][LowOverheadLoops] Iteration count IT blocks

Change the way that we remove the redundant iteration count code in
the presence of IT blocks. collectLocalKilledOperands has been
introduced to scan an instructions operands, collecting the killed
instructions and then visiting them too. This is used to delete the
code in the preheader which calculates the iteration count. We also
track any IT blocks within the preheader and, if we remove all the
instructions from the IT block, we also remove the IT instruction.
isSafeToRemove is used to remove any redundant uses of the iteration
count within the loop body.

Differential Revision: https://reviews.llvm.org/D74975
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-ignore-vctp.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/include/llvm/CodeGen/ReachingDefAnalysis.h
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-itercount.mir
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-mov.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-random.mir
Commit f87f23c81caeb0b0b7b8e795023b7273a13115d2 by kerry.mclaughlin
[AArch64][SVE] Add the SVE dupq_lane intrinsic

Summary:
Implements the @llvm.aarch64.sve.dupq.lane intrinsic.

As specified in the ACLE, the behaviour of:
  svdupq_lane_u64(data, index)

...is identical to:
  svtbl(data, svadd_x(svptrue_b64(),
                      svand_x(svptrue_b64(), svindex_u64(0, 1), 1),
                      index * 2))

If the index is in the range [0,3], the operation is equivalent
to a single DUP (.q) instruction.

Reviewers: sdesmalen, c-rhodes, cameron.mcinally, efriedma, dancgr, rengolin

Reviewed By: sdesmalen

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74734
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
Commit 7efabe5c7de46fe190638741c6ee81ae13255e38 by sjoerd.meijer
[MIR][ARM] MachineOperand comments

This adds infrastructure to print and parse MIR MachineOperand comments.
The motivation for the ARM backend is to print condition code names instead of
magic constants that are difficult to read (for human beings). For example,
instead of this:

  dead renamable $r2, $cpsr = tEOR killed renamable $r2, renamable $r1, 14, $noreg
  t2Bcc %bb.4, 0, killed $cpsr

we now print this:

  dead renamable $r2, $cpsr = tEOR killed renamable $r2, renamable $r1, 14 /* CC::always */, $noreg
  t2Bcc %bb.4, 0 /* CC:eq */, killed $cpsr

This shows that MachineOperand comments are enclosed between /* and */. In this
example, the EOR instruction is not conditionally executed (i.e. it is "always
executed"), which is encoded by the 14 immediate machine operand. Thus, now
this machine operand has /* CC::always */ as a comment. The 0 on the next
conditional branch instruction represents the equal condition code, thus now
this operand has /* CC:eq */ as a comment.

As it is a comment, the MI lexer/parser completely ignores it. The benefit is
that this keeps the change in the lexer extremely minimal and no target
specific parsing needs to be done. The changes on the MIPrinter side are also
minimal, as there is only one target hooks that is used to create the machine
operand comments.

Differential Revision: https://reviews.llvm.org/D74306
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-ropi-rwpi.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-lr-terminator.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp16-reduce.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-select-copy_to_regclass-of-fptosi.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-preuse.mir
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vmaxmin_vpred_r.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/livereg-no-loop-def.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-add-operand-liveout.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-32.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-neon.mir
The file was modifiedllvm/test/CodeGen/ARM/register-scavenger-exceptions.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_triangleSameCvtNext.mir
The file was modifiedllvm/test/CodeGen/MIR/ARM/bundled-instructions.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-start-after-def.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-imm.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-stacksplot.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec-cbnz.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-fp.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-clz.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-revsh.mir
The file was modifiedllvm/test/CodeGen/Thumb2/t2sizereduction.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_simple_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-optnone.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/multiple-do-loops.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-while.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-store.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-vctp-operand-liveout.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
The file was modifiedllvm/test/DebugInfo/MIR/ARM/live-debug-values-reg-copy.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt-2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-pkhbt.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-arithmetic-ops.mir
The file was modifiedllvm/test/CodeGen/ARM/constant-island-movwt.mir
The file was modifiedllvm/test/CodeGen/MIR/ARM/thumb2-sub-sp-t3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/t2-teq-reduce.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-param-lowering.ll
The file was modifiedllvm/test/CodeGen/ARM/vldm-liveness.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-mov.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-3.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-globals-static.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-load-store.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-random.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-exts.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-use-after.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-vctp-opcode-liveout.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subri12.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-3-blocks-kill-vpr.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wlstp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-def.mir
The file was modifiedllvm/test/CodeGen/Thumb2/peephole-addsub.mir
The file was modifiedllvm/test/CodeGen/ARM/load_store_opt_kill.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-prev-iteration.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dls.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_triangleWoCvtToNextEdge.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/disjoint-vcmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-2.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-select.mir
The file was modifiedllvm/test/CodeGen/ARM/cmp1-peephole-thumb.mir
The file was modifiedllvm/test/CodeGen/ARM/peephole-phi.mir
The file was modifiedllvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.cpp
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-pr35926.mir
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-liveout.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vmldava_in_vpt.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/while.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-ignore-vctp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/fp16-stacksplot.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-1-ins.mir
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-2.mir
The file was modifiedllvm/test/CodeGen/ARM/load_store_opt_reg_limit.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/safe-def-no-mov.mir
The file was modifiedllvm/test/CodeGen/ARM/constant-islands-cfg.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt-diamond-unanalyzable-common.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-mov.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-pic.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-shifts.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
The file was modifiedllvm/test/CodeGen/Thumb2/peephole-cmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-2-preds.mir
The file was modifiedllvm/test/CodeGen/Thumb2/constant-islands-cbz.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-globals-pic.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-br.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/out-of-range-cbz.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/irtranslator-varargs-lowering.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-instruction-select-cmp.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-cmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-liveout-lsr-shift.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-logical-ops.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_diamond_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/ARM/tail-dup-bundle.mir
The file was modifiedllvm/test/CodeGen/Thumb/peephole-cmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-chain.mir
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/extract-element.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/add_reduce.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-static.mir
The file was modifiedllvm/test/CodeGen/ARM/codesize-ifcvt.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-globals-ropi-rwpi.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-liveout.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_simple_bad_zero_prob_succ.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-8.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-debug.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix-debug.mir
The file was modifiedllvm/test/CodeGen/ARM/ARMLoadStoreDBG.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-4-ins.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-ctrl-flow.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-nots.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/end-positive-offset.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-non-consecutive-ins.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-2-ins.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-divmod.mir
The file was modifiedllvm/test/CodeGen/ARM/load_store_opt_clobber_cpsr.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-call-lowering.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/remove-elem-moves.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-itercount.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-1-pred.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_forked_diamond_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-fold-vcmp.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-fp-const.mir
The file was modifiedllvm/test/CodeGen/Thumb/peephole-mi.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-non-header.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unrolled-and-vector.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-16.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subi3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-load.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/size-limit.mir
The file was modifiedllvm/test/CodeGen/ARM/constant-islands-split-IT.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subri.mir
The file was modifiedllvm/test/CodeGen/Thumb2/high-reg-spill.mir
The file was modifiedllvm/test/CodeGen/ARM/fpoffset_overflow.mir
The file was modifiedllvm/test/CodeGen/ARM/machine-copyprop.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-1.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-use.mir
The file was modifiedllvm/test/CodeGen/ARM/cmpxchg.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-1.mir
The file was modifiedllvm/test/CodeGen/ARM/expand-pseudos.mir
The file was modifiedllvm/test/CodeGen/ARM/tst-peephole.mir
The file was modifiedllvm/test/CodeGen/Thumb2/ifcvt-cbz.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/no-vpsel-liveout.mir
Commit b82438872b1f88feb393d5651bdfacb89bd2f8fa by llvm-dev
[CostModel][X86] We don't need a scale factor for SLM extract costs

D74976 will handle larger vector types, but since SLM doesn't support AVX+ then we will always be extracting from 128-bit vectors so don't need to scale the cost.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-cast.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-extract_subvector.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vector-extract.ll
Commit c8dadac228b7dd3a71d5fc25489d1b884a2b0f5e by melanie.blower
add release notes for ffp-model and ffp-exception-behavior
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 8bee52bdb54a51ccfe1eb6c6ed5077132c2950a1 by Xiangling.Liao
[AIX][Frontend] C++ ABI customizations for AIX boilerplate

This PR enables "XL" C++ ABI in frontend AST to IR codegen. And it is driven by
static init work. The current kind in Clang by default is Generic Itanium, which
has different behavior on static init with IBM xlclang compiler on AIX.

Differential Revision: https://reviews.llvm.org/D74015
The file was addedclang/test/CodeGen/static-init.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/Basic/TargetCXXABI.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
Commit d66d25f83824e2d72e06bf0813cc9e9e564dd74c by a.bataev
[OpenMP] Refactor the analysis in checkMapClauseBaseExpression using StmtVisitor class.

Summary: This step is the preparation of allowing lvalue in map/motion clause.

Reviewers: ABataev, jdoerfert

Reviewed By: ABataev

Subscribers: guansong, cfe-commits

Tags: #clang, #openmp

Differential Revision: https://reviews.llvm.org/D74970
The file was modifiedclang/test/OpenMP/target_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 54fa9ecd3088508b05b0c5b5cb52da8a3c188655 by Louis Dionne
[libc++] Implementation of C++20's P1135R6 for libcxx

Differential Revision: https://reviews.llvm.org/D68480
The file was modifiedlibcxx/include/atomic
The file was addedlibcxx/src/barrier.cpp
The file was addedlibcxx/test/std/thread/thread.latch/count_down.pass.cpp
The file was addedlibcxx/test/std/thread/thread.latch/try_wait.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/thread/thread.semaphore/version.pass.cpp
The file was addedlibcxx/test/std/thread/thread.semaphore/try_acquire.pass.cpp
The file was addedlibcxx/test/std/thread/thread.semaphore/release.pass.cpp
The file was addedlibcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
The file was addedlibcxx/test/std/thread/thread.barrier/completion.pass.cpp
The file was modifiedlibcxx/src/include/apple_availability.h
The file was addedlibcxx/test/std/thread/thread.barrier/max.pass.cpp
The file was addedlibcxx/test/std/thread/thread.latch/version.pass.cpp
The file was addedlibcxx/test/std/thread/thread.latch/max.pass.cpp
The file was added