SuccessChanges

Summary

  1. [lldb] Pass the right args to --target and --build (details)
  2. [lldb] Use check-lldb for Xcode tests (details)
  3. [lldb] Only run the shell test for the Xcode standalone build (details)
Commit 0a4f1033bc2c13361c79d45457c9bf51663d18d4 by Jonas Devlieghere
[lldb] Pass the right args to --target and --build
The file was modifiedzorg/jenkins/monorepo_build.py (diff)
Commit f32aab14f7c025a0d5d418be821d0aed048a2df0 by Jonas Devlieghere
[lldb] Use check-lldb for Xcode tests
The file was modifiedzorg/jenkins/monorepo_build.py (diff)
Commit f54354cb3888376b0ce8b536d46c5a5a47d5394f by Jonas Devlieghere
[lldb] Only run the shell test for the Xcode standalone build
The file was modifiedzorg/jenkins/monorepo_build.py (diff)

Summary

  1. Remove redundant CXXScopeSpec from TemplateIdAnnotation. (details)
  2. Remove AllTargetsAsmPrinters (details)
  3. [libc] Replace the use of gtest with a new light weight unittest (details)
  4. Remove unneeded FoldingSet.h include from Attributes.h (details)
  5. AMDGPU/GlobalISel: Select DS append/consume (details)
  6. AMDGPU/GlobalISel: Select llvm.amdgcn.update.dpp (details)
  7. Consolidate internal denormal flushing controls (details)
  8. TableGen/GlobalISel: Don't check exact intrinsic opcode value (details)
  9. [MLIR] LLVM dialect: modernize and cleanups (details)
  10. [WebAssembly] Track frame registers through VReg and local allocation (details)
  11. [IR] Remove some unnecessary cleanup in Module's dtor, and use a (details)
  12. DebugInfo: Move SectionLabel tracking into CU's addRange (details)
  13. [lldb/Makefile.rules] Force the default target to be 'all' (details)
  14. [lldb/testsuite] Modernize 2 test Makefiles (details)
  15. [DAG] Add helper for creating constant vector index with correct type. (details)
  16. [Concepts] Requires Expressions (details)
  17. [X86][SSE] Add some v16i8 reverse + endian swap style shuffle tests (details)
  18. [X86] Rename lowerShuffleAsRotate -> lowerShuffleAsVALIGN (details)
  19. Revert "[Concepts] Requires Expressions" (details)
  20. Revert "[ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc" (details)
  21. [Support] Explicitly instantiate BumpPtrAllocatorImpl (details)
  22. Revert "[Support] Explicitly instantiate BumpPtrAllocatorImpl" (details)
  23. [test] clang/test/InterfaceStubs/externstatic.c requires (details)
  24. [debugserver] Share code between Enable/DisableHardwareWatchpoint (NFC) (details)
  25. [mlir] Fix compilation with VS2019. (details)
  26. [mlir] NFC: Rename index_t to index_type (details)
  27. [lldb/Test] XFAIL TestRequireHWBreakpoints when HW BPs are avialable (details)
  28. [llvm-exegesis][mips] Fix -Wunused-function after D72858 (details)
  29. [Concepts] Requires Expressions (details)
  30. [Concepts] Fix name-type conflict compilation issues (details)
  31. [AsmPrinter] Delete dead takeDeletedSymbsForFunction() (details)
  32. [X86][BranchAlign] Suppress branch alignment for {,_}__tls_get_addr (details)
  33. [X86] Remove X86ISD::FILD_FLAG and stop gluing nodes together. (details)
  34. [DebugInfo][test] Change two MIR tests to use (details)
  35. [XRay] Set hasSideEffects flag of PATCHABLE_FUNCTION_{ENTER,EXIT} (details)
  36. [CodeGen] Move fentry-insert, xray-instrumentation and (details)
  37. fix doc typos to cycle bots (details)
  38. [gn build] Port a0f50d73163 (details)
  39. Allow space after C-style cast in C# code (details)
  40. [clang-format] Add IndentCaseBlocks option (details)
  41. [clang-format] Expand the SpacesAroundConditions option to include catch (details)
  42. Remove extra "\01" prefix in EH docs (details)
  43. Fix gcc `-Wunused-variable` warning. NFC. (details)
  44. [ORC] Add weak symbol support to defineMaterializing, fix for PR40074. (details)
  45. [TargetRegisterInfo] Default trackLivenessAfterRegAlloc() to true (details)
  46. fix doc typos to cycle bots (details)
  47. [BranchRelaxation] Simplify offset computation and fix a bug in (details)
  48. [X86] Try to avoid casts around logical vector ops recursively. (details)
  49. Reorder targets in alphabetical order. NFC. (details)
  50. PR42108 Consistently diagnose binding a reference template parameter to (details)
  51. List implicit operator== after implicit destructors in a vtable. (details)
  52. Undo changes to release notes intended for the Clang 10 branch, not (details)
  53. [libc++][libc++abi] Fix or suppress failing tests in single-threaded (details)
  54. [mlir] NFC: Fix trivial typos in comments (details)
  55. [StackColoring] Remap FixedStackPseudoSourceValue frame index referenced (details)
  56. [ARM] Favour post inc for MVE loops (details)
  57. [ARM] MVE VLDn post inc tests. NFC (details)
  58. [ARM] MVE VLDn postinc (details)
  59. [LLVMgold][test] Fix llvm-nm test after D72658 (details)
  60. [llvm-mc] - Produce R_X86_64_PLT32 relocation for branches with JCC (details)
  61. [test] Simplify CodeGen/PowerPC/stack-coloring-vararg.mir (details)
  62. [IndVarSimplify][LoopUtils] rewriteLoopExitValues. NFCI (details)
  63. [llvm-objdump] - Fix the indentation when printing dynamic tags. (details)
  64. Recommit "[DWARF5][DebugInfo]: Added support for DebugInfo generation (details)
  65. [LoopUtils] Better accuracy for getLoopEstimatedTripCount. (details)
  66. [test] On Mac, don't try to use result of sysctl command if calling it (details)
  67. [NFC][LoopUtils] Minor change in comment according to review D71990. (details)
  68. [ARM][MVE] Tail-Predication: rematerialise iteration count in exit (details)
  69. [lldb/DWARF] Change how we construct a llvm::DWARFContext (details)
  70. [X86][SSE] Add PACKSS SimplifyMultipleUseDemandedBits 'sign bit' (details)
  71. [clangd] Remove a stale FIXME, NFC. (details)
  72. Add missing tests for parent traversal (details)
  73. Compare traversal for memoization before bound nodes container (details)
  74. [clang][CodeComplete] Propogate printing policy to FunctionDecl (details)
  75. [LV] Vectorizer should adjust trip count in profile information (details)
  76. Fix clang-formatting for recent commits (details)
  77. [lldb/DWARF] Simplify DWARFDebugInfoEntry::LookupAddress (details)
  78. Make SymbolFileDWARF::ParseLineTable use std::sort instead of insertion (details)
  79. Fix the invisible-traversal to ignore more nodes (details)
  80. [lldb] Don't process symlinks deep inside DWARFUnit (details)
  81. [lldb] Allow loading of minidumps with no process id (details)
  82. [AArch64][SVE] Extend int_aarch64_sve_ld1_gather_imm (details)
  83. [mlir] Add in-dialect lowering of gpu.all_reduce. (details)
  84. [llvm-profdata] Fix hint message since argument format has changed (details)
  85. [ARM,MVE] Fix confusing MC names for MVE VMINA/VMAXA insns. (details)
  86. [mlir] clarify LangRef wording around control flow in regions (details)
  87. [lldb] Mark the implicit copy constructor as deleted when a move (details)
  88. [SCEV] Swap guards estimation sequence. NFC (details)
  89. [InstSimplify] fold select of vector constants that include undef (details)
  90. [lldb][NFC] Add test for iterator invalidation during code completion. (details)
  91. [ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc (details)
  92. [ARM][MVE][Intrinsics] Take abs() of VMINNMAQ, VMAXNMAQ intrinsics' (details)
  93. [Alignment][NFC] Use Align with CreateElementUnorderedAtomicMemCpy (details)
  94. [libomptarget] Implement smid for amdgcn (details)
  95. Fix build - removing legacy target reference. (details)
  96. [llvm-exegesis][NFC] Disassociate snippet generators from benchmark (details)
  97. [gn build] Port 24b7b99b7d6 (details)
  98. [InstCombine] form copysign from select of FP constants (PR44153) (details)
  99. [FileCheck] Clean and improve unit tests (details)
  100. Add support for Linux/Musl ABI (details)
  101. [clangd] Avoid redundant testcases in rename unittest, NFC. (details)
  102. clang-format: [JS] fix `??` opreator wrapping. (details)
  103. [OPENMP]Fix PR44578: crash in target construct with captured global. (details)
  104. [FileCheck] Make Match unittest more flexible (details)
  105. [SelectionDAG] GetDemandedBits - fallback to (details)
  106. [clang-tidy] Add check for CERT-OOP57-CPP (details)
  107. [gn build] Port a42c3eb599c (details)
  108. [llvm-exegesis] Remove unused variable after D72928 (details)
  109. [lldb/Util] Add a utility to run transparently capture and replay tests. (details)
  110. [lldb/Test] Check that attribute exists before comparing its value (details)
  111. [OpenMP] affinity little fix for FreeBSD (details)
  112. [lldb/IOHandler] Improve synchronization between IO handlers. (details)
  113. [clangd] Fix DocumentOutline for concepts (details)
  114. [lldb/Docs] Add lldb-x86_64-fedora to the CI page (details)
  115. AMDGPU/GlobalISel: Add documentation for RegisterBankInfo (details)
  116. [mlir] Generalize broadcastable trait operands (details)
  117. [NFC] small rename of private member in InlineCost.cpp (details)
  118. Fix printer for llvm.addressof symbol name that need escaping (details)
  119. [Hexagon] Add support for Hexagon/HVX v67 ISA (details)
  120. AMDGPU: Partially merge indirect register write handling (details)
  121. AMDGPU: Prepare to use scalar register indexing (details)
  122. AMDGPU: Cleanup and generate 64-bit div tests (details)
  123. [lld][ELF] Don't apply --fix-cortex-a53-843419 to relocatable links. (details)
  124. [AsmPrinter] Don't emit __patchable_function_entries entry if (details)
  125. Revert "PR17164: Change clang's default behavior from (details)
  126. AMDGPU: Don't create weird sized integers (details)
  127. AMDGPU: Generate test checks (details)
  128. Revert "[libc++] Optimize / partially inline basic_string copy (details)
  129. [lld][RISCV] Print error when encountering R_RISCV_ALIGN (details)
  130. [llvm-objcopy][ELF] Allow setting SHF_EXCLUDE flag for ELF sections (details)
  131. AMDDGPU/GlobalISel: Fix RegBankSelect for llvm.amdgcn.ps.live (details)
  132. [clangd] Fix rename for explicit destructor calls (details)
  133. Revert "[MachO] Add a test for detecting reserved unit length." (details)
  134. [AMDGPU] Fix -Wunused-variable after (details)
  135. [MC] Improve a report_fatal_error (details)
  136. [RISCV] Pass target-abi via module flag metadata (details)
  137. Revert "[AMDGPU] Invert the handling of skip insertion." (details)
  138. [gn build] Port a80291ce10b (details)
  139. [MLIR] LLVM Dialect: add llvm.cmpxchg and improve llvm.atomicrmw custom (details)
  140. [ARM][MVE] Enable masked scatter (details)
  141. Reapply: [MachO] Add a test for detecting reserved unit length. (details)
  142. [LLD][ELF] Add support for INPUT_SECTION_FLAGS (details)
  143. Regenerate rotated uxt tests (details)
  144. [TargetLowering] SimplifyDemandedBits - Pull out InDemandedMask variable (details)
  145. [llvm-exegesis] Add support for AVX512 explicit rounding operands. (details)
  146. [DAG] Fold extract_vector_elt (scalar_to_vector), K to undef (K != 0) (details)
  147. [llvm-readelf][llvm-readobj] - Fix the indentation when printing dynamic (details)
  148. [analyzer] Enable PlacementNewChecker by default (details)
  149. [ELF] Refactor uses of getInputSections to improve efficiency NFC (details)
  150. [lldb][NFC] Convert LLDB_LOGF to LLDB_LOG in ClangASTSource.cpp (details)
  151. [llvm-exegesis] Fix support for LEA64_32r. (details)
  152. Create a gpu.module operation for the GPU Dialect. (details)
  153. [lldb] Use llvm::stable_sort in Line (details)
  154. [Alignment][NFC] Use Align with CreateMaskedLoad (details)
  155. [llvm-readobj] - Remove rpath.test. (details)
  156. [Alignment][NFC] Use Align with CreateElementUnorderedAtomicMemMove (details)
  157. AMDGPU/GlobalISel: Add some baseline tests for unmerge legalization (details)
  158. [clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc (details)
  159. [gn build] Port fccd0da5ee6 (details)
  160. [lldb/DWARF] Fix a leak in line table construction (details)
  161. [lldb/breakpad] Use new line table constructor (details)
  162. [TargetLowering] SimplifyDemandedBits ANY_EXTEND/ANY_EXTEND_VECTOR_INREG (details)
  163. [clangd] Capture the missing injected class names in (details)
  164. [X86] combineBT - use SimplifyDemandedBits instead of GetDemandedBits (details)
  165. [SelectionDAG] GetDemandedBits - remove ANY_EXTEND handling (details)
  166. [PowerPC][NFC] Reclaim TSFlags bit 6 (details)
  167. Make dropTriviallyDeadConstantArrays not quadratic (details)
  168. [TargetLowering] SimplifyDemandedBits ISD::SRA multi-use handling (details)
  169. [ARM] Follow AACPS standard for volatile bit-fields access width (details)
  170. Revert "[ARM] Follow AACPS standard for volatile bit-fields access (details)
  171. [RISCV] Check the target-abi module flag matches the option (details)
  172. [clangd] Drop returntype/type when hovering over type-ish names (details)
  173. Update spelling of {analyze,insert,remove}Branch in strings and comments (details)
  174. [Clang] Un-break scan-build after integrated-cc1 change (details)
  175. [mlir][spirv] Simplify scalar type size calculation. (details)
  176. [libcxx] Support Python 3.8 in the test suite (details)
  177. [Hexagon] Add support for Hexagon v67t microarchitecture (tiny core) (details)
  178. [lldb/Initializers] Move all macOS initializers into PlatformMacOSX (details)
  179. [HIP] use GetProgramPath for executable discovery (details)
  180. [FPEnv][SystemZ] Platform-specific builtin constrained FP enablement (details)
  181. [StackColoring] Remap PseudoSourceValue frame indices via (details)
  182. [lldb/Hexagon] Include <mutex> (details)
  183. [PowerPC] Delete PPCSubtarget::isDarwin and isDarwinABI (details)
  184. [lldb/tools] Update lldb-test's system initializer (details)
  185. [Codegen] Emit both AssumeAlignedAttr and AllocAlignAttr assumptions if (details)
  186. [NFC][Codegen] Use MaybeAlign + APInt::getLimitedValue() when creating (details)
  187. [APFloat] Extend conversion from special strings (details)
  188. [OpenMP][Offloading] Fix the issue that omp_get_num_devices returns (details)
  189. [APFloat][unittest] Fix -Wunused-variable after D69773 (details)
  190. [Attr][Doc][NFC] Fix code snippet formatting for attribute documentation (details)
  191. [debugserver] Delete macOS/PPC debug server implementation (details)
  192. [APFloat] Add support for operations on Signaling NaN (details)
  193. [debugserver] Delete stale code referencing ppc (details)
  194. [TableGen] Use a table to lookup MVE intrinsic names (details)
  195. [lldb] Add a setting to not install the main executable (details)
  196. [mlir][ods] Fix StringRef initialization in builders (details)
  197. [WebAssembly][InstrEmitter] Foundation for multivalue call lowering (details)
  198. [scudo][standalone] Allow sched_getaffinity to fail (details)
  199. [Hexagon] Add REQUIRES: asserts to a testcase using -debug-only (details)
  200. Revert "[lldb] Add a setting to not install the main executable" (details)
  201. [lldb] Add a setting to not install the main executable (details)
  202. [WebAssembly] Split and recombine multivalue calls for ISel (details)
  203. [GISelKnownBits] Make the max depth a parameter of the analysis (details)
  204. Fix tests of constant folding of fp operations on NaN values (details)
  205. [mlir] Fix LLVM intrinsic convesion generator for overloadable types. (details)
  206. [lld][Hexagon] Add General Dynamic relocations (GD) (details)
  207. [Sema] Avoid Wrange-loop-analysis false positives (details)
  208. [clang-tidy] Fix check for Abseil internal namespace access (details)
  209. [APFloat][unittest] Fix -Wsign-compare after D69773 (details)
  210. [lldb/Platform] Re-add ifdef's to guard macOS-only code. (details)
  211. Allow arbitrary capability name in Thread Safety Analysis (details)
  212. Removing an accidentally duplicated line of test code to fix bots. (details)
  213. Revert "[Clang] Un-break scan-build after integrated-cc1 change" (details)
  214. Revert "List implicit operator== after implicit destructors in a (details)
  215. [lldb/CMake] Add check-lldb-shell and check-lldb-api targets for Xcode (details)
  216. AMDGPU/GlobalISel: Legalize G_PTR_ADD for arbitrary pointers (details)
  217. [lldb/DataFormatters] Fix the `$$deference$$` synthetic child (details)
  218. [APInt] Fix tests that had wrong assumption about sdivs with negative (details)
  219. AMDGPU/GlobalISel: Merge G_PTR_ADD/G_PTR_MASK rules (details)
  220. [PATCH] Reland [Clang] Un-break scan-build after integrated-cc1 change (details)
  221. [SLP] Add a test showing miscompilation in AltOpcode support (details)
  222. [Matrix] Hide and describe matrix-propagate-shape option. (details)
  223. [IR] Value::getPointerAlignment(): handle pointer constants (details)
  224. AMDGPU/GlobalISel: Merge trivial legalize rules (details)
  225. [AArch64] Add custom store lowering for 256 bit non-temporal stores. (details)
  226. Fix an over-suspend bug with LaunchInNewTerminalWithAppleScript sessions (details)
  227. [lldb/Plugin] Rename AddressSanitizerRuntime for consistency with plugin (details)
  228. [lldb/Plugin] Rename TSanRuntime for consistency with plugin (NFC) (details)
  229. [lldb/Plugin] Rename UBSanRuntime for consistency with plugin (NFC) (details)
  230. [lldb/Plugin] Rename MainThreadCheckerRuntime for consistency with (details)
  231. [lldb/Plugin] Move DisassemblerLLVMC for consistency with plugin (NFC) (details)
  232. [SLP] Don't allow Div/Rem as alternate opcodes (details)
  233. Fix typos (details)
  234. List implicit operator== after implicit destructors in a vtable. (details)
  235. [Concepts] Placeholder constraints and abbreviated templates (details)
  236. [mlir][Linalg] Add tensor support to Linalg EDSC Builders (details)
  237. Revert "[mlir][Linalg] Add tensor support to Linalg EDSC Builders" (details)
  238. [clang-tidy] Fix check for generic lambda invented template parameters (details)
  239. [AArch64] Don't generate gpr CSEL instructions in early-ifcvt if (details)
  240. [clang/Darwin] Remove __llvm_profile_counter_bias from export list for (details)
  241. [Concepts] Constraint Satisfaction Caching (details)
  242. [libc++] Make sure std::is_scalar returns true for block types (details)
Commit a42fd84cff265b7e9faa3fe42885ee171393e4db by richard
Remove redundant CXXScopeSpec from TemplateIdAnnotation.
A TemplateIdAnnotation represents only a template-id, not a
nested-name-specifier plus a template-id. Don't make a redundant copy of
the CXXScopeSpec and store it on the template-id annotation.
This slightly improves error recovery by more properly handling the case
where we would form an invalid CXXScopeSpec while parsing a typename
specifier, instead of accidentally putting the token stream into a
broken "annot_template_id with a scope specifier, but with no preceding
annot_cxxscope token" state.
The file was modifiedclang/include/clang/Sema/ParsedTemplate.h
The file was modifiedclang/test/Parser/cxx-decl.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/SemaTemplate/ms-delayed-default-template-args.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2.cpp
The file was modifiedclang/test/SemaTemplate/rdar9173693.cpp
Commit 1d568bf9605c05ff088b244d7894ab2d88da9811 by thakis
Remove AllTargetsAsmPrinters
It's been an empty target since r360498 and friends
(`git log --grep='Move InstPrinter files to MCTargetDesc.'
llvm/lib/Target`), but due to hwo the way these targets are structured
it was silently an empty target without anyone noticing.
No behavior change.
The file was modifiedllvm/tools/llvm-mca/CMakeLists.txt
The file was modifiedllvm/tools/llvm-objdump/CMakeLists.txt
The file was modifiedllvm/tools/llvm-mc-assemble-fuzzer/CMakeLists.txt
The file was modifiedllvm/tools/llvm-mc/CMakeLists.txt
The file was modifiedllvm/tools/llvm-mc-disassemble-fuzzer/CMakeLists.txt
The file was modifiedllvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt
The file was modifiedllvm/docs/BuildingADistribution.rst
The file was modifiedllvm/tools/llvm-ml/CMakeLists.txt
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt
The file was modifiedllvm/cmake/modules/LLVM-Config.cmake
The file was modifiedllvm/tools/llvm-cfi-verify/CMakeLists.txt
The file was modifiedllvm/tools/sancov/CMakeLists.txt
Commit c7453fad0625be37f4b885c6cc2341fb12a66395 by sivachandra
[libc] Replace the use of gtest with a new light weight unittest
framework.
Header files included wrongly using <...> are now included using the
internal path names as the new unittest framework allows us to do so.
Reviewers: phosek, abrachet
Differential Revision: https://reviews.llvm.org/D72743
The file was modifiedlibc/src/sys/mman/munmap.h
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
The file was modifiedlibc/test/src/errno/errno_test.cpp
The file was addedlibc/utils/UnitTest/Test.cpp
The file was modifiedlibc/test/config/linux/x86_64/syscall_test.cpp
The file was addedlibc/utils/UnitTest/CMakeLists.txt
The file was addedlibc/utils/UnitTest/Test.h
The file was modifiedlibc/src/string/strcat.h
The file was modifiedlibc/test/src/sys/mman/CMakeLists.txt
The file was modifiedlibc/src/sys/mman/mmap.cpp
The file was modifiedlibc/test/src/string/strcat_test.cpp
The file was modifiedlibc/src/sys/mman/munmap.cpp
The file was modifiedlibc/src/string/strcpy.h
The file was modifiedlibc/test/src/string/strcpy_test.cpp
The file was modifiedlibc/test/src/sys/mman/mmap_test.cpp
The file was modifiedlibc/src/sys/mman/mmap.h
The file was modifiedlibc/utils/CMakeLists.txt
Commit 423e3db6a8202c57f1b7da52c35a34b3562602b3 by rnk
Remove unneeded FoldingSet.h include from Attributes.h
Avoids 637 extra FoldingSet.h and Allocator.h includes. FoldingSet.h
needs Allocator.h, which is relatively expensive.
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit ec9628318d797bfe036aca314d58665dd93b364f by arsenm2
AMDGPU/GlobalISel: Select DS append/consume
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ds.append.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.append.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.consume.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ds.consume.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.append.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.consume.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 592de0009f6482fbf033ef87d147aab13fcce78c by arsenm2
AMDGPU/GlobalISel: Select llvm.amdgcn.update.dpp
The existing test is overly reliant on -mattr=-flat-for-global, and some
missing optimizations to re-use.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit a4451d88ee456304c26d552749aea6a7f5154bde by arsenm2
Consolidate internal denormal flushing controls
Currently there are 4 different mechanisms for controlling denormal
flushing behavior, and about as many equivalent frontend controls.
- AMDGPU uses the fp32-denormals and fp64-f16-denormals subtarget
features
- NVPTX uses the nvptx-f32ftz attribute
- ARM directly uses the denormal-fp-math attribute
- Other targets indirectly use denormal-fp-math in one DAGCombine
- cl-denorms-are-zero has a corresponding denorms-are-zero attribute
AMDGPU wants a distinct control for f32 flushing from f16/f64, and as
far as I can tell the same is true for NVPTX (based on the attribute
name).
Work on consolidating these into the denormal-fp-math attribute, and a
new type specific denormal-fp-math-f32 variant. Only ARM seems to
support the two different flush modes, so this is overkill for the other
use cases. Ideally we would error on the unsupported positive-zero mode
on other targets from somewhere.
Move the logic for selecting the flush mode into the compiler driver,
instead of handling it in cc1. denormal-fp-math/denormal-fp-math-f32 are
now both cc1 flags, but denormal-fp-math-f32 is not yet exposed as a
user flag.
-cl-denorms-are-zero, -fcuda-flush-denormals-to-zero and
-fno-cuda-flush-denormals-to-zero will be mapped to
-fp-denormal-math-f32=ieee or preserve-sign rather than the old
attributes.
Stop emitting the denorms-are-zero attribute for the OpenCL flag. It has
no in-tree users. The meaning would also be target dependent, such as
the AMDGPU choice to treat this as only meaning allow flushing of f32
and not f16 or f64. The naming is also potentially confusing, since DAZ
in other contexts refers to instructions implicitly treating input
denormals as zero, not necessarily flushing output denormals to zero.
This also does not attempt to change the behavior for the current
attribute. The LangRef now states that the default is ieee behavior, but
this is inaccurate for the current implementation. The clang handling is
slightly hacky to avoid touching the existing denormal-fp-math uses.
Fixing this will be left for a future patch.
AMDGPU is still using the subtarget feature to control the denormal
mode, but the new attribute are now emitted. A future change will switch
this and remove the subtarget features.
The file was modifiedclang/test/Driver/opencl.cl
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-features.cl
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/test/CodeGen/NVPTX/fast-math.ll
The file was modifiedllvm/test/CodeGen/NVPTX/sqrt-approx.ll
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was modifiedclang/test/CodeGenCUDA/propagate-metadata.cu
The file was addedclang/test/Driver/cuda-flush-denormals-to-zero.cu
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/Driver/ToolChains/Cuda.h
The file was modifiedllvm/test/CodeGen/NVPTX/math-intrins.ll
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was removedclang/test/CodeGenOpenCL/gfx9-fp32-denorms.cl
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was modifiedclang/test/CodeGenCUDA/flush-denormals.cu
The file was removedclang/test/CodeGenOpenCL/denorms-are-zero.cl
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/cl-denorms-are-zero.cl
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/test/Driver/denormal-fp-math.c
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedllvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
Commit df7900e2182467fe11637c657d7d9fa9d9b61f48 by arsenm2
TableGen/GlobalISel: Don't check exact intrinsic opcode value
The file was modifiedllvm/test/TableGen/GlobalISelEmitter-input-discard.td
Commit ee2de95507a1fc81069c9b521be891abfe1379fb by frank.laub
[MLIR] LLVM dialect: modernize and cleanups
Summary: Modernize some of the existing custom parsing code in the LLVM
dialect. While this reduces some boilerplate code, it also reduces the
precision of the diagnostic error messges.
Reviewers: ftynse, nicolasvasilache, rriddle
Reviewed By: rriddle
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72967
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Commit ff171acf84204c03f67a46d16ef6adb1b83c4e9b by dschuff
[WebAssembly] Track frame registers through VReg and local allocation
This change has 2 components:
Target-independent: add a method getDwarfFrameBase to
TargetFrameLowering. It describes how the Dwarf frame base will be
encoded.  That can be a register (the default), the CFA (which replaces
NVPTX-specific logic in DwarfCompileUnit), or a DW_OP_WASM_location
descriptr.
WebAssembly: Allow WebAssemblyFunctionInfo::getFrameRegister to return
the correct virtual register instead of FP32/SP32 after
WebAssemblyReplacePhysRegs has run.  Make WebAssemblyExplicitLocals
store the local it allocates for the frame register. Use this local
information to implement getDwarfFrameBase
The result is that the DW_AT_frame_base attribute is correctly encoded
for each subprogram, and each param and local variable has a correct
DW_AT_location that uses DW_OP_fbreg to refer to the frame base.
This is a reland of rG3a05c3969c18 with fixes for the expensive-checks
and Windows builds
Differential Revision: https://reviews.llvm.org/D71681
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/multi-return.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp
The file was modifiedllvm/test/MC/WebAssembly/dwarfdump.ll
The file was modifiedlld/test/wasm/debuginfo.test
The file was modifiedllvm/lib/Target/NVPTX/NVPTXFrameLowering.h
The file was addedllvm/test/MC/WebAssembly/debug-localvar.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
Commit 46ed93315fceec4c8c3cd3defada501a55eb96e2 by dblaikie
[IR] Remove some unnecessary cleanup in Module's dtor, and use a
unique_ptr to simplify some
Follow on from D72812, based on Mehdi Amini's feedback.
The file was modifiedllvm/include/llvm/IR/Module.h
The file was modifiedllvm/lib/IR/Module.cpp
Commit 58b10df54ffdbfcd94ca0882a4adea0d375cb69d by dblaikie
DebugInfo: Move SectionLabel tracking into CU's addRange
This makes the SectionLabel handling more resilient - specifically for
future PROPELLER work which will have more CU ranges (rather than just
one per function).
Ultimately it might be nice to make this more general/resilient to
arbitrary labels (rather than relying on the labels being created for CU
ranges & then being reused by ranges, loclists, and possibly other
addresses). It's possible that other (non-rnglist/loclist) uses of
addresses will need the addresses to be in SectionLabels earlier (eg:
move the CU.addRange to be done on function begin, rather than function
end, so during function emission they are already populated for other
use).
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit 509b78883d4f8fdb13ccc754bba9782d51b477d8 by Fred Riss
[lldb/Makefile.rules] Force the default target to be 'all'
The test harness invokes the test Makefiles with an explicit 'all'
target, but it's handy to be able to recursively call Makefile.rules
without speficying a goal.
Some time ago, we rewrote some tests in terms of recursive invocations
of Makefile.rules. It turns out this had an unintended side effect.
While using $(MAKE) for a recursive invocation passes all the variables
set on the command line down, it doesn't pass the make goals. This means
that those recursive invocations would invoke the default rule. It turns
out the default rule of Makefile.rules is not
'all', but $(EXE). This means that ti would work becuase the executable
is always needed, but it also means that the created binaries would not
follow some of the other top-level build directives, like MAKE_DSYM.
Forcing 'all' to be the default target seems easier than making sure all
the invocations are correct going forward. This patch does this using
the .DEFAULT_GOAL directive rather than hoisting the 'all' rule to be
the first one of the file. It seems like this explicit approach will be
less prone to be broken in the future. Hopefully all the make
implementations we use support it.
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit 546f8f426463c7c22a3a8731803a501ff044ba20 by Fred Riss
[lldb/testsuite] Modernize 2 test Makefiles
Those old Makefiles used completely ad-hoc rules for building files,
which means they didn't obey the test harness' variants.
They were somewhat tricky to update as they use very peculiar build
flags for some files. For this reason I was careful to compare the build
commands before and after the change, which is how I found the
discrepancy fixed by the previous commit.
While some of the make syntax used here might not be easy to grasp for
newcomers (per-target variable overrides), it seems better than to have
to repliacte the Makefile.rules logic for the test variants and platform
support.
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile
Commit 6d0d86a64d304d4fbeeadd13f56b6ca559f45921 by michael.hliao
[DAG] Add helper for creating constant vector index with correct type.
NFC.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 027931899763409e2c61a84bdee6057b5e838ffa by saar
[Concepts] Requires Expressions
Implement support for C++2a requires-expressions.
Differential Revision: https://reviews.llvm.org/D50360
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/AST/CMakeLists.txt
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was addedclang/test/Parser/cxx2a-concepts-requires-expr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/include/clang/AST/StmtVisitor.h
The file was addedclang/lib/AST/ExprConcepts.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/nested-requirement.cpp
The file was addedclang/test/PCH/cxx2a-requires-expr.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/p3.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Sema/SemaConcept.h
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/type-requirement.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/Stmt.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was addedclang/include/clang/AST/ExprConcepts.h
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/simple-requirement.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/requires-expr.cpp
The file was modifiedclang/include/clang/AST/ASTConcept.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/equivalence.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was addedclang/test/SemaTemplate/instantiate-requires-expr.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Basic/DeclNodes.td
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
Commit 47c88bf709d4a61c2023187002e05f6c67a24f5b by llvm-dev
[X86][SSE] Add some v16i8 reverse + endian swap style shuffle tests
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
Commit 69bc450882fc6a3066e9fe79f68106376bbef569 by llvm-dev
[X86] Rename lowerShuffleAsRotate -> lowerShuffleAsVALIGN
Since it can only ever create VALIGN nodes.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit baa84d8cde940278d6fb37917ac0d64c127b528f by saar
Revert "[Concepts] Requires Expressions"
This reverts commit 027931899763409e2c61a84bdee6057b5e838ffa.
There have been some failing tests on some platforms, reverting while
investigating.
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/nested-requirement.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was removedclang/test/PCH/cxx2a-requires-expr.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/p3.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/AST/CMakeLists.txt
The file was removedclang/test/Parser/cxx2a-concepts-requires-expr.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/ASTConcept.h
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was removedclang/test/SemaTemplate/instantiate-requires-expr.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/Stmt.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was removedclang/include/clang/AST/ExprConcepts.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/simple-requirement.cpp
The file was modifiedclang/include/clang/Basic/DeclNodes.td
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/type-requirement.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
The file was removedclang/lib/AST/ExprConcepts.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/AST/StmtVisitor.h
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Sema/SemaConcept.h
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/requires-expr.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.req/equivalence.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
Commit 0eeddf1ac59066567a096ad95344f43c38e6b04f by epastor
Revert "[ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc"
This reverts commit 22af2cbefc86dbef6e11ddaa96a08956e0baf22b, due to
breakages on ARM platforms.
The file was removedllvm/test/tools/llvm-ml/basic.test
The file was removedllvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
The file was removedllvm/tools/llvm-ml/Disassembler.h
The file was removedllvm/tools/llvm-ml/llvm-ml.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/test/CMakeLists.txt
The file was removedllvm/tools/llvm-ml/CMakeLists.txt
The file was removedllvm/test/tools/llvm-ml/run.test
The file was removedllvm/tools/llvm-ml/Disassembler.cpp
Commit add95990508ee0aec90d07bcce1bba47b4f46622 by rnk
[Support] Explicitly instantiate BumpPtrAllocatorImpl
Most clients only ever use the default BumpPtrAllocator.
The file was modifiedllvm/include/llvm/Support/Allocator.h
The file was modifiedllvm/lib/Support/Allocator.cpp
Commit ff6be0ca25ce7c6cae171e85bc4b62af56ff70f7 by rnk
Revert "[Support] Explicitly instantiate BumpPtrAllocatorImpl"
This reverts commit add95990508ee0aec90d07bcce1bba47b4f46622.
Buildbots don't seem to like it.
The file was modifiedllvm/lib/Support/Allocator.cpp
The file was modifiedllvm/include/llvm/Support/Allocator.h
Commit 80146fc13adaf3a523c03a1ff8693ed157a29138 by maskray
[test] clang/test/InterfaceStubs/externstatic.c requires
x86-registered-target
The file was modifiedclang/test/InterfaceStubs/externstatic.c
Commit 2981eceec337c26befe5f5d1b1031b254240e21d by Jonas Devlieghere
[debugserver] Share code between Enable/DisableHardwareWatchpoint (NFC)
This extract the common functionality of enabling and disabling hardware
watchpoints into a single function.
Differential revision: https://reviews.llvm.org/D72971
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachThreadList.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
Commit e3d92b7442eaf3319f84bc060492df5b7ac3e9a1 by alexandre.ganea
[mlir] Fix compilation with VS2019.
The file was modifiedmlir/include/mlir/IR/Attributes.h
Commit 002ec79f979b9da9dedafe7ea036e00c90a9fbb7 by ro
[mlir] NFC: Rename index_t to index_type
mlir currently fails to build on Solaris:

/vol/llvm/src/llvm-project/dist/mlir/lib/Conversion/VectorToLoops/ConvertVectorToLoops.cpp:78:20:
error: reference to 'index_t' is ambiguous
   IndexHandle zero(index_t(0)), one(index_t(1));
                    ^
/usr/include/sys/types.h:103:16: note: candidate found by name lookup
is 'index_t'
typedef short           index_t;
                         ^
/vol/llvm/src/llvm-project/dist/mlir/include/mlir/EDSC/Builders.h:27:8:
note: candidate found by name lookup is 'mlir::edsc::index_t'
struct index_t {
        ^
and many more.
Given that POSIX reserves all identifiers ending in `_t` 2.2.2 The Name
Space
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html>,
it seems quite unwise to use such identifiers in user code, even more so
without a distinguished prefix.
The following patch fixes this by renaming `index_t` to `index_type`.
cases.
Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D72619
The file was modifiedmlir/lib/EDSC/Builders.cpp
The file was modifiedmlir/include/mlir/EDSC/Intrinsics.h
The file was modifiedmlir/lib/Conversion/VectorToLoops/ConvertVectorToLoops.cpp
The file was modifiedmlir/lib/EDSC/Helpers.cpp
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/docs/EDSC.md
Commit f78f15a60ee42781cbe9fb04b6c40ef0e2cd093c by Jonas Devlieghere
[lldb/Test] XFAIL TestRequireHWBreakpoints when HW BPs are avialable
Resolves PR44055
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py
Commit ed9cc6404e7fc509096b30c8d8e9dc28d531c718 by maskray
[llvm-exegesis][mips] Fix -Wunused-function after D72858
The file was modifiedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
Commit a0f50d731639350c7a79f140f026c27a18215531 by saar
[Concepts] Requires Expressions
Implement support for C++2a requires-expressions.
Re-commit after compilation failure on some platforms due to alignment
issues with PointerIntPair.
Differential Revision: https://reviews.llvm.org/D50360
The file was modifiedclang/include/clang/AST/ASTConcept.h
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/equivalence.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/requires-expr.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was addedclang/test/PCH/cxx2a-requires-expr.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was addedclang/lib/AST/ExprConcepts.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/lib/AST/CMakeLists.txt
The file was modifiedclang/include/clang/Sema/SemaConcept.h
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/simple-requirement.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/include/clang/AST/StmtVisitor.h
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was addedclang/include/clang/AST/ExprConcepts.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/nested-requirement.cpp
The file was modifiedclang/lib/AST/Stmt.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was addedclang/test/Parser/cxx2a-concepts-requires-expr.cpp
The file was modifiedclang/include/clang/Basic/DeclNodes.td
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/type-requirement.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was addedclang/test/SemaTemplate/instantiate-requires-expr.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.req/p3.cpp
Commit e68c1e00eba4ae64d38e62eebebd581e3d3d6bd4 by saar
[Concepts] Fix name-type conflict compilation issues
D50360 caused some platforms to not compile due to a parameter with the
name of a type.
Rename the parameter.
The file was modifiedclang/lib/Parse/ParseDecl.cpp
Commit 9583a3f2625818b78c0cf6d473cdedb9f23ad82c by i
[AsmPrinter] Delete dead takeDeletedSymbsForFunction()
The code added in r98579 is dead now.
The file was modifiedllvm/include/llvm/CodeGen/MachineModuleInfo.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
Commit 0cb415c189092e75eaaccabbae41497e446fb3f1 by maskray
[X86][BranchAlign] Suppress branch alignment for {,_}__tls_get_addr
The x86-64 General Dynamic TLS code sequence uses prefixes to allow
linker relaxation.  Adding segment override prefix or NOPs can break
linker relaxation (ld -pie/-no-pie).
i386 General Dynamic and x86-64 Local Dynamic do not use prefixes, but
for simplicity, just disable auto padding consistently.
Reviewed By: skan, LuoYuanke
Differential Revision: https://reviews.llvm.org/D72878
The file was addedllvm/test/CodeGen/X86/align-branch-boundary-suppressions-tls.ll
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
Commit 5fa2022ec0051bad4f37025233d6e888808a219c by craig.topper
[X86] Remove X86ISD::FILD_FLAG and stop gluing nodes together.
Summary: I think whatever problem the gluing was fixing has long since
been fixed. We don't have any of the restrictions on FP stack stuff that
existed back when this was first added.
I had to change which type we use for FILD in BuildFILD when X86 was
enabled because most of the isel patterns block f32/f64 instructions
when SSE1/SSE2 are enabled. So I needed to use the f80 pattern, but this
shouldn't have an effect the generated code since there is only one FILD
instruction anyway. We already use f80 explicitly in other other places.
Reviewers: RKSimon, spatel
Reviewed By: RKSimon
Subscribers: andrew.w.kaylor, scanon, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72805
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-512.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
Commit 26ba1f77b55e7a961acc05d94bfa4b677a9e5d83 by maskray
[DebugInfo][test] Change two MIR tests to use
-start-before=livedebugvalues instead of -start-after=patchable-function
To break order dependency between livedebugvalues and
patchable-function.
The file was modifiedllvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
The file was modifiedllvm/test/DebugInfo/X86/debug-loc-asan.mir
Commit a72d15e37c5e066f597f13a8ba60aff214ac992d by maskray
[XRay] Set hasSideEffects flag of PATCHABLE_FUNCTION_{ENTER,EXIT}
Otherwise they may be picked as the delay slot by
mips-delay-slot-filler, if we move patchable-function before
mips-delay-slot-filler.
The file was modifiedllvm/include/llvm/Target/Target.td
Commit 9a24488cb67a90f889529987275c5e411ce01dda by maskray
[CodeGen] Move fentry-insert, xray-instrumentation and
patchable-function before addPreEmitPass()
This intention is to move patchable-function before
aarch64-branch-targets
(configured in AArch64PassConfig::addPreEmitPass) so that we emit BTI
before NOPs
(see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92424).
This also allows addPreEmitPass() passes to know the precise instruction
sizes if they want.
Tried x86-64 Debug/Release builds of ccls with -fxray-instrument
-fxray-instruction-threshold=1. No output difference with this commit
and the previous commit.
The file was addedllvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
Commit 46be16897706fa21ac0868746291444ca2461ce7 by thakis
fix doc typos to cycle bots
The file was modifiedclang/docs/SanitizerCoverage.rst
Commit 4612e48d2fd91d99b4ea7136017bd72ab2946430 by llvmgnsyncbot
[gn build] Port a0f50d73163
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
Commit d82adf328fb556e1e6d318608b683824c8badf22 by paulhoad
Allow space after C-style cast in C# code
Reviewed By: MyDeveloperDay, krasimir
Patch By: jbcoe
Differential Revision: https://reviews.llvm.org/D72150
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 14c044756e771eb9160d5809b4381bdeb0fc210c by paulhoad
[clang-format] Add IndentCaseBlocks option
Summary: The documentation for IndentCaseLabels claimed that the "Switch
statement body is always indented one level more than case labels". This
is technically false for the code block immediately following the label.
Its closing bracket aligns with the start of the label.
If the case label are not indented, it leads to a style where the
closing bracket of the block aligns with the closing bracket of the
switch statement, which can be hard to parse.
This change introduces a new option, IndentCaseBlocks, which when true
treats the block as a scope block (which it technically is).
(Note: regenerated ClangFormatStyleOptions.rst using
tools/dump_style.py)
Reviewed By: MyDeveloperDay
Patch By: capn
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D72276
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
Commit ea2be452542c81b04621e26c0d5e83be565f07e2 by paulhoad
[clang-format] Expand the SpacesAroundConditions option to include catch
statements
Summary: This diff expands the SpacesAroundConditions option added in
D68346 to include adding spaces to catch statements.
Reviewed By: MyDeveloperDay
Patch by: timwoj
Differential Revision: https://reviews.llvm.org/D72793
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit badc7e6cf9fe9c9d5941899a929f36e5dc083770 by rnk
Remove extra "\01" prefix in EH docs
These escapes haven't been necessary since f8b51c5f90c60. Remove them to
declutter the docs.
The file was modifiedllvm/docs/ExceptionHandling.rst
Commit 70b53a301888fe2be36996b41a7dd5aa7c256dc9 by michael.hliao
Fix gcc `-Wunused-variable` warning. NFC.
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
Commit 84217ad66115cc31b184374a03c8333e4578996f by Lang Hames
[ORC] Add weak symbol support to defineMaterializing, fix for PR40074.
The MaterializationResponsibility::defineMaterializing method allows
clients to add new definitions that are in the process of being
materialized to the JIT. This patch adds support to defineMaterializing
for symbols with weak linkage where the new definitions may be rejected
if another materializer concurrently defines the same symbol. If a weak
symbol is rejected it will not be added to the
MaterializationResponsibility's responsibility set. Clients can check
for membership in the responsibility set via the
MaterializationResponsibility::getSymbols() method before resolving any
such weak symbols.
This patch also adds code to RTDyldObjectLinkingLayer to tag COFF comdat
symbols introduced during codegen as weak, on the assumption that these
are COFF comdat constants. This fixes http://llvm.org/PR40074.
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit 8e8a75ad50828b5093d6ba7aae0eba6dc290c90a by maskray
[TargetRegisterInfo] Default trackLivenessAfterRegAlloc() to true
Except AMDGPU/R600RegisterInfo (a bunch of MIR tests seem to have
problems), every target overrides it with true. PostMachineScheduler
requires livein information. Not providing it can cause assertion
failures in ScheduleDAGInstrs::addSchedBarrierDeps().
The file was modifiedllvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.h
The file was modifiedllvm/lib/Target/Mips/MipsRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARC/ARCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AVR/AVRRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/Lanai/LanaiRegisterInfo.h
The file was modifiedllvm/lib/Target/ARC/ARCRegisterInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZRegisterInfo.h
The file was modifiedllvm/lib/Target/XCore/XCoreRegisterInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/R600RegisterInfo.h
The file was modifiedllvm/lib/Target/XCore/XCoreRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
The file was modifiedllvm/lib/Target/Lanai/LanaiRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
Commit a7818e6f29c136bfe60ce7af0ac3c35b5d9da7d6 by thakis
fix doc typos to cycle bots
The file was modifiedclang/docs/analyzer/checkers.rst
Commit 886d2c2ca75f01b5a094c160aee911a04421dd56 by maskray
[BranchRelaxation] Simplify offset computation and fix a bug in
adjustBlockOffsets()
If Start!=0, adjustBlockOffsets() may unnecessarily adjust the offset of
Start. There is no correctness issue, but it can create more block
splits.
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/test/CodeGen/AArch64/branch-relax-bcc.ll
Commit 0ee1db2d1d7aab9e2736c664ebd27fa23919964e by flo
[X86] Try to avoid casts around logical vector ops recursively.
Currently PromoteMaskArithemtic only looks at a single operation to skip
casts. This means we miss cases where we combine multiple masks.
This patch updates PromoteMaskArithemtic to try to recursively promote
AND/XOR/AND nodes that terminate in truncates of the right size or
constant vectors.
Reviewers: craig.topper, RKSimon, spatel
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D72524
The file was modifiedllvm/test/CodeGen/X86/v8i1-masks.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 819421745c5c32c62ec8d632b66eae34f711e192 by michael.hliao
Reorder targets in alphabetical order. NFC.
The file was modifiedllvm/lib/Target/LLVMBuild.txt
Commit 13fa4e2e5ae6ab5403be19e24415e0c7a5569681 by richard
PR42108 Consistently diagnose binding a reference template parameter to
a temporary.
We previously failed to materialize a temporary when performing an
implicit conversion to a reference type, resulting in our thinking the
argument was a value rather than a reference in some cases.
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit add2b7e44ada46f30715b5c48823a9e9e317e0c3 by richard
List implicit operator== after implicit destructors in a vtable.
Summary: We previously listed first declared members, then implicit
operator=, then implicit operator==, then implicit destructors. Per
discussion on https://github.com/itanium-cxx-abi/cxx-abi/issues/88, put
the implicit equality comparison operators at the very end, after all
special member functions.
Reviewers: rjmccall
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72897
The file was modifiedclang/lib/AST/VTableBuilder.cpp
The file was addedclang/test/CodeGenCXX/virtual-compare.cpp
Commit 7a9fa76be7425b5a6fb3dfe7fc4f9e16892628cb by richard
Undo changes to release notes intended for the Clang 10 branch, not
master.
The file was modifiedclang/docs/ReleaseNotes.rst
Commit d15fad2653d429efbf1a7c63c375530f8a1a1fa3 by eric
[libc++][libc++abi] Fix or suppress failing tests in single-threaded
builds.
Fix a libc++abi test that was incorrectly checking for threading
primitives even when threading was disabled.
Additionally, temporarily XFAIL some module tests that fail because the
<atomic> header is unsupported but still built as a part of the std
module.
To properly address this libc++ would either need to produce a different
module.modulemap for single-threaded configurations, or it would need to
make the <atomic> header not hard-error and instead be empty for
single-threaded configurations
The file was modifiedlibcxx/test/libcxx/modules/cstdint_exports.sh.cpp
The file was modifiedlibcxx/test/libcxx/modules/inttypes_h_exports.sh.cpp
The file was modifiedlibcxx/test/libcxx/modules/cinttypes_exports.sh.cpp
The file was modifiedlibcxx/test/libcxx/modules/stdint_h_exports.sh.cpp
The file was modifiedlibcxx/test/libcxx/modules/clocale_exports.sh.cpp
The file was modifiedlibcxxabi/test/guard_test_basic.pass.cpp
Commit fc817b09e25d3b3e0a9cab77f59c5804ffcb6494 by aminim
[mlir] NFC: Fix trivial typos in comments
Differential Revision: https://reviews.llvm.org/D73012
The file was modifiedmlir/include/mlir/Dialect/LoopOps/LoopOps.td
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
The file was modifiedmlir/include/mlir/Support/STLExtras.h
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
The file was modifiedmlir/test/Dialect/SPIRV/target-env.mlir
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/docs/Dialects/Vector.md
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/IR/Visitors.cpp
The file was modifiedmlir/docs/ConversionToLLVMDialect.md
The file was modifiedmlir/docs/ShapeInference.md
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
Commit eaab1bf21e1d6803fd217fe6052537fc33b06837 by i
[StackColoring] Remap FixedStackPseudoSourceValue frame index referenced
by MachineMemOperand
StackColoring::remapInstructions() remaps MachineOperand frame index
(e.g. %stack.1 -> %stack.0) but does not remap
FixedStackPseudoSourceValue frame index (e.g. store 4 into
%stack.1.ap2.i.i) referenced by MachineMemoryOperand.
This can cause an assertion failure when LiveDebugValues references a
dead stack object.
It is difficult to craft a test case. -g, va_copy and stack-coloring are
required. I can only reproduce it on ppc32.
The file was modifiedllvm/include/llvm/CodeGen/PseudoSourceValue.h
The file was modifiedllvm/lib/CodeGen/StackColoring.cpp
The file was addedllvm/test/CodeGen/PowerPC/stack-coloring-vararg.mir
Commit 5e51f755421761b56453d756e5a89bbed784141a by david.green
[ARM] Favour post inc for MVE loops
We were previously not necessarily favouring postinc for the MVE loads
and stores, leading to extra code prior to the loop to set up the
preinc. MVE in general can benefit from postinc (as we don't have
unrolled loops), and certain instructions like the VLD2's only post-inc
versions are available.
Differential Revision: https://reviews.llvm.org/D70790
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vldst4.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shifts-scalar.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ptrs.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmla.ll
Commit d6075726b90184c2f3ff111991e92b21ee6b1475 by david.green
[ARM] MVE VLDn post inc tests. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vld24.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vst2-post.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vst4-post.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vld4-post.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vld2-post.ll
Commit ff2e67a4f708e786b8c39f35756d843ed6a822e7 by david.green
[ARM] MVE VLDn postinc
This adds Post inc variants of the VLD2/4 and VST2/4 instructions in
MVE. It uses the same mechanism/nodes as Neon, transforming the
intrinsic+add pair into a ARMISD::VLD2_UPD, which gets selected to a
post-inc instruction. The code to do that is mostly taken from the
existing Neon code, but simplified as less variants are needed.
It also fills in some getTgtMemIntrinsic for the arm.mve.vld2/4
instrinsics, which allow the nodes to have MMO's, calculated as the full
length to the memory being loaded/stored.
Differential Revision: https://reviews.llvm.org/D71194
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vld24.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4-post.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld2-post.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4-post.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst2-post.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst2.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-multivec-spill.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld2.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
Commit 345e8ed4fcfe5d0c8f457f0ff0096889aec3114f by i
[LLVMgold][test] Fix llvm-nm test after D72658
Differential Revision: https://reviews.llvm.org/D73014
The file was modifiedllvm/test/tools/gold/X86/thinlto.ll
Commit 11e8e324441a875f1346972384be8b5609aa10c8 by grimar
[llvm-mc] - Produce R_X86_64_PLT32 relocation for branches with JCC
opcodes too.
The idea is to produce R_X86_64_PLT32 instead of R_X86_64_PC32 for
branches.
It fixes https://bugs.llvm.org/show_bug.cgi?id=44397.
This patch teaches MC to do that for JCC (jump if condition is met)
instructions. The new behavior matches modern GNU as. It is similar to
D43383, which did the same for "call/jmp foo", but missed JCC cases.
Differential revision: https://reviews.llvm.org/D72831
The file was modifiedllvm/test/MC/ELF/basic-elf-64.s
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit 854f7be20a0cb1a95671a16d6cc8200107ee25f4 by i
[test] Simplify CodeGen/PowerPC/stack-coloring-vararg.mir
The file was modifiedllvm/test/CodeGen/PowerPC/stack-coloring-vararg.mir
Commit 93175a5caa08360ca60b417cc04c094e1ed05c76 by sjoerd.meijer
[IndVarSimplify][LoopUtils] rewriteLoopExitValues. NFCI
This moves `rewriteLoopExitValues()` from IndVarSimplify to LoopUtils
thus making it a generic loop utility function.  This allows to rewrite
loop exit values by just calling this function without running the whole
IndVarSimplify pass.
We use this in D72714 to rematerialise the iteration count in exit
blocks, so that we can clean-up loop update expressions inside the
hardware-loops later.
Differential Revision: https://reviews.llvm.org/D72602
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 547530cc6a82879c9f777d9c1035a8f0ebcb3cfe by grimar
[llvm-objdump] - Fix the indentation when printing dynamic tags.
We have a bug currently: printed tag names might overlap the value
column. It happens for MIPS now.
This patch adds a logic to calculate the size of indentation on fly to
fix such issues.
Differential revision: https://reviews.llvm.org/D72838
The file was modifiedllvm/tools/llvm-objdump/ELFDump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/elf-dynamic-section-machine-specific.test
The file was modifiedllvm/test/tools/llvm-objdump/elf-dynamic-section.test
Commit 84c4c87e04a48628259e920780623f427a9fd9b1 by SourabhSingh.Tomar
Recommit "[DWARF5][DebugInfo]: Added support for DebugInfo generation
for auto return type for C++ member functions."
Summary: This was reverted in 328e0f3dcac52171b8cdedeaba22c98e7fbb75ea
due to chromium bot failure. This revision addresses that case.
Original commit message: Summary:
   This patch will provide support for auto return type for the C++
member
   functions. Before this return type of the member function is deduced
and
   stored in the DIE.
   This patch includes llvm side implementation of this feature.
    Patch by: Awanish Pandey <Awanish.Pandey@amd.com>
    Reviewers: dblaikie, aprantl, shafik, alok, SouraVX,
jini.susan.george
    Reviewed by: dblaikie
    Differential Revision: https://reviews.llvm.org/D70524
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was addedllvm/test/DebugInfo/X86/debug-info-auto-return.ll
Commit 10357e1c89b370a18500a8a8d69a68ab72db979e by evgueni.brevnov
[LoopUtils] Better accuracy for getLoopEstimatedTripCount.
Summary: Current implementation of getLoopEstimatedTripCount returns 1
iteration less than it should. The reason is that in bottom tested loop
first iteration is executed before first back branch is taken. For
example for loop with !{!"branch_weights", i32 1 // taken, i32 1 //
exit} metadata getLoopEstimatedTripCount gives 1 while actual number of
iterations is 2.
Reviewers: Ayal, fhahn
Reviewed By: Ayal
Subscribers: mgorny, hiraditya, zzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71990
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt-idom.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt-idom-2.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-conditions-pgo-1.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo.ll
Commit 952a540b21993e44088ff2c345df884caabbb8c0 by david.spickett
[test] On Mac, don't try to use result of sysctl command if calling it
failed.
If sysctl is not found at all, let the usual exception propogate so that
the user can fix their env. If it fails because of the permissions
required to read the property then print a warning and continue.
Differential Revision: https://reviews.llvm.org/D72278
The file was modifiedllvm/test/lit.cfg.py
Commit cfe97681cdbf8c8c23caad80adeb6551911ccd6e by evgueni.brevnov
[NFC][LoopUtils] Minor change in comment according to review D71990.
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit 8cba99e2aa937b8459e74e2d22d4e2c9d4bdc5d5 by sjoerd.meijer
[ARM][MVE] Tail-Predication: rematerialise iteration count in exit
blocks
This patch uses helper function rewriteLoopExitValues that is refactored
in D72602 to rematerialise the iteration count in exit blocks, so that
we can clean-up loop update expressions inside the hardware-loops later
in ARMLowOverheadLoops, which is necessary to get actual performance
gains for tail-predicated loops.
Differential Revision: https://reviews.llvm.org/D72714
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
Commit 06e73f071ae12dc83c102ddecdb939dea880e588 by pavel
[lldb/DWARF] Change how we construct a llvm::DWARFContext
Summary: The goal of this patch is two-fold. First, it fixes a
use-after-free in the construction of the llvm DWARFContext. This
happened because the construction code was throwing away the lldb
DataExtractors it got while reading the sections (unlike their llvm
counterparts, these are also responsible for memory ownership). In most
cases this did not matter, because the sections are just slices of the
mmapped file data. But this isn't the case for compressed elf sections,
in which case the section is decompressed into a heap buffer. A similar
thing also happen with object files which are loaded from process
memory.
The second goal is to make it explicit which sections go into the llvm
DWARFContext -- any access to the sections through both DWARF parsers
carries a risk of parsing things twice, so it's better if this is a
conscious decision. Also, this avoids loading completely irrelevant
sections (e.g. .text). At present, the only section that needs to be
present in the llvm DWARFContext is the debug_line_str. Using it through
both APIs is not a problem, as there is no parsing involved.
The first goal is achieved by loading the sections through the existing
lldb DWARFContext APIs, which already do the caching. The second by
explicitly enumerating the sections we wish to load.
Reviewers: JDevlieghere, aprantl
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72917
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
Commit eaa4548459026707c909884219b5a5ca56678560 by llvm-dev
[X86][SSE] Add PACKSS SimplifyMultipleUseDemandedBits 'sign bit'
handling.
Attempt to use SimplifyMultipleUseDemandedBits to simplify PACKSS if
we're only after the sign bit.
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
Commit 61b563408012d17e7e619dedfefac5f38dc2d1d9 by hokein.wu
[clangd] Remove a stale FIXME, NFC.
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
Commit 514e3c3694a3457ea5c1b89420246fd845791afd by steveire
Add missing tests for parent traversal
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit 122443a950521c5d99a0d0479daf57fbd1de2ac2 by steveire
Compare traversal for memoization before bound nodes container
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
Commit 1f946ee2faba5395a04a081fbe561e3d91aa2b3d by kadircet
[clang][CodeComplete] Propogate printing policy to FunctionDecl
Summary: Printing policy was not propogated to functiondecls when
creating a completion string which resulted in canonical template
parameters like
`foo<type-parameter-0-0>`. This patch propogates printing policy to
those as well.
Fixes https://github.com/clangd/clangd/issues/76
Reviewers: ilya-biryukov
Subscribers: jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72715
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was addedclang/test/CodeCompletion/ctor-signature.cpp
Commit af7e1588727c691ae07e286c94dbcbf31060e876 by evgueni.brevnov
[LV] Vectorizer should adjust trip count in profile information
Summary: Vectorized loop processes VFxUF number of elements in one
iteration thus total number of iterations decreases proportionally. In
addition epilog loop may not have more than VFxUF - 1 iterations. This
patch updates profile information accordingly.
Reviewers: hsaito, Ayal, fhahn, reames, silvas, dcaballe, SjoerdMeijer,
mkuper, DaniilSuchkov
Reviewed By: Ayal, DaniilSuchkov
Subscribers: fedor.sergeev, hiraditya, rkruppe, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67905
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/tripcount.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was addedllvm/test/Transforms/LoopVectorize/check-prof-info.ll
Commit 8248190a730cd62850afe9bef731ce6726778b4b by steveire
Fix clang-formatting for recent commits
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit b7af1bfa6e31a2a896e8a94a7f086914719e7d5d by pavel
[lldb/DWARF] Simplify DWARFDebugInfoEntry::LookupAddress
Summary: This method was doing a lot more than it's only caller needed
(DWARFDIE::LookupDeepestBlock) needed, so I inline it into the caller,
and remove any code which is not actually used. This includes code for
searching for the deepest function, and the code for working around
incomplete DW_AT_low_pc/high_pc attributes on a compile unit DIE (modern
compiler get this right, and this method is called on function DIEs
anyway).
This also improves our llvm consistency, as llvm::DWARFDebugInfoEntry is
just a very simple struct with no nontrivial logic.
Reviewers: JDevlieghere, aprantl
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72920
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
Commit 39f1335486eae355b2259d59549382e5cee9e38f by pavel
Make SymbolFileDWARF::ParseLineTable use std::sort instead of insertion
sort
Summary: Motivation: When setting breakpoints in certain projects line
sequences are frequently being inserted out of order.
Rather than inserting sequences one at a time into a sorted line table,
store all the line sequences as we're building them up and sort and
flatten afterwards.
Reviewers: jdoerfert, labath
Reviewed By: labath
Subscribers: teemperor, labath, mgrang, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72909
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Symbol/LineTable.cpp
Commit 9a3ff478235ccbda23df01a99c5a86eedba54cac by steveire
Fix the invisible-traversal to ignore more nodes
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
Commit 27df2d9f556c3199601ecd1f15c1b37cd49ed9df by pavel
[lldb] Don't process symlinks deep inside DWARFUnit
Summary: This code is handling debug info paths starting with
/proc/self/cwd, which is one of the mechanisms people use to obtain
"relocatable" debug info (the idea being that one starts the debugger
with an appropriate cwd and things "just work").
Instead of resolving the symlinks inside DWARFUnit, we can do the same
thing more elegantly by hooking into the existing Module path remapping
code. Since llvm::DWARFUnit does not support any similar functionality,
doing things this way is also a step towards unifying llvm and lldb
dwarf parsers.
Reviewers: JDevlieghere, aprantl, clayborg, jdoerfert
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71770
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/Core/ModuleList.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td
The file was modifiedlldb/source/Core/ModuleList.cpp
The file was modifiedlldb/source/Core/CoreProperties.td
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Commit 468ca490c6030462066f8e731902d81bab11c356 by pavel
[lldb] Allow loading of minidumps with no process id
Summary: Normally, on linux we retrieve the process ID from the
LinuxProcStatus stream (which is just the contents of /proc/%d/status
pseudo-file).
However, this stream is not strictly required (it's a breakpad
extension), and we are encountering a fair amount of minidumps which do
not have it present. It's not clear whether this is the case with all
these minidumps, but the two known situations where this stream can be
missing are:
- /proc filesystem not mounted (or something to that effect)
- process crashing after exhausting (almost) all file descriptors (so
the minidump writer may not be able to open the /proc file)
Since this is a corner case which will become less and less relevant
(crashpad-generated minidumps should not suffer from this problem), I
work around this problem by hardcoding the PID to 1 in these cases. The
same thing is done by the gdb plugin when talking to a stub which does
not report a process id (e.g. a hardware probe).
Reviewers: jingham, clayborg
Subscribers: markmentovai, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70238
The file was addedlldb/test/Shell/Minidump/no-process-id.yaml
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
Commit 7e717b3990554f0fde43e3747529477a70072cfe by andrzej.warzynski
[AArch64][SVE] Extend int_aarch64_sve_ld1_gather_imm
The ACLE distinguishes between the following addressing modes for gather
loads:
* "scalar base, vector offset", and
* "vector base, scalar offset". For the "vector base, scalar offset"
case, the
`int_aarch64_sve_ld1_gather_imm` intrinsic was added in 79f2422d.
Currently, that intrinsic assumes that the scalar offset is passed as an
immediate.  As a result, it does not cater for cases where scalar offset
is stored in a register.
In this patch `int_aarch64_sve_ld1_gather_imm` is extended so that all
cases are covered:
* `int_aarch64_sve_ld1_gather_imm` is renamed as
`int_aarch64_sve_ld1_gather_scalar_offset`
* new DAG combine rules are added for GLD1_IMM for scenarios where the
offset is a non-immediate scalar or an out-of-range immediate
* sve-intrinsics-gather-loads-vector-base.ll is renamed as
sve-intrinsics-gather-loads-vector-base-imm-offset.ll
* sve-intrinsics-gather-loads-vector-base-scalar-offset.ll is added to
test
file for non-immediate offsets
Similar changes are made for scatter store intrinsics.
Reviewed By: sdesmalen, efriedma
Differential Revision: https://reviews.llvm.org/D71773
The file was removedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base.ll
The file was removedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base.ll
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-scalar-offset.ll
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base-imm-offset.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base-scalar-offset.ll
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-imm-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-gather-scatter-dag-combine.ll
Commit 8b2eb7c494b296deb1792eed75bb56024bbf1e2b by csigg
[mlir] Add in-dialect lowering of gpu.all_reduce.
Reviewers: ftynse, nicolasvasilache, herhut
Reviewed By: ftynse, herhut
Subscribers: liufengdb, aartbik, herhut, merge_guards_bot, mgorny,
mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst,
nicolasvasilache, arpith-jacob, mgester, lucyrfox, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72129
The file was modifiedmlir/include/mlir/Dialect/GPU/Passes.h
The file was addedmlir/lib/Dialect/GPU/Transforms/AllReduceLowering.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/lib/IR/Block.cpp
The file was modifiedmlir/lib/Dialect/GPU/CMakeLists.txt
The file was modifiedmlir/include/mlir/IR/Block.h
The file was addedmlir/test/lib/Transforms/TestAllReduceLowering.cpp
The file was addedmlir/test/Dialect/GPU/all-reduce.mlir
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
Commit 01bfb366acf3650b91a80b922f2fc7b6e660f686 by yikong
[llvm-profdata] Fix hint message since argument format has changed
"-sample" option is now changed to "--sample".
The file was modifiedllvm/test/tools/llvm-profdata/text-format-errors.test
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit f3e73e88fdd63e3342977873a5f2c3f870a2497a by simon.tatham
[ARM,MVE] Fix confusing MC names for MVE VMINA/VMAXA insns.
Summary: A recent commit accidentally defined names like `MVE_VMAXAs8`
as instances of the multiclass `MVE_VMINA`, and vice versa. This has no
effect on the test suite, because nothing directly refers to those
instruction names (the isel patterns are generated in Tablegen using
`!cast<Instruction>(NAME)` inside a lower-level multiclass). But it
means that `llvm-mc -show-inst` was listing VMAXA as VMINA, and it would
also affect any further draft code gen patches that use those
instruction ids.
Reviewers: MarkMurrayARM, dmgreen, miyuki, ostannard
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73034
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit f63f5a228f30199ed04f9a862e6125ccb977e530 by zinenko
[mlir] clarify LangRef wording around control flow in regions
It was unclear what "exiting a region" meant in the existing
formulation. Phrase it in terms of control flow transfer to the
operation enclosing the region.
Discussion:
https://groups.google.com/a/tensorflow.org/d/msg/mlir/73d2O8gjTuA/xVj1KoCTBAAJ
The file was modifiedmlir/docs/LangRef.md
Commit 22447a61d405a9e279c7dad72b342dcc6e8b1b4b by Raphael Isemann
[lldb] Mark the implicit copy constructor as deleted when a move
constructor is provided.
Summary: CXXRecordDecls that have a move constructor but no copy
constructor need to have their implicit copy constructor marked as
deleted (see C++11 [class.copy]p7, p18) Currently we don't do that when
building an AST with ClangASTContext which causes Sema to realise that
the AST is malformed and asserting when trying to create an implicit
copy constructor for us in the expression:
``` Assertion failed: ((data().DefaultedCopyConstructorIsDeleted ||
needsOverloadResolutionForCopyConstructor())
   && "Copy constructor should not be deleted"), function
setImplicitCopyConstructorIsDeleted, file include/clang/AST/DeclCXX.h,
line 828.
```
In the test case there is a class `NoCopyCstr` that should have its copy
constructor marked as deleted (as it has a move constructor). When we
end up trying to tab complete in the
`IndirectlyDeletedCopyCstr` constructor, Sema realises that the
`IndirectlyDeletedCopyCstr` has no implicit copy constructor and tries
to create one for us. It then realises that
`NoCopyCstr` also has no copy constructor it could find via lookup.
However because we haven't marked the FieldDecl as having a deleted copy
constructor the
`needsOverloadResolutionForCopyConstructor()` returns false and the
assert fails.
`needsOverloadResolutionForCopyConstructor()` would return true if
during the time we added the `NoCopyCstr` FieldDecl to
`IndirectlyDeletedCopyCstr` we would have actually marked it as having a
deleted copy constructor (which would then mark the copy constructor of
`IndirectlyDeletedCopyCstr ` as needing overload resolution and Sema is
happy).
This patch sets the correct mark when we complete our CXXRecordDecls
(which is the time when we know whether a copy constructor has been
declared). In theory we don't have to do this if we had a Sema around
when building our debug info AST but at the moment we don't have this so
this has to do the job for now.
Reviewers: shafik
Reviewed By: shafik
Subscribers: aprantl, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72694
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash1/TestCompletionCrash1.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash1/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/deleting-implicit-copy-constructor/main.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit de34b54edce4b7b4e4a68a02fae10283b3e2d7ea by dfukalov
[SCEV] Swap guards estimation sequence. NFC
Summary: Loop unroll spends a lot of time in SCEVs processing in case
when a function contains hundreds of simple 'for' loops with a quite
complex arrays indexes like
  for (int i = 0; i < 8; ++i) {
   for (int j = 0; j < 32; ++j) {
     C[j*8+i] = B[j*32+i+128] + A[i*64+128];
   }
}
for (int i = 0; i < 8; ++i) {
   for (int j = 0; j < 8; ++j) {
     for (int k = 0; k < 32; ++k) {
       D[k*64+i*8+j] = D[k*64+i*8+j] + E[i+16] * C[k*8+j+256];
     }
   }
}
The patch improves loop unroll speed since isLoopBackedgeGuardedByCond
takes much less time than isLoopEntryGuardedByCond in the edge case.
Reviewers: skatkov, sanjoy, mkazantsev
Reviewed By: sanjoy
Subscribers: fhahn, hiraditya, javed.absar, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72929
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit da9c93f330e0e4bb12972ee7c67229c36943a0c1 by spatel
[InstSimplify] fold select of vector constants that include undef
elements
As mentioned in D72643, we'd like to be able to assert that any select
of equivalent constants has been removed before we're deep into
InstCombine.
But there's a loophole in that assertion for vectors with undef elements
that don't match exactly.
This patch should close that gap. If we have undefs, we can't safely
propagate those unless both constants elements for that lane are undef.
Differential Revision: https://reviews.llvm.org/D72958
The file was modifiedllvm/test/Transforms/InstSimplify/select.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 65bab53afb8be61cddae4d8a08dd3d9572de1f66 by Raphael Isemann
[lldb][NFC] Add test for iterator invalidation during code completion.
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash-invalid-iterator/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash-invalid-iterator/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py
Commit 5f6dfa800e0b9c337921e188bd171b9765bfbe89 by epastor
[ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc
As discussed on the mailing list, I plan to introduce an ml-compatible
MASM assembler as part of providing more of the Windows build tools.
This will be similar to llvm-mc, but with different command-line
parameters.
This placeholder is purely a stripped-down version of llvm-mc; we'll
eventually add support for the Microsoft-style command-line flags, and
back it with a MASM parser.
Relanding this revision after fixing ARM-compatibility issues.
Reviewers: rnk, thakis, RKSimon
Reviewed By: thakis, RKSimon
Differential Revision: https://reviews.llvm.org/D72679
The file was modifiedllvm/test/CMakeLists.txt
The file was addedllvm/tools/llvm-ml/llvm-ml.cpp
The file was addedllvm/tools/llvm-ml/Disassembler.h
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was addedllvm/tools/llvm-ml/CMakeLists.txt
The file was addedllvm/test/tools/llvm-ml/basic.test
The file was addedllvm/test/tools/llvm-ml/run.test
The file was addedllvm/tools/llvm-ml/Disassembler.cpp
The file was addedllvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
Commit b10a0eb04adfc4186cc6198cf8231358b2b04d89 by mark.murray
[ARM][MVE][Intrinsics] Take abs() of VMINNMAQ, VMAXNMAQ intrinsics'
first arguments.
Summary: Fix VMINNMAQ, VMAXNMAQ intrinsics; BOTH arguments have the
absolute values taken.
Reviewers: dmgreen, simon_tatham
Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72830
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmaq.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminnmaq.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 46b9563cf68a8a094276b471632fa15eec954d53 by gchatelet
[Alignment][NFC] Use Align with CreateElementUnorderedAtomicMemCpy
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet, nicolasvasilache
Subscribers: hiraditya, jfb, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, csigg, arpith-jacob, mgester, lucyrfox, herhut,
liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73041
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
Commit 03c2a59cd696135d79528d39e8e82ee59c1fcf97 by jonathanchesterfield
[libomptarget] Implement smid for amdgcn
Summary:
[libomptarget] Implement smid for amdgcn
Implementation is in a new file as it uses an intrinsic with complicated
encoding that warranted substantial comments.
Reviewers: jdoerfert, grokos, ABataev, ronlieb
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D72956
The file was addedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_smid.hip
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
Commit 6ccebe004446b2b7362f96dd5cf7cbc2ed3facde by epastor
Fix build - removing legacy target reference.
The file was modifiedllvm/tools/llvm-ml/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
Commit 24b7b99b7d68e1a234078eff639ccfbb7661eee5 by Milos.Stojanovic
[llvm-exegesis][NFC] Disassociate snippet generators from benchmark
runners
The addition of `inverse_throughput` mode highlighted the disjointedness
of snippet generators and benchmark runners because it used the
`UopsSnippetGenerator` with the  `LatencyBenchmarkRunner`. To keep the
code consistent tie the snippet generators to
parallelization/serialization rather than their benchmark runners.
Renaming `LatencySnippetGenerator` -> `SerialSnippetGenerator`. Renaming
`UopsSnippetGenerator` -> `ParallelSnippetGenerator`.
Differential Revision: https://reviews.llvm.org/D72928
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/TestBase.h
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
The file was addedllvm/tools/llvm-exegesis/lib/ParallelSnippetGenerator.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/PowerPC/Target.cpp
The file was addedllvm/tools/llvm-exegesis/lib/UopsBenchmarkRunner.cpp
The file was removedllvm/tools/llvm-exegesis/lib/Latency.h
The file was modifiedllvm/unittests/tools/llvm-exegesis/Mips/SnippetGeneratorTest.cpp
The file was addedllvm/tools/llvm-exegesis/lib/ParallelSnippetGenerator.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was addedllvm/tools/llvm-exegesis/lib/UopsBenchmarkRunner.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Analysis.cpp
The file was addedllvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.h
The file was removedllvm/tools/llvm-exegesis/lib/Latency.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
The file was addedllvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
The file was removedllvm/tools/llvm-exegesis/lib/Uops.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt
The file was removedllvm/tools/llvm-exegesis/lib/Uops.h
The file was addedllvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.h
The file was addedllvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp
Commit 9ecfaad7573bdc6725cc717cb79c9b0a32f9765a by llvmgnsyncbot
[gn build] Port 24b7b99b7d6
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/BUILD.gn
Commit 7bee94410ce265833695128dfad7fbd7a8eef6ba by spatel
[InstCombine] form copysign from select of FP constants (PR44153)
This should be the last step needed to solve the problem in the
description of PR44153: https://bugs.llvm.org/show_bug.cgi?id=44153
If we're casting an FP value to int, testing its signbit, and then
choosing between a value and its negated value, that's a complicated way
of saying "copysign":
(bitcast X) <  0 ? -TC :  TC --> copysign(TC,  X)
Differential Revision: https://reviews.llvm.org/D72643
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
Commit abd0ab389ee3351dc577a08f939493b67ce39f32 by thomasp
[FileCheck] Clean and improve unit tests
Summary: Clean redundant unit test checks (codepath already tested
elsewhere) and add a few missing checks for existing numeric
substitution and match logic.
Reviewers: jhenderson, jdenny, probinson, grimar, arichardson, rnk
Reviewed By: jhenderson
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72912
The file was modifiedllvm/unittests/Support/FileCheckTest.cpp
Commit 7fee4fed4c75c13d0cec7ff3a043e0313a3abc55 by sidneym
Add support for Linux/Musl ABI
Differential revision: https://reviews.llvm.org/D72701
The patch adds a new option ABI for Hexagon. It primary deals with the
way variable arguments are passed and is use in the Hexagon Linux Musl
environment.
If a callee function has a variable argument list, it must perform the
following operations to set up its function prologue:
  1. Determine the number of registers which could have been used for
passing
    unnamed arguments. This can be calculated by counting the number of
    registers used for passing named arguments. For example, if the
callee
    function is as follows:
         int foo(int a, ...){ ... }
     ... then register R0 is used to access the argument ' a '. The
registers
    available for passing unnamed arguments are R1, R2, R3, R4, and R5.
  2. Determine the number and size of the named arguments on the stack.
  3. If the callee has named arguments on the stack, it should copy all
of these
    arguments to a location below the current position on the stack, and
the
    difference should be the size of the register-saved area plus
padding
    (if any is necessary).
     The register-saved area constitutes all the registers that could
have
    been used to pass unnamed arguments. If the number of registers
forming
    the register-saved area is odd, it requires 4 bytes of padding; if
the
    number is even, no padding is required. This is done to ensure an
8-byte
    alignment on the stack.  For example, if the callee is as follows:
       int foo(int a, ...){ ... }
     ... then the named arguments should be copied to the following
location:
       current_position - 5 (for R1-R5) * 4 (bytes) - 4 (bytes of
padding)
     If the callee is as follows:
        int foo(int a, int b, ...){ ... }
     ... then the named arguments should be copied to the following
location:
        current_position - 4 (for R2-R5) * 4 (bytes) - 0 (bytes of
padding)
  4. After any named arguments have been copied, copy all the registers
that
    could have been used to pass unnamed arguments on the stack. If the
number
    of registers is odd, leave 4 bytes of padding and then start copying
them
    on the stack; if the number is even, no padding is required. This
    constitutes the register-saved area. If padding is required, ensure
    that the start location of padding is 8-byte aligned.  If no padding
is
    required, ensure that the start location of the on-stack copy of the
    first register which might have a variable argument is 8-byte
aligned.
  5. Decrement the stack pointer by the size of register saved area plus
the
    padding.  For example, if the callee is as follows:
        int foo(int a, ...){ ... } ;
     ... then the decrement value should be the following:
        5 (for R1-R5) * 4 (bytes) + 4 (bytes of padding) = 24 bytes
     The decrement should be performed before the allocframe
instruction.
    Increment the stack-pointer back by the same amount before returning
    from the function.
The file was addedllvm/test/CodeGen/Hexagon/vacopy.ll
The file was addedllvm/test/CodeGen/Hexagon/vararg_double_onstack.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.cpp
The file was addedllvm/test/CodeGen/Hexagon/vararg.ll
The file was addedllvm/test/CodeGen/Hexagon/vararg-deallocate-sp.ll
The file was addedllvm/test/CodeGen/Hexagon/vararg_named.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was addedllvm/test/CodeGen/Hexagon/vararg_align_check.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.h
The file was addedllvm/test/CodeGen/Hexagon/vararg-linux-abi.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.h
Commit 3de9a5db629ac9d633576513d025a8f038a3cdec by hokein.wu
[clangd] Avoid redundant testcases in rename unittest, NFC.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73035
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
Commit 4c9d6914453d970b7b8202b7efd7524b2f0a72ac by martin
clang-format: [JS] fix `??` opreator wrapping.
Summary: clang-format currently treats the nullish coalescing operator
`??` like the ternary operator. That causes multiple nullish terms to be
each indented relative to the last `??`, as they would in a ternary.
The `??` operator is often used in chains though, and as such more
similar to other binary operators, such as `||`. So to fix the indent,
set its token type to `||`, so it inherits the same treatment.
This opens up the question of operator precedence. However, `??` is
required to be parenthesized when mixed with `||` and `&&`, so this is
not a problem that can come up in syntactically legal code.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73026
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/unittests/Format/FormatTestJS.cpp
Commit 366356361cf3abf97fbcfe9a0467b1ed1610401f by a.bataev
[OPENMP]Fix PR44578: crash in target construct with captured global.
Target regions have implicit outer region which may erroneously capture
some globals when it should not. It may lead to a compiler crash at the
compile time.
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit a81e0442bdb1fafb9219b338176e00f4c9054377 by thomasp
[FileCheck] Make Match unittest more flexible
Summary: FileCheck's Match unittest needs updating whenever some call to
initNextPattern() is inserted before its final block of checks. This
commit change usage of LineNumber inside the Tester object so that the
line number of the current pattern can be queries, thereby making the
Match test more solid.
Reviewers: jhenderson, jdenny, probinson, grimar, arichardson, rnk
Reviewed By: jhenderson
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72913
The file was modifiedllvm/unittests/Support/FileCheckTest.cpp
Commit 9c06c10fbae941feaf2738962d7ee58745b33725 by llvm-dev
[SelectionDAG] GetDemandedBits - fallback to
SimplifyMultipleUseDemandedBits by default.
First step towards removing SelectionDAG::GetDemandedBits entirely since
it so similar to SimplifyMultipleUseDemandedBits anyhow.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit a42c3eb599cb3b83a07e6296d4ade213f1d74f0f by nathan
[clang-tidy] Add check for CERT-OOP57-CPP
Summary: This is a very basic warning implementation of [[
https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP57-CPP.+Prefer+special+member+functions+and+overloaded+operators+to+C+Standard+Library+functions
| Prefer special member functions and overloaded operators to C Standard
Library functions ]]
It absolutely needs some fine tuning though.
Reviewers: alexfh, hokein, aaron.ballman, JonasToth
Reviewed By: aaron.ballman
Subscribers: merge_guards_bot, Eugene.Zelenko, mgorny, xazax.hun,
cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D72488
The file was modifiedclang-tools-extra/clang-tidy/cert/CMakeLists.txt
The file was addedclang-tools-extra/test/clang-tidy/checkers/cert-oop57-cpp.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was addedclang-tools-extra/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h
The file was addedclang-tools-extra/docs/clang-tidy/checks/cert-oop57-cpp.rst
The file was addedclang-tools-extra/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit 0a71ac8494d7f7e387c8ceb54d427c039184b589 by llvmgnsyncbot
[gn build] Port a42c3eb599c
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cert/BUILD.gn
Commit b37f6d3af100dacf550888aef21787c2b2494ad0 by Milos.Stojanovic
[llvm-exegesis] Remove unused variable after D72928
The file was modifiedllvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
Commit 67420f1b0e9c673ee638f2680fa83f468019004f by Jonas Devlieghere
[lldb/Util] Add a utility to run transparently capture and replay tests.
This patch introduces a small new utility (lldb-repro) to transparently
capture and replay debugger sessions through the command line driver.
Its used to test the reproducers by running the test suite twice.
During the first run, it captures a reproducer for every lldb invocation
and saves it to a well-know location derived from the arguments and
current working directory. During the second run, the test suite is run
again but this time every invocation of lldb replays the previously
recorded session.
Differential revision: https://reviews.llvm.org/D72823
The file was modifiedlldb/test/Shell/lit.cfg.py
The file was addedlldb/utils/lldb-repro/lldb-repro.py
The file was modifiedlldb/utils/CMakeLists.txt
The file was modifiedlldb/test/Shell/helper/toolchain.py
The file was modifiedlldb/test/Shell/Reproducer/lit.local.cfg
The file was addedlldb/utils/lldb-repro/CMakeLists.txt
Commit a17ad3592ff8c69c683c17fa60910ce326a451b0 by Jonas Devlieghere
[lldb/Test] Check that attribute exists before comparing its value
The file was modifiedlldb/test/Shell/Reproducer/lit.local.cfg
The file was modifiedlldb/utils/lldb-repro/lldb-repro.py
Commit ea99c09963488130ec0a61ef39df3fd0fcecad3c by David CARLIER
[OpenMP] affinity little fix for FreeBSD
- pthread affinity np has different semantic than sched affinity
counterpart. On success returns strictly 0.
Reviewers: chandlerc, AndreyChurbanov, jdoerfert
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D72132
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/src/kmp_affinity.h
Commit 04de24e690d3ff23bf63bc3901765cd8f07723f3 by Jonas Devlieghere
[lldb/IOHandler] Improve synchronization between IO handlers.
The way the IO handlers are currently managed by the debugger is wrong.
The implementation lacks proper synchronization between RunIOHandlerSync
and RunIOHandlers. The latter is meant to be run by the "main thread",
while the former is meant to be run synchronously, potentially from a
different thread.
Imagine a scenario where RunIOHandlerSync is called from a different
thread than RunIOHandlers. Both functions manipulate the debugger's
IOHandlerStack. Although the push and pop operations are synchronized,
the logic to activate, deactivate and run IO handlers is not.
While investigating PR44352, I noticed some weird behavior in the
Editline implementation. One of its members (m_editor_status) was
modified from another thread. This happened because the main thread,
while running RunIOHandlers ended up execution the IOHandlerEditline
created by the breakpoint callback thread. Even worse, due to the lack
of synchronization within the IO handler implementation, both threads
ended up executing the same IO handler.
Most of the time, the IO handlers don't need to run synchronously. The
exception is sourcing commands from external files, like the .lldbinit
file.
I've added a (recursive) mutex to prevent another thread from messing
with the IO handlers wile another thread is running one synchronously.
It has to be recursive, because we might have to source another file
when encountering a command source in the original file.
Differential revision: https://reviews.llvm.org/D72748
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_callback_command_source/source.lldb
The file was modifiedlldb/source/Core/Debugger.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_callback_command_source/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_callback_command_source/Makefile
Commit fb3d9153c01b9a560680465190d6ecd804e4c486 by kadircet
[clangd] Fix DocumentOutline for concepts
Summary: Fixes https://github.com/clangd/clangd/issues/256
Reviewers: kbobyrev
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73056
The file was modifiedclang-tools-extra/clangd/FindSymbols.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
Commit d053b7a2978efe72c746fc65044a2dbba192bfe3 by Jonas Devlieghere
[lldb/Docs] Add lldb-x86_64-fedora to the CI page
The file was modifiedlldb/docs/resources/bots.rst
Commit f6418d72f572ced8e1f58fc18fb973da1c956162 by arsenm2
AMDGPU/GlobalISel: Add documentation for RegisterBankInfo
Document some high level strategies that should be used for register
bank selection. The constant bus restriction section hasn't actually
been implemented yet.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit b70e4efb75bf1670fa335f3211c05b26b060ffde by jpienaar
[mlir] Generalize broadcastable trait operands
Summary: Generalize broadcastable trait to variadic operands. Update the
documentation that still talked about element type as part of
broadcastable trait (that bug was already fixed). Also rename
Broadcastable to ResultBroadcastableShape to be more explicit that the
trait affects the result shape (it is possible for op to allow
broadcastable operands but not have result shape that is broadcast
compatible with operands).
Doing some intermediate work to have getBroadcastedType take an optional
elementType as input and use that if specified, instead of the common
element type of type1 and type2 in this function.
Differential Revision: https://reviews.llvm.org/D72559
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/Dialect/Traits.h
The file was modifiedmlir/test/Dialect/traits.mlir
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/docs/Traits.md
The file was modifiedmlir/lib/Dialect/Traits.cpp
Commit 2e42cc7a50e867d939cac6ee3d375a85a30b984d by mtrofin
[NFC] small rename of private member in InlineCost.cpp
Summary: Follow-up from https://reviews.llvm.org/D71733. Also moved an
initialization to the base class, where it belonged in the first place.
Reviewers: eraman, davidxl
Reviewed By: davidxl
Subscribers: hiraditya, haicheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72949
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
Commit fdb9cc7dc560f6e56df55dd4be1c88b83636184d by aminim
Fix printer for llvm.addressof symbol name that need escaping
Differential Revision: https://reviews.llvm.org/D73065
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/global.mlir
Commit c12a5917d2f2ace092118e638913b1c45888363e by kparzysz
[Hexagon] Add support for Hexagon/HVX v67 ISA
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedclang/include/clang/Basic/BuiltinsHexagonDep.def
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepIICScalar.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsHexagonDep.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was addedclang/test/CodeGen/builtins-hexagon-v67.c
The file was addedllvm/test/CodeGen/Hexagon/fminmax-v67.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrFormats.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepIICHVX.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonPseudo.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepITypes.h
The file was addedllvm/lib/Target/Hexagon/HexagonScheduleV67.td
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was addedllvm/test/MC/Hexagon/extensions/v67_hvx.s
The file was addedllvm/test/MC/Hexagon/v67.s
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepMappings.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepOperands.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepDecoders.inc
The file was modifiedllvm/lib/Target/Hexagon/HexagonSchedule.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepArch.h
The file was modifiedclang/lib/Basic/Targets/Hexagon.h
The file was addedllvm/test/MC/Hexagon/v67_all.s
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepITypes.td
The file was removedllvm/lib/Target/Hexagon/HexagonInstrFormatsV5.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedllvm/test/CodeGen/Hexagon/intrinsics-v67.ll
The file was modifiedclang/test/Preprocessor/hexagon-predefines.c
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepInstrFormats.td
The file was modifiedllvm/test/CodeGen/Hexagon/swp-sigma.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepArch.td
The file was addedllvm/lib/Target/Hexagon/HexagonArch.h
The file was addedclang/test/CodeGen/builtins-hexagon-v67-audio.c
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.h
The file was modifiedclang/include/clang/Basic/BuiltinsHexagon.def
The file was addedllvm/lib/Target/Hexagon/HexagonDepMask.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
The file was addedllvm/test/CodeGen/Hexagon/df-min-max.ll
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
The file was addedllvm/test/CodeGen/Hexagon/fmul-v67.ll
The file was modifiedllvm/lib/Target/Hexagon/Hexagon.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepTimingClasses.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
The file was modifiedclang/lib/Basic/Targets/Hexagon.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.cpp
Commit 8615eeb455618fabe962f6951ccd8fe95b26bb15 by arsenm2
AMDGPU: Partially merge indirect register write handling
a785209bc2fb switched to using a pseudos instead of manually tying
operands on the regular instruction. The VGPR indexing mode path should
have the same problems that change attempted to avoid, so these should
use the same strategy.
Use a single pseudo for the VGPR indexing mode and movreld paths, and
expand it based on the subtarget later. These have essentially the same
constraints, reading the index from m0.
Switch from using an offset to the subregister index directly, instead
of computing an offset and re-adding it back. Also add missing pseudos
for existing register class sizes.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
Commit 9b13b4a0e3a192a3b0d938bfaa71ce6dc0740ece by arsenm2
AMDGPU: Prepare to use scalar register indexing
Define pseudos mirroring the the VGPR indexing ones, and adjust the
operands in the s_movrel* instructions to avoid the result def.
The file was modifiedllvm/test/CodeGen/AMDGPU/inserted-wait-states.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
Commit 317fdcd09ae9df1eaf1da40443d59b8b2bf68b8b by arsenm2
AMDGPU: Cleanup and generate 64-bit div tests
Split out r600 tests, and try to be more consistent with coverage. Cover
a few more cases for 24-bit optimization and constants.
The file was removedllvm/test/CodeGen/AMDGPU/sdivrem64.ll
The file was addedllvm/test/CodeGen/AMDGPU/srem64.ll
The file was removedllvm/test/CodeGen/AMDGPU/udivrem64.ll
The file was addedllvm/test/CodeGen/AMDGPU/sdiv64.ll
The file was addedllvm/test/CodeGen/AMDGPU/udiv64.ll
The file was addedllvm/test/CodeGen/AMDGPU/urem64.ll
The file was addedllvm/test/CodeGen/AMDGPU/udivrem64.r600.ll
The file was addedllvm/test/CodeGen/AMDGPU/sdivrem64.r600.ll
Commit c81fe34718d7bc4088c849b507cc7038e043f1bc by efriedma
[lld][ELF] Don't apply --fix-cortex-a53-843419 to relocatable links.
The code doesn't apply the fix correctly to relocatable links. I could
try to fix the code that applies the fix, but it's pointless: we don't
actually know what the offset will be in the final executable. So just
ignore the flag for relocatable links.
Issue discovered building Android.
Differential Revision: https://reviews.llvm.org/D72968
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-recognize.s
Commit d232c215669cb57f5eb4ead40a4a336220dbc429 by i
[AsmPrinter] Don't emit __patchable_function_entries entry if
"patchable-function-entry"="0"
Add improve tests
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/X86/patchable-function-entry.ll
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry.ll
Commit edd4398f4cd33a305afbca76ac4e6590e9337f4d by 31459023+hctim
Revert "PR17164: Change clang's default behavior from
-flax-vector-conversions=all to -flax-vector-conversions=integer."
This patch broke the Sanitizer buildbots. Please see the commit's
differential revision for more information
(https://reviews.llvm.org/D67678).
This reverts commit b72a8c65e4e34779b6bc9e466203f553f5294486.
The file was modifiedclang/test/Headers/x86intrin.c
The file was modifiedclang/docs/CommandGuide/clang.rst
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/Headers/x86-intrinsics-headers.c
The file was modifiedclang/test/Headers/x86intrin-2.c
The file was modifiedclang/test/Sema/vector-assign.c
The file was modifiedclang/test/Headers/altivec-header.c
The file was modifiedclang/test/Sema/vector-ops.c
The file was modifiedclang/test/Sema/vector-cast.c
Commit e5823bf806ca9fa6f87583065b3898a2edabce57 by arsenm2
AMDGPU: Don't create weird sized integers
There's no reason to introduce a new, unnaturally sized value here. This
has a chance to produce worse code with legalization. Avoids regression
in a future patch.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
Commit 385fb337de97d0b35ee295d16ceb26dfcf4de2ad by arsenm2
AMDGPU: Generate test checks
These weren't much different than copied output anyway.
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-i16-to-i32.ll
Commit fa40b41168f68cb53cb1a7bb3dcb71ac3010e9d4 by eric
Revert "[libc++] Optimize / partially inline basic_string copy
constructor"
This reverts commit a8a9c8e0a11abc9ed4ed78fed528334371fedf87.
There are multiple reported failures caused by this change. Each failure
is really weird, but it makes sense to revert while investigating.
The file was modifiedlibcxx/include/string
Commit d1da63664f4e42191daf2e6a9fa682ca9f75ef5e by jrtc27
[lld][RISCV] Print error when encountering R_RISCV_ALIGN
Summary: Unlike R_RISCV_RELAX, which is a linker hint, R_RISCV_ALIGN
requires the support of the linker even when ignoring all R_RISCV_RELAX
relocations. This is because the compiler emits as many NOPs as may be
required for the requested alignment, more than may be required
pre-relaxation, to allow for the target becoming more unaligned after
relaxing earlier sequences. This means that the target is often not
initially aligned in the object files, and so the R_RISCV_ALIGN
relocations cannot just be ignored. Since we do not support linker
relaxation, we must turn these into errors.
Reviewers: ruiu, MaskRay, espindola
Reviewed By: MaskRay
Subscribers: grimar, Jim, emaste, arichardson, asb, rbar, johnrusso,
simoncook, sabuasal, niosHD, kito-cheng, shiva0217, zzheng,
edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX,
jocewei, psnobl, benna, lenary, s.egerton, pzheng, sameer.abuasal,
apazos, luismarques, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71820
The file was modifiedlld/ELF/Arch/RISCV.cpp
The file was addedlld/test/ELF/riscv-reloc-align.s
Commit e446322f73fe6a6cb54057b5100880d5bc23bf2e by serguei.n.dmitriev
[llvm-objcopy][ELF] Allow setting SHF_EXCLUDE flag for ELF sections
Summary: This patch adds support for setting SHF_EXCLUDE flag for ELF
sections.
Reviewers: jhenderson, grimar, MaskRay, mstorsjo, espindola, alexshap,
rupprecht
Reviewed By: jhenderson, MaskRay
Subscribers: emaste, abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72128
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section-flag-osproc-mask.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/set-section-flags.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section-flag.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section-flag-preserved.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
Commit c72aa27f917832af8a0d8d3a8aa9974411c30610 by arsenm2
AMDDGPU/GlobalISel: Fix RegBankSelect for llvm.amdgcn.ps.live
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ps.live.mir
Commit 38bdb94120b76f8f79cd27d721892673e573895a by kbobyrev
[clangd] Fix rename for explicit destructor calls
When triggering rename of the class name in the code with explicit
destructor calls, rename fails. Consider the following piece of code:
``` class Foo;
...
Foo f; f.~/*...*/Foo();
```
`findExplicitReferences` will report two `ReferenceLoc` for destructor
call: one is comming from `MemberExpr` (i.e. destructor call itself) and
would point to the tilde:
``` f.~/*...*/Foo();
^
```
And the second one is pointing to the typename and is coming from
`TypeLoc`.
``` f.~/*...*/Foo();
         ^
```
This causes rename to produce incorrect textual replacements. This patch
updates `MemberExpr` handler to detect destructor calls and prevents it
from reporting a duplicate reference.
Resolves: https://github.com/clangd/clangd/issues/236
Reviewers: kadircet, hokein
Differential Revision: https://reviews.llvm.org/D72638
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit b16f82ad3b095070729cde2873bd3a2e8ab35c0e by 31459023+hctim
Revert "[MachO] Add a test for detecting reserved unit length."
This change broke the UBSan buildbots. More information available in the
original Phabricator review: https://reviews.llvm.org/D72695
This reverts commit fcc08aa835de1e0c1f3e7e479917575e55433b68.
The file was modifiedlld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
Commit 5721483b64251faa115efa3dddd47f1b833d9a13 by i
[AMDGPU] Fix -Wunused-variable after
e5823bf806ca9fa6f87583065b3898a2edabce57
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Commit 02c1321139d61a9e56a5319a07bb8f27570e7f77 by i
[MC] Improve a report_fatal_error
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
Commit e15fb06e2d0a068de549464d72081811e7fac612 by zakk.chen
[RISCV] Pass target-abi via module flag metadata
Reviewers: lenary, asb
Reviewed By: lenary
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72755
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was addedclang/test/CodeGen/riscv-metadata.c
Commit a80291ce10ba9667352adcc895f9668144f5f616 by nicolai.haehnle
Revert "[AMDGPU] Invert the handling of skip insertion."
This reverts commit 0dc6c249bffac9f23a605ce4e42a84341da3ddbd.
The commit is reported to cause a regression in piglit/bin/glsl-vs-loop
for Mesa.
The file was modifiedllvm/test/CodeGen/AMDGPU/call-skip.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/convergent-inlineasm.ll
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd_vmem_war.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-condition-and.ll
The file was removedllvm/lib/Target/AMDGPU/SIRemoveShortExecBranches.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/valu-i1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-flat-vmem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hoist-cond.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-taildup-ret.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-trap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-gws.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-kill-uncond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-ignored-insts.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/ret_jump.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/else.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow-unreachable-block.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-cfg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll
Commit 65f6ee618e729e2abcc9f7b6fff689c7b3d1aada by llvmgnsyncbot
[gn build] Port a80291ce10b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Commit fffea2842d2807e6deabeb719774d83e3c490156 by frank.laub
[MLIR] LLVM Dialect: add llvm.cmpxchg and improve llvm.atomicrmw custom
parser
Summary: Add a `llvm.cmpxchg` op as a counterpart to LLVM IR's `cmpxchg`
instruction. Note that the `weak`, `volatile`, and `syncscope`
attributes are not yet supported.
This will be useful for upcoming parallel versions of affine.for and
generally for reduction-like semantics (especially for reductions that
can't make use of `atomicrmw`, e.g. `fmax`).
Reviewers: ftynse, nicolasvasilache
Reviewed By: ftynse
Subscribers: merge_guards_bot, jfb, mehdi_amini, rriddle, jpienaar,
burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox,
liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72995
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
Commit ff9877ce34b86f8f63a773e0e8e383a7ef2bec95 by anna.welker
[ARM][MVE] Enable masked scatter
Extends the gather/scatter pass in MVEGatherScatterLowering.cpp to
enable the transformation of masked scatters into calls to MVE's masked
scatter intrinsic.
Differential Revision: https://reviews.llvm.org/D72856
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-ptrs.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-ind32-scaled.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-ind16-unscaled.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-ind32-unscaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-scatter-opt.ll
The file was modifiedllvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-ind16-scaled.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was addedllvm/test/CodeGen/Thumb2/mve-scatter-ind8-unscaled.ll
Commit 6b4f86f65f165249cbea1d23611ac97aeec7a082 by ikudrin
Reapply: [MachO] Add a test for detecting reserved unit length.
The test in the origin patch did not create a __debug_str section. An
UBSan check triggered when the corresponding pointer was dereferenced.
Differential Revision: https://reviews.llvm.org/D72695
This reapplies fcc08aa835de1e0c1f3e7e479917575e55433b68 which was
reverted in b16f82ad3b095070729cde2873bd3a2e8ab35c0e.
The file was modifiedlld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
Commit dbd0ad33668ea7b6d5c2c5db1fa290cc08ab99d9 by peter.smith
[LLD][ELF] Add support for INPUT_SECTION_FLAGS
The INPUT_SECTION_FLAGS linker script command is used to constrain the
section pattern matching to sections that match certain combinations of
flags.
There are two ways to express the constraint. withFlags: Section must
have these flags. withoutFlags: Section must not have these flags.
The syntax of the command is: INPUT_SECTION_FLAGS '(' sect_flag_list ')'
sect_flag_list: NAME
| sect_flag_list '&' NAME
Where NAME matches a section flag name such as SHF_EXECINSTR, or the
integer value of a section flag. If the first character of NAME is !
then it means must not contain flag.
We do not support the rare case of { INPUT_SECTION_FLAGS(flags) filespec
} where filespec has no input section description like (.text).
As an example from the ld man page: SECTIONS {
.text : { INPUT_SECTION_FLAGS (SHF_MERGE & SHF_STRINGS) *(.text) }
.text2 :  { INPUT_SECTION_FLAGS (!SHF_WRITE) *(.text) }
}
.text will match sections called .text that have both the SHF_MERGE and
SHF_STRINGS flag.
.text2 will match sections called .text that don't have the SHF_WRITE
flag.
The flag names accepted are the generic to all targets and
SHF_ARM_PURECODE as it is very useful to filter all the pure code
sections into a single program header that can be marked execute never.
fixes PR44265
Differential Revision: https://reviews.llvm.org/D72756
The file was modifiedlld/ELF/LinkerScript.cpp
The file was addedlld/test/ELF/input-section-flags-diag3.test
The file was modifiedlld/ELF/LinkerScript.h
The file was addedlld/test/ELF/input-section-flags-diag1.test
The file was addedlld/test/ELF/input-section-flags-keep.s
The file was modifiedlld/ELF/ScriptParser.cpp
The file was addedlld/test/ELF/input-section-flags.s
The file was addedlld/test/ELF/input-section-flags-diag2.test
Commit a672f579a2f66dbfa72799dec8ac52858b9a0f99 by llvm-dev
Regenerate rotated uxt tests
The file was modifiedllvm/test/CodeGen/ARM/uxt_rot.ll
Commit 8d2e6bdbe144b5855c4ae23d95c7e306075e4fdd by llvm-dev
[TargetLowering] SimplifyDemandedBits - Pull out InDemandedMask variable
to ISD::SHL. NFCI.
Matches ISD::SRA + ISD::SRL variants.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit d6f4cfdbd7923bae74d4a45f276f3b7f3e053f39 by courbet
[llvm-exegesis] Add support for AVX512 explicit rounding operands.
Reviewers: gchatelet
Subscribers: tschuett, mstojanovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73083
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
Commit 5f5f4785648959dfbb5c88d183816f85a0974561 by llvm-dev
[DAG] Fold extract_vector_elt (scalar_to_vector), K to undef (K != 0)
This was unconditionally folding this to the source operand, even if the
access was out of bounds. Use undef instead of the extract is not the
first element.
This helps with some cases where 3-vectors are legalized and avoids
processing the 4th component.
Original Patch by: arsenm (Matt Arsenault)
Differential Revision: https://reviews.llvm.org/D51589
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll
Commit 89e6601fb152b39700977d70e5604309f05475e5 by grimar
[llvm-readelf][llvm-readobj] - Fix the indentation when printing dynamic
tags.
This change is similar to one made for llvm-objdump in D72838.
llvm-readelf/llvm-readobj tools do not align the "Name/Value" column
properly. This patch adds a logic to calculate the size of indentation
on fly to fix such issues.
Differential revision: https://reviews.llvm.org/D72843
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-tags-machine-specific.test
Commit bc29069dc401572ba62f7dd692a3474c1ead76c9 by gabor.marton
[analyzer] Enable PlacementNewChecker by default
The file was modifiedclang/test/Analysis/placement-new-user-defined.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/placement-new.cpp
Commit 4e8116f4692e9b5787ba91c6b557b113aae7e244 by andrew.ng
[ELF] Refactor uses of getInputSections to improve efficiency NFC
Add new method getFirstInputSection and use instead of getInputSections
where appropriate to avoid creation of an unneeded vector of input
sections.
Differential Revision: https://reviews.llvm.org/D73047
The file was modifiedlld/ELF/OutputSections.h
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/OutputSections.cpp
Commit 1f7b95d038e687fdaffdff55d32c16934f7bff60 by Raphael Isemann
[lldb][NFC] Convert LLDB_LOGF to LLDB_LOG in ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit 87632b9e061863b96edb124e66b4f9b526e00438 by courbet
[llvm-exegesis] Fix support for LEA64_32r.
Summary: Add unit test to show the issue: We must select an *aliasing*
output register, not the exact register.
Reviewers: gchatelet
Subscribers: tschuett, mstojanovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73095
The file was addedllvm/test/tools/llvm-exegesis/X86/latency-LEA64_32r.s
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
Commit 9a52ea5cf9ca76d9e90297c9f307afb7f4aeec59 by tpopp
Create a gpu.module operation for the GPU Dialect.
Summary: This is based on the use of code constantly checking for an
attribute on a model and instead represents the distinct operaion with a
different op. Instead, this op can be used to provide better filtering.
Reverts "Revert "[mlir] Create a gpu.module operation for the GPU
Dialect.""
This reverts commit ac446302ca4145cdc89f377c0c364c29ee303be5 after
fixing internal Google issues.
This additionally updates ROCDL lowering to use the new gpu.module.
Reviewers: herhut, mravishankar, antiagainst, nicolasvasilache
Subscribers: jholewinski, mgorny, mehdi_amini, jpienaar, burmako,
shauheen, csigg, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb,
llvm-commits, mravishankar, rriddle, antiagainst, bkramer
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72921
The file was modifiedmlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
The file was modifiedmlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/builtins.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/if.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
The file was addedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.td
The file was modifiedmlir/include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
The file was modifiedmlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
Commit 3f9b6b270f87430c28fb2ff811d3b58dbf8bfdde by pavel
[lldb] Use llvm::stable_sort in Line
This addresses some post-commit feedback on D72909.
The file was modifiedlldb/source/Symbol/LineTable.cpp
Commit bc8a1ab26fba5d5635467b9d0fd7ad9a0fd5bc6e by gchatelet
[Alignment][NFC] Use Align with CreateMaskedLoad
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D73087
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 295aea807892d087f0ff8e465b7ea9ebcdaed3fa by grimar
[llvm-readobj] - Remove rpath.test.
rpath.test checks that DT_RPATH is dumped.
We have dynamic-tags.test that tests all dynamic tags and it is better,
because also checks llvm-readelf and does not use precompiled binaries.
Differential revision: https://reviews.llvm.org/D73093
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/rpath.exe.elf-x86_64
The file was removedllvm/test/tools/llvm-readobj/ELF/rpath.test
Commit 139771f8b02d4885c2ab50032e0c9356d60a2b05 by gchatelet
[Alignment][NFC] Use Align with CreateElementUnorderedAtomicMemMove
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73050
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
Commit 5181c67febc8d4c69559055fe2bee086aae61996 by arsenm2
AMDGPU/GlobalISel: Add some baseline tests for unmerge legalization
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
Commit fccd0da5ee6f4e337395f287edcf824a009e1b7e by adam.balogh
[clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc
Finds cases where an integer expression is added to the result of a
memory allocation function instead of its argument.
Differential Revision: https://reviews.llvm.org/D71001
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was addedclang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-pointer-arithmetic-in-alloc.c
The file was addedclang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-pointer-arithmetic-in-alloc.rst
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-pointer-arithmetic-in-alloc.cpp
Commit 65a31a97b4595c0e75b63c670b1adf8de1c80f4b by llvmgnsyncbot
[gn build] Port fccd0da5ee6
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit 18a96fd573b134fed7d8ea6b87930e7a059d6c90 by pavel
[lldb/DWARF] Fix a leak in line table construction
We were creating a bunch of LineSequence objects but never deleting
them.
This fixes the leak and changes the code to use std::unique_ptr, to make
it harder to make the same mistake again.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Symbol/LineTable.cpp
Commit 5e70f4bdc15960730d0ff2aa167399e36bc64278 by pavel
[lldb/breakpad] Use new line table constructor
The old construction method can be quadratic for some inputs. This
approach guarantees a reasonable performance.
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
Commit 651fa669a237730324d484d4675987a921c7562c by llvm-dev
[TargetLowering] SimplifyDemandedBits ANY_EXTEND/ANY_EXTEND_VECTOR_INREG
multi-use handling
Call SimplifyMultipleUseDemandedBits to peek through extended source
args with multiple uses
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-sext.ll
Commit f651c402a221a20f3bc6ea43f70b29326a357010 by hokein.wu
[clangd] Capture the missing injected class names in
findExplicitReferences.
Summary: Fixes https://github.com/clangd/clangd/issues/237.
Reviewers: kadircet, kbobyrev
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73088
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Commit b065902ed4587faec5358e8aaef4570d3da83d40 by llvm-dev
[X86] combineBT - use SimplifyDemandedBits instead of GetDemandedBits
Another step towards removing SelectionDAG::GetDemandedBits entirely
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 47f99d2ca8adbecb59d04dad550262363b513d6d by llvm-dev
[SelectionDAG] GetDemandedBits - remove ANY_EXTEND handling
Rely on SimplifyMultipleUseDemandedBits fallback instead.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit d7032bc3c009d3d2e7fdd6427fa629589fe93096 by Jinsong Ji
[PowerPC][NFC] Reclaim TSFlags bit 6
We removed UseVSXReg flag in https://reviews.llvm.org/D58685 But we did
not reclain the bit 6 it was assigned, this will become confusing and a
hole later.. We should reclaim it as early as possible before new bits.
Reviewed By: sfertile
Differential Revision: https://reviews.llvm.org/D72649
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrFormats.td
Commit 81f385b0c6ea37dd7195a65be162c75bbdef29d2 by benny.kra
Make dropTriviallyDeadConstantArrays not quadratic
Only look at the operands of dead constant arrays instead of all
constant arrays again.
The file was modifiedllvm/lib/IR/LLVMContextImpl.cpp
Commit f04284cf1d491a5d9a1eebfd14ed2eb6342f5e47 by llvm-dev
[TargetLowering] SimplifyDemandedBits ISD::SRA multi-use handling
Call SimplifyMultipleUseDemandedBits to peek through extended source
args with multiple uses
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/const-shift-of-constmasked.ll
Commit 6a24339a45246b66bd3de88cc9c6a5b5e77c0645 by diogo.sampaio
[ARM] Follow AACPS standard for volatile bit-fields access width
Summary: This patch resumes the work of D16586. According to the AAPCS,
volatile bit-fields should be accessed using containers of the widht of
their declarative type. In such case:
``` struct S1 {
short a : 1;
}
``` should be accessed using load and stores of the width
(sizeof(short)), where now the compiler does only load the minimum
required width (char in this case). However, as discussed in D16586,
that could overwrite non-volatile bit-fields, which conflicted with C
and C++ object models by creating data race conditions that are not part
of the bit-field, e.g.
``` struct S2 {
short a;
int  b : 16;
}
``` Accessing `S2.b` would also access `S2.a`.
The AAPCS Release 2019Q1.1
(https://static.docs.arm.com/ihi0042/g/aapcs32.pdf) section 8.1 Data
Types, page 35, "Volatile bit-fields - preserving number and width of
container accesses" has been updated to avoid conflict with the C++
Memory Model. Now it reads in the note:
``` This ABI does not place any restrictions on the access widths of
bit-fields where the container overlaps with a non-bit-field member.
This is because the C/C++ memory model defines these as being separate
memory locations, which can be accessed by two threads
simultaneously. For this reason, compilers must be permitted to use a
narrower memory access width (including splitting the access
into multiple instructions) to avoid writing to a different memory
location.
```
I've updated the patch D16586 to follow such behavior by verifying that
we only change volatile bit-field access when:
- it won't overlap with any other non-bit-field member
- we only access memory inside the bounds of the record
Regarding the number of memory accesses, that should be preserved, that
will be implemented by D67399.
Reviewers: rsmith, rjmccall, eli.friedman, ostannard
Subscribers: ostannard, kristof.beyls, cfe-commits, carwil, olista01
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72932
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/CodeGen/CGValue.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
Commit 2147703bde1e1a7a1b89ccb66f55d36fd17620f1 by diogo.sampaio
Revert "[ARM] Follow AACPS standard for volatile bit-fields access
width"
This reverts commit 6a24339a45246b66bd3de88cc9c6a5b5e77c0645. Submitted
using ide button by mistake
The file was modifiedclang/lib/CodeGen/CGValue.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
Commit 1256d68093ac1696034e385bbb4cb6e516b66bea by zakk.chen
[RISCV] Check the target-abi module flag matches the option
Reviewers: lenary, asb
Reviewed By: lenary
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72768
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
The file was addedllvm/test/CodeGen/RISCV/module-target-abi2.ll
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetMachine.cpp
The file was addedllvm/test/CodeGen/RISCV/module-target-abi.ll
Commit 1fbb1d6df0113ca341f6d257bc72e07343dd861a by kadircet
[clangd] Drop returntype/type when hovering over type-ish names
Summary: Some names, e.g. constructor/destructor/conversions, already
contain the type info, no need to duplicate them in the hoverinfo.
Fixes https://github.com/clangd/clangd/issues/252
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73110
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
Commit 020041d99b508ed5f207c0896a19b3e85c942ee7 by kparzysz
Update spelling of {analyze,insert,remove}Branch in strings and comments
These names have been changed from CamelCase to camelCase, but there
were many places (comments mostly) that still used the old names.
This change is NFC.
The file was modifiedllvm/lib/Target/AMDGPU/R600InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/branch-08.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-02.ll
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/include/llvm/MC/MCInstrDesc.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedllvm/lib/Target/ARC/ARCInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/EarlyIfConversion.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
The file was modifiedllvm/docs/WritingAnLLVMBackend.rst
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.h
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
Commit a6883017ea9af529e89d7f89af2477378b6eafca by alexandre.ganea
[Clang] Un-break scan-build after integrated-cc1 change
Differential Revision: https://reviews.llvm.org/D72982
The file was modifiedclang/lib/Driver/Job.cpp
The file was modifiedclang/test/Driver/cuda-simple.cu
The file was modifiedclang/test/Driver/offloading-interoperability.c
The file was modifiedclang/test/Driver/option-aliases.c
Commit 3023352a7d0991c2ed7c0ecca9b5fbf8501b6af2 by antiagainst
[mlir][spirv] Simplify scalar type size calculation.
Simplify scalar type size calculation and reject boolean memrefs.
Differential Revision: https://reviews.llvm.org/D72999
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
Commit 7b8dc8c57697e95fd0b1248e4494ecc0f929aba1 by jaskiewiczs
[libcxx] Support Python 3.8 in the test suite
Summary: `platform.linux_distribution()` has been deprecated in Python
3.5 and removed in Python 3.8.
Reviewers: bcain, bcraig, jroelofs, EricWF, mclow.lists, ldionne
Reviewed By: jroelofs
Subscribers: dexonsmith, christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D72501
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
Commit 305bf5b21dbdb2345ef86b5700285e42d992c954 by kparzysz
[Hexagon] Add support for Hexagon v67t microarchitecture (tiny core)
The file was addedllvm/test/CodeGen/Hexagon/tc_duplex.ll
The file was modifiedllvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
The file was addedllvm/test/MC/Hexagon/v67t_option.s
The file was addedllvm/test/CodeGen/Hexagon/tc_sched1.ll
The file was addedllvm/test/CodeGen/Hexagon/tinycore.ll
The file was addedllvm/lib/Target/Hexagon/HexagonScheduleV67T.td
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
The file was addedllvm/test/CodeGen/Hexagon/tiny_bkfir_loop_align.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Basic/Targets/Hexagon.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
The file was modifiedllvm/lib/Target/Hexagon/Hexagon.td
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
The file was addedllvm/test/CodeGen/Hexagon/tc_duplex_asm.ll
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp
The file was addedllvm/test/CodeGen/Hexagon/tc_sched.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepIICScalar.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedclang/lib/Basic/Targets/Hexagon.h
The file was modifiedclang/test/CodeGen/builtins-hexagon-v67-audio.c
The file was addedllvm/test/MC/Hexagon/v67t_arch.s
The file was addedllvm/test/CodeGen/Hexagon/disable-const64.ll
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
The file was modifiedclang/lib/Driver/ToolChains/Hexagon.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was addedllvm/test/MC/Hexagon/cmpyrw.s
The file was modifiedllvm/lib/Target/Hexagon/HexagonSchedule.td
The file was addedllvm/test/MC/Hexagon/smallcore_dis.s
The file was addedllvm/test/MC/Hexagon/v67t_align.s
The file was addedllvm/test/CodeGen/Hexagon/tiny_bkfir_artdeps.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstPropagation.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was addedllvm/test/MC/Hexagon/extensions/v67t_audio.s
The file was addedllvm/test/CodeGen/Hexagon/disable-const64-tinycore.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonDepArch.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.h
The file was addedllvm/test/MC/Hexagon/audio.s
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
Commit a731c6ba94d0464c6a122de1af70ab88ffb5c1a6 by Jonas Devlieghere
[lldb/Initializers] Move all macOS initializers into PlatformMacOSX
PlatformMacOSX is the main entry point to the plugin with the same name.
This is part of a greater refactoring to auto generate the initializers.
Differential revision: https://reviews.llvm.org/D73116
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
Commit 24d7a0935bea390fc444f6ac8cf02447fe8d6917 by tra
[HIP] use GetProgramPath for executable discovery
This change replaces the manual building of executable paths using
llvm::sys::path::append with GetProgramPath. This enables adding other
paths in case executables reside in different directories and makes the
code easier to read.
Differential Revision: https://reviews.llvm.org/D72903
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
Commit 2e667d07c773f684ea893b9ce5d9b73e9f23b438 by kevin.neal
[FPEnv][SystemZ] Platform-specific builtin constrained FP enablement
When constrained floating point is enabled the SystemZ-specific builtins
don't use constrained intrinsics in some cases. Fix that.
Differential Revision: https://reviews.llvm.org/D72722
The file was addedclang/test/CodeGen/builtins-systemz-vector2-constrained.c
The file was addedclang/test/CodeGen/builtins-systemz-zvector2-constrained.c
The file was addedclang/test/CodeGen/builtins-systemz-vector-constrained.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/builtins-systemz-zvector3-constrained.c
The file was addedclang/test/CodeGen/builtins-systemz-zvector-constrained.c
Commit 7a8b0b1595e7dc878b48cf9bbaa652087a6895db by i
[StackColoring] Remap PseudoSourceValue frame indices via
MachineFunction::getPSVManager()
Reviewed By: dantrushin
Differential Revision: https://reviews.llvm.org/D73063
The file was modifiedllvm/include/llvm/CodeGen/PseudoSourceValue.h
The file was modifiedllvm/lib/CodeGen/StackColoring.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/stack-coloring-vararg.mir
Commit 72b8bad1505b4bc0b5703c2812ce6ca9a3c29f41 by Jonas Devlieghere
[lldb/Hexagon] Include <mutex>
Fixes compiler error on macOS: error: no type named 'mutex' in namespace
'std'.
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
Commit 8e1f0974c280540ec516ac16678c2c582ffb6705 by i
[PowerPC] Delete PPCSubtarget::isDarwin and isDarwinABI
http://lists.llvm.org/pipermail/llvm-dev/2018-August/125614.html
developers have agreed to remove Darwin support from POWER backends.
Reviewed By: sfertile
Differential Revision: https://reviews.llvm.org/D72067
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was removedllvm/test/CodeGen/PowerPC/2008-10-31-PPCF128Libcalls.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMCInstLower.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPC.h
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit cf263807a6c0a6989476ae9d44a21a657e048c94 by Jonas Devlieghere
[lldb/tools] Update lldb-test's system initializer
After a731c6ba94d0 the initializer only has to call the PlatformMacOSX
to initialize all the macOS platforms.
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit 372cb38f4510212f4bd21488b71620775d8d4fc2 by lebedev.ri
[Codegen] Emit both AssumeAlignedAttr and AllocAlignAttr assumptions if
they exist
Summary: We shouldn't be just giving up if we find one of them
(like we currently do with `AssumeAlignedAttr`), we should emit them
all.
As the tests show, even if we materialized good knowledge from
`__attribute__((assume_aligned(32)`, it doesn't mean
`__attribute__((alloc_align([...])))` info won't be useful. It might be,
but that isn't given.
Reviewers: erichkeane, jdoerfert, aaron.ballman
Reviewed By: erichkeane
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72979
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was addedclang/test/CodeGen/assume-aligned-and-alloc-align-attributes.c
Commit 6b2f820221c78c05527d6edb756b4f1f44665968 by lebedev.ri
[NFC][Codegen] Use MaybeAlign + APInt::getLimitedValue() when creating
Alignment attr
Summary: Just an NFC code cleanup i stumbled upon when stumbling through
clang alignment attribute handling.
Reviewers: erichkeane, gchatelet, courbet, jdoerfert
Reviewed By: gchatelet
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72993
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit 68122b5826b56f547e8fbae7cf4d455afeda8400 by ehudkatz
[APFloat] Extend conversion from special strings
Add support for converting Signaling NaN, and a NaN Payload from string.
The NaNs (the string "nan" or "NaN") may be prefixed with 's' or 'S' for
defining a Signaling NaN.
A payload for a NaN can be specified as a suffix. It may be a
octal/decimal/hexadecimal number in parentheses or without.
Differential Revision: https://reviews.llvm.org/D69773
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
Commit 9148b8b734e7279c86a7a75883efdfdf48e8d148 by a.bataev
[OpenMP][Offloading] Fix the issue that omp_get_num_devices returns
wrong number of devices, by Shiley Tian.
Summary: This patch is to fix issue in the following simple case:
  #include <omp.h>
#include <stdio.h>
  int main(int argc, char *argv[]) {
   int num = omp_get_num_devices();
   printf("%d\n", num);
    return 0;
}
Currently it returns 0 even devices exist. Since this file doesn't
contain any target region, the host entry is empty so further actions
like initialization will not be proceeded, leading to wrong device
number returned by runtime function call.
Reviewers: jdoerfert, ABataev, protze.joachim
Reviewed By: ABataev
Subscribers: protze.joachim
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D72576
The file was addedopenmp/libomptarget/test/api/omp_get_num_devices_with_empty_target.c
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedopenmp/libomptarget/src/rtl.cpp
Commit a95965d467c2de06625066e310a2c385ebbc40a5 by maskray
[APFloat][unittest] Fix -Wunused-variable after D69773
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
Commit dd18729b2a7a23b76b8d74fbf4f4bb4efbe8aa97 by alexey.bader
[Attr][Doc][NFC] Fix code snippet formatting for attribute documentation
Reviewers: aaron.ballman, Fznamznon
Subscribers: ebevhan, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73104
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 9aba2ced34b295658f3f07311efe665495987426 by Vedant Kumar
[debugserver] Delete macOS/PPC debug server implementation
macOS/PPC support was dropped in 10.6 (Snow Leopard).
Differential Revision: https://reviews.llvm.org/D69524
The file was modifiedlldb/tools/debugserver/source/MacOSX/CMakeLists.txt
The file was removedlldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.cpp
The file was removedlldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.h
Commit 0b336b6048aed922874b5d711cd0dce1e3f0aa60 by ehudkatz
[APFloat] Add support for operations on Signaling NaN
Fix PR30781
Differential Revision: https://reviews.llvm.org/D69774
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
Commit 441aebc5235af164a784d0b9bd460c07e01e9045 by Vedant Kumar
[debugserver] Delete stale code referencing ppc
The file was modifiedlldb/tools/debugserver/source/RNBDefs.h
The file was modifiedlldb/tools/debugserver/source/DNBArch.h
The file was modifiedlldb/tools/debugserver/source/DNBDefs.h
The file was modifiedlldb/tools/debugserver/source/RNBServices.cpp
Commit f63d7637387995765e9ece0e10fe1b5a4f0612b5 by rnk
[TableGen] Use a table to lookup MVE intrinsic names
Summary: Speeds up compilation of SemaDeclAttr.cpp by nine seconds:
0m49.555s - > 0m40.249s
Reviewers: simon_tatham, dmgreen, ostannard, MarkMurrayARM
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72984
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
Commit 7c9bcba644c4fc2178e20060d9ba2ff1f50ae15e by francesco.petrogalli
[lldb] Add a setting to not install the main executable
Summary: Add setting target.auto-install-main-executable that controls
whether the main executable should be automatically installed when
connected to a remote platform even if it does not have an explicit
install path specified. The default is true as the current behaviour.
Reviewers: omjavaid, JDevlieghere, srhines, labath, clayborg
Reviewed By: clayborg
Subscribers: kevin.brodsky, lldb-commits, llvm-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71761
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/Makefile
The file was modifiedlldb/source/Target/TargetProperties.td
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/main.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/include/lldb/Target/Target.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
Commit f2dc179d686a77de8daa1b31c8984b39823e9a3d by antiagainst
[mlir][ods] Fix StringRef initialization in builders
For the generated builder taking in unwrapped attribute values, if the
argument is a string, we should avoid wrapping it in quotes; otherwise
we are always setting the string attribute to contain the string
argument's name. The quotes come from StrinAttr's
`constBuilderCall`, which is reasonable for string literals, but not
function arguments containing strings.
Differential Revision: https://reviews.llvm.org/D72977
The file was modifiedmlir/include/mlir/TableGen/Attribute.h
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
Commit 3ef169e586f4d14efe690c23c878d5aa92a80eb5 by tlively
[WebAssembly][InstrEmitter] Foundation for multivalue call lowering
Summary: WebAssembly is unique among upstream targets in that it does
not at any point use physical registers to store values. Instead, it
uses virtual registers to model positions in its value stack. This means
that some target-independent lowering activities that would use physical
registers need to use virtual registers instead for WebAssembly and
similar downstream targets. This CL generalizes the existing
`usesPhysRegsForPEI` lowering hook to
`usesPhysRegsForValues` in preparation for using it in more places.
One such place is in InstrEmitter for instructions that have variadic
defs. On register machines, it only makes sense for these defs to be
physical registers, but for WebAssembly they must be virtual registers
like any other values. This CL changes InstrEmitter to check the new
target lowering hook to determine whether variadic defs should be
physical or virtual registers.
These changes are necessary to support a generalized CALL instruction
for WebAssembly that is capable of returning an arbitrary number of
arguments. Fully implementing that instruction will require additional
changes that are described in comments here but left for a follow up
commit.
Reviewers: aheejin, dschuff, qcolombet
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71484
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISD.def
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyUtilities.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
Commit 561fa844777c1bd9c0c6937be272e6ea73ff94f6 by kostyak
[scudo][standalone] Allow sched_getaffinity to fail
Summary: In some configuration, `sched_getaffinity` can fail. Some
reasons for that being the lack of `CAP_SYS_NICE` capability or some
syscall filtering and so on.
This should not be fatal to the allocator, so in this situation, we will
fallback to the `MaxTSDCount` value specified in the allocator
configuration.
Reviewers: cferris, eugenis, hctim, morehouse, pcc
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D73055
The file was modifiedcompiler-rt/lib/scudo/standalone/common.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_shared.h
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.cpp
Commit 6cf95ac22343a3f5ce58dab8fd157e237fbedb17 by kparzysz
[Hexagon] Add REQUIRES: asserts to a testcase using -debug-only
The file was modifiedllvm/test/CodeGen/Hexagon/tiny_bkfir_artdeps.ll
Commit 9bb11785dca6b8ee1edb69b52c936edc95a794f0 by francesco.petrogalli
Revert "[lldb] Add a setting to not install the main executable"
The commit has been reverted as it does not mention the author of the
patch.
This reverts commit 7c9bcba644c4fc2178e20060d9ba2ff1f50ae15e.
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Target/TargetProperties.td
The file was modifiedlldb/include/lldb/Target/Target.h
The file was removedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/Makefile
Commit 95116c591fab993df76bd20cfa74d2d44a1a9cc6 by francesco.petrogalli
[lldb] Add a setting to not install the main executable
Summary: Add setting target.auto-install-main-executable that controls
whether the main executable should be automatically installed when
connected to a remote platform even if it does not have an explicit
install path specified. The default is true as the current behaviour.
Reviewers: omjavaid, JDevlieghere, srhines, labath, clayborg
Reviewed By: clayborg
Subscribers: kevin.brodsky, lldb-commits, llvm-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71761
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/Makefile
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/include/lldb/Target/Target.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/main.cpp
The file was modifiedlldb/source/Target/TargetProperties.td
Commit 28857d14a86b1e99a9d2795636a5faf17674f5a2 by tlively
[WebAssembly] Split and recombine multivalue calls for ISel
Summary: Multivalue calls both take and return an arbitrary number of
arguments, but ISel only supports one or the other in a single
instruction. To get around this, calls are modeled as two pseudo
instructions during ISel. These pseudo instructions, CALL_PARAMS and
CALL_RESULTS, are recombined into a single CALL MachineInstr in a custom
emit hook.
RegStackification and the MC layer will additionally need to be made
aware of multivalue calls before the tests will produce correct output.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71496
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
Commit ff1f3cc1a12ea252fcc32f467d9f2677c2775bf3 by qcolombet
[GISelKnownBits] Make the max depth a parameter of the analysis
Allow users of that analysis to define the cut off depth of the analysis
instead of hardcoding 6.
NFC as the default parameter is 6.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Commit 2d77e0b9f22a084c9a0664f74dad5b4f3c62e928 by ehudkatz
Fix tests of constant folding of fp operations on NaN values
Fix failures introduced due to change rG0b336b6048ae.
The file was modifiedllvm/test/Transforms/ConstProp/fma.ll
The file was modifiedllvm/test/Transforms/InstSimplify/fp-nan.ll
Commit cbf08d0f5751696d7ada90644eebfbef6df7a3ae by hayarms
[mlir] Fix LLVM intrinsic convesion generator for overloadable types.
Summary: If an intrinsic has overloadable types like llvm_anyint_ty or
llvm_anyfloat_ty then to getDeclaration() we need to pass a list of the
types that are "undefined" essentially concretizing them.
This patch add support for deriving such types from the MLIR op that has
been matched.
Reviewers: andydavis1, ftynse, nicolasvasilache, antiagainst
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72974
The file was modifiedmlir/test/mlir-tblgen/llvm-intrinsics.td
The file was modifiedmlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
Commit 6b9a5e6f05f9413f50b5ff7266e9108b6affa43a by sidneym
[lld][Hexagon] Add General Dynamic relocations (GD)
Differential revision: https://reviews.llvm.org/D72522
The file was modifiedlld/ELF/Arch/Hexagon.cpp
The file was addedlld/test/ELF/hexagon-tls-gd.s
Commit 41fcd17250fa0526e4b7fd2c7df7721b0f79b683 by koraq
[Sema] Avoid Wrange-loop-analysis false positives
When Wrange-loop-analysis issues a diagnostic on a dependent type in a
template the diagnostic may not be valid for all instantiations.
Therefore the diagnostic is suppressed during the instantiation. Non
dependent types still issue a diagnostic.
The same can happen when using macros. Therefore the diagnostic is
disabled for macros.
Fixes https://bugs.llvm.org/show_bug.cgi?id=44556
Differential Revision: https://reviews.llvm.org/D73007
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
Commit 020ed6713d889a95f8c98d7725c87b458d99f6b3 by eric
[clang-tidy] Fix check for Abseil internal namespace access
This change makes following modifications:
* If reference originated from macro expansion, we report location
inside of
   the macro instead of location where macro is referenced.
* If for any reason deduced location is not correct we silently ignore
it.
Patch by Gennadiy Rozental (rogeeff@google.com) Reviewed as
https://reviews.llvm.org/D72484
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/abseil-no-internal-dependencies.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/Inputs/absl/strings/internal-file.h
The file was modifiedclang-tools-extra/clang-tidy/abseil/NoInternalDependenciesCheck.cpp
Commit 2a879e6884bb95da747755e8eb219f2df3d4e488 by maskray
[APFloat][unittest] Fix -Wsign-compare after D69773
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
Commit b6c62ef0871576dd03de2c0077ba15ad0be23f6b by Jonas Devlieghere
[lldb/Platform] Re-add ifdef's to guard macOS-only code.
I moved the code from the system initializer to PlatformMacOSX. The
defines are still necessary because MacOSX is initialized on other
platforms where the other platforms are not available.
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
Commit 5260bc2497bb593ed4a01de5cfe84ed6f7b529b1 by aaron
Allow arbitrary capability name in Thread Safety Analysis
Restricting the names of capabilities to only "role" or "mutex" makes
for awkward diagnostic text, such as with:
https://chromium-review.googlesource.com/c/chromium/src/+/1948098/19/base/sequence_checker_unittest.nc#33
The file was modifiedclang/test/Sema/attr-capabilities.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
Commit a8c2f76cd258ea03f82a1fc12953ca8af6b7832b by aaron
Removing an accidentally duplicated line of test code to fix bots.
The file was modifiedclang/test/Sema/attr-capabilities.c
Commit b0b2b7e09926cdde4d82978a7c14b5e2d38db35c by alexandre.ganea
Revert "[Clang] Un-break scan-build after integrated-cc1 change"
This reverts commit a6883017ea9af529e89d7f89af2477378b6eafca.
The file was modifiedclang/test/Driver/option-aliases.c
The file was modifiedclang/test/Driver/offloading-interoperability.c
The file was modifiedclang/lib/Driver/Job.cpp
The file was modifiedclang/test/Driver/cuda-simple.cu
Commit 89e43f04ba87a0da6e94863db149669c7536486b by vvereschaka
Revert "List implicit operator== after implicit destructors in a
vtable."
This reverts commit add2b7e44ada46f30715b5c48823a9e9e317e0c3.
Failed "Clang::virtual-compare.cpp" test on the arm builders. See
http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l/builds/3169
for details.
The file was removedclang/test/CodeGenCXX/virtual-compare.cpp
The file was modifiedclang/lib/AST/VTableBuilder.cpp
Commit aa91ce3e1dd53a614894d5bef515c5859eea368a by Jonas Devlieghere
[lldb/CMake] Add check-lldb-shell and check-lldb-api targets for Xcode
The Xcode generator does not provide the auto-generated targets where
you can append a folder name to check-lldb. Instead add two custom lit
targets to run just the shell and api tests.
The file was modifiedlldb/test/API/CMakeLists.txt
The file was modifiedlldb/test/Shell/CMakeLists.txt
Commit fd109308a7b71c009402b16c5e583ee462bfe9bd by arsenm2
AMDGPU/GlobalISel: Legalize G_PTR_ADD for arbitrary pointers
Pointers of unrecognized address spaces shoudl be treated as global-like
pointers. Even if loads and stores of them aren't handled, dumb
operations that just operate on the bits should work.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ptr-add.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 0478eadf73c191199cba12c85785cfafb8bfa174 by Fred Riss
[lldb/DataFormatters] Fix the `$$deference$$` synthetic child
Summary: The ValueObject code checks for a special `$$dereference$$`
synthetic child to allow formatter providers to implement a natural
dereferencing behavior in `frame variable` for objects like smart
pointers.
This support was broken when used directly throught the Python API and
not trhough `frame variable`. The reason is that SBFrame.FindVariable()
will return by default the synthetic variable if it exists, while `frame
variable` will not do this eagerly. The code in
`ValueObject::Dereference()` accounted for the latter but not for the
former. The fix is trivial. The test change includes additional
covergage for the already-working bahevior as it wasn't covered by the
testsuite before.
This commit also adds a short piece of documentatione explaining that it
is possible (even advisable) to provide this synthetic child outstide of
the range of the normal children.
Reviewers: jingham
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D73053
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/main.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/docs/use/variable.rst
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py
Commit 7b771ed448487705237868f705da17b40c6bfe82 by timshen
[APInt] Fix tests that had wrong assumption about sdivs with negative
quotient.
Reviewers: sanjoy
Subscribers: bixia, dexonsmith, sanjoy.google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70156
The file was modifiedllvm/unittests/ADT/APIntTest.cpp
Commit 9a5a6e94651389263fb0036d97f731e7bbf55a50 by arsenm2
AMDGPU/GlobalISel: Merge G_PTR_ADD/G_PTR_MASK rules
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 133a7e631cee97965e310f0d110739217427fd3d by alexandre.ganea
[PATCH] Reland [Clang] Un-break scan-build after integrated-cc1 change
The issue was reported by @xazax.hun here:
https://reviews.llvm.org/D69825#1827826
"This patch (D69825) breaks scan-build-py which parses the output of
"-###" to get -cc1 command. There might be other tools with the same
problems. Could we either remove (in-process) from CC1Command::Print or
add a line break?
Having the last line as a valid invocation is valuable and there might
be tools relying on that."
Differential Revision: https://reviews.llvm.org/D72982
The file was modifiedclang/lib/Driver/Job.cpp
The file was modifiedclang/test/Driver/cc-print-options.c
The file was modifiedclang/lib/Driver/Compilation.cpp
The file was modifiedclang/test/Driver/cuda-simple.cu
The file was modifiedclang/test/Driver/offloading-interoperability.c
The file was modifiedclang/test/Driver/option-aliases.c
Commit 757fe53994c1792cbdc84526696a0e256345911f by andrei.elovikov
[SLP] Add a test showing miscompilation in AltOpcode support
Reviewers: Vasilis, RKSimon, ABataev
Reviewed By: RKSimon, ABataev
Subscribers: ABataev, inglorion, dexonsmith, llvm-commits, vdmitrie
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72739
The file was addedllvm/test/Transforms/SLPVectorizer/X86/no_alternate_divrem.ll
Commit f42994f228d20e787fe1dfab69ab5c59ca9e0868 by florian_hahn
[Matrix] Hide and describe matrix-propagate-shape option.
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit a6492e22711e45f1e60416371f7b5c29be5f508e by lebedev.ri
[IR] Value::getPointerAlignment(): handle pointer constants
Summary: New `@test13` in `Attributor/align.ll` is the main motivation -
`null` pointer really does not limit our alignment knowledge, in fact it
is fully aligned since it has no bits set.
Here we don't special-case `null` pointer because it is somewhat
controversial to add one more place where we enforce that `null` pointer
is zero, but instead we do the more general thing of trying to perform
constant-fold of pointer constant to an integer, and perform alignment
inferrment on that.
Reviewers: jdoerfert, gchatelet, courbet, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, arphaman, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73131
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/lib/IR/Value.cpp
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/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-1.ll
Commit e47965bf64e62c496eb4259d47c62219007ae38a by arsenm2
AMDGPU/GlobalISel: Merge trivial legalize rules
Also move constant-like rules together
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 535ed62c5fcb9b8cd1e7abdd342277761aed29b7 by florian_hahn
[AArch64] Add custom store lowering for 256 bit non-temporal stores.
Currently we fail to lower non-termporal stores for 256+ bit vectors to
STNPQ, because type legalization will split them up to 128 bit stores
and because there are no single non-temporal stores, creating STPNQ in
the Load/Store optimizer would be quite tricky.
This patch adds custom lowering for 256 bit non-temporal vector stores
to improve the generated code.
Reviewers: dmgreen, samparker, t.p.northover, ab
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D72919
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/nontemporal.ll
Commit 83a131b276426a0dc97f43c139a0f3b308f24154 by Jason Molenda
Fix an over-suspend bug with LaunchInNewTerminalWithAppleScript sessions
When launching an inferior in a new terminal window via AppleScript and
the darwin-debug helper program, we could often end up with the inferior
process having a too-high suspend count, and it would never resume
execution.
lldb tries to wait until darwin-debug has finished its work and has
launched the inferior (WaitForProcessToSIGSTOP) but this wasn't working
correctly - and cannot be made to work.
This patch removes WaitForProcessToSIGSTOP, adds a special tiny segment
to the darwin-debug executable so it can be identified as that binary
(ExecExtraSuspend), and adds code to debugserver to detect this segment.
When debugserver sees this segment, it notes that the next exec will be
done with a launch-suspended flag.  When the next exec happens,
debugserver forces an extra task_resume when we resume the inferior.
An alternative approach would be if lldb could detect when the inferior
has been launched by darwin-debug unambiguously; monitoring when the
unix socket between darwin-debug and lldb was closed would have been a
reasonable way to do this too.
<rdar://problem/29760580>
Differential Revision: https://reviews.llvm.org/D72963
The file was modifiedlldb/source/Host/macosx/objcxx/Host.mm
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/tools/darwin-debug/CMakeLists.txt
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachTask.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachTask.mm
Commit 0feedebf4f4b2a888c0d66e2347342234b6fc5ff by Jonas Devlieghere
[lldb/Plugin] Rename AddressSanitizerRuntime for consistency with plugin
(NFC)
Renames AddressSanitizerRuntime to InstrumentationRuntimeASan to be
consistent with the directory structure and plugin name.
The file was removedlldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp
The file was removedlldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.h
The file was addedlldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/ASan/CMakeLists.txt
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was addedlldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit 7745990dd93267d73e08ac5d9e5104645791a70e by Jonas Devlieghere
[lldb/Plugin] Rename TSanRuntime for consistency with plugin (NFC)
Renames TSanRuntime to InstrumentationRuntimeTSan to be consistent with
the directory structure and plugin name.
The file was removedlldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
The file was addedlldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.h
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/TSan/CMakeLists.txt
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was removedlldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.h
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was addedlldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
Commit 623c3c4cf96ba30ac3d653d8acf35a5c57c34bcd by Jonas Devlieghere
[lldb/Plugin] Rename UBSanRuntime for consistency with plugin (NFC)
Renames UBSanRuntime to InstrumentationRuntimeUBSan to be consistent
with the directory structure and plugin name.
The file was addedlldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.h
The file was addedlldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
The file was removedlldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/CMakeLists.txt
The file was removedlldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit fc1e8551124187c6128612ab656e2ca0220c9b10 by Jonas Devlieghere
[lldb/Plugin] Rename MainThreadCheckerRuntime for consistency with
plugin (NFC)
Renames MainThreadCheckerRuntime to
InstrumentationRuntimeMainThreadChecker to be consistent with the
directory structure and plugin name.
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/CMakeLists.txt
The file was removedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was removedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
The file was addedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
The file was addedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.h
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit be9604247e33146b53f270fd35c4a7c4a44fda53 by Jonas Devlieghere
[lldb/Plugin] Move DisassemblerLLVMC for consistency with plugin (NFC)
Rename the DisassemblerLLVMC directory from llvm to LLVMC to match the
plugin name.
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
The file was removedlldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h
The file was addedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h
The file was modifiedlldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp
The file was modifiedlldb/source/Plugins/Disassembler/CMakeLists.txt
The file was removedlldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
The file was addedlldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
The file was addedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
The file was modifiedlldb/unittests/Disassembler/TestArmv7Disassembly.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/unittests/Disassembler/TestArm64Disassembly.cpp
The file was removedlldb/source/Plugins/Disassembler/llvm/CMakeLists.txt
Commit e1d6d368529322edc658c893c01eaadaf8053ea6 by andrei.elovikov
[SLP] Don't allow Div/Rem as alternate opcodes
Summary: We don't have control/verify what will be the RHS of the
division, so it might happen to be zero, causing UB.
Reviewers: Vasilis, RKSimon, ABataev
Reviewed By: ABataev
Subscribers: vporpo, ABataev, hiraditya, llvm-commits, vdmitrie
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72740
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/no_alternate_divrem.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit fa001767f0856118e8e7c8f12c31ef7c3afe2b4e by Adrian Prantl
Fix typos
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
The file was modifiedlldb/docs/use/symbols.rst
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Commit 6e73fee780839bfa95aff492864e93e79910380b by richard
List implicit operator== after implicit destructors in a vtable.
Summary: We previously listed first declared members, then implicit
operator=, then implicit operator==, then implicit destructors. Per
discussion on https://github.com/itanium-cxx-abi/cxx-abi/issues/88, put
the implicit equality comparison operators at the very end, after all
special member functions.
This reinstates add2b7e44ada46f30715b5c48823a9e9e317e0c3, reverted in
commit 89e43f04ba87a0da6e94863db149669c7536486b, with a fix for 32-bit
targets.
Reviewers: rjmccall
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72897
The file was modifiedclang/lib/AST/VTableBuilder.cpp
The file was addedclang/test/CodeGenCXX/virtual-compare.cpp
Commit e03ead6771fc97b11cb0c94b7f023142184ad25f by saar
[Concepts] Placeholder constraints and abbreviated templates
This patch implements P1141R2 "Yet another approach for constrained
declarations".
General strategy for this patch was:
- Expand AutoType to include optional type-constraint, reflecting the
wording and easing the integration of constraints.
- Replace autos in parameter type specifiers with invented parameters in
GetTypeSpecTypeForDeclarator, using the same logic
previously used for generic lambdas, now unified with abbreviated
templates, by:
- Tracking the template parameter lists in the Declarator object
- Tracking the template parameter depth before parsing function
declarators (at which point we can match template
   parameters against scope specifiers to know if we have an explicit
template parameter list to append invented parameters
   to or not).
- When encountering an AutoType in a parameter context we check a stack
of InventedTemplateParameterInfo structures that
contain the info required to create and accumulate invented template
parameters (fields that were already present in
LambdaScopeInfo, which now inherits from this class and is looked up
when an auto is encountered in a lambda context).
Differential Revision: https://reviews.llvm.org/D65042
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/include/clang/Sema/ScopeInfo.h
The file was modifiedclang/include/clang/AST/PropertiesBase.td
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.closure/p3.cpp
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was addedclang/test/CXX/dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/test/SemaTemplate/ms-delayed-default-template-args.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/include/clang/AST/TemplateBase.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/include/clang/Sema/Scope.h
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/AST/TypeProperties.td
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/test/SemaCXX/cxx1y-generic-lambdas.cpp
The file was modifiedclang/lib/AST/TemplateBase.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/AST/ODRHash.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/test/CXX/temp/temp.param/p10-2a.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was addedclang/test/Parser/cxx2a-placeholder-type-constraint.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was addedclang/test/CXX/dcl/dcl.fct/p17.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Parse/Parser.cpp
Commit 89e19e8eddd6dd0dc38d595b6784fb9ce65d9972 by ntv
[mlir][Linalg] Add tensor support to Linalg EDSC Builders
Summary: This diff extends the Linalg EDSC builders so we can easily
create mixed tensor/buffer linalg.generic ops. This is expected to be
useful for HLO -> Linalg lowering.
The `StructuredIndexed` struct is made to derive from `ValueHandle` and
can now capture a type + indexing expressions. This is used to represent
return tensors.
Pointwise unary and binary builders are extended to allow both output
buffers and return tensors. This has implications on the number of
region arguments.
Reviewers: ftynse, herhut, hanchung, asaadaldien, stellaraccident
Reviewed By: asaadaldien
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik,
liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72863
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
Commit c0a26a35ee2426d76cf113c8119438f6c4d996ce by ntv
Revert "[mlir][Linalg] Add tensor support to Linalg EDSC Builders"
This reverts commit 89e19e8eddd6dd0dc38d595b6784fb9ce65d9972.
This committed a stale version of the diff
https://reviews.llvm.org/D72863 .. I apologize, reverting.
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
Commit 5fdad8e3f803adce501ca25118f325184e54018d by saar
[clang-tidy] Fix check for generic lambda invented template parameters
clang-tidy previously relied on there being no identifier for a
TemplateTypeParmDecl for checking whether 'decltype(x)' should be
inserted, instead of checking whether or not it is implicit.
D65042 added new names for invented generic lambda template parameters,
rendering that check incorrect.
The file was modifiedclang-tools-extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp
Commit 67a87753225e7f5ad5b1fd151d6d2dde3d09ff09 by Amara Emerson
[AArch64] Don't generate gpr CSEL instructions in early-ifcvt if
regclasses aren't compatible.
In GlobalISel we may in some unfortunate circumstances generate PHIs
with operands that are on separate banks. If-conversion doesn't
currently check for that case and ends up generating a CSEL on AArch64
with incorrect register operands.
Differential Revision: https://reviews.llvm.org/D72961
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/EarlyIfConversion.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/early-ifcvt-regclass-mismatch.mir
Commit a156da5fb361fd38ba379ec20856626c9e35f829 by Vedant Kumar
[clang/Darwin] Remove __llvm_profile_counter_bias from export list for
profiling
Do not export __llvm_profile_counter_bias when profiling is enabled
because this symbol is hidden and cannot be exported.
Should fix this bot error:
``` URL:
http://green.lab.llvm.org/green/job/clang-stage1-RA/5678/consoleFull
Problem: Command Output (stdout):
-- ld: warning: cannot export hidden symbol ___llvm_profile_counter_bias
from
/Users/buildslave/jenkins/workspace/clang-stage1-RA/clang-build/lib/clang/11.0.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingBiasVar.c.o)
ld: warning: cannot export hidden symbol ___llvm_profile_counter_bias
from
/Users/buildslave/jenkins/workspace/clang-stage1-RA/clang-build/lib/clang/11.0.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingBiasVar.c.o)
```
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit b933d37cd3774e5431b35e82187eebb59b1ff59e by saar
[Concepts] Constraint Satisfaction Caching
Add a simple cache for constraint satisfaction results. Whether or not
this simple caching would be permitted in final C++2a is currently being
discussed but it is required for acceptable performance so we use it in
the meantime, with the possibility of adding some cache invalidation
mechanisms later.
Differential Revision: https://reviews.llvm.org/D72552
The file was addedclang/test/SemaTemplate/cxx2a-constraint-caching.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/AST/ASTConcept.h
The file was modifiedclang/lib/AST/ASTConcept.cpp
The file was modifiedclang/include/clang/Sema/TemplateDeduction.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaConcept.cpp
Commit 8ae404a2f6ba553368498870c2b3e39484a6312d by Louis Dionne
[libc++] Make sure std::is_scalar returns true for block types
Summary: The compiler already treats them as scalar types, so the
library should too. Furthermore, this allows blocks to be used in more
places, for example in std::optional, which requires an object type.
rdar://problem/57892832
Reviewers: dexonsmith, EricWF, mclow.lists Differential Revision:
https://reviews.llvm.org/D72708
The file was addedlibcxx/test/libcxx/utilities/optional/block.objc.pass.mm
The file was modifiedlibcxx/include/type_traits
The file was addedlibcxx/test/libcxx/type_traits/is_scalar.objc.pass.mm
The file was modifiedlibcxx/include/__config