FailedChanges

Summary

  1. gn build: (manually) merge eb3e81f43 (details)
  2. [AArch64] Fix issues with large arrays on stack (details)
  3. [LLDB] [PECOFF] Make sure to set the address byte size in m_data after (details)
  4. [lldb][NFC] Make g_TotalSizeOfMetadata in (details)
  5. [lldb] Centralize type "desugaring" logic in ClangASTContext (details)
  6. [TypePromotion] Query target register width (details)
  7. add test for previous commit (details)
  8. [lldb] Actually enable wchar support in Editline when it is defined in (details)
  9. Reapply: [DebugInfo] Recover debug intrinsics when killing (details)
  10. [DWARF][RISCV] Test resolving of RISC-V relocations (details)
  11. [Alignment][NFC] CreateMemSet use MaybeAlign (details)
  12. [Docs] Improve SLP code snippet (details)
  13. [InstCombine] replace shuffle's insertelement operand if inserted scalar (details)
  14. [scudo][standalone] Define hasHardwareCRC32 for other archs (details)
  15. [test][llvm-cxxfilt] Improve comment for clarity (details)
  16. [DebugInfo] Support to emit debugInfo for extern variables (details)
  17. [BUG-FIX][XCOFF] fixed a bug of XCOFFObjectFile.cpp when there is (details)
  18. [ARM][MVE] Refactor complex vector intrinsics [NFCI] (details)
  19. [VectorUtils] Introduce the Vector Function Database (VFDatabase). (details)
  20. [RISCV] Improve assembler missing feature warnings (details)
  21. [analyzer] Keep track of escaped locals (details)
  22. [ELF] Refine section group --gc-sections rules to not discard (details)
  23. [ELF] --icf: do not fold preemptible symbols (details)
  24. [OPENMP50]Add if clause in target parallel for simd directive. (details)
  25. [VectorUtils] Fix -Wunused-private-field after D67572 (details)
  26. [profile] Add explanatory comments to instrprof-darwin-exports.c, NFC (details)
  27. [OPENMP]Remove extra space from error message. (details)
  28. [FPEnv] clang support for constrained FP builtins (details)
  29. Revert 30e8f80fd5a4 "[DebugInfo] Don't create multiple DBG_VALUEs when (details)
  30. Replace redundant code in FormatManager and FormatCache with templates (details)
  31. Fix bug 44190 - wrong code with #pragma pack(1) (details)
  32. [lldb/Reproducers] Support multiple GDB remotes (details)
  33. [lldb/Host] Use Host/Config.h entries instead of a global define. (details)
  34. Fix a -Wsign-compare error around wchar_t vs unsigned int. (details)
  35. Fix -Wincomplete-umbrella warning in the modules build (details)
  36. Assert launch success in run_to_breakpoint_do_run (details)
  37. [BPF] put not-section-attribute externs into BTF ".extern" data section (details)
  38. [DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is specified. (details)
  39. [cxx_status] Add missed Belfast paper affecting three-way comparisons. (details)
  40. Add missed #include in llvmorg-10-init-11532-g848934c67d4. (details)
  41. Revert "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is (details)
  42. Recommit "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is (details)
  43. scudo: Move getChunkFromBlock() allocated check into caller. NFCI. (details)
  44. scudo: Tweak how we align UserPtr. NFCI. (details)
  45. [Wdocumentation] Use the command marker. (details)
  46. [Wdocumentation] Properly place deprecated attribute (details)
  47. [Wdocumentation] Use C2x/C++14 deprecated attribute (details)
  48. [clangd] Fix an incorrect expectedResult usage in rename test. (details)
  49. Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple (details)
  50. [OPENMP50]Add if clause in target simd directive. (details)
  51. [lldb] Add #include to appease the modules build (details)
  52. Deprecate the hasDefaultArgument matcher (details)
  53. [DebugInfo] Refactored macro related generation, added a test case for (details)
  54. [cxx_status] Fix table layout. (details)
  55. [c++20] Return type deduction for defaulted three-way comparisons. (details)
  56. [Remarks][Docs] Enhance documentation for opt-remarks driver options (details)
  57. [OPENMP50]Do not mark the function as used if referenced only in declare (details)
  58. [libcxx] [test] Query the target platform, not the host one (details)
  59. Debug Info: Strengthen the synthesized-property-cleanup.mm test, NFC (details)
  60. [FormatManager] Add a unittest for GetCandidateLanguages() (details)
  61. [DWARF] Allow cross-CU references of subprogram definitions (details)
  62. DebugInfo: Clarify some more reasons v4 loc.dwo can't share much (details)
  63. [InstSimplify] add tests for insert constant + splat; NFC (details)
  64. [IR] allow undefined elements when checking for splat constants (details)
  65. Skip TestMultilineCompletion.py on ios testsuite runs. (details)
  66. [TypeCategory] IsApplicable gets a LanguageType, not a ValueObject. (details)
  67. Remove debugging printf and reformat code. (details)
  68. Revert "Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support (details)
  69. [X86] Go back to considering v64i1 as a legal type under (details)
  70. Skip TestGuiBasic.py on ios etc device testing. (details)
  71. [DataFormatters] Change the Get() method to take a LanguageType. (details)
  72. [libcxx] Replace func_name with __name__ for compatibility with Python 3 (details)
  73. Do not cache hardcoded formats in FormatManager (details)
  74. [FormatManager] Move Language lookup into the obviously non-cached part (details)
  75. Revert "Reapply: [DebugInfo] Recover debug intrinsics when killing (details)
  76. Replace redundant code in LanguageCategory with templates (NFC) (details)
  77. Remove unsound caching in LanguageCategory (details)
  78. [libc++] Hide some functions and types in <future> and <thread> as (details)
  79. [FPEnv][X86] Constrained FCmp intrinsics enabling on X86 (details)
  80. Revert "[analyzer] Keep track of escaped locals" (details)
  81. NFC: Get rid of an unused parameter to CGObjCMac::EmitSelectorAddr. (details)
  82. [llvm][MIRVRegNamerUtil] Adding hashing against MachineInstr flags. (details)
  83. [c++20] Implement P1185R2 (as modified by P2002R0). (details)
  84. Reland "Enable `-funwind-tables` flag when building libunwind" (details)
  85. [X86] Split v64i1 arguments into 2 v32i1s that will be promoted to v32i8 (details)
  86. [llvm-ar] Improve tool selection heuristic (details)
  87. Fix mishandling of invalid-but-non-empty nested name specifiers in name (details)
  88. Revert "[DebugInfo] Refactored macro related generation, added a test (details)
  89. Change the mtc Makefile to check $SDKROOT value instead of depending on (details)
  90. [c++20] Delete defaulted comparison functions if they would invoke an (details)
  91. [c++20] Implement P1946R0: allow defaulted comparisons to take their (details)
  92. [cxx_status] Re-add missing cell. (details)
  93. [SanitizerCommon] Reduce wasting memory in LowLevelAllocator. (details)
  94. [ELF] Move a computeIsPreemptible() pass into ICF. NFC (details)
  95. [LegalizeTypes] Remove manual worklist management from (details)
  96. [PowerPC] Exploitate the Vector Integer Average Instructions (details)
  97. [llvm-readobj] Fix/improve printing WinEH unwind info for linked PE (details)
  98. [Alignment][NFC] Introduce Align in SROA (details)
  99. [CodeComplete] Fix a crash in preferred type and signature help (details)
  100. [DWARF5][SplitDwarf] Set default state for -fsplit-dwarf-inlining to be (details)
  101. [llvm-readelf] - Do no print an empty symbol version as "<corrupt>" (details)
  102. [LiveRegUnits] Add phys_regs_and_masks iterator range (NFC). (details)
  103. [PowerPC] [CodeGen] Use MachineBranchProbabilityInfo in (details)
  104. [AArch64][SVE] Move TableGen class definitions for gather loads (NFC) (details)
  105. [clangd] Deduplicate refs from index for cross-file rename. (details)
  106. [MCRegInfo] Add sub_and_superregs_inclusive iterator range. (details)
  107. [NFC][PowerPC] Remove the dead conditions in the if(cond) (details)
  108. [ARM][TypePromotion] Enable by default (details)
  109. [NFC] Correct the example in the comments of JSON.h to avoid mislead (details)
  110. [lldb/DWARF] Add support for DW_AT_loclists_base&DW_FORM_loclistx (details)
  111. [ARM][MVE] Add intrinsics for immediate shifts. (reland) (details)
Commit b2508ce85c1e39cd32e8bb1071297d5840a32541 by thakis
gn build: (manually) merge eb3e81f43
The file was addedllvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Parse/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
Commit 965ed1e974e80e0b96ac3921e8a915e8e46baa5c by kiran.chandramohan
[AArch64] Fix issues with large arrays on stack
Summary: This patch fixes a few issues when large arrays are allocated
on the stack. Currently, clang has inconsistent behaviour, for debug
builds there is an assertion failure when the array size on stack is
around 2GB but there is no assertion when the stack is around 8GB. For
release builds there is no assertion, the compilation succeeds but
generates incorrect code. The incorrect code generated is due to using
int/unsigned int instead of their 64-bit counterparts. This patch, 1)
Removes the assertion in frame legality check. 2) Converts int/unsigned
int in some places to the 64-bit variants. This helps in generating
correct code and removes the inconsistent behaviour. 3) Adds a test
which runs without optimisations.
Reviewers: sdesmalen, efriedma, fhahn, aemerson
Reviewed By: efriedma
Subscribers: eli.friedman, fpetrogalli, kristof.beyls, hiraditya,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70496
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/lib/CodeGen/MachineFrameInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was addedllvm/test/CodeGen/AArch64/large-stack.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
Commit a0f72441c8980c0d68c52f4e789a8c61dc4fd2e7 by martin
[LLDB] [PECOFF] Make sure to set the address byte size in m_data after
parsing headers
If not set, the address byte size was implied to be the one of the host
process.
This allows reverting the functional change from 31087b2ae9154, since
now PECOFF does the same as ELF and MachO wrt setting both byte order
and address size on m_data within ParseHeader.
Differential Revision: https://reviews.llvm.org/D71108
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
Commit e9895c612a5a331660020172affa927664e138ad by Raphael Isemann
[lldb][NFC] Make g_TotalSizeOfMetadata in
ClangExternalASTSourceCommon.cpp static
Clang was warning that this global should be static (which makes sense).
The file was modifiedlldb/source/Symbol/ClangExternalASTSourceCommon.cpp
Commit f482708149138088f74f6b01668208a8c037563c by pavel
[lldb] Centralize type "desugaring" logic in ClangASTContext
Summary: A *lot* of ClangASTContext functions contained repetitive code
for
"desugaring" certain kinds of clang types. This patch creates a utility
function for performing this task.
Right now it handles four types (auto, elaborated, paren and typedef),
as these are the types that were handled everywhere. There are probably
other kinds of types that could/should be added here too (TypeOf,
decltype, ...), but I'm leaving that for a separate patch as doing that
would not be NFC (though I'm pretty sure that adding them will not hurt,
and it may in fact fix some bugs).
In another patch I'd like to add "atomic" type to this list to properly
display atomic structs.
Since sometimes one may want to handle a certain kind of type specially
(right now we have code which does that with typedefs), the Desugar
function takes a "mask" argument, which can supress desugaring of
certain kinds of types.
Reviewers: teemperor, shafik
Subscribers: jfb, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71212
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 933de40729128be04f1dc24ce12be128ad2eb70c by sam.parker
[TypePromotion] Query target register width
TargetLoweringInfo may report that an integer should be promoted, but it
maybe provide a size that isn't natively supported by the target
register file... So check this before trying to perform a promotion.
This is to fix some chromium issues:
https://bugs.chromium.org/p/chromium/issues/detail?id=1031978
https://bugs.chromium.org/p/chromium/issues/detail?id=1031979
Differential Revision: https://reviews.llvm.org/D71200
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
Commit 06b0228e8036edb3239f4df7c4f2eb6533af5520 by sam.parker
add test for previous commit
The file was addedllvm/test/Transforms/TypePromotion/ARM/large-int.ll
Commit 14f3d13412cb2eac87f1c0ae74ed2af7ace1580f by Raphael Isemann
[lldb] Actually enable wchar support in Editline when it is defined in
the host config
Summary: Our Editline implementation in LLDB supports using the wchar
interface of Editline which should improve handling of unicode input
when using Editline. At the moment we essentially just ignore unicode
input and echo the escaped unicode code point (`\U1234`) to the command
line
(which we then also incorrectly treat as multiple characters, so console
navigation is also broken afterwards).
This patch just adds the include to the host config file which already
contains the LLDB_EDITLINE_USE_WCHAR define to enable the Editline
support (we just never included it in the file before). With this we now
actually echo back unicode characters on macOS and we no longer ignore
unicode input. On Linux this doesn't seem to improve the echoing back of
characters but at least it fixes that we ignore unicode input.
Reviewers: labath
Reviewed By: labath
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71251
The file was modifiedlldb/include/lldb/Host/Editline.h
The file was addedlldb/packages/Python/lldbsuite/test/iohandler/unicode/TestUnicode.py
Commit f2ba93971ccc236c0eef5323704d31f48107e04f by stozer
Reapply: [DebugInfo] Recover debug intrinsics when killing
duplicated/empty...
basic blocks
Originally applied in 72ce759928e6dfee6a9efa310b966c19722352ba.
Fixed a build failure caused by incorrect use of cast instead of
dyn_cast.
This reverts commit 8b0780f795eb58fca0a2456e308adaaa1a0b5013.
The file was addedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-empty.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was addedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-else.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 707e9707814bfbb0297be4ab1bd4f976aa44ed37 by luismarques
[DWARF][RISCV] Test resolving of RISC-V relocations
Summary: This patch adds an object file (in yaml format) with a
synthetic
.debug_info section which we use to test that the supported RISC-V
relocations are properly resolved.
Reviewers: asb, lenary, MaskRay Reviewed By: MaskRay Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70541
The file was addedllvm/test/tools/llvm-dwarfdump/RISCV/riscv-relocs.yaml
The file was addedllvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg
Commit 1b2842bf902a8b52acbef2425120533b63be5ae3 by gchatelet
[Alignment][NFC] CreateMemSet use MaybeAlign
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: arsenm, jvesely, nhaehnle, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D71213
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedclang/lib/CodeGen/CGBuilder.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Commit a0c558ee4cc0f8cd1d30edac5f4fbdedb18eff21 by spatel
[Docs] Improve SLP code snippet
New C code snippet is more viable for SLP vectorization in most
architectures.
Patch by: @lsandov1 (Leonardo Sandoval)
Differential Revision: https://reviews.llvm.org/D70866
The file was modifiedllvm/docs/Vectorizers.rst
Commit 396d18aeb6cb4409ed71ff4c331748ce1c530f33 by spatel
[InstCombine] replace shuffle's insertelement operand if inserted scalar
is not demanded
This pattern is noted as a regression from: D70246
...where we removed an over-aggressive shuffle simplification.
SimplifyDemandedVectorElts fails to catch this case when the insert has
multiple uses, so I'm proposing to pattern match the minimal sequence
directly. This fold does not conflict with any of our current shuffle
undef/poison semantics.
Differential Revision: https://reviews.llvm.org/D71220
The file was modifiedllvm/test/Transforms/InstCombine/insert-extract-shuffle.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit b36b16372d5f3aa0d1390eeaefd3600595b22e6d by kostyak
[scudo][standalone] Define hasHardwareCRC32 for other archs
Summary: The function was only defined for x86 and arm families, which
ends up being an issue for PPC in g3.
Define the function, simply returning `false` for "other" architectures.
Reviewers: hctim, pcc, cferris, eugenis, vitalybuka
Subscribers: kristof.beyls, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D71223
The file was modifiedcompiler-rt/lib/scudo/standalone/checksum.cpp
Commit 9614a7c939152909eac40bc1ee8e39c98fd0f483 by jh7370
[test][llvm-cxxfilt] Improve comment for clarity
Differential Revision: https://reviews.llvm.org/D71202
The file was modifiedllvm/test/tools/llvm-cxxfilt/simple.test
Commit d77ae1552fc21a9f3877f3ed7e13d631f517c825 by yhs
[DebugInfo] Support to emit debugInfo for extern variables
Extern variable usage in BPF is different from traditional pure user
space application. Recent discussion in linux bpf mailing list has two
use cases where debug info types are required to use extern variables:
- extern types are required to have a suitable interface
   in libbpf (bpf loader) to provide kernel config parameters
   to bpf programs.
 
https://lore.kernel.org/bpf/CAEf4BzYCNo5GeVGMhp3fhysQ=_axAf=23PtwaZs-yAyafmXC9g@mail.gmail.com/T/#t
- extern types are required so kernel bpf verifier can
   verify program which uses external functions more precisely.
   This will make later link with actual external function no
   need to reverify.
 
https://lore.kernel.org/bpf/87eez4odqp.fsf@toke.dk/T/#m8d5c3e87ffe7f2764e02d722cb0d8cbc136880ed
This patch added clang support to emit debuginfo for extern variables
with a TargetInfo hook to enable it. The debuginfo for the extern
variable is emitted only if that extern variable is referenced in the
current compilation unit.
Currently, only BPF target enables to generate debug info for extern
variables. The emission of such debuginfo is disabled for C++
at this moment since BPF only supports a subset of C language. Emission
with C++ can be enabled later if an appropriate use case is identified.
-fstandalone-debug permits us to see more debuginfo with the cost of
bloated binary size. This patch did not add emission of extern variable
debug info with -fstandalone-debug. This can be re-evaluated if there is
a real need.
Differential Revision: https://reviews.llvm.org/D70696
The file was addedclang/test/CodeGen/debug-info-extern-duplicate.c
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/CodeGen/debug-info-extern-basic.c
The file was modifiedclang/include/clang/AST/ASTConsumer.h
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was addedclang/test/CodeGen/debug-info-extern-multi.c
The file was addedclang/test/CodeGen/debug-info-extern-unused.c
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was modifiedclang/lib/CodeGen/ModuleBuilder.cpp
The file was modifiedclang/lib/Basic/Targets/BPF.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CloningTest.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was modifiedllvm/include/llvm/IR/DIBuilder.h
Commit 98f5f022f0cb5ac6605385966ced38e1e2851f6b by diggerlin
[BUG-FIX][XCOFF] fixed a bug of XCOFFObjectFile.cpp when there is
padding at the last csect of a sections
SUMMARY:
Fixed a bug of XCOFFObjectFile.cpp when there is padding at the last
csect of a sections. when there is a tail padding of a section, but the
value of CurrentAddressLocation do not be increased by the padding size.
it will hit assert assert(CurrentAddressLocation == Section->Address &&
"We should have no padding between sections.");
Reviewers: daltenty,hubert.reinterpretcast,
Differential Revision: https://reviews.llvm.org/D70859
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit e6d3261c67ecade5d959ee3094eb2bd1cd7ec447 by mikhail.maltsev
[ARM][MVE] Refactor complex vector intrinsics [NFCI]
Summary: This patch refactors instruction selection of the complex
vector addition, multiplication and multiply-add intrinsics, so that it
is now based on TableGen patterns rather than C++ code.
It also changes the first parameter (halving vs non-halving) of the
arm_mve_vcaddq IR intrinsic to match the corresponding instruction
encoding, hence it requires some changes in the tests.
The patch addresses David's comment in https://reviews.llvm.org/D71190
Reviewers: dmgreen, ostannard, simon_tatham, MarkMurrayARM
Reviewed By: dmgreen
Subscribers: merge_guards_bot, kristof.beyls, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D71245
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vcaddq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vcaddq.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vhcaddq.c
Commit 0be81968a283fd4161cb9ac9748d5ed200926292 by francesco.petrogalli
[VectorUtils] Introduce the Vector Function Database (VFDatabase).
This patch introduced the VFDatabase, the framework proposed in
http://lists.llvm.org/pipermail/llvm-dev/2019-June/133484.html. [*]
In this patch the VFDatabase is used to bridge the TargetLibraryInfo
(TLI) calls that were previously used to query for the availability of
vector counterparts of scalar functions.
The VFISAKind field `ISA` of VFShape have been moved into into VFInfo,
under the assumption that different vector ISAs may provide the same
vector signature. At the moment, the vectorizer accepts any of the
available ISAs as long as the signature provided by the VFDatabase
matches the one expected in the vectorization process. For example, when
targeting AVX or AVX2, which both have 256-bit registers, the IR
signature of the two vector functions associated to the two ISAs is the
same. The `getVectorizedFunction` method at the moment returns the first
available match. We will need to add more heuristics to the search
system to decide which of the available version (TLI, AVX, AVX2, ...)
the system should prefer, when multiple versions with the same VFShape
are present.
Some of the code in this patch is based on the work done by Sumedh Arani
in https://reviews.llvm.org/D66025.
[*] Notice that in the proposal the VFDatabase was called SVFS. The name
VFDatabase is more in line with LLVM recommendations for naming classes
and variables.
Differential Revision: https://reviews.llvm.org/D67572
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Transforms/Utils/ModuleUtils.cpp
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Commit a6e50e40e6ddaaefff944dc97379b51af7687cae by simon.cook
[RISCV] Improve assembler missing feature warnings
This adds support for printing improved missing feature error messages
from the assembler, which now indicates which feature caused the parse
to fail.
Differential Revision: https://reviews.llvm.org/D69899
The file was modifiedllvm/test/MC/RISCV/rv64i-aliases-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64c-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32m-invalid.s
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was modifiedllvm/test/MC/RISCV/rv64f-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32i-invalid.s
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/test/MC/RISCV/rv32c-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64d-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32f-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32fc-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32c-only-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32i-aliases-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64a-valid.s
Commit f3a28202ef58551db15818f8f51afd21e0f3e231 by xazax
[analyzer] Keep track of escaped locals
We want to escape all symbols that are stored into escaped regions. The
problem is, we did not know which local regions were escaped. Until now.
This should fix some false positives like the one in the tests.
Differential Revision: https://reviews.llvm.org/D71152
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
The file was modifiedclang/test/Analysis/symbol-escape.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ProgramState.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
Commit 60ce444eaa146bc2f762c70d433d4a0c847508f0 by maskray
[ELF] Refine section group --gc-sections rules to not discard
.debug_types
clang/gcc -fdebug-type-sections places .debug_types and
.rela.debug_types in a section group, with a signature symbol which
represents the type signature. The section group is for deduplication
purposes.
After D70146, we will discard such section groups. Refine the rule so
that we will retain the group if no member has the SHF_ALLOC flag.
GNU ld has a similar rule to retain the group if all members have the
SEC_DEBUGGING flag. We try to be more general for future-proof purposes:
if other non-SHF_ALLOC sections have deduplication needs, they may be
placed in a section group. Don't discard them.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D71157
The file was modifiedlld/ELF/InputFiles.cpp
The file was addedlld/test/ELF/gc-sections-group-debug.s
The file was modifiedlld/test/ELF/gc-sections-group.s
Commit cd0ab2428ffedae88457c6286b2c2201e2d1cd1c by maskray
[ELF] --icf: do not fold preemptible symbols
Fixes PR44124.
A preemptible symbol may refer to a different definition at runtime.
When comparing a pair of relocations, if they refer to different
symbols, and either symbol is preemptible, the two containing sections
should be considered different.
gold has a similar rule
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=ce97fa81e0c46d216b80b143ad8c02fff6906fef
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D71163
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/Symbols.cpp
The file was addedlld/test/ELF/icf-preemptible.s
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/Symbols.h
Commit da17a53173e0452c0a8a64a83f61a9d4af96eaa8 by a.bataev
[OPENMP50]Add if clause in target parallel for simd directive.
According to OpenMP 5.0, if clause can be used in for simd directive. If
condition in the if clause is false, the non-vectorized version of the
loop must be executed.
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_ast_print.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_if_messages.cpp
Commit 83b79f8a186fbf369c400ee1bab94ec9377aff57 by maskray
[VectorUtils] Fix -Wunused-private-field after D67572
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 8c7d5c8b2bcc4dc63a8cb52dddcb6bfeb7a99b23 by Vedant Kumar
[profile] Add explanatory comments to instrprof-darwin-exports.c, NFC
The file was modifiedcompiler-rt/test/profile/instrprof-darwin-exports.c
Commit d62a15116b68c1d1ce7e4f3d6a9cd891670b03c5 by a.bataev
[OPENMP]Remove extra space from error message.
Fixed emission of 2 consecutive whitespaces in the error message.
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_messages.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/OpenMP/target_parallel_for_if_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_if_messages.cpp
Commit 6515c524b0ae50dd5bb052558afa8c81d3a75780 by kevin.neal
[FPEnv] clang support for constrained FP builtins
Change the IRBuilder and clang so that constrained FP intrinsics will be
emitted for builtins when appropriate. Only non-target-specific builtins
are affected in this patch.
Differential Revision: https://reviews.llvm.org/D70256
The file was addedclang/test/CodeGen/constrained-math-builtins.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit 49da20ddb4319f3f469499e341a1bc3101adcdcf by hans
Revert 30e8f80fd5a4 "[DebugInfo] Don't create multiple DBG_VALUEs when
sinking"
This caused non-determinism in the compiler, see command on the
Phabricator code review.
> This patch addresses a performance problem reported in PR43855, and
> present in the reapplication in in 001574938e5. It turns out that
> MachineSink will (often) move instructions to the first block that
> post-dominates the current block, and then try to sink further. This
> means if we have a lot of conditionals, we can needlessly create large
> numbers of DBG_VALUEs, one in each block the sunk instruction passes
> through.
>
> To fix this, rather than immediately sinking DBG_VALUEs, record them
in
> a pass structure. When sinking is complete and instructions won't be
> sunk any further, new DBG_VALUEs are added, avoiding lots of
> intermediate DBG_VALUE $noregs being created.
>
> Differential revision: https://reviews.llvm.org/D70676
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/machinesink.mir
Commit 7034794b314d9de808de004d22b47f18d134757d by Adrian Prantl
Replace redundant code in FormatManager and FormatCache with templates
(NFC)
This is a preparatory patch for an upcoming bugfix.
FormatManager and friends have four identical implementations of many
accessor functions to deal with the four types of shared pointers in the
FormatCache. This patch replaces these implementations with templates.
While this patch drastically reduces the amount of source code and its
maintainablity, it doesn't actually improve code size. I'd argue, this
is still an improvement.
rdar://problem/57756763
Differential Revision: https://reviews.llvm.org/D71231
The file was modifiedlldb/include/lldb/DataFormatters/FormatManager.h
The file was modifiedlldb/source/DataFormatters/TypeCategoryMap.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeCategoryMap.h
The file was modifiedlldb/source/DataFormatters/FormatCache.cpp
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
The file was modifiedlldb/include/lldb/DataFormatters/FormatCache.h
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
Commit 21b43885b81a6180e7231e575b5433202582f2fb by Yaxun.Liu
Fix bug 44190 - wrong code with #pragma pack(1)
https://github.com/llvm/llvm-project/commit/5b330e8d6122c336d81dfd11c864e6c6240a381e
caused a regression on s390:
https://bugs.llvm.org/show_bug.cgi?id=44190
we need to copy if if either the argument is non-byval or the argument
is underaligned.
Differential Revision: https://reviews.llvm.org/D71282
The file was addedclang/test/CodeGen/s390x-packed-struct-func-arg.c
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit e81268d03e73aef4f9c7bd8ece8ad02f5b017dcf by Jonas Devlieghere
[lldb/Reproducers] Support multiple GDB remotes
When running the test suite with always capture on, a handful of tests
are failing because they have multiple targets and therefore multiple
GDB remote connections. The current reproducer infrastructure is capable
of dealing with that.
This patch reworks the GDB remote provider to support multiple GDB
remote connections, similar to how the reproducers support shadowing
multiple command interpreter inputs. The provider now keeps a list of
packet recorders which deal with a single GDB remote connection. During
replay we rely on the order of creation to match the number of packets
to the GDB remote connection.
Differential revision: https://reviews.llvm.org/D71105
The file was addedlldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/include/lldb/Utility/GDBRemote.h
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was addedlldb/test/Shell/Reproducer/TestMultipleTargets.test
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
Commit 59998b7b7f12c867062a4b61579511ad6c0ca144 by Jonas Devlieghere
[lldb/Host] Use Host/Config.h entries instead of a global define.
As suggested by Pavel in a code review:
> Can we replace this (and maybe python too, while at it) with a
> Host/Config.h entry? A global definition means that one has to
> recompile everything when these change in any way, whereas in
> practice only a handful of files need this..
Differential revision: https://reviews.llvm.org/D71280
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/unittests/Editline/EditlineTest.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was modifiedlldb/source/API/SBHostOS.cpp
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Interpreter/CommandObjectScript.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
Commit 53acf0663f80e1be99bae28769c6b658fff0e097 by echristo
Fix a -Wsign-compare error around wchar_t vs unsigned int.
The file was modifiedlldb/source/Host/common/Editline.cpp
Commit 8ddec9ad4664e01816d0e45353ac1d5ba8b07082 by Vedant Kumar
Fix -Wincomplete-umbrella warning in the modules build
[281/3666] Building CXX object
lib/IR/CMakeFiles/LLVMCore.dir/IntrinsicInst.cpp.o
/Users/vsk/src/llvm-project-master/llvm/lib/IR/IntrinsicInst.cpp:155:2:
warning: missing submodule 'LLVM_IR.ConstrainedOps'
[-Wincomplete-umbrella]
The file was modifiedllvm/include/llvm/module.modulemap
Commit d0789e6346e489cd84b37ec58964feb0db015de7 by Vedant Kumar
Assert launch success in run_to_breakpoint_do_run
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
Commit 7d0e8930ed08b5f938a317f13d8fc994dd8c551c by yhs
[BPF] put not-section-attribute externs into BTF ".extern" data section
Currently for extern variables with section attribute, those
BTF_KIND_VARs will not be placed in any DataSec. This is inconvenient as
any other generated BTF_KIND_VAR belongs to one DataSec. This patch put
these extern variables into
".extern" section so bpf loader can have a consistent processing
mechanism for all data sections and variables.
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-struct.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-func.ll
Commit 6ef01588f4d75ef43da4ed2a37ba7a8b8daab259 by SourabhSingh.Tomar
[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is specified.
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/test/DebugInfo/X86/string-offsets-table.ll
The file was modifiedclang/test/CodeGen/split-debug-output.c
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedclang/test/CodeGen/thinlto-split-dwarf.c
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
Commit 439cb88e26d64670ea577e32c179360eb0fbe1cb by richard
[cxx_status] Add missed Belfast paper affecting three-way comparisons.
The file was modifiedclang/www/cxx_status.html
Commit bbaaeb409904e375d8c44223b37a71502192c17c by richard
Add missed #include in llvmorg-10-init-11532-g848934c67d4.
The file was modifiedclang/include/clang/AST/UnresolvedSet.h
Commit d82b6ba21b32ddf00af886b9160feef88211773e by SourabhSingh.Tomar
Revert "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is
specified."
This reverts commit 6ef01588f4d75ef43da4ed2a37ba7a8b8daab259. Missing
Differetial revision.
The file was modifiedclang/test/CodeGen/thinlto-split-dwarf.c
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedclang/test/CodeGen/split-debug-output.c
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/test/DebugInfo/X86/string-offsets-table.ll
Commit fb4d8fe1a86232f4711c911e6feccce778e27afa by SourabhSingh.Tomar
Recommit "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is
specified."
Reviewers: dblaikie, aprantl, probinson
Tags: #debug-info #llvm
Differential Revision: https://reviews.llvm.org/D71185
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/string-offsets-table.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedclang/test/CodeGen/split-debug-output.c
The file was modifiedclang/test/CodeGen/thinlto-split-dwarf.c
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
Commit e966416ff15178bf982430085be9ae69e5a511fa by peter
scudo: Move getChunkFromBlock() allocated check into caller. NFCI.
With tag-on-free we will need to get the chunk of a deallocated block.
Change getChunkFromBlock() so that it doesn't check that the chunk is
allocated, and move the check into the caller, so that it can be reused
for this purpose.
Differential Revision: https://reviews.llvm.org/D71291
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
Commit 9fbfdd2bfe42a6d0a8e680c64a968e9cfc065fd3 by peter
scudo: Tweak how we align UserPtr. NFCI.
Instead of testing whether the pointer is aligned, just align it
unconditionally and compare it to the original pointer.
This moves the computation of UserPtr up to before we start preparing
the header, so that the memory tagging code will be able to read the
original header containing the bounds of the previous allocation before
it gets potentially clobbered by the pointer realignment code.
Differential Revision: https://reviews.llvm.org/D71292
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
Commit 85fff898bb3175693e12536a837c8ad0ec8b2cdd by koraq
[Wdocumentation] Use the command marker.
Use the proper marker for -Wdocumentation-deprecated-sync instead of
hard-coded the backslash.
Discovered while looking at https://bugs.llvm.org/show_bug.cgi?id=43753
Differential Revision: https://reviews.llvm.org/D71139
The file was modifiedclang/lib/AST/CommentSema.cpp
The file was modifiedclang/test/Sema/warn-documentation.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommentKinds.td
Commit b972f2d05e8b39dd84e586756e7078d79134e2fb by koraq
[Wdocumentation] Properly place deprecated attribute
It is now placed before the function:
- allows to replace __attribute__((deprecated)) with [[deprecated]].
- required for trailing returns.
Fixes bug: https://bugs.llvm.org/show_bug.cgi?id=43753
Differential Revision: https://reviews.llvm.org/D71140
The file was modifiedclang/test/Sema/warn-documentation-fixits.cpp
The file was modifiedclang/lib/AST/CommentSema.cpp
The file was modifiedclang/test/Sema/warn-documentation.cpp
Commit b6d386f6f996394ec24c5d0ebe84131c89237594 by koraq
[Wdocumentation] Use C2x/C++14 deprecated attribute
This replaces the non-standard __attribute__((deprecated)) with the
standard [[deprecated]] when compiling in C2x/C++14 mode.
Discovered while looking at https://bugs.llvm.org/show_bug.cgi?id=43753
Differential Revision: https://reviews.llvm.org/D71141
The file was modifiedclang/lib/AST/CommentSema.cpp
The file was modifiedclang/test/Sema/warn-documentation-fixits.cpp
The file was addedclang/test/Sema/warn-documentation-fixits.c
The file was modifiedclang/test/Sema/warn-documentation.cpp
Commit a2602bdd7316e3e41366f946a83a5a654b909957 by hokein.wu
[clangd] Fix an incorrect expectedResult usage in rename test.
expectedResult(Code, expectedResult(T, "abc")) => should be
expectedResult(T, "abc")
The test was passed by coincidence.
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit c9e0b354e2749ce7ab553974692cb35c8651a869 by echristo
Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple
GDB remotes
This was causing a crash in opt+assert builds on linux and a follow-up
message was posted.
This reverts commit e81268d03e73aef4f9c7bd8ece8ad02f5b017dcf
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was removedlldb/test/Shell/Reproducer/TestMultipleTargets.test
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was removedlldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/include/lldb/Utility/GDBRemote.h
The file was modifiedlldb/source/Utility/Reproducer.cpp
Commit ef94cd1cf81d6e66838e1d7395fdaa6795ec7165 by a.bataev
[OPENMP50]Add if clause in target simd directive.
According to OpenMP 5.0, if clause can be used in for simd directive. If
condition in the if clause if false, the non-vectorized version of the
loop must be executed.
The file was modifiedclang/test/OpenMP/target_simd_ast_print.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_simd_if_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
Commit 7ec933e50162e2ddc6204f0f1708b75309a9555a by Vedant Kumar
[lldb] Add #include to appease the modules build
This #include appears to be completely unnecessary, but it does fix the
following build failure:
http://green.lab.llvm.org/green/job/lldb-cmake/4565/consoleText
FAILED:
tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o
/Users/buildslave/jenkins/workspace/lldb-cmake/host-compiler/bin/clang++
-DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLIBXML2_DEFINED
-DLLDB_CONFIGURATION_RELEASE -DLLDB_USE_OS_LOG -D_DEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools/lldb/source/Host
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host
-Itools/lldb/source
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/include
-Itools/lldb/include -Iinclude
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/include
-I/usr/local/Frameworks/Python.framework/Versions/3.7/include/python3.7m
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/../clang/include
-Itools/lldb/../clang/include -I/usr/local/include
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/.
-isystem
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2
-Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -fmodules
-fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/module.cache
-fcxx-modules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion
-fdiagnostics-color -Wno-deprecated-declarations -Wno-unknown-pragmas
-Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
  -UNDEBUG  -fno-exceptions -fno-rtti -std=c++14 -MD -MT
tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o -MF
tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o.d
-o tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o
-c
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp:211:7:
error: use of undeclared identifier 'ppoll'
if (ppoll(read_fds.data(), read_fds.size(), nullptr, &sigmask) == -1 &&
     ^
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp:336:25:
error: use of undeclared identifier 'HAVE_SYS_EVENT_H'
ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK,
                       ^ 2 errors generated.
The file was modifiedlldb/source/Host/common/MainLoop.cpp
Commit 3e315ba2547cbbfd6055e38bbca03f4d11bacbea by steveire
Deprecate the hasDefaultArgument matcher
Summary: It doesn't provide a way to match on the contents of the
default argumment.  Rather than give it that capability, make it
deprecated and recomment the use of hasInitializer instead.
Reviewers: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71166
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 307f60a1a3ff04313a75e2fc11bc14df4fc2ffb8 by SourabhSingh.Tomar
[DebugInfo] Refactored macro related generation, added a test case for
macinfo.dwo emission.
Reviewers: dblaikie, aprantl, jini.susan.george
Tags: #debug-info #llvm
Differential Revision: https://reviews.llvm.org/D71008
The file was addedllvm/test/DebugInfo/X86/debug-macinfo-split-dwarf.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 336ac7197eeeb4ab083f7402ec4edbb9b7bb252c by richard
[cxx_status] Fix table layout.
The file was modifiedclang/www/cxx_status.html
Commit 68009c245dbe4c420ca06c0fea2a908f918137bb by richard
[c++20] Return type deduction for defaulted three-way comparisons.
The file was modifiedclang/include/clang/AST/ComparisonCategories.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CXX/class/class.compare/class.spaceship/p2.cpp
The file was modifiedclang/lib/AST/ComparisonCategories.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 3bd7cbb90cdb9cf2ca481107ec66a75d9c885782 by francisvm
[Remarks][Docs] Enhance documentation for opt-remarks driver options
Add better documentation about the naming scheme, add a few more
explicit descriptions and make the sphinx look better.
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/docs/UsersManual.rst
Commit 02d04d569edd39a17f27995565b7b65ac06afb35 by a.bataev
[OPENMP50]Do not mark the function as used if referenced only in declare
variant directive.
If the function is used only in declare variant directive as a variant
function, it should not be marked as used to prevent emission of the
target-specific functions. Build the reference in the unevaluated
context.
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/OpenMP/declare_variant_mixed_codegen.cpp
Commit 8bd9d0bff21b6732c122365de793de12fef9c681 by Louis Dionne
[libcxx] [test] Query the target platform, not the host one
target_info is inferred to WindowsLocalTI on Windows hosts unless
specified otherwise. In the latter case, it doesn't make sense to use
Windows-specific settings if the target is not Windows.
This change should not break anything, because target_info is inferred
based on what platform.system() returns. self.is_windows was set based
on the same platform.system() call.
Thanks to Sergej Jaskiewicz for the patch.
Differential Revision: https://reviews.llvm.org/D68275
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/utils/libcxx/test/executor.py
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
The file was modifiedlibcxx/utils/libcxx/test/format.py
Commit 3e1562e83339bb1e18fb36a5a2fc629c75f5f239 by Vedant Kumar
Debug Info: Strengthen the synthesized-property-cleanup.mm test, NFC
After https://reviews.llvm.org/D71084, the line locations assigned when
emitting cleanups inside of property accessors changed. Update this test
to actually check that those locations are correct.
rdar://57796656
The file was modifiedclang/test/CodeGenObjCXX/synthesized-property-cleanup.mm
Commit e8d955f29de7ee4b50d889c418b4efb18add0653 by ditaliano
[FormatManager] Add a unittest for GetCandidateLanguages()
Reviewers: teemperor, JDevlieghere, aprantl, jingham
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71299
The file was modifiedlldb/unittests/CMakeLists.txt
The file was addedlldb/unittests/DataFormatter/FormatManagerTests.cpp
The file was addedlldb/unittests/DataFormatter/CMakeLists.txt
Commit 30038da15b18ac4e34b9ea7a648382ae481e4770 by Vedant Kumar
[DWARF] Allow cross-CU references of subprogram definitions
This allows a call site tag in CU A to reference a callee DIE in CU B
without resorting to creating an incomplete duplicate DIE for the callee
inside of CU A.
We already allow cross-CU references of subprogram declarations, so it
doesn't seem like definitions ought to be special.
This improves entry value evaluation and tail call frame synthesis in
the LTO setting. During LTO, it's common for cross-module inlining to
produce a call in some CU A where the callee resides in a different CU,
and there is no declaration subprogram for the callee anywhere. In this
case llvm would (unnecessarily, I think) emit an empty DW_TAG_subprogram
in order to fill in the call site tag. That empty 'definition' defeats
entry value evaluation etc., because the debugger can't figure out what
it means.
As a follow-up, maybe we could add a DWARF verifier check that a
DW_TAG_subprogram at least has a DW_AT_name attribute.
rdar://46577651
Differential Revision: https://reviews.llvm.org/D70350
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was addedllvm/test/DebugInfo/X86/lto-cross-cu-call-origin-ref.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit 4ffd3f44e34283506958263a7f9eb2c9d149087f by dblaikie
DebugInfo: Clarify some more reasons v4 loc.dwo can't share much
implementation with loclists.dwo
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 252d3b9805f8064837630deb282f653ac2978096 by spatel
[InstSimplify] add tests for insert constant + splat; NFC
The file was modifiedllvm/test/Transforms/InstCombine/insert-extract-shuffle.ll
The file was modifiedllvm/test/Transforms/InstSimplify/shufflevector.ll
Commit 16e9315685bc057849eab072de6ec349b508ec1d by spatel
[IR] allow undefined elements when checking for splat constants
This mimics the related call in SDAG. The caller is responsible for
ensuring that undef values are propagated safely.
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/include/llvm/IR/Constant.h
The file was modifiedllvm/unittests/IR/InstructionsTest.cpp
Commit 90f4355b43eaf9eefa02226b98d8cb43f44ca879 by Jason Molenda
Skip TestMultilineCompletion.py on ios testsuite runs.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
Commit bbcdcea4bf8423041108e22dc619f7d5fdae9870 by ditaliano
[TypeCategory] IsApplicable gets a LanguageType, not a ValueObject.
Reviewers: aprantl, teemperor
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71305
The file was modifiedlldb/source/DataFormatters/TypeCategory.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeCategory.h
Commit f4a7d5659df7cb56c1baa34a39e9fe2639472741 by echristo
Remove debugging printf and reformat code.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 1d41d1bcdfd70cf8f77bb32e2617392395c299a4 by echristo
Revert "Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support
multiple GDB remotes"
On multiple retry this issue won't duplicate - will revisit with author
if duplication works again.
This reverts commit c9e0b354e2749ce7ab553974692cb35c8651a869.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was addedlldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was modifiedlldb/include/lldb/Utility/GDBRemote.h
The file was addedlldb/test/Shell/Reproducer/TestMultipleTargets.test
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
Commit 88dacbd43625cf7aad8a01c0c3b92142c4dc0970 by craig.topper
[X86] Go back to considering v64i1 as a legal type under
min-legal-vector-width=256. Scalarize v64i1 arguments and shuffles under
min-legal-vector-width=256.
This reverts 3e1aee2ba717529b651a79ed4fc7e7147358043f in favor of a
different approach.
Scalarizing isn't great codegen, but making the type illegal was
interfering with k constraint in inline assembly.
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b0937be06e44c0cdc1c1aac16b76746150e70154 by Jason Molenda
Skip TestGuiBasic.py on ios etc device testing.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
Commit f387b99745101d5843d397a2a65dc4102c6f8e14 by ditaliano
[DataFormatters] Change the Get() method to take a LanguageType.
Suggested by Adrian.
The file was modifiedlldb/source/DataFormatters/TypeCategoryMap.cpp
The file was modifiedlldb/source/DataFormatters/TypeCategory.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeCategory.h
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
Commit 44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3 by jaskiewiczs
[libcxx] Replace func_name with __name__ for compatibility with Python 3
Summary: The __name__ attribute is the correct way to get a function
name in Python 3. This also works with Python 2.
Reviewers: jroelofs, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D71136
The file was modifiedlibcxx/utils/libcxx/test/tracing.py
Commit 62a6d9770450f93a2dcdf04710a73341af2f54fa by Adrian Prantl
Do not cache hardcoded formats in FormatManager
The cache in FormatCache uses only a type name as key. The hardcoded
formats, synthetic children, etc inspect an entire ValueObject to
determine their eligibility, which isn't modelled in the cache. This
leads to bugs such as the one in this patch (where two similarly named
types in different files have different hardcoded summary providers).
The problem is exaggerated in the Swift language plugin due to the
language's dynamic nature.
rdar://problem/57756763
Differential Revision: https://reviews.llvm.org/D71233
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/Makefile
The file was modifiedlldb/include/lldb/DataFormatters/FormatManager.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/a.c
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/b.c
Commit 70e3d0ea55e8b9385168d389fcba16a283f20214 by Adrian Prantl
[FormatManager] Move Language lookup into the obviously non-cached part
(NFC)
This refactoring makes the lookup caching easier to reason about. This
has no observable effect although it does slightly change what is being
cached.
- Before this patch a negative lookup in the LanguageCategory would be
cached, but a positive wouldn't.
- After this patch LanguageCategory lookups aren't cached by
FormatManager, period. (LanguageCategory has its own FormatCache for
this!)
Differential Revision: https://reviews.llvm.org/D71289
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
Commit 636c93ed11a5f98b5c3ff88241460d61cb7785bb by vtsyrklevich
Revert "Reapply: [DebugInfo] Recover debug intrinsics when killing
duplicated/empty..."
This reverts commit f2ba93971ccc236c0eef5323704d31f48107e04f, it was
causing build timeouts on sanitizer-x86_64-linux-autoconf such as
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-autoconf/builds/44917
The file was removedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-else.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was removedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-empty.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit b3801de7c50faa2b730e62e1cfabeec8c5cebae2 by Adrian Prantl
Replace redundant code in LanguageCategory with templates (NFC)
Differential Revision: https://reviews.llvm.org/D71296
The file was modifiedlldb/include/lldb/DataFormatters/LanguageCategory.h
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
Commit 2fb07b90dc1c2c08fe6fc69c9d569a1fc2c8a8e1 by Adrian Prantl
Remove unsound caching in LanguageCategory
Analogous to https://reviews.llvm.org/D71233 it is not safe to cache
something that depends on the actual ValueObject in a cache then keys
only off the type name.
Differential Revision: https://reviews.llvm.org/D71297
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
Commit dd37e24ae62329d8376b7989dc2e3a53be30622a by Louis Dionne
[libc++] Hide some functions and types in <future> and <thread> as
hidden
Otherwise, weak symbols leak into user programs when using `async` with
non-internal types.
The file was modifiedlibcxx/include/future
The file was modifiedlibcxx/include/thread
Commit 21bc8631fe934126a19ddc9cfd08b20798c5043d by pengfei.wang
[FPEnv][X86] Constrained FCmp intrinsics enabling on X86
Summary: This is a follow up of D69281, it enables the X86 backend
support for the FP comparision.
Reviewers: uweigand, kpn, craig.topper, RKSimon, cameron.mcinally,
andrew.w.kaylor
Subscribers: hiraditya, llvm-commits, annita.zhang, LuoYuanke, LiuChen3
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70582
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was addedllvm/test/CodeGen/X86/vec-strict-512-cmp.ll
The file was addedllvm/test/CodeGen/X86/vec-strict-128-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was addedllvm/test/CodeGen/X86/fp80-strict-scalar-cmp.ll
The file was addedllvm/test/CodeGen/X86/vec-strict-256-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
Commit 8434fbbee62e382376a39787785909bd55ae1696 by xazax
Revert "[analyzer] Keep track of escaped locals"
It was a step in the right direction but it is not clear how can this
fit into the checker API at this point. The pre-escape happens in the
analyzer core and the checker has no control over it. If the checker is
not interestd in a pre-escape it would need to do additional work on
each escape to check if the escaped symbol is originated from an
"uninteresting" pre-escaped memory region. In order to keep the checker
API simple we abandoned this solution for now.
We will reland this once we have a better answer for what to do on the
checker side.
This reverts commit f3a28202ef58551db15818f8f51afd21e0f3e231.
The file was modifiedclang/test/Analysis/symbol-escape.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ProgramState.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
Commit d5e66f0e060da7f175cedf4f545fb4e13df7707e by erik.pilkington
NFC: Get rid of an unused parameter to CGObjCMac::EmitSelectorAddr.
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
Commit f364686f34d80e0873b478933952c6b664177ce4 by puyan
[llvm][MIRVRegNamerUtil] Adding hashing against MachineInstr flags.
Now, flags will result in differing hashes for a given MI. In effect, if
you have two instructions with everything identical except for their
flags then you should get two different hashes and fewer collisions.
Differential Revision: https://reviews.llvm.org/D70479
The file was addedllvm/test/CodeGen/MIR/X86/mircanon-flags.mir
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
Commit bc24014b9765a454cb5214f4871451a41ffb7d29 by richard
[c++20] Implement P1185R2 (as modified by P2002R0).
For each defaulted operator<=> in a class that doesn't explicitly
declare any operator==, also inject a matching implicit defaulted
operator==.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/CXX/class/class.compare/class.compare.default/p4.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-three-way-comparison.cpp
Commit 57fc8ecdbaa7fbb1a13907ca3f7a3cb9f9459d27 by jaskiewiczs
Reland "Enable `-funwind-tables` flag when building libunwind"
Summary: Relands https://reviews.llvm.org/D70815.
The original commit set `CMAKE_TRY_COMPILE_TARGET_TYPE` to
`STATIC_LIBRARY` globally in libunwind/CMakeLists.txt, which effectively
disabled the linking step in CMake checks.
This broke some builds (see 938c70b86c7d2165f8c28d5700e9c1ac1263307e).
Here we set CMAKE_TRY_COMPILE_TARGET_TYPE to STATIC_LIBRARY only when
checking for presence of the `-funwind-tables` flag, and then set it
back to the original value so it doesn't affect other checks.
Reviewers: mstorsjo, jfb
Subscribers: mgorny, christof, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D71117
The file was modifiedlibunwind/test/signal_frame.pass.cpp
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedlibunwind/cmake/config-ix.cmake
The file was modifiedlibunwind/test/CMakeLists.txt
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was modifiedlibunwind/test/libunwind/test/config.py
Commit 935d41e4bd6347155af10e50f8b24e86a5d626f7 by craig.topper
[X86] Split v64i1 arguments into 2 v32i1s that will be promoted to v32i8
under min-legal-vector-width=256
This is an improvement to 88dacbd43625cf7aad8a01c0c3b92142c4dc0970
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 4d53b99c5df2c83172d23521d1b1ab8361d6de92 by maskray
[llvm-ar] Improve tool selection heuristic
If llvm-ar is installed at arm-pokymllib32-linux-gnueabi-llvm-ar, it may
think it is llvm-lib due to the "lib" substring.
Improve the heuristic to make all the following work as intended:
llvm-ar-9 (llvm-9 package on Debian) llvm-ranlib.exe Lib.exe (reported
by D44808) arm-pokymllib32-linux-gnueabi-llvm-ar (reported by D71030)
Reviewed By: raj.khem, rupprecht
Differential Revision: https://reviews.llvm.org/D71302
The file was addedllvm/test/tools/llvm-ar/tool-name.test
The file was addedllvm/test/tools/llvm-dlltool/tool-name.test
The file was addedllvm/test/tools/llvm-lib/tool-name.test
The file was addedllvm/test/tools/llvm-ranlib/tool-name.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit 2e48be09b02e6d01b85d31704d768b6d0c751751 by richard
Fix mishandling of invalid-but-non-empty nested name specifiers in name
classification.
We were accidentally treating invalid scope specs as being empty,
resulting in our trying to form an ADL-only call with a qualified
callee, which tripped up an assert later on.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Parser/cxx-template-decl.cpp
Commit caa412090666c10f854322cdc701c1cbf8ed726e by thakis
Revert "[DebugInfo] Refactored macro related generation, added a test
case for macinfo.dwo emission."
This reverts commit 307f60a1a3ff04313a75e2fc11bc14df4fc2ffb8.
DebugInfo/X86/debug-macinfo-split-dwarf.ll fails on Windows:
Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "c:\src\llvm-project\out\gn\bin\llc.exe"
"-mtriple=x86_64-pc-windows-gnu" "-O0" "-split-dwarf-file=foo.dwo"
"-filetype=obj" Assertion failed: Section && "Cannot switch to a null
section!", file ../../llvm/lib/MC/MCStreamer.cpp, line 1103 Stack dump:
0. Program arguments: c:\src\llvm-project\out\gn\bin\llc.exe
-mtriple=x86_64-pc-windows-gnu -O0 -split-dwarf-file=foo.dwo
-filetype=obj
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was removedllvm/test/DebugInfo/X86/debug-macinfo-split-dwarf.ll
Commit af3aac9a227eaf38b625137b7337365b32404068 by Jason Molenda
Change the mtc Makefile to check $SDKROOT value instead of depending on
it being set in the environment.  Fred's change from October assumed
that SDKROOT was set in the environment so that 'xcrun --show-sdk-path'
would print the path.  If it was passed in as a Makefile variable, it
wouldn't be set in the environment and xcrun --show-sdk-path would
always show the macOS SDK path.  When running the lldb testsuite against
an ios device via lit, this seems to be the case.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/Makefile
Commit 8e0c9e21bf5f3e7a427b07e3eaf3bc80d2c74cb6 by richard
[c++20] Delete defaulted comparison functions if they would invoke an
inaccessible comparison function.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/test/CXX/class/class.compare/class.rel/p2.cpp
The file was modifiedclang/test/CXX/class/class.compare/class.eq/p2.cpp
The file was modifiedclang/test/CXX/class/class.compare/class.spaceship/p1.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaAccess.cpp
Commit ffe612922cb5aa2767c79d47a1b162811a08583f by richard
[c++20] Implement P1946R0: allow defaulted comparisons to take their
arguments by value.
The file was modifiedclang/test/CXX/class/class.compare/class.eq/p3.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/CXX/class/class.compare/class.compare.default/p1.cpp
Commit f7235ac1d3154d5cd82a9a6bfdfffd050e6f5d05 by richard
[cxx_status] Re-add missing cell.
The file was modifiedclang/www/cxx_status.html
Commit 3a713ae5fa64a0b2043bd6748b87d4ba7f7c2fce by ikudrin
[SanitizerCommon] Reduce wasting memory in LowLevelAllocator.
MmapOrDie allocates memory multiple to page size. LowLevelAllocator
should use all that memory for the internal buffer because there are
chances that subsequent requests may be small enough to fit in that
space.
Differential Revision: https://reviews.llvm.org/D71275
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator.cpp
Commit 6e513a53824ffd92765360023d9ef13bdf4c1c76 by maskray
[ELF] Move a computeIsPreemptible() pass into ICF. NFC
Address post-commit review for D71163.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D71326
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/ICF.cpp
Commit d4345636e678ccab8a87b09cdad9129e54c23100 by craig.topper
[LegalizeTypes] Remove manual worklist management from
SoftenFloatRes_FP_EXTEND.
I think this is no longer needed. The system should take care of
legalizing any new nodes that are added. I think this might have been
needed prior to r371709 or r307053.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Commit f99297176cd9507393b69029406080de01ae41c7 by qshanz
[PowerPC] Exploitate the Vector Integer Average Instructions
PowerPC has instruction to do the semantics of this piece of code:
vector int foo(vector int m, vector int n) {
return (m + n + 1) >> 1;
} This patch is adding the match rule to select it.
Differential Revision: https://reviews.llvm.org/D71002
The file was modifiedllvm/test/CodeGen/PowerPC/vavg.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
Commit af39708c2d48beedc6721fe25676789cc6719f7b by martin
[llvm-readobj] Fix/improve printing WinEH unwind info for linked PE
images
ARMWinEHPrinter was already designed to handle linked PE images
(since d2941b43f40d), but resolving symbols didn't consistently take the
image base into account (as linked images seldom have a symbol table,
except for in MinGW setups).
Win64EHDumper wasn't really designed to handle linked images (it would
crash if executed on such a file), but a few concepts (getSymbol, taking
a virtual address instead of a relocation, and getSectionContaining for
finding the section containing a certain virtual address) can be
borrowed from ARMWinEHPrinter.
Adjust ARMWinEHPrinter to print the address of the exception handler
routine as a VA instead of an RVA, consistently with other addresses in
the same printout, and make Win64EHDumper print addresses similarly for
image cases.
Differential Revision: https://reviews.llvm.org/D71303
The file was modifiedllvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
The file was addedllvm/test/tools/llvm-readobj/COFF/lit.local.cfg
The file was addedllvm/test/tools/llvm-readobj/COFF/unwind-x86_64-image.yaml
The file was modifiedllvm/tools/llvm-readobj/Win64EHDumper.cpp
The file was addedllvm/test/tools/llvm-readobj/COFF/unwind-arm64-image.yaml
Commit 8a7c52bc22c93747d9c8742e92d6ffc1ae17ef6c by gchatelet
[Alignment][NFC] Introduce Align in SROA
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, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71277
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit f7c8ace4a52acecff7cd6ab61cbeaf677da1dd86 by ibiryukov
[CodeComplete] Fix a crash in preferred type and signature help
Summary: Null type pointers could be dereferenced in some cases.
Reviewers: kadircet, sammccall
Reviewed By: sammccall
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71329
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/unittests/Sema/CodeCompleteTest.cpp
Commit 21bc8958668a4dc21de8328ef856ddcf38a97da7 by a.v.lapshin
[DWARF5][SplitDwarf] Set default state for -fsplit-dwarf-inlining to be
false.
    The -fsplit-dwarf-inlining option does not conform to DWARF5
standard. It creates children for Skeleton compilation unit. We need
default behavior to be DWARF5 compatible. Thus set default state for
-fsplit-dwarf-inlining into "false".
Differential Revision: https://reviews.llvm.org/D71304
The file was modifiedclang/test/Driver/split-debug.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 445c3fdd2ae8648cd79f98d3d72ff142b4c19792 by grimar
[llvm-readelf] - Do no print an empty symbol version as "<corrupt>"
It is discussed here https://reviews.llvm.org/D71118#inline-643172
Currently when a version is empty, llvm-readelf prints:
"000:   0 (*local*)       2 (<corrupt>)"
But GNU readelf does not treat empty section as corrupt. There is no
sense in having empty versions anyways it seems, but this change is for
consistency with GNU.
Differential revision: https://reviews.llvm.org/D71243
The file was modifiedllvm/test/tools/llvm-readobj/ELF/verneed-invalid.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 11f311875f092e59cac2936b54f922b968e615e3 by flo
[LiveRegUnits] Add phys_regs_and_masks iterator range (NFC).
This iterator range just includes physical registers and register masks,
which are interesting when dealing with register liveness.
Reviewers: evandro, t.p.northover, paquette, MatzeB, arsenm
Reviewed By: paquette
Differential Revision: https://reviews.llvm.org/D70562
The file was modifiedllvm/lib/CodeGen/LivePhysRegs.cpp
The file was modifiedllvm/lib/CodeGen/LiveRegUnits.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveRegUnits.h
Commit 1408e7e17525287c596a8f575957aecb684fa75d by shkzhang
[PowerPC] [CodeGen] Use MachineBranchProbabilityInfo in
EarlyIfPredicator to avoid the potential bug
Summary: In the function `EarlyIfPredicator::shouldConvertIf()`, we call
`TII->isProfitableToIfCvt()` with `BranchProbability::getUnknown()`, it
may cause the potential assertion error for those hook which use
`BranchProbability` in `isProfitableToIfCvt()`, for example `SystemZ`.
`SystemZ` use `Probability < BranchProbability(1, 8))` in the function
`SystemZInstrInfo::isProfitableToIfCvt()`, if we call this function with
`BranchProbability::getUnknown()`, it will cause assertion error.
This patch is to fix the potential bug.
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D71273
The file was modifiedllvm/lib/CodeGen/EarlyIfConversion.cpp
Commit 1eecbda0872832da936d37c4288eaaa2645a7415 by andrzej.warzynski
[AArch64][SVE] Move TableGen class definitions for gather loads (NFC)
Move 2 intrinsic class definitions so that they're all clustered in one
place.
Patch submitted to test commit access.
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
Commit f0004aad5565d4b76d41a03549c5a80efc4212c7 by hokein.wu
[clangd] Deduplicate refs from index for cross-file rename.
Summary: If the index returns duplicated refs, it will trigger the
assertion in BuildRenameEdit (we expect the processing position is
always larger the the previous one, but it is not true if we have
duplication), and also breaks our heuristics.
This patch make the code robost enough to handle duplications, also save
some cost of redundnat llvm::sort.
Though clangd's index doesn't return duplications, our internal index
kythe will.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, mgrang, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71300
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.h
Commit b48b4ed1a0bd81531d3aeb4e719b273751548a34 by flo
[MCRegInfo] Add sub_and_superregs_inclusive iterator range.
Reviewers: evandro, qcolombet, paquette, MatzeB, arsenm
Reviewed By: paquette
Differential Revision: https://reviews.llvm.org/D70566
The file was modifiedllvm/include/llvm/MC/MCRegisterInfo.h
Commit eba7cbd3d06b3a84a72dcb6601a667a095c32664 by qshanz
[NFC][PowerPC] Remove the dead conditions in the if(cond)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit ee7579409b7d940c4e1314d126e900db30c4edff by sam.parker
[ARM][TypePromotion] Enable by default
Enable the TypePromotion pass my default (again).
This patch was originally committed in 393dacacf7e7. This patch was
reverted in a38396939c54.
Differential Revision: https://reviews.llvm.org/D70998
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/icmps.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/signed-icmps.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/signed.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/casts.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/calls.ll
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/phis-ret.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/clear-structures.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/pointers.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/wrapping.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/switch.ll
Commit 46822083ef9f03ceb26db80410e47f23aa9bd7ae by qshanz
[NFC] Correct the example in the comments of JSON.h to avoid mislead
user
The file was modifiedllvm/include/llvm/Support/JSON.h
Commit c8b74ee264a943aad29fd0864c610ba5504f73a8 by pavel
[lldb/DWARF] Add support for DW_AT_loclists_base&DW_FORM_loclistx
Summary: This adds support for DWARF5 location lists which are specified
indirectly, via an index into the debug_loclists offset table. This
includes parsing the DW_AT_loclists_base attribute which determines the
location of this offset table, and support for new form DW_FORM_loclistx
which is used in conjuction with DW_AT_location to refer to the location
lists in this way.
The code uses the llvm class to parse the offset information, and I've
also tried to structure it similarly to how the relevant llvm
functionality works.
Reviewers: JDevlieghere, aprantl, clayborg
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71268
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was addedlldb/test/Shell/SymbolFile/DWARF/DW_AT_loclists_base.s
Commit bd0f271c9e55ab69b45258e4922869099ed18307 by simon.tatham
[ARM][MVE] Add intrinsics for immediate shifts. (reland)
This adds the family of `vshlq_n` and `vshrq_n` ACLE intrinsics, which
shift every lane of a vector left or right by a compile-time immediate.
They mostly work by expanding to the IR `shl`, `lshr` and
`ashr` operations, with their second operand being a vector splat of the
immediate.
There's a fiddly special case, though. ACLE specifies that the immediate
in `vshrq_n` can take values up to //and including// the bit size of the
vector lane. But LLVM IR thinks that shifting right by the full size of
the lane is UB, and feels free to replace the `lshr` with an `undef`
half way through the optimization pipeline. Hence, to keep this legal in
source code, I have to detect it at codegen time. Logical (unsigned)
right shifts by the element size are handled by simply emitting the zero
vector; arithmetic ones are converted into a shift of one bit less,
which will always give the same output.
In order to do that check, I also had to enhance the tablegen MveEmitter
so that it can cope with converting a builtin function's operand into a
bare integer to pass to a code-generating subfunction. Previously the
only bare integers it knew how to handle were flags generated from
within `arm_mve.td`.
Reviewers: dmgreen, miyuki, MarkMurrayARM, ostannard
Reviewed By: dmgreen, MarkMurrayARM
Subscribers: echristo, hokein, rdhindsa, kristof.beyls, hiraditya,
cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D71065
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm.c
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vector-shift-imm.ll
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td