SuccessChanges

Summary

  1. [X86][SSE] matchVectorShuffleAsBlend - use Zeroable element mask (details)
  2. [InstCombine] don't assume 'inbounds' for bitcast pointer to GEP (details)
  3. [InstCombine] add fast-math-flags for better test coverage; NFC (details)
  4. [X86][AVX] combineExtractSubvector - merge duplicate variables. NFCI. (details)
  5. [DAGCombine] Match more patterns for half word bswap (details)
  6. [InstCombine] fold fneg disguised as select+fmul (PR43497) (details)
  7. [NFC] Replace 'isDarwin' with 'IsDarwin' (details)
  8. Revert [DAGCombine] Match more patterns for half word bswap (details)
  9. [Docs] Adds new Getting Started/Tutorials page (details)
  10. [X86][SSE] resolveTargetShuffleInputs - call getTargetShuffleInputs (details)
  11. [Docs] Removes Programming Documentation page (details)
  12. [LOOPGUARD] Remove asserts in getLoopGuardBranch Summary: The assertion (details)
  13. gn build: make windows build less broken (details)
  14. [Sema] Avoids an assertion failure when an invalid conversion (details)
  15. [LegalizeTypes][X86] When splitting a vselect for type legalization, (details)
  16. [X86] Add custom type legalization for v16i64->v16i8 truncate and (details)
  17. Implements CWG 1601 in [over.ics.rank/4.2] (details)
  18. [X86][SSE] Don't merge known undef/zero elements into target shuffle (details)
  19. [X86][SSE] Remove resolveTargetShuffleInputs and use (details)
  20. [NFC][PowerPC] Reorganize CRNotPat multiclass patterns in (details)
  21. Fix signed/unsigned warning. NFCI (details)
  22. [X86][AVX] Access a scalar float/double as a free extract from a (details)
  23. [Docs] Removes Subsystem Documentation page (details)
  24. gn build: no-op style tweak in sync script (details)
  25. Fix behavior of __builtin_bit_cast when the From and To types are the (details)
  26. [c++20] Check for a class-specific operator delete when deleting an (details)
  27. [NFC][CGP] Tests for making ICMP_EQ use CR result of ICMP_S(L|G)T (details)
  28. [X86] Support LEA64_32r in processInstrForSlow3OpLEA and use INC/DEC (details)
  29. [X86] Autogenerate checks in leaFixup32.mir and leaFixup64.mir. NFC (details)
  30. [llvm-locstats] Fix a typo in the documentation; NFC (details)
  31. Revert "[SLP] avoid reduction transform on patterns that the backend can (details)
  32. [TableGen] Pacify gcc-5.4 more (details)
  33. [ELF][MIPS] Use lld::elf::{read,write}* instead of (details)
  34. [ELF] Wrap things in `namespace lld { namespace elf {`, NFC (details)
  35. [ELF][MIPS] De-template writeValue. NFC (details)
  36. clang-cl: Ignore the new /ZH options (details)
  37. [IA] Recognize hexadecimal escape sequences (details)
  38. [clangd] Collect missing macro references. (details)
  39. [llvm-readelf/llvm-objdump] - Improve/refactor the implementation of (details)
  40. [lldb][ELF] Read symbols from .gnu_debugdata sect. (details)
  41. [clangd] If an undocumented definition exists, don't accept (details)
  42. [AMDGPU] Fix test checks (details)
  43. [ASTImporter][NFC] Fix typo in user docs (details)
  44. [ASTImporter][NFC] Update ASTImporter internals docs (details)
  45. [ASTImporter][NFC] Enable disabled but passing test (details)
  46. [clangd] Catch an unchecked "Expected<T>" in HeaderSourceSwitch. (details)
  47. Revert r373888 "[IA] Recognize hexadecimal escape sequences" (details)
Commit 032dd9b086c77eb330453063135530cb7321ecbd by llvm-dev
[X86][SSE] matchVectorShuffleAsBlend - use Zeroable element mask
directly.
We can make use of the Zeroable mask to indicate which elements we can
safely set to zero instead of creating a target shuffle mask on the fly.
This allows us to remove createTargetShuffleMask.
This is part of the work to fix PR43024 and allow us to use
SimplifyDemandedElts to simplify shuffle chains - we need to get to a
point where the target shuffle masks isn't adjusted by its source inputs
in setTargetShuffleZeroElements but instead we cache them in a parallel
Zeroable mask.
llvm-svn: 373846
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/packss.ll
Commit c38881a6b7f9c1315c2d87654b9462195e409881 by spatel
[InstCombine] don't assume 'inbounds' for bitcast pointer to GEP
transform (PR43501)
https://bugs.llvm.org/show_bug.cgi?id=43501 We can't declare a GEP
'inbounds' in general. But we may salvage that information if we have
known dereferenceable bytes on the source pointer.
Differential Revision: https://reviews.llvm.org/D68244
llvm-svn: 373847
The file was modifiedllvm/test/Transforms/InstCombine/unpack-fca.ll
The file was modifiedllvm/test/Transforms/InstCombine/load-bitcast-vec.ll
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/addrspacecast.ll
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
The file was modifiedllvm/test/Transforms/InstCombine/memset.ll
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-dynamic-cast.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-typeid.cpp
Commit 61c22a83dee717a8a3f99aed3e66680da83507c6 by spatel
[InstCombine] add fast-math-flags for better test coverage; NFC
llvm-svn: 373848
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
Commit 2dee7e55610dc49d810c3e55f33bd3a36576c6a5 by llvm-dev
[X86][AVX] combineExtractSubvector - merge duplicate variables. NFCI.
llvm-svn: 373849
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 25ba49824d2d4f2347b4a7cb1623600a76ce9433 by deadalnix
[DAGCombine] Match more patterns for half word bswap
Summary: It ensures that the bswap is generated even when a part of the
subtree already matches a bswap transform.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68250
llvm-svn: 373850
The file was modifiedllvm/test/CodeGen/X86/bswap_tree.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit aab8b3ab9cf63d23775930414e9153156ac9fbcf by spatel
[InstCombine] fold fneg disguised as select+fmul (PR43497)
Extends rL373230 and solves the motivating bug (although in a narrow
way): https://bugs.llvm.org/show_bug.cgi?id=43497
llvm-svn: 373851
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
Commit ee68f1ec67c73a89aa4549356a1dca31a71247c8 by xiangxdh
[NFC] Replace 'isDarwin' with 'IsDarwin'
Summary: Replace 'isDarwin' with 'IsDarwin' based on LLVM naming
convention.
Differential Revision: https://reviews.llvm.org/D68336
llvm-svn: 373852
The file was modifiedllvm/lib/Target/PowerPC/PPC.h
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMCInstLower.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h
Commit f643fabb525f797f574600d20b46c7aa0bd6c1ee by spatel
Revert [DAGCombine] Match more patterns for half word bswap
This reverts r373850 (git commit
25ba49824d2d4f2347b4a7cb1623600a76ce9433)
This patch appears to cause multiple codegen regression test failures -
http://lab.llvm.org:8011/builders/clang-cmake-armv7-quick/builds/10680
llvm-svn: 373853
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/bswap_tree.ll
Commit 6d1965141049049579ef5f30a38dd0ffe3549f85 by d4m1887
[Docs] Adds new Getting Started/Tutorials page
Adds a new page for Getting Started/Tutorials topics. Also updates
existing topic categories on the User Guides and Reference pages.
llvm-svn: 373854
The file was modifiedllvm/docs/index.rst
The file was modifiedllvm/docs/SubsystemDocumentation.rst
The file was addedllvm/docs/GettingStartedTutorials.rst
The file was modifiedllvm/docs/ProgrammingDocumentation.rst
The file was modifiedllvm/docs/Reference.rst
The file was modifiedllvm/docs/UserGuides.rst
Commit 5c876303ecdc83fbb4ed54281d0f0b180586ca4f by llvm-dev
[X86][SSE] resolveTargetShuffleInputs - call getTargetShuffleInputs
instead of using setTargetShuffleZeroElements directly. NFCI.
llvm-svn: 373855
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit de0e3aac2a27496545f809f2dffac48b5ab7f594 by d4m1887
[Docs] Removes Programming Documentation page
Removes Programming Documentation page. Also moves existing topics on
Programming Documentation page to User Guides and Reference pages.
llvm-svn: 373856
The file was modifiedllvm/docs/UserGuides.rst
The file was modifiedllvm/docs/GettingStartedTutorials.rst
The file was modifiedllvm/docs/index.rst
The file was removedllvm/docs/ProgrammingDocumentation.rst
The file was modifiedllvm/docs/Reference.rst
Commit dcb75bf843eae4a7f0d6d72930f49f7d31c07f98 by whitney.uwaterloo
[LOOPGUARD] Remove asserts in getLoopGuardBranch Summary: The assertion
in getLoopGuardBranch can be a 'return nullptr' under if condition.
Authored By: DTharun Reviewer: Whitney, fhahn Reviewed By: Whitney,
fhahn Subscribers: fhahn, llvm-commits Tag: LLVM Differential Revision:
https://reviews.llvm.org/D66084
llvm-svn: 373857
The file was modifiedllvm/lib/Analysis/LoopInfo.cpp
The file was modifiedllvm/unittests/Analysis/LoopInfoTest.cpp
Commit 598e7a3a689ace9309595e685ec9af594d15c64c by nicolasweber
gn build: make windows build less broken
llvm-svn: 373858
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
Commit 1e9c0cecab5d282aa618e856373b8bb52f28fb91 by richard-llvm
[Sema] Avoids an assertion failure when an invalid conversion
declaration is used
Summary: When using a user-defined conversion function template with a
deduced return type the compiler gives a set of warnings:
``` bug.cc:252:44: error: cannot specify any part of a return type in
the declaration of a conversion function; use an alias template to
declare a conversion to 'auto (Ts &&...) const'
template <typename... Ts> operator auto()(Ts &&... xs) const;
                                          ^~~~~~~~~~~~~~~~~~~
bug.cc:252:29: error: conversion function cannot convert to a function
type
template <typename... Ts> operator auto()(Ts &&... xs) const;
                           ^ error: pointer to function type cannot have
'const' qualifier
``` after which it triggers an assertion failure. It seems the last
error is incorrect and doesn't have any location information. This patch
stops the compilation after the second warning.
Fixes bug 31422.
Patch by Mark de Wever!
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: bbannier, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64820
llvm-svn: 373862
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/SemaCXX/PR31422.cpp
Commit 842dde6be437f5d59304bd10379cf2a61d776b0d by craig.topper
[LegalizeTypes][X86] When splitting a vselect for type legalization,
don't split a setcc condition if the setcc input is legal and vXi1
conditions are supported
Summary: The VSELECT splitting code tries to split a setcc input as
well. But on avx512 where mask registers are well supported it should be
better to just split the mask and use a single compare.
Reviewers: RKSimon, spatel, efriedma
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68359
llvm-svn: 373863
The file was modifiedllvm/test/CodeGen/X86/pr34177.ll
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-vselect.ll
Commit 570ae49d030c987fd68fc81896301411d87b10f9 by craig.topper
[X86] Add custom type legalization for v16i64->v16i8 truncate and
v8i64->v8i8 truncate when v8i64 isn't legal
Summary: The default legalization for v16i64->v16i8 tries to create a
multiple stage truncate concatenating after each stage and truncating
again. But avx512 implements truncates with multiple uops. So it should
be better to truncate all the way to the desired element size and then
concatenate the pieces using unpckl instructions. This minimizes the
number of 2 uop truncates. The unpcks are all single uop instructions.
I tried to handle this by just custom splitting the v16i64->v16i8
shuffle. And hoped that the DAG combiner would leave the two halves in
the state needed to make D68374 do the job for each half. This worked
for the first half, but the second half got messed up. So I've
implemented custom handling for v8i64->v8i8 when v8i64 needs to be split
to produce the VTRUNCs directly.
Reviewers: RKSimon, spatel
Reviewed By: RKSimon
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68428
llvm-svn: 373864
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 344df110e56fa97fa7225f78a3386636a2da7939 by richard-llvm
Implements CWG 1601 in [over.ics.rank/4.2]
Summary: The overload resolution for enums with a fixed underlying type
has changed in the C++14 standard. This patch implements the new rule.
Patch by Mark de Wever!
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65695
llvm-svn: 373866
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/CXX/drs/dr6xx.cpp
The file was modifiedclang/test/CXX/drs/dr16xx.cpp
The file was modifiedclang/www/cxx_dr_status.html
Commit 42010dc8108f818d7fe8314116ad6805bc121c1e by llvm-dev
[X86][SSE] Don't merge known undef/zero elements into target shuffle
masks.
Replaces setTargetShuffleZeroElements with getTargetShuffleAndZeroables
which reports the Zeroable elements but doesn't merge them into the
decoded target shuffle mask (the merging has been moved up into
getTargetShuffleInputs until we can get rid of it entirely).
This is part of the work to fix PR43024 and allow us to use
SimplifyDemandedElts to simplify shuffle chains - we need to get to a
point where the target shuffle mask isn't adjusted by its source inputs
but instead we cache them in a parallel Zeroable mask.
llvm-svn: 373867
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 739c9f0b79335edf8810b15e67d43a5b41ab1cd5 by llvm-dev
[X86][SSE] Remove resolveTargetShuffleInputs and use
getTargetShuffleInputs directly.
Move the resolveTargetShuffleInputsAndMask call to after the shuffle
mask combine before the undef/zero constant fold instead.
llvm-svn: 373868
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e36415cacffb38cd642044b8fb28a3936b058fef by amy.kwan1
[NFC][PowerPC] Reorganize CRNotPat multiclass patterns in
PPCInstrInfo.td
This is patch aims to group together the `CRNotPat` multi class
instantiations within the `PPCInstrInfo.td` file.
Integer instantiations of the multi class are grouped together into a
section, and the floating point patterns are separated into its own
section.
Differential Revision: https://reviews.llvm.org/D67975
llvm-svn: 373869
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
Commit d84cd7caa87e8486a131c76f45595535678c6552 by llvm-dev
Fix signed/unsigned warning. NFCI
llvm-svn: 373870
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b4ba3cbda01e710e64948f43cbf9bfdec5ec5855 by llvm-dev
[X86][AVX] Access a scalar float/double as a free extract from a
broadcast load (PR43217)
If a fp scalar is loaded and then used as both a scalar and a vector
broadcast, perform the load as a broadcast and then extract the scalar
for 'free' from the 0th element.
This involved switching the order of the X86ISD::BROADCAST combines so
we only convert to X86ISD::BROADCAST_LOAD once all other
canonicalizations have been attempted.
Adds a DAGCombinerInfo::recursivelyDeleteUnusedNodes wrapper.
Fixes PR43217
Differential Revision: https://reviews.llvm.org/D68544
llvm-svn: 373871
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx-vbroadcast.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 38d16c15b759c4a7ff4fa85ddff6054f69377459 by d4m1887
[Docs] Removes Subsystem Documentation page
Removes Subsystem Documentation page. Also moves existing topics on
Subsystem Documentation page to User Guides and Reference pages.
llvm-svn: 373872
The file was modifiedllvm/docs/Reference.rst
The file was removedllvm/docs/SubsystemDocumentation.rst
The file was modifiedllvm/docs/index.rst
The file was modifiedllvm/docs/UserGuides.rst
Commit a30730f6904916e8c97f6fd934bf493e999cb1e4 by nicolasweber
gn build: no-op style tweak in sync script
llvm-svn: 373873
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit 74ce7112c3fccccfa7edb134c0a2d8fe2aab462f by richard-llvm
Fix behavior of __builtin_bit_cast when the From and To types are the
same.
We were missing the lvalue-to-rvalue conversion entirely in this case,
and in fact still need the full CK_LValueToRValueBitCast conversion to
perform a load with no TBAA.
llvm-svn: 373874
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/include/clang/AST/OperationKinds.def
The file was modifiedclang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-bit-cast-no-tbaa.cpp
Commit df3761f6dcdac76efcdcdc85d4011f0e716e8baa by richard-llvm
[c++20] Check for a class-specific operator delete when deleting an
object of class type with a virtual destructor.
llvm-svn: 373875
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 6088f84398847152ad97eb1bc0b139a28e879b48 by yi-hong.lyu
[NFC][CGP] Tests for making ICMP_EQ use CR result of ICMP_S(L|G)T
dominators
llvm-svn: 373876
The file was addedllvm/test/CodeGen/AArch64/use-cr-result-of-dom-icmp-st.ll
The file was modifiedllvm/test/CodeGen/PowerPC/use-cr-result-of-dom-icmp-st.ll
The file was addedllvm/test/CodeGen/X86/use-cr-result-of-dom-icmp-st.ll
Commit 2c4f0788776979be4a074d813069bfac289cb7cf by craig.topper
[X86] Support LEA64_32r in processInstrForSlow3OpLEA and use INC/DEC
when possible.
Move the erasing and iterator updating inside to match the other slow
LEA function.
I've adapted code from optTwoAddrLEA and basically rebuilt the
implementation here. We do lose the kill flags now just like
optTwoAddrLEA. This runs late enough in the pipeline that shouldn't
really be a problem.
llvm-svn: 373877
The file was modifiedllvm/test/CodeGen/X86/leaFixup64.mir
The file was modifiedllvm/test/CodeGen/X86/leaFixup32.mir
The file was modifiedllvm/test/CodeGen/X86/select-1-or-neg1.ll
The file was modifiedllvm/lib/Target/X86/X86FixupLEAs.cpp
Commit 6785108356324702a1f1d24a362a538e30d7b9aa by craig.topper
[X86] Autogenerate checks in leaFixup32.mir and leaFixup64.mir. NFC
llvm-svn: 373878
The file was modifiedllvm/test/CodeGen/X86/leaFixup64.mir
The file was modifiedllvm/test/CodeGen/X86/leaFixup32.mir
Commit 0c56f425a0d2bee766b8627a40af3ad030757e16 by djordje.todorovic
[llvm-locstats] Fix a typo in the documentation; NFC
llvm-svn: 373880
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
Commit dfc1aee25b68c9819b4a8a868be784110c6e751e by martin
Revert "[SLP] avoid reduction transform on patterns that the backend can
load-combine"
This reverts SVN r373833, as it caused a failed assert "Non-zero loop
cost expected" on building numerous projects, see PR43582 for details
and reproduction samples.
llvm-svn: 373882
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit beb696e2a68c4715fb21f282f83be8590979d112 by jmolloy
[TableGen] Pacify gcc-5.4 more
Followup to a previous pacification, this performs the same workaround
to the TableGen generated code for tuple automata.
llvm-svn: 373883
The file was modifiedllvm/utils/TableGen/DFAEmitter.cpp
Commit 5761e3cef42fb188453253f9e0793542ec7a2eae by maskray
[ELF][MIPS] Use lld::elf::{read,write}* instead of
llvm::support::endian::{read,write}*
This allows us to delete `using namespace llvm::support::endian` and
simplify D68323. This change adds runtime config->endianness check but
the overhead should be negligible.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D68561
llvm-svn: 373884
The file was modifiedlld/ELF/Arch/Mips.cpp
Commit bd8cfe65f5fee4ad573adc2172359c9552e8cdc0 by maskray
[ELF] Wrap things in `namespace lld { namespace elf {`, NFC
This makes it clear `ELF/**/*.cpp` files define things in the `lld::elf`
namespace and simplifies `elf::foo` to `foo`.
Reviewed By: atanasyan, grimar, ruiu
Differential Revision: https://reviews.llvm.org/D68323
llvm-svn: 373885
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Arch/Mips.cpp
The file was modifiedlld/ELF/Arch/AArch64.cpp
The file was modifiedlld/ELF/Arch/RISCV.cpp
The file was modifiedlld/ELF/DriverUtils.cpp
The file was modifiedlld/ELF/Arch/PPC.cpp
The file was modifiedlld/ELF/InputFiles.h
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/ELF/Target.cpp
The file was modifiedlld/ELF/Arch/X86.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Arch/Hexagon.cpp
The file was modifiedlld/ELF/OutputSections.cpp
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/CallGraphSort.cpp
The file was modifiedlld/ELF/Arch/X86_64.cpp
The file was modifiedlld/ELF/Arch/AVR.cpp
The file was modifiedlld/ELF/Arch/SPARCV9.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/Arch/MSP430.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Arch/AMDGPU.cpp
The file was modifiedlld/ELF/EhFrame.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/Arch/MipsArchTree.cpp
The file was modifiedlld/ELF/Arch/PPC64.cpp
The file was modifiedlld/ELF/MapFile.cpp
The file was modifiedlld/ELF/ScriptLexer.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/DWARF.cpp
The file was modifiedlld/ELF/SymbolTable.cpp
Commit 24ec80425acc140e919d6718b303ca13b32b8e36 by maskray
[ELF][MIPS] De-template writeValue. NFC
Depends on D68561.
llvm-svn: 373886
The file was modifiedlld/ELF/Arch/Mips.cpp
Commit 32b47ddb2deba6896aa00405c4239b808a62da09 by hans
clang-cl: Ignore the new /ZH options
These were added to the MS docs in
https://github.com/MicrosoftDocs/cpp-docs/commit/85b9b6967e58e485251450f7451673f6fc873e88
and are supposedly available in VS 2019 16.4 (though my 2019 Preview,
version 16.4.0-pre.1.0 don't seem to have them.)
llvm-svn: 373887
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/include/clang/Driver/CLCompatOptions.td
Commit 6942327a8f3ba90b2480f39318901e22269d16e7 by isanbard
[IA] Recognize hexadecimal escape sequences
Summary: Implement support for hexadecimal escape sequences to match how
GNU 'as' handles them. I.e., read all hexadecimal characters and
truncate to the lower 16 bits.
Reviewers: nickdesaulniers
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68483
llvm-svn: 373888
The file was modifiedllvm/test/MC/AsmParser/directive_ascii.s
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
Commit 2fa81d201f4b6238c9cc92fdca5cd77ca7fe2435 by hokein
[clangd] Collect missing macro references.
Summary: Semantic highlghting is missing a few macro references.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68458
llvm-svn: 373889
The file was modifiedclang-tools-extra/clangd/CollectMacros.h
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Commit 5ce8c391499cd6003a784d1c187d680da579efc0 by grimar
[llvm-readelf/llvm-objdump] - Improve/refactor the implementation of
SHT_LLVM_ADDRSIG section dumping.
This patch:
* Adds a llvm-readobj/llvm-readelf test file for SHT_LLVM_ADDRSIG
sections. (we do not have any)
* Enables dumping of SHT_LLVM_ADDRSIG with --all.
* Changes the logic to report a warning instead of an error when
something goes wrong during dumping
(allows to continue dumping SHT_LLVM_ADDRSIG and other sections on
error).
* Refactors a piece of logic to a new toULEB128Array helper which might
be used for GNU-style
dumping implementation.
Differential revision: https://reviews.llvm.org/D68383
llvm-svn: 373890
The file was addedllvm/test/tools/llvm-readobj/elf-addrsig.test
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/all.test
Commit 2c082b48274fcba62bf9b3acb63075aedcc7a976 by kkleine
[lldb][ELF] Read symbols from .gnu_debugdata sect.
Summary: If the .symtab section is stripped from the binary it might be
that there's a .gnu_debugdata section which contains a smaller .symtab
in order to provide enough information to create a backtrace with
function names or to set and hit a breakpoint on a function name.
This change looks for a .gnu_debugdata section in the ELF object file.
The .gnu_debugdata section contains a xz-compressed ELF file with a
.symtab section inside. Symbols from that compressed .symtab section are
merged with the main object file's .dynsym symbols (if any). In addition
we always load the .dynsym even if there's a .symtab section.
For example, the Fedora and RHEL operating systems strip their binaries
but keep a .gnu_debugdata section. While gdb already can read this
section, LLDB until this patch couldn't. To test this patch on a Fedora
or RHEL operating system, try to set a breakpoint on the "help" symbol
in the "zip" binary. Before this patch, only GDB can set this
breakpoint; now LLDB also can do so without installing extra debug
symbols:
    lldb /usr/bin/zip -b -o "b help" -o "r" -o "bt" -- -h
The above line runs LLDB in batch mode and on the "/usr/bin/zip -h"
target:
    (lldb) target create "/usr/bin/zip"
   Current executable set to '/usr/bin/zip' (x86_64).
   (lldb) settings set -- target.run-args  "-h"
Before the program starts, we set a breakpoint on the "help" symbol:
    (lldb) b help
   Breakpoint 1: where = zip`help, address = 0x00000000004093b0
Once the program is run and has hit the breakpoint we ask for a
backtrace:
    (lldb) r
   Process 10073 stopped
   * thread #1, name = 'zip', stop reason = breakpoint 1.1
       frame #0: 0x00000000004093b0 zip`help
   zip`help:
   ->  0x4093b0 <+0>:  pushq  %r12
       0x4093b2 <+2>:  movq   0x2af5f(%rip), %rsi       ;  + 4056
       0x4093b9 <+9>:  movl   $0x1, %edi
       0x4093be <+14>: xorl   %eax, %eax
    Process 10073 launched: '/usr/bin/zip' (x86_64)
   (lldb) bt
   * thread #1, name = 'zip', stop reason = breakpoint 1.1
     * frame #0: 0x00000000004093b0 zip`help
       frame #1: 0x0000000000403970 zip`main + 3248
       frame #2: 0x00007ffff7d8bf33 libc.so.6`__libc_start_main + 243
       frame #3: 0x0000000000408cee zip`_start + 46
In order to support the .gnu_debugdata section, one has to have LZMA
development headers installed. The CMake section, that controls this
part looks for the LZMA headers and enables .gnu_debugdata support by
default if they are found; otherwise or if explicitly requested, the
minidebuginfo support is disabled.
GDB supports the "mini debuginfo" section .gnu_debugdata since v7.6
(2013).
Reviewers: espindola, labath, jankratochvil, alexshap
Reviewed By: labath
Subscribers: rnkovacs, wuzish, shafik, emaste, mgorny, arichardson,
hiraditya, MaskRay, lldb-commits
Tags: #lldb, #llvm
Differential Revision: https://reviews.llvm.org/D66791
llvm-svn: 373891
The file was addedlldb/lit/Modules/ELF/minidebuginfo-no-lzma.yaml
The file was addedlldb/lit/Modules/ELF/minidebuginfo-find-symbols.yaml
The file was addedlldb/include/lldb/Host/LZMA.h
The file was modifiedlldb/source/Host/CMakeLists.txt
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was addedlldb/lit/Modules/ELF/minidebuginfo-corrupt-xz.yaml
The file was modifiedlldb/lit/lit.cfg.py
The file was modifiedlldb/lit/CMakeLists.txt
The file was addedlldb/lit/Modules/ELF/Inputs/minidebuginfo-main.c
The file was addedlldb/lit/Modules/ELF/minidebuginfo-set-and-hit-breakpoint.test
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/lit/lit.site.cfg.py.in
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was addedlldb/source/Host/common/LZMA.cpp
Commit 368e0f3757e27e6baac22a0961f491e9c31761bf by sam.mccall
[clangd] If an undocumented definition exists, don't accept
documentation from other forward decls.
Summary: This fixes cases like:
foo.h
   class Undocumented{}
bar.h
   // break an include cycle. we should refactor this!
   class Undocumented; Where the comment doesn't describe the class.
Note that a forward decl that is *visible to the definition* will still
have its doc comment used, by SymbolCollector: Merge isn't involved
here.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68467
llvm-svn: 373892
The file was modifiedclang-tools-extra/clangd/index/Merge.cpp
The file was modifiedclang-tools-extra/clangd/unittests/IndexTests.cpp
Commit 301decd93d79ab1e8764a46abac16db14225088b by jay.foad
[AMDGPU] Fix test checks
The GFX10-DENORM-STRICT checks were only passing by accident. Fix them
to make the test more robust in the face of scheduling or register
allocation changes.
llvm-svn: 373893
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.f16.ll
Commit 579882ae4407377671303f41d861d94d39a36549 by gabor.marton
[ASTImporter][NFC] Fix typo in user docs
llvm-svn: 373894
The file was modifiedclang/docs/LibASTImporter.rst
Commit 8f7fbed85e4b4d977bb8af7b7a5dc12e82749e56 by gabor.marton
[ASTImporter][NFC] Update ASTImporter internals docs
llvm-svn: 373895
The file was modifiedclang/docs/InternalsManual.rst
Commit 305a11d40911c7ae7cd37259feec3451b3a02ee1 by gabor.marton
[ASTImporter][NFC] Enable disabled but passing test
RedeclChainShouldBeCorrectAmongstNamespaces
llvm-svn: 373896
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit 77c97002dc1ac66b429d8012df0536f0fd78a826 by hokein
[clangd] Catch an unchecked "Expected<T>" in HeaderSourceSwitch.
Summary: Also fixes a potential user-after-scope issue of "Path".
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68564
llvm-svn: 373897
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/HeaderSourceSwitch.cpp
Commit 0fedc26a0dc0066f3968b9fea6a4e1f746c8d5a4 by nicolasweber
Revert r373888 "[IA] Recognize hexadecimal escape sequences"
It broke MC/AsmParser/directive_ascii.s on all bots:
    Assertion failed: (Index < Length && "Invalid index!"), function
operator[],
       file ../../llvm/include/llvm/ADT/StringRef.h, line 243.
llvm-svn: 373898
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/test/MC/AsmParser/directive_ascii.s