SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [lldb][NFC] Replace ClangASTImporter's use of map/set with SmallPtrSet (details)
  2. [lldb][NFC] Remove unnecessary includes in source/Commands (details)
  3. Fix title underline in LangRef (details)
  4. [lldb][NFC] Remove ClangASTImporter::ResolveDeclOrigin (details)
  5. [clangd] Get rid of raw string literals in macro calls (details)
  6. [lldb][NFC] Fix file header of TestClangASTContext.cpp (details)
  7. [ARM] Move MVE opcode helper functions to ARMBaseInstrInfo. NFC. (details)
  8. [CodegenPrepare] Guard against degenerate branches (details)
  9. [lldb][NFC] Move definition of ClangASTMetadata out of (details)
  10. [NFC] Fix typos in Clangd and Clang (details)
  11. Fix for AMDGPU MUL_I24 known bits calculation (details)
  12. [BasicBlockUtils] Add utility to remove redundant dbg.value instrs (details)
  13. [LoopRotate] Add test case to show dbg value problem (details)
  14. [BasicBlockUtils] Fix dbg.value elimination problem in (details)
  15. Fix whitespace. (details)
  16. [lldb] Centralize desugaring of decltype-like types in ClangASTContext (details)
  17. [lldb][NFC] Remove all overloads of Copy/DeportType in ClangASTImporter (details)
  18. Add initial tests for update_{llc_,cc_,}test_checks.py (details)
  19. [lldb] Add unit test for ClangASTImporter (details)
  20. [Aarch64][SVE] Add intrinsics for scatter stores (details)
  21. [AArch64] Enable emission of stack maps for non-Mach-O binaries on (details)
  22. [AArch64][SVE2] Add intrinsics for binary narrowing operations (details)
  23. [Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove (details)
  24. [llvm-exegesis] Set up AsmTargetStreamer in readSnippets (details)
  25. [lldb] Use file-based synchronization in TestVSCode_attach (details)
  26. find_interesting_reviews.py: adapt to github monorepo (details)
  27. Reland [AArch64][MachineOutliner] Return address signing for outlined (details)
  28. gn build: (manually, belatedly) merge r371898 (details)
  29. gn build: (manually, belatedly) merge r358832 (details)
  30. Revert "[Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove" (details)
  31. Revert "[clangd] Implement "textDocument/documentLink" protocol support" (details)
  32. Silence an MSVC "not all control paths" diagnostic; NFC. (details)
  33. [clangd] Make Tweak::Selection movable. NFC (details)
  34. [clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor (details)
  35. Revert "[clangd] Reapply b60896fad926 Fall back to selecting (details)
  36. [clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor (details)
  37. [clang][SystemZ] Add support for -march=native (details)
  38. Fix floating point builtins to not promote float->double (details)
  39. [OPENMP50]Add if clause in target teams distribute parallel for simd (details)
  40. [llvm-exegesis][mips] Add SnippetGeneratorTest unit test (details)
  41. gn build: Merge 0add79aec2e (details)
  42. [mips] Add an assert in getTargetStreamer() (details)
  43. Revert "Revert "[libomptarget] Move resource id functions into target (details)
  44. [Bugpoint] Do not create illegal function attribute combos (details)
  45. [libunwind][RISCV] Add 64-bit RISC-V support (details)
  46. Fixing a -Wcovered-switch diagnostic and changing tabs to spaces; NFC. (details)
  47. [TLI] Support for per-Function TLI that overrides available libfuncs (details)
  48. [llvm-cxxfilt] Correctly demangle COFF import thunk (details)
  49. [SystemZ]  Improve verification of MachineOperands. (details)
  50. Revert "[clangd] Reapply b60896fad926 Fall back to selecting (details)
  51. [lit] max_failures does not need to be stored in LitConfig (details)
Commit e2d47614a81d0805a869e614ffff1512e0136da9 by Raphael Isemann
[lldb][NFC] Replace ClangASTImporter's use of map/set with SmallPtrSet
and DenseMap
We have several pointer->pointer mappings in the ClangASTImporter
implemented using STL data structures. This moves these variables to the
appropriate LLVM data structures that are intended for mapping pointers.
The file was modifiedlldb/include/lldb/Symbol/ClangASTImporter.h
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
Commit 068325012796bf2da527612ea6fdc61531c8beb3 by Raphael Isemann
[lldb][NFC] Remove unnecessary includes in source/Commands
Summary: This removes most of unnecessary includes in the
`source/Commands` directory. This was generated by IWYU and a script
that fixed all the bogus reports from IWYU. Patch is tested on Linux and
macOS.
Reviewers: JDevlieghere
Reviewed By: JDevlieghere
Subscribers: krytarowski, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71489
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.h
The file was modifiedlldb/source/Commands/CommandObjectLanguage.h
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectSource.h
The file was modifiedlldb/source/Commands/CommandObjectType.h
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectLanguage.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.cpp
The file was modifiedlldb/source/Commands/CommandObjectReproducer.h
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp
The file was modifiedlldb/source/Commands/CommandObjectExpression.h
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectApropos.cpp
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.h
The file was modifiedlldb/source/Commands/CommandObjectExpression.cpp
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlugin.h
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.h
The file was modifiedlldb/source/Commands/CommandObjectStats.cpp
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
The file was modifiedlldb/source/Commands/CommandObjectLog.h
The file was modifiedlldb/source/Commands/CommandObjectCommands.h
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.h
The file was modifiedlldb/source/Commands/CommandObjectSettings.h
The file was modifiedlldb/source/Commands/CommandObjectTarget.h
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Commands/CommandObjectLog.cpp
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Commands/CommandObjectRegister.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlugin.cpp
The file was modifiedlldb/source/Commands/CommandObjectVersion.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.h
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Commands/CommandObjectStats.h
Commit 51707196a0452c8d4c4995350ebbb7e7dfdd3482 by gribozavr
Fix title underline in LangRef
The docs didn't compile:
http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/38906
The file was modifiedllvm/docs/LangRef.rst
Commit 64678ef9f289e9c1951fee5dbcacde583f3d6576 by Raphael Isemann
[lldb][NFC] Remove ClangASTImporter::ResolveDeclOrigin
ResolveDeclOrigin was just an inconvenience method around GetDeclOrigin.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTImporter.h
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
Commit 0f959c87cc7867beb67bfab2d5e3cf90708b2f98 by kadircet
[clangd] Get rid of raw string literals in macro calls
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
Commit 959ed0e2944c454a3df3aa3bc8ab551c8b587e9b by Raphael Isemann
[lldb][NFC] Fix file header of TestClangASTContext.cpp
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
Commit 049f9672d8566f0d0a115f11e2a53018ea502b10 by sjoerd.meijer
[ARM] Move MVE opcode helper functions to ARMBaseInstrInfo. NFC.
In ARMLowOverheadLoops.cpp, MVETailPredication.cpp, and MVEVPTBlock.cpp
we have quite a few helper functions all looking at the opcodes of MVE
instructions. This moves all these utility functions to
ARMBaseInstrInfo.
Diferential Revision: https://reviews.llvm.org/D71426
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
Commit 5c29e8c65fe372b0239f32b38a0299d9abef3167 by v.churavy
[CodegenPrepare] Guard against degenerate branches
Summary: Guard against a potential crash observed in
https://github.com/JuliaLang/julia/issues/32994#issuecomment-524249628
If two branches are collapsed we can encounter a degenerate conditional
branch `TBB==FBB`. The subsequent code assumes that they differ, so we
exit out early.
Reviewers: ributzka, spatel
Subscribers: loladiro, dexonsmith, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66657
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was addedllvm/test/CodeGen/X86/codegen-prepare-collapse.ll
Commit f49d15b3f8ccd7737a62d40adfe5ff1e710788d4 by Raphael Isemann
[lldb][NFC] Move definition of ClangASTMetadata out of
ClangExternalASTSourceCommon.h
Changing metadata of a ClangASTContext currently requires to include the
unrelated ClangExternalASTSourceCommon.h header because it actually
defines the ClangASTMetadata class.
This also removes the dependency from ClangASTImporter to
ClangExternalASTSourceCommon.
The file was addedlldb/source/Symbol/ClangASTMetadata.cpp
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
The file was modifiedlldb/source/Symbol/ClangExternalASTSourceCommon.cpp
The file was addedlldb/include/lldb/Symbol/ClangASTMetadata.h
The file was modifiedlldb/source/Symbol/CMakeLists.txt
The file was modifiedlldb/include/lldb/Symbol/ClangExternalASTSourceCommon.h
Commit 3b9715cb219352fb831af144fd68e14e8fd275b4 by kbobyrev
[NFC] Fix typos in Clangd and Clang
Reviewed by: Jim
Differential Revision: https://reviews.llvm.org/D71455
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/Diagnostics.cpp
The file was modifiedclang-tools-extra/clangd/index/FileIndex.h
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang/tools/libclang/CXIndexDataConsumer.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/Transport.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang/lib/Index/IndexingAction.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.cpp
The file was modifiedclang/include/clang/Index/IndexDataConsumer.h
The file was modifiedclang/lib/Index/IndexingContext.cpp
The file was modifiedclang/tools/libclang/CXIndexDataConsumer.h
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang/unittests/Index/IndexTests.cpp
The file was modifiedclang-tools-extra/clangd/Diagnostics.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.h
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang/tools/c-index-test/core_main.cpp
Commit 4f17b1784e94609a2139e0520593884e23345f7e by jay.foad
Fix for AMDGPU MUL_I24 known bits calculation
Summary: At present, the code calculating known bits of AMDGPU MUL_I24
confuses the concepts of "non-negative number" and "positive number".
In some situations, it results in incorrect code. I have a case where
the optimizer replaces the result of calculating MUL_I24(-5, 0) with -8.
Reviewers: foad, arsenm
Reviewed By: arsenm
Subscribers: foad, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Patch by Eugene Kuznetsov.
Differential Revision: https://reviews.llvm.org/D70367
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/include/llvm/Support/KnownBits.h
The file was addedllvm/test/CodeGen/AMDGPU/amdgpu-mul24-knownbits.ll
Commit 1c49553c19a7044fbbf4528b732926f19f210e54 by bjorn.a.pettersson
[BasicBlockUtils] Add utility to remove redundant dbg.value instrs
Summary: Add a RemoveRedundantDbgInstrs to BasicBlockUtils with the goal
to remove redundant dbg intrinsics from a basic block.
This can be useful after various transforms, as it might be simpler to
do a filtering of dbg intrinsics after the transform than during the
transform. One primary use case would be to replace a too aggressive
removal done by MergeBlockIntoPredecessor, seen at loop rotate (not done
in this patch).
The elimination algorithm currently focuses on dbg.value intrinsics and
is doing two iterations over the BB.
First we iterate backward starting at the last instruction in the BB.
Whenever a consecutive sequence of dbg.value instructions are found we
keep the last dbg.value for each variable found (variable fragments are
identified using the  {DILocalVariable, FragmentInfo, inlinedAt} triple
as given by the DebugVariable helper class).
Next we iterate forward starting at the first instruction in the BB.
Whenever we find a dbg.value describing a DebugVariable (identified by
{DILocalVariable, inlinedAt}) we save the {DIValue, DIExpression} that
describes that variables value. But if the variable already was mapped
to the same {DIValue, DIExpression} pair we instead drop the second
dbg.value.
To ease the process of making lit tests for this utility a new pass is
introduced called RedundantDbgInstElimination. It can be executed by opt
using -redundant-dbg-inst-elim.
Reviewers: aprantl, jmorse, vsk
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71478
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was addedllvm/test/Transforms/DCE/dbg-value-removal.ll
The file was modifiedllvm/lib/Transforms/Scalar/DCE.cpp
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 632deb6bd04022945468faef2dcaa8c9fdf1b0fd by bjorn.a.pettersson
[LoopRotate] Add test case to show dbg value problem
Summary: In commit d60f34c20a2f31335c8d5626e (llvm-svn 317128, PR35113)
MergeBlockIntoPredecessor was changed into discarding some dbg.value
intrinsics referring to PHI values, post-splice due to loop rotation.
That elimination of dbg.value intrinsics does not consider which
dbg.value to keep based on the context. Such as always keeping the one
that comes first textually, or the need to keep several of them in case
the variable is changing it's value several times inside the basic
block.
In the past that hasn't been such a big problem since
CodeGenPrepare::placeDbgValues has moved the dbg.value to be next to the
PHI node anyway. But after commit 00e238896cd8ad3a7d7 CodeGenPrepare
isn't doing that any longer, so we need to be more careful when avoiding
duplicate dbg.value intrinsics in MergeBlockIntoPredecessor.
This patch is just a pre commit of the test case.
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71479
The file was addedllvm/test/Transforms/LoopRotate/dbg-value-duplicates-2.ll
Commit e5f07080b8ac73dd573e81a186925a122ab8a39d by bjorn.a.pettersson
[BasicBlockUtils] Fix dbg.value elimination problem in
MergeBlockIntoPredecessor
Summary: In commit d60f34c20a2f31335c8d5626e (llvm-svn 317128, PR35113)
MergeBlockIntoPredecessor was changed into discarding some dbg.value
intrinsics referring to PHI values, post-splice due to loop rotation.
That elimination of dbg.value intrinsics did not consider which
dbg.value to keep depending on the context (e.g. if the variable is
changing its value several times inside the basic block).
In the past that hasn't been such a big problem since
CodeGenPrepare::placeDbgValues has moved the dbg.value to be next to the
PHI node anyway. But after commit 00e238896cd8ad3a7d7 CodeGenPrepare
isn't doing that any longer, so we need to be more careful when avoiding
duplicate dbg.value intrinsics in MergeBlockIntoPredecessor.
This patch replaces the code that tried to avoid duplicate dbg.values by
using the RemoveRedundantDbgInstrs helper.
Reviewers: aprantl, jmorse, vsk
Reviewed By: aprantl, vsk
Subscribers: jholewinski, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71480
The file was modifiedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/test/Transforms/LoopRotate/dbg-value-duplicates-2.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
Commit f8495017f0292df05f23878ea593f68d2d2c75f4 by jay.foad
Fix whitespace.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit ea2805a04b65331ca568ff76761ef8a52337e42b by pavel
[lldb] Centralize desugaring of decltype-like types in ClangASTContext
Summary: These types were handled in some places, but not others. This
resulted in (for example) not being able to display members of structs
whose types were defined using these constructs.
Using getLocallyUnqualifiedSingleStepDesugaredType for these types is
not fully equivalent, as it will only desugar them if the types are not
instantiation-dependent, whereas previously we did that unconditionally.
It's not clear to me which behavior is correct here, but the test suite
does not seem to care either way.
Reviewers: teemperor, shafik
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71405
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 75e8a91cf84fce2432f70949ab9e353ff2322a5f by Raphael Isemann
[lldb][NFC] Remove all overloads of Copy/DeportType in ClangASTImporter
The overloads that don't take a CompilerType serve no purpose as we
always have a CompilerType in the scope where we call them. Instead just
call the overload that takes a CompilerType and delete the now unused
other overloaded methods.
The file was modifiedlldb/include/lldb/Symbol/ClangASTImporter.h
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit 240aff80e0e59b79779d046b3275904fc0750d59 by Alexander.Richardson
Add initial tests for update_{llc_,cc_,}test_checks.py
Summary: This commit adds basic tests for these update script to
validate that they still work as expected. In the future we could extend
these tests whenever new features are added to avoid introducing
regressions.
Reviewers: xbolva00, MaskRay, jdoerfert
Reviewed By: jdoerfert
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70660
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/basic.test
The file was addedllvm/test/tools/UpdateTestChecks/lit.local.cfg
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/mangled_names.test
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/lit.local.cfg
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/basic.ll.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/mangled_names.c.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/mangled_names.c
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/basic.ll
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/basic.test
Commit 22caa3cfbcf5762a47acc40c425d9fe0c40da621 by Raphael Isemann
[lldb] Add unit test for ClangASTImporter
The file was modifiedlldb/unittests/Symbol/CMakeLists.txt
The file was addedlldb/unittests/Symbol/TestClangASTImporter.cpp
Commit 7e20c3a71d5fc3763f6d0b85312c866837a92a06 by andrzej.warzynski
[Aarch64][SVE] Add intrinsics for scatter stores
Summary: This patch adds the following SVE intrinsics for scatter
stores:
* 64-bit offsets:
* @llvm.aarch64.sve.st1.scatter (unscaled)
* @llvm.aarch64.sve.st1.scatter.index (scaled)
* 32-bit unscaled offsets:
* @llvm.aarch64.sve.st1.scatter.uxtw (zero-extended offset)
* @llvm.aarch64.sve.st1.scatter.sxtw (sign-extended-offset)
* 32-bit scaled offsets:
* @llvm.aarch64.sve.st1.scatter.uxtw.index (zero-extended offset)
* @llvm.aarch64.sve.st1.scatter.sxtw.index (sign-extended offset)
* vector base + immediate:
* @llvm.aarch64.sve.st1.scatter.imm
Reviewers: rengolin, efriedma, sdesmalen
Reviewed By: efriedma, sdesmalen
Subscribers: kmclaughlin, eli.friedman, tschuett, kristof.beyls,
hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71074
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-32bit-scaled-offsets.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-32bit-unscaled-offsets.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-scaled-offset.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-unscaled-offset.ll
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base.ll
Commit 7f4f07ddf3200fb6596080b5211c3a790f35c5b7 by kristof.beyls
[AArch64] Enable emission of stack maps for non-Mach-O binaries on
AArch64.
The emission of stack maps in AArch64 binaries has been disabled for all
binary formats except Mach-O since rL206610, probably mistakenly, as far
as I can tell. This patch reverts this to its intended state.
Differential Revision: https://reviews.llvm.org/D70069
Patch by Loic Ottet.
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was addedllvm/test/CodeGen/AArch64/stackmap.ll
Commit c41d2b5ab2829d05268e9bbcf2f54756de445e57 by andrzej.warzynski
[AArch64][SVE2] Add intrinsics for binary narrowing operations
Summary: The following intrinsics for binary narrowing add and sub
operations are added:
* @llvm.aarch64.sve.addhnb
* @llvm.aarch64.sve.addhnt
* @llvm.aarch64.sve.raddhnb
* @llvm.aarch64.sve.raddhnt
* @llvm.aarch64.sve.subhnb
* @llvm.aarch64.sve.subhnt
* @llvm.aarch64.sve.rsubhnb
* @llvm.aarch64.sve.rsubhnt
Reviewers: sdesmalen, rengolin, efriedma
Reviewed By: sdesmalen, efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71424
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was addedllvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-add-sub.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 181ab91efc9fb08dedda10a2fbc5fccb83ce8799 by gchatelet
[Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove
Summary: This patch introduces a set of functions to enable deprecation
of IRBuilder functions without breaking out of tree clients. Functions
will be deprecated one by one and as in tree code is cleaned up.
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, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71473
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/include/llvm/IR/Function.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/include/llvm/IR/Argument.h
The file was modifiedllvm/lib/CodeGen/SafeStack.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit c72bff682193118c054eb3d3c59eb718042787da by gchatelet
[llvm-exegesis] Set up AsmTargetStreamer in readSnippets
Summary: This is a follow up on D71137 properly setting up the
AsmTargetStreamer prior to AsmParser::Run call.
Reviewers: courbet, mstojanovic
Subscribers: tschuett, mikhail.ramalho, llvm-commits, petarj, atanasyan
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71468
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetFile.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
Commit 755a66ebdeda38669f5498565cbc6af331b47bad by pavel
[lldb] Use file-based synchronization in TestVSCode_attach
The is the best method we have at the moment for attach-style tests.
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c
Commit 9d3f4a4971033ba8045c4cf67c7ceaf8b2d8d8f3 by kristof.beyls
find_interesting_reviews.py: adapt to github monorepo
The file was modifiedllvm/utils/Reviewing/find_interesting_reviews.py
Commit df0cc105fa7f04b9e79ac76759d3482c4989e969 by david.tellenbach
Reland [AArch64][MachineOutliner] Return address signing for outlined
functions
Summary: Reland after fixing a bug that allowed outlining of SP
modifying instructions that invalidated return address signing.
During AArch64 frame lowering instructions to enable return address
signing are inserted into functions if needed. Functions generated
during machine outlining don't run through target frame lowering and
hence are missing such instructions.
This patch introduces the following changes:
1. If not all functions that potentially participate in function
outlining agree
  on their return address signing scope and their return address signing
key,
  outlining is disabled for these functions. 2. If not all functions
that potentially participate in function outlining agree
  on their support for v8.3A features, outlining is disabled for these
  functions. 3. If an outlining candidate would outline instructions
that modify sp in a way
  that invalidates return address signing, outlining is disabled for
that
  particular candidate. 4. If all candidate functions agree on the
signing scope, signing key and their
  support for v8.3 features, the outlined function behaves as if it had
the
  same scope and key attributes and as if it would provide the same
v8.3A
  support as the original functions.
Reviewers: ostannard, paquette
Reviewed By: ostannard
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70635
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-mod.mir
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-mod.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
Commit d7bfd5f535a2d11d8608a91087f899e68317a410 by thakis
gn build: (manually, belatedly) merge r371898
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
Commit f4dfae9bb5c4099e9d17986a52ad8822522dc229 by thakis
gn build: (manually, belatedly) merge r358832
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
Commit 4658da10e4aabd15868876d879cfb185115a170c by gchatelet
Revert "[Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove"
This reverts commit 181ab91efc9fb08dedda10a2fbc5fccb83ce8799.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/lib/CodeGen/SafeStack.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/include/llvm/IR/Function.h
The file was modifiedllvm/include/llvm/IR/Argument.h
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit 079ef783dd5530b5f87beefe624b9179547ded7e by gribozavr
Revert "[clangd] Implement "textDocument/documentLink" protocol support"
This reverts commit d6417f5584aa7673fa0212029a96cc9cacb1aad5. The tests
depend on builtin headers, which is not intentionally supported in
clangd tests; these tests are broken in some build environments.
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
The file was removedclang-tools-extra/clangd/test/document-link.test
The file was modifiedclang-tools-extra/clangd/XRefs.h
Commit 4c4f4dd3f894a0f7a20df8b9696ffe22ab388821 by aaron
Silence an MSVC "not all control paths" diagnostic; NFC.
The file was modifiedclang/include/clang/AST/TypeProperties.td
Commit 7dc388bd9596bbf42633f8a8e450224e39740b60 by sam.mccall
[clangd] Make Tweak::Selection movable. NFC
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandMacro.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DumpAST.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RawStringLiteral.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/SwapIfBranches.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
Commit 2500a8d5d8813a3e31fc9ba8dd45e211439a1e3d by sam.mccall
[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor
if token-after-cursor fails.
This reverts commit f0604e73a4daa35a10eb17a998657d6c4bd0e971 The issue
with movability of Tweak::Selection was addressed in
7dc388bd9596bbf42633f8a8e450224e39740b60
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
Commit 8f876d5105507f874c0fb86bc779c9853eab3fe2 by sam.mccall
Revert "[clangd] Reapply b60896fad926 Fall back to selecting
token-before-cursor if token-after-cursor fails."
This reverts commit 2500a8d5d8813a3e31fc9ba8dd45e211439a1e3d.
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
Commit a0ff8cd631add513423fc2d8afa49e9650d01fe3 by sam.mccall
[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor
if token-after-cursor fails.
This reverts commit 8f876d5105507f874c0fb86bc779c9853eab3fe2.
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 9f99aba1cfeb603f368c45ef78ba9795bab16d47 by ulrich.weigand
[clang][SystemZ] Add support for -march=native
Handle -march=native in systemz::getSystemZTargetCPU, similar to how
this is done on other platforms.  Also change the return type to
std::string instead of const char *.
The file was modifiedclang/lib/Driver/ToolChains/Arch/SystemZ.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/SystemZ.h
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
Commit f02d6dd6c7afc08f871a623c0411f2d77ed6acf8 by erich.keane
Fix floating point builtins to not promote float->double
As brought up in D71467, a group of floating point builtins
automatically promoted floats to doubles because they used the variadic
builtin tag to support an overload set. The result is that the
parameters were treated as a variadic pack, which always promots
float->double.
This resulted in the wrong answer being given in cases with certain
values of NaN.
The file was addedclang/test/CodeGen/builtin_float.c
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/test/CodeGen/arm-float-helpers.c
Commit fd0c91bab184e50e548b9daca4b8cfb0719ff959 by a.bataev
[OPENMP50]Add if clause in target teams distribute parallel for 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_teams_distribute_parallel_for_simd_if_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 0add79aec2ee9081c6afebf10e84fe971b3ab4de by Milos.Stojanovic
[llvm-exegesis][mips] Add SnippetGeneratorTest unit test
Test latency with explicit register dependency, without and with
forbidden registers.
Differential Revision: https://reviews.llvm.org/D71471
The file was modifiedllvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/SnippetGeneratorTest.cpp
Commit d518f1da6d206cb909d5a1cd1f65d48e5d2c924f by llvmgnsyncbot
gn build: Merge 0add79aec2e
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mips/BUILD.gn
Commit d7efa6b1985ff14d0c50ade771d4b01ee1b5075e by Milos.Stojanovic
[mips] Add an assert in getTargetStreamer()
Check if the TargetStreamer can be accessed.
Differential Revision: https://reviews.llvm.org/D71477
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit 69fcc6ecc15bd01b2ade9efc49315b2097f0da40 by jonathanchesterfield
Revert "Revert "[libomptarget] Move resource id functions into target
specific code, implement for amdgcn""
Summary: This reverts commit dd8a7fcdd73dd63529b81bf9f72c7529dfe99ec3.
Alexey reports undefined symbols for the new inline functions defined in
target_impl.h This does not reproduce for me for nvptx, or amdgcn, under
release or debug builds.
I believe the patch is fine, based on:
- the semantics of an inline function in C++ (the cuda INLINE functions
end
  up as linkonce_odr in IR), which are only legal to drop if they have
no uses
- the code generated from a debug build of clang 9 does not show these
undef symbols
- the tests pass
- the code is trivial
To progress from here I either need:
- A tie break - someone to play the role of CI in determining whether
the patch works
- Alexey to provide sufficient information about his build for me to
reproduce the failure
- Alexey to debug why the symbols are disappearing for him and report
back
Reviewers: ABataev, jdoerfert, grokos
Subscribers: jvesely, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71502
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/common/support.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Commit 055aeb5275153ee61ccd59cab2987fdcaca73756 by dag
[Bugpoint] Do not create illegal function attribute combos
If a function requires optnone to trigger a crash, it must also have
noline, otherwise it will fail a verifier check.
Differential revision: https://reviews.llvm.org/D69522
The file was addedllvm/test/BugPoint/attr-crash.ll
The file was modifiedllvm/tools/bugpoint/CrashDebugger.cpp
Commit ce3d1c6d61dcd96f44492516f8b613bbcadaeb8e by selliott
[libunwind][RISCV] Add 64-bit RISC-V support
Summary: Add unwinding support for 64-bit RISC-V.
This is from the FreeBSD implementation with the following minor
changes:
- Renamed and renumbered DWARF registers to match the RISC-V ABI [1]
- Use the ABI mneumonics in getRegisterName() instead of the exact
  register names
- Include checks for __riscv_xlen == 64 to facilitate adding the 32-bit
  ABI in the future.
[1]
https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md
Patch by Mitchell Horne (mhorne)
Reviewers: lenary, luismarques, compnerd, phosek
Reviewed By: lenary, luismarques
Subscribers: arichardson, sameer.abuasal, abidh, asb, aprantl,
krytarowski, simoncook, kito-cheng, christof, shiva0217, rogfer01,
rkruppe, PkmX, psnobl, benna, lenary, s.egerton, luismarques, emaste,
cfe-commits
Differential Revision: https://reviews.llvm.org/D68362
The file was modifiedlibunwind/src/UnwindCursor.hpp
The file was modifiedlibunwind/src/UnwindRegistersRestore.S
The file was modifiedlibunwind/src/libunwind.cpp
The file was modifiedlibunwind/src/Registers.hpp
The file was modifiedlibunwind/src/UnwindRegistersSave.S
The file was modifiedlibunwind/include/__libunwind_config.h
The file was modifiedlibunwind/include/libunwind.h
The file was modifiedlibunwind/src/config.h
Commit 081f736157dea53735f098165d750abfbbcd96dd by aaron
Fixing a -Wcovered-switch diagnostic and changing tabs to spaces; NFC.
The file was modifiedclang/include/clang/AST/TypeProperties.td
Commit 878ab6df033d44430939c02075ee00800995dc3b by tejohnson
[TLI] Support for per-Function TLI that overrides available libfuncs
Summary:
Follow-on to D66428 and D71193, to build the TLI per-function so that
-fno-builtin* handling can be migrated to use function attributes. See
discussion on D61634 for background. This is an enabler for fixing
handling of these options for LTO, for example.
With D71193, the -fno-builtin* flags are converted to function
attributes, so we can now set this information per-function on the TLI.
In this patch, the TLI constructor is changed to take a Function, which
can be used to override the available builtins. The TLI is augmented
with an array that can be used to specify which builtins are not
available for the corresponding function. The available function checks
are changed to consult this override before checking the underlying
module level baseline TLII. New code is added to set this override array
based on the attributes.
I also removed the code that sets availability in the TLII in clang from
the options, which is no longer needed.
I removed a per-Triple caching of TLII objects in the analysis object,
as it is based on the Module's Triple which is the same for all
functions in any case. Is there a case where we would be compiling
multiple Modules with different Triples in one compilation?
Finally, I have changed the legacy analysis wrapper to create and use
the new PM analysis class (TargetLibraryAnalysis) in getTLI. This is
consistent with the behavior of getTTI for the legacy
TargetTransformInfo analysis. This change means that getTLI now creates
a new TLI on each call (although that should be very cheap as we cache
the module level TLII, and computing the per-function attribute based
availability should also be reasonably efficient). I measured the
compile time for a large C++ file with tens of thousands of functions
and as expected there was no increase.
Reviewers: chandlerc, hfinkel, gchatelet
Subscribers: mehdi_amini, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67923
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit 2597135571ecae435e10e9136d1eb0435beca8ee by Steven Wu
[llvm-cxxfilt] Correctly demangle COFF import thunk
Summary: llvm-cxxfilt wasn't correctly demangle COFF import thunk in
those two cases before:
* demangle in split mode (multiple words from commandline)
* the import thunk prefix was added no matter the later part of the
string can be demangled or not Now llvm-cxxfilt should handle both case
correctly.
Reviewers: compnerd, erik.pilkington, jhenderson
Reviewed By: jhenderson
Subscribers: jkorous, dexonsmith, ributzka, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71425
The file was modifiedllvm/test/tools/llvm-cxxfilt/coff-import.test
The file was modifiedllvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
Commit 49f55dda011ba80abeece9c44d667415eaf9ccb4 by paulsson
[SystemZ]  Improve verification of MachineOperands.
Now that the machine verifier will check for cases of register/immediate
MachineOperands and their correspondence to the MC instruction
descriptor, this patch adds the operand types to the descriptors where
they were previously missing. All MCOI::OPERAND_UNKNOWN operand types
have been handled to get a known type, except for G_... (global isel)
instructions.
Review: Ulrich Weigand https://reviews.llvm.org/D71494
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZOperands.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was addedllvm/test/CodeGen/SystemZ/mverify-optypes.mir
Commit 6af1ad20d60ef8ea23f2cfdb02d299b3b3114b06 by sam.mccall
Revert "[clangd] Reapply b60896fad926 Fall back to selecting
token-before-cursor if token-after-cursor fails."
This reverts commit a0ff8cd631add513423fc2d8afa49e9650d01fe3. Buildbot
failures I can't chase further tonight.
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit 00ffa744f978da119a759f144c58e83365e4e170 by julian.lettner
[lit] max_failures does not need to be stored in LitConfig
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
The file was modifiedllvm/utils/lit/lit/LitConfig.py
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/lit/run.py