Changes

Summary

  1. [clang][index] Index the injected class name types. (details)
  2. [llvm-as] Fix assembling of index with multiple summaries sharing single (details)
  3. [clangd] Handle the missing injectedClassNameType in targetDecl. (details)
  4. Change the googlemock link (details)
  5. [lldb] Fix an asan error from 27df2d9f556c (details)
  6. [mlir][orc] unbreak MLIR ExecutionEngine after ORC changes (details)
  7. [Concepts] Fix bug when referencing function parameters in instantiated (details)
  8. [ARM][MVE] Clear MaskedInsts vector (details)
  9. [llvm-readobj] - Rewrite gnuhash.test test to stop using precompiled (details)
  10. [Doc] Update requirements for masked load/store (details)
  11. [llvm-exegesis] Serial snippet: Restrict the set of back-to-back (details)
  12. [lldb] s/lldb/%lldb in two tests (details)
  13. [Alignment][NFC] Use Align with CreateMaskedStore (details)
  14. [Concepts] Placeholder constraints and abbreviated templates (details)
  15. Add support for (expressing) vscale. (details)
  16. Revert "[Concepts] Fix bug when referencing function parameters in (details)
  17. [clangd] Do not duplicate TemplatedDecls in findExplicitReferences (details)
  18. [LLD][ELF][ARM] Don't apply --fix-cortex-a8 to relocatable links. (details)
  19. [AArch64][SVE] Add intrinsic for non-faulting loads (details)
  20. [lld/ELF] PR44498: Support input filename in double quote (details)
  21. [lldb/DWARF] Remove one more auto-dwo method (details)
  22. Remove extra ';' to fix Wpedantic. NFCI. (details)
  23. [X86][SSE] combineExtractWithShuffle - pull out repeated extract index (details)
  24. [mlir] Enable specifying verify on OpInterface (details)
  25. [mlir][spirv] Add lowering for composite std.constant. (details)
  26. Extend misc-misplaced-const to detect using declarations as well as (details)
  27. [llvm-mca][NFC] Regenerate tests @HEAD. (details)
  28. Use SelectionDAG::getShiftAmountConstant(). NFCI. (details)
  29. [SelectionDAG] getShiftAmountConstant - assert the type is an integer. (details)
  30. [InstCombine] add tests for fneg+fadd; NFC (details)
  31. AMDGPU: Fix missing immarg on llvm.amdgcn.interp.mov (details)
  32. AMDGPU/GlobalISel: RegBankSelect interp intrinsics (details)
  33. Revert "Extend misc-misplaced-const to detect using declarations as well (details)
  34. [ASTImporter] Properly delete decls from SavedImportPaths (details)
  35. AMDGPU: Fix interaction of tfe and d16 (details)
  36. AMDGPU/GlobalISel: Handle atomic_inc/atomic_dec (details)
  37. AMDGPU/GlobalISel: Fix RegbankSelect for llvm.amdgcn.fmul.legacy (details)
  38. [MachineScheduler] Allow clustering mem ops with complex addresses (details)
  39. [AArch64][SVE] Add patterns for unpredicated load/store to (details)
  40. [ARM] MVE Gather Scatter cost model tests. NFC (details)
  41. [ARM] Basic gather scatter cost model (details)
Commit a133cbaad5b292aab7134e3a91e80c5b2dddbe7e by hokein.wu
[clang][index] Index the injected class name types.
Summary: Currently, we (clangd) are missing this kind of references.
Reviewers: kadircet
Subscribers: ilya-biryukov, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73109
The file was modifiedclang/lib/Index/IndexTypeSourceInfo.cpp
The file was modifiedclang/unittests/Index/IndexTests.cpp
Commit 3593b5b3e9ce59dc17c26b5d6e77413437fa03f7 by evgeny
[llvm-as] Fix assembling of index with multiple summaries sharing single
GUID
Differential revision: https://reviews.llvm.org/D73091
The file was addedllvm/test/Assembler/thinlto-multiple-summaries-for-guid.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
Commit 5d4e89975714875a86cb8e62b60d93eebefa4029 by hokein.wu
[clangd] Handle the missing injectedClassNameType in targetDecl.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73102
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit 935729e4c63a07570f16f5d6112903f349365775 by pavel
Change the googlemock link
Summary: This commit changes the googlemock link in the Testing Guide
doc as googlemock is absorbed into the GoogleTest project
Reviewers: shafik, labath, JDevlieghere, mib
Reviewed By: labath
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73082
The file was modifiedllvm/docs/TestingGuide.rst
Commit 0157a74bec3d2ef1fac5b874327b97d2ae8e95c8 by pavel
[lldb] Fix an asan error from 27df2d9f556c
This error is caused by a combination of a couple of factors:
- the test accidentally creating a list with a single (empty) FileSpec
instead of an empty list
- lldb overzeleously converting empty strings into nullptrs
- asan overzeleously validating symlink(2) arguments (the real symlink
call would just fail with EFAULT)
I fix this by using FileSpec::GetPath instead of GetCString. This avoids
the nullptr and also avoids inserting the path into the global string
pool.
I also enhance the test case to test both empty paths and empty lists.
The file was modifiedlldb/source/Host/posix/FileSystemPosix.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py
Commit 7984b47401f7f36475619abf2ff02de3b5ff0481 by zinenko
[mlir][orc] unbreak MLIR ExecutionEngine after ORC changes
Changes to ORC in ce2207abaf9a925b35f15ef92aaff6b301ba6d22 changed the
APIs in IRCompileLayer, now requiring the custom compiler to be wrapped
in IRCompileLayer::IRCompiler. Even though MLIR relies on Orc
CompileUtils, the type is still visible in several places in the code.
Adapt those to the new API.
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 45538b5fb280e5b2903f7924fd4fa5b07a6dd3ea by saar
[Concepts] Fix bug when referencing function parameters in instantiated
function template requires clause
Fixes bug #44613 - instantiated parameters were not being added when
instantiating the requires clauses.
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Commit c04b9ba59580b09788d61fcad18e72f8c490cff2 by sam.parker
[ARM][MVE] Clear MaskedInsts vector
In MVETailPredication, clear the vector before running on a new loop.
Differential Revision: https://reviews.llvm.org/D73048
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/clear-maskedinsts.ll
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
Commit eaa594f4ec54eba52b03fd9f1c789b214c66a753 by grimar
[llvm-readobj] - Rewrite gnuhash.test test to stop using precompiled
objects.
This rewrites the test to use YAML and removes 4 precompiled object.
Differential revision: https://reviews.llvm.org/D73096
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/gnuhash.so.elf-ppc64
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnuhash.test
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/gnuhash.so.elf-ppc
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/gnuhash.so.elf-x86_64
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/gnuhash.so.elf-i386
Commit 1d549e68d4ac58e5fcdc1c9c6d2d09334fab4fbf by gchatelet
[Doc] Update requirements for masked load/store
The file was modifiedllvm/docs/LangRef.rst
Commit 5be8b2ec4a0f73900b4b41f6c67ac7d0091d6ac7 by courbet
[llvm-exegesis] Serial snippet: Restrict the set of back-to-back
instructions
Summary: Right now when picking a back-to-back instruction at random, we
might select instructions that we do not know how to handle. Add a
ExegesisTarget hook to possibly filter instructions.
Reviewers: gchatelet
Subscribers: tschuett, mstojanovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73161
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
Commit 889a4f55c9100d55f9c120b8408c16491d73c7b5 by pavel
[lldb] s/lldb/%lldb in two tests
%lldb is the proper substitution. Using "lldb" can cause us to execute
the system lldb instead of the one we are testing. This happens at least
in standalone builds.
The file was modifiedlldb/test/Shell/ObjectFile/ELF/PT_TLS-overlap-PT_LOAD.yaml
The file was modifiedlldb/test/Shell/ObjectFile/ELF/PT_LOAD-overlap-PT_TLS.yaml
Commit 0957233320eb0096bbb7665e0762a13bad1e7cb8 by gchatelet
[Alignment][NFC] Use Align with CreateMaskedStore
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D73106
The file was modifiedllvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
Commit e57a9abc4b01fa69fe81ace8df70517983b6cbac by saar
[Concepts] Placeholder constraints and abbreviated templates
This patch implements P1141R2 "Yet another approach for constrained
declarations".
General strategy for this patch was:
- Expand AutoType to include optional type-constraint, reflecting the
wording and easing the integration of constraints.
- Replace autos in parameter type specifiers with invented parameters in
GetTypeSpecTypeForDeclarator, using the same logic
previously used for generic lambdas, now unified with abbreviated
templates, by:
- Tracking the template parameter lists in the Declarator object
- Tracking the template parameter depth before parsing function
declarators (at which point we can match template
   parameters against scope specifiers to know if we have an explicit
template parameter list to append invented parameters
   to or not).
- When encountering an AutoType in a parameter context we check a stack
of InventedTemplateParameterInfo structures that
contain the info required to create and accumulate invented template
parameters (fields that were already present in
LambdaScopeInfo, which now inherits from this class and is looked up
when an auto is encountered in a lambda context).
Resubmit after incorrect check in NonTypeTemplateParmDecl broke lldb.
Differential Revision: https://reviews.llvm.org/D65042
The file was modifiedclang/lib/AST/ODRHash.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/Sema/Scope.h
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.closure/p3.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaCXX/cxx1y-generic-lambdas.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/include/clang/AST/TypeProperties.td
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/AST/TemplateBase.cpp
The file was modifiedclang/include/clang/AST/TemplateBase.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/Parser/cxx2a-placeholder-type-constraint.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/test/CXX/temp/temp.param/p10-2a.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was addedclang/test/CXX/dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/SemaTemplate/ms-delayed-default-template-args.cpp
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/include/clang/AST/PropertiesBase.td
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/Sema/ScopeInfo.h
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CXX/dcl/dcl.fct/p17.cpp
Commit 67d4c9924c1fbfdbfcfa90bf729945eca0a92f86 by sander.desmalen
Add support for (expressing) vscale.
In LLVM IR, vscale can be represented with an intrinsic. For some
targets, this is equivalent to the constexpr:
  getelementptr <vscale x 1 x i8>, <vscale x 1 x i8>* null, i32 1
This can be used to propagate the value in CodeGenPrepare.
In ISel we add a node that can be legalized to one or more instructions
to materialize the runtime vector length.
This patch also adds SVE CodeGen support for VSCALE, which maps this
node to RDVL instructions (for scaled multiples of 16bytes) or CNT[HSD]
instructions (scaled multiples of 2, 4, or 8 bytes, respectively).
Reviewers: rengolin, cameron.mcinally, hfinkel, sebpop, SjoerdMeijer,
efriedma, lattner
Reviewed by: efriedma
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68203
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was addedllvm/test/CodeGen/AArch64/sve-vscale.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/docs/LangRef.rst
Commit 7b81c3f8793d30a4285095a9b67dcfca2117916c by saar
Revert "[Concepts] Fix bug when referencing function parameters in
instantiated function template requires clause"
This temporarily reverts commit 45538b5fb280e5b2903f7924fd4fa5b07a6dd3ea
which breaks a test.
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
Commit 9570f1e5a612348e92c2f149f5073ef06f9e5da5 by kadircet
[clangd] Do not duplicate TemplatedDecls in findExplicitReferences
Reviewers: hokein
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73101
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit e727f39ec0b15ee8aec52e83467299d79b2ea8f5 by peter.smith
[LLD][ELF][ARM] Don't apply --fix-cortex-a8 to relocatable links.
The --fix-cortex-a8 is sensitive to alignment and the precise
destination of branch instructions. These are not knowable at
relocatable link time. We follow GNU ld and the --fix-cortex-a53-843419
(D72968) by not patching the code when there is a relocatable link.
Differential Revision: https://reviews.llvm.org/D73100
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/test/ELF/arm-fix-cortex-a8-recognize.s
Commit cdcc4f2a44b5ac0f32c3af844040994c6effaa2f by kerry.mclaughlin
[AArch64][SVE] Add intrinsic for non-faulting loads
Summary: This patch adds the llvm.aarch64.sve.ldnf1 intrinsic, plus DAG
combine rules for non-faulting loads and sign/zero extends
Reviewers: sdesmalen, efriedma, andwar, dancgr, mgudim, rengolin
Reviewed By: sdesmalen
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
cameron.mcinally, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71698
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-loads-nf.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit c42fe24754f4a2173d16b799085cec88cad6f24c by thomasp
[lld/ELF] PR44498: Support input filename in double quote
Summary: Linker scripts allow filenames to be put in double quotes to
prevent characters in filenames that are part of the linker script
syntax from having their special meaning. Case in point the * wildcard
character.
Availability of double quoting filenames also allows to fix a failure in
ELF/linkerscript/filename-spec.s when the path contain a @ which the
lexer consider as a special characters and thus break up a filename
containing it. This may happens under Jenkins which createspath such as
pipeline@2.
To avoid the need for escaping GlobPattern metacharacters in filename in
double quotes, GlobPattern::create is augmented with a new parameter to
request literal matching instead of relying on the presence of a
wildcard character in the pattern.
Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap
Reviewed By: MaskRay
Subscribers: peter.smith, grimar, ruiu, emaste, arichardson, hiraditya,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72517
The file was modifiedlld/include/lld/Common/Strings.h
The file was modifiedlld/test/ELF/linkerscript/filename-spec.s
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/Common/Strings.cpp
The file was modifiedlld/ELF/SymbolTable.cpp
The file was modifiedlld/ELF/LinkerScript.h
Commit 3d7177acd751704d42278ea78e5353943187045d by pavel
[lldb/DWARF] Remove one more auto-dwo method
Summary: Our DWARFUnit was automatically forwarding the requests to the
split unit when looking for a DIE by offset. llvm::DWARFUnit does not do
that, and is not likely to start doing it any time soon.
This patch deletes the this logic and updates the callers to request the
correct unit instead. While doing that, I've found a bit of duplicated
code for lookup up a function and block by address, so I've extracted
that into a helper function.
Reviewers: JDevlieghere, aprantl, clayborg, jdoerfert
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D73112
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
Commit 201c646b2b9988cdebf6e95d523283009ae2e5ba by llvm-dev
Remove extra ';' to fix Wpedantic. NFCI.
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.cpp
Commit 963f26818693afe8edd7826c9e4266a4cfc86dae by llvm-dev
[X86][SSE] combineExtractWithShuffle - pull out repeated extract index
code. NFCI.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 178562fb352d12b5235c63f75297b8a456b53a0f by jpienaar
[mlir] Enable specifying verify on OpInterface
Summary: Add method in ODS to specify verification for operations
implementing a OpInterface. Use this with infer type op interface to
verify that the inferred type matches the return type and remove special
case in TestPatterns.
This could also have been achieved by using OpInterfaceMethod but verify
seems pretty common and it is not an arbitrary method that just happened
to be named verifyTrait, so having it be defined in special way seems
appropriate/better documenting.
Differential Revision: https://reviews.llvm.org/D73122
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/include/mlir/Analysis/InferTypeOpInterface.td
The file was modifiedmlir/test/mlir-tblgen/return-types.mlir
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpInterfacesGen.cpp
The file was modifiedmlir/include/mlir/Analysis/InferTypeOpInterface.h
The file was modifiedmlir/lib/TableGen/OpInterfaces.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/Analysis/InferTypeOpInterface.cpp
The file was modifiedmlir/include/mlir/TableGen/OpInterfaces.h
Commit 4460cb5bcd739156c1dd67110c3456ba8322a76e by antiagainst
[mlir][spirv] Add lowering for composite std.constant.
Add lowering for constant operation with ranked tensor type to
spv.constant with spv.array type.
Differential Revision: https://reviews.llvm.org/D73022
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
Commit ecc7dae50c41bc8a129a158ecf0ae0270126505c by aaron
Extend misc-misplaced-const to detect using declarations as well as
typedef
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/MisplacedConstCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/misc-misplaced-const.rst
Commit 2accdb6ae19093e2a571072b4f19b5f58c0c9349 by courbet
[llvm-mca][NFC] Regenerate tests @HEAD.
For Zen2.
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-cmov.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-mmx.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse41.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update-5.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse42.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-ssse3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-aes.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-x86_32.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-adx.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sha.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-popcnt.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/partial-reg-update-7.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse4a.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-mwaitx.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-lzcnt.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-fma.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-fsgsbase.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
Commit c784e5451b29545e2fb450cc590410c0914bb849 by llvm-dev
Use SelectionDAG::getShiftAmountConstant(). NFCI.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 80656fd7aef05bce5fe7ee0ab61220c01455018f by llvm-dev
[SelectionDAG] getShiftAmountConstant - assert the type is an integer.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit c0f53ed80662fb9d5facbf0b05284f906a355c83 by spatel
[InstCombine] add tests for fneg+fadd; NFC
The file was modifiedllvm/test/Transforms/InstCombine/fneg.ll
Commit 64e95282012a81bf7a2a93473b85420a440839ee by arsenm2
AMDGPU: Fix missing immarg on llvm.amdgcn.interp.mov
The first operand maps to an immediate field, so this should be immarg.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td
Commit b94d3b9b77a0ee2e55a38133d69a458158ef4073 by arsenm2
AMDGPU/GlobalISel: RegBankSelect interp intrinsics
Note this assumes the future use of immediates for immarg, not the
current G_CONSTANT which will be emitted.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.interp.p1.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.interp.mov.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.interp.p2.f16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.interp.p2.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.interp.p1.f16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit e3b15ed376f3753d2a4e16281f8230e4ffed41ba by aaron
Revert "Extend misc-misplaced-const to detect using declarations as well
as typedef"
This reverts commit ecc7dae50c41bc8a129a158ecf0ae0270126505c due to
breaking bots:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/22157
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/43297
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/MisplacedConstCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/misc-misplaced-const.rst
Commit 4481eefbe8425c63289186dd13319aaa7043e67f by Raphael Isemann
[ASTImporter] Properly delete decls from SavedImportPaths
Summary: We see a significant regression (~40% slower on large
codebases) in expression evaluation after
https://reviews.llvm.org/rL364771. A sampling profile shows the extra
time is spent in SavedImportPathsTy::operator[] when called from
ASTImporter::Import. I believe this is because ASTImporter::Import adds
an element to the SavedImportPaths map for each decl unconditionally
(see
https://github.com/llvm/llvm-project/blob/7b81c3f8793d30a4285095a9b67dcfca2117916c/clang/lib/AST/ASTImporter.cpp#L8256).
To fix this, we call SavedImportPathsTy::erase on the declaration rather
than clearing its value vector. That way we do not accidentally
introduce new empty elements.  (With this patch the performance is
restored, and we do not see SavedImportPathsTy::operator[] in the
profile anymore.)
Reviewers: martong, teemperor, a.sidorin, shafik
Reviewed By: martong
Subscribers: rnkovacs, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73166
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 9c928649a085646c4c779bac095643b50b464d83 by arsenm2
AMDGPU: Fix interaction of tfe and d16
This using the wrong result register, and dropping the result entirely
for v2f16. This would fail to select on the scalar case. I believe it
was also mishandling packed/unpacked subtargets.
The file was addedllvm/test/CodeGen/AMDGPU/image-load-d16-tfe.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit a722cbf77cc638064592c508ea0c1be13775ee31 by arsenm2
AMDGPU/GlobalISel: Handle atomic_inc/atomic_dec
The intermediate instruction drops the extra volatile argument. We are
missing an atomic ordering on these.
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.atomic.dec.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.atomic.inc.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.atomic.dec.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 70096ca111ee2848fb2e29a7cb3e4fb7e3ba9ef9 by arsenm2
AMDGPU/GlobalISel: Fix RegbankSelect for llvm.amdgcn.fmul.legacy
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.fmul.legacy.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit e0f0d0e55cc7d389ad0692fbc9678e7895978355 by jay.foad
[MachineScheduler] Allow clustering mem ops with complex addresses
The generic BaseMemOpClusterMutation calls into TargetInstrInfo to
analyze the address of each load/store instruction, and again to decide
whether two instructions should be clustered. Previously this had to
represent each address as a single base operand plus a constant byte
offset. This patch extends it to support any number of base operands.
The old target hook getMemOperandWithOffset is now a convenience
function for callers that are only prepared to handle a single base
operand. It calls the new more general target hook
getMemOperandsWithOffset.
The only requirements for the base operands returned by
getMemOperandsWithOffset are:
- they can be sorted by MemOpInfo::Compare, such that clusterable ops
get sorted next to each other, and
- shouldClusterMemOps knows what they mean.
One simple follow-on is to enable clustering of AMDGPU FLAT instructions
with both vaddr and saddr (base register + offset register). I've left a
FIXME in the code for this case.
Differential Revision: https://reviews.llvm.org/D71655
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiInstrInfo.h
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
Commit 4cf16efe49766d454eda74927a547a0cf587f540 by sander.desmalen
[AArch64][SVE] Add patterns for unpredicated load/store to
frame-indices.
This patch also fixes up a number of cases in DAGCombine and
SelectionDAGBuilder where the size of a scalable vector is used in a
fixed-width context (thus triggering an assertion failure).
Reviewers: efriedma, c-rhodes, rovka, cameron.mcinally
Reviewed By: efriedma
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71215
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/include/llvm/Analysis/MemoryLocation.h
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was addedllvm/test/CodeGen/AArch64/spillfill-sve.ll
Commit 0b83e14804c46aaf8ba40863bb6d1a3cf175b997 by david.green
[ARM] MVE Gather Scatter cost model tests. NFC
The file was addedllvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
Commit e9c198278e2193a8ba78686ef8acc49c587dd40e by david.green
[ARM] Basic gather scatter cost model
This is a very basic MVE gather/scatter cost model, based roughly on the
code that we will currently produce. It does not handle truncating
scatters or extending gathers correctly yet, as it is difficult to tell
that they are going to be correctly extended/truncated from the limited
information in the cost function.
This can be improved as we extend support for these in the future.
Based on code originally written by David Sherwood.
Differential Revision: https://reviews.llvm.org/D73021
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h