SuccessChanges

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

Summary

  1. Compile-fix after StringRef's conversion operator has been made (details)
  2. [lldb/DWARF] Don't assume that a SymbolFileDWARFDwo contains one compile (details)
  3. [mlir] Build fix for mlir-opt (details)
  4. [lldb/Reproducers] Serialize empty string for char* methods. (details)
  5. [clangd] Add a flag for spelled references in the Index (details)
  6. Fix build after D72746 (details)
  7. [LLDB] Fix compilation with GCC 5 (details)
  8. Fix some typos in ArrayRef.h (details)
  9. [SYCL][Driver] Add clang driver option to enable SYCL compilation mode (details)
  10. [yaml2obj] - Change NameIndex to StName for Symbol. (details)
  11. [yaml2obj] Refactor command line parsing (details)
  12. Fix lld test after D74034 (details)
  13. [NFC] Fix error handling documentation (details)
  14. [ARM] Fix non-determenistic behaviour (details)
  15. [llvm-readobj][test] Fix test after yaml2obj change (D74034) (details)
  16. [mlir] Add AffineMaxOp (details)
  17. [IRCE] Use SCEVExpander to modify loop bound (details)
  18. [clangd] Filter out implicit references while renaming (details)
  19. Fix build after D74112 (details)
  20. [ADT] Fix iplist_impl - use after move warnings (PR43943) (details)
  21. [llvm-exegesis] Improve error reporting (details)
  22. [llvm-exegesis] Improve error reporting in Target.cpp (details)
  23. StringRef.h: __builtin_strlen seems to exist in VS 2017 MSVC 19.16 or (details)
  24. Try to fix ilist.h after 529e6f8791b6 (details)
  25. Revert "[llvm-exegesis] Improve error reporting" and follow-up. (details)
  26. [LLD][ELF] Add time-trace to ELF LLD (details)
  27. [llvm-exegesis] Document `repetition-mode`. (details)
  28. [lldb] Add test for calling const functions (details)
  29. [lldb][NFC] Move call-overidden-method test to lang/cpp/ folder (details)
  30. [clang][driver][ARM] Clean up ARM target & feature checking in clang (details)
  31. [ReachingDefs] Make isSafeToMove more strict. (details)
  32. [RDA] getInstFromId: find instructions. NFC. (details)
  33. [ARM] peephole-bitcast test change. NFC. (details)
  34. [clangd] don't rename on protobuf symbols. (details)
  35. Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location" (details)
  36. Revert "[DebugInfo][DAG] Distinguish different kinds of location (details)
  37. Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field" (details)
  38. [doc] typo in optimisation remark example (details)
  39. [OpenCL] Reduce size of builtin function tables (details)
  40. [clangd] Set "spelled" flag for constructor references. (details)
Commit 1a53b732e6bf1bbadd8d352573172c9d0c8b0cca by llvm-project
Compile-fix after StringRef's conversion operator has been made
explicit.
Commit 777180a "[ADT] Make StringRef's std::string conversion operator
explicit" caused Polly's GPU code generator to not compile anymore. The
rest of Polly has already been fixed in commit 0257a9 "Fix polly build
after StringRef change."
The file was modifiedpolly/lib/CodeGen/ManagedMemoryRewrite.cpp
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
Commit e3aa062ae957f61ee9f9e25f52bdb3c690c79fe3 by labath
[lldb/DWARF] Don't assume that a SymbolFileDWARFDwo contains one compile
unit
Summary: This is a preparatory patch to re-enable DWP support in lldb
(we already have code claiming to do that, but it has been completely
broken for a while now).
The idea of the new approach is to make the SymbolFileDWARFDwo class
handle both dwo and dwo files, similar to how llvm uses one DWARFContext
to handle the two.
The first step is to remove the assumption that a SymbolFileDWARFDwo
holds just a single compile unit, i.e. the GetBaseCompileUnit method.
This requires changing the way how we reach the skeleton compile unit
(and the lldb_private::CompileUnit) from a dwo unit, which was
previously done via GetSymbolFile()->GetBaseCompileUnit() (and some
virtual dispatch).
The new approach reuses the "user data" mechanism of DWARFUnits, which
was used to link dwarf units (both skeleton and split) to their
lldb_private counterparts. Now, this is done only for non-dwo units, and
instead of that, the dwo units holds a pointer to the relevant skeleton
unit.
Reviewers: JDevlieghere, aprantl, clayborg
Reviewed By: JDevlieghere, clayborg
Subscribers: arphaman, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D73781
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
Commit 8dc3da7d58fe253b17bbfbdb5b4b51e8f0aa2e0f by joker-eph
[mlir] Build fix for mlir-opt
mlir-opt needs to link against MLIRLoopAnalysis This shouldn't be needed
but MLIR "hack" for
"whole-archive" linking is not compatible with CMake transitive
dependencies management.
Differential Revision: https://reviews.llvm.org/D74097
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
Commit 3da7dcf38a96b7ba8ba0cb61be40210ace3fd91f by Jonas Devlieghere
[lldb/Reproducers] Serialize empty string for char* methods.
For the methods taking a char* and a length that have a custom replayer,
ignore the incoming string in the instrumentation macro. This prevents
potentially reading garbage and blowing up the SB API log.
The file was modifiedlldb/source/API/SBFileSpec.cpp
The file was modifiedlldb/source/API/SBProcess.cpp
The file was modifiedlldb/source/API/SBStructuredData.cpp
The file was modifiedlldb/source/API/SBThread.cpp
Commit a6860c1af45776e349eaed3e8f0bb7e97abccd89 by kbobyrev
[clangd] Add a flag for spelled references in the Index
This patch allows the index does to provide a way to distinguish
implicit references (e.g. coming from macro expansions) from the spelled
ones. The corresponding flag was added to RefKind and symbols that are
referenced without spelling their name explicitly are now marked
implicit. This allows fixing incorrect behavior when renaming a symbol
that was referenced in macro expansions would try to rename macro
invocations.
Differential Revision: D72746
Reviewed by: hokein
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Ref.h
Commit 6bfc45cf60d2a82e659d3911c26169ad02cf78c0 by kbobyrev
Fix build after D72746
D72746 was missing a part of the patch before landing.
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
The file was modifiedclang/lib/Tooling/Syntax/Tokens.cpp
Commit 5bbaf543585c54868f8a2bdd9e74edcf395b24b3 by martin
[LLDB] Fix compilation with GCC 5
Differential Revision: https://reviews.llvm.org/D74084
The file was modifiedlldb/source/DataFormatters/FormatCache.cpp
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
The file was modifiedlldb/source/Interpreter/CommandAlias.cpp
Commit 67905fc13ea367faac267f531c0b0c5cfcedb943 by hans
Fix some typos in ArrayRef.h
The file was modifiedllvm/include/llvm/ADT/ArrayRef.h
Commit 863d9752105f390b31b3d08d1980d2888c15b034 by alexey.bader
[SYCL][Driver] Add clang driver option to enable SYCL compilation mode
Summary: As a first step this implementation enables compilation of the
offload code.
Reviewers: ABataev
Subscribers: ebevhan, Anastasia, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74048
The file was addedclang/test/Driver/sycl.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit fd0abcbfc18f9ed250ce3a95e1a979f0c01649ec by grimar
[yaml2obj] - Change NameIndex to StName for Symbol.
It is consistent with the approach we use for Section struct.
Differential revision: https://reviews.llvm.org/D74034
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/symbol-name.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
Commit a29a9a34f49fe674b259ef06a5044684401233a9 by maskray
[yaml2obj] Refactor command line parsing
* Hide unrelated options.
* Add "OVERVIEW: " to yaml2obj -h/--help.
* Place options under a yaml2obj category.
* Disallow -docnum. Currently -docnum is the only yaml2obj specific long
option that is affected.
* Specify `cl::init("-")` and `cl::Prefix` for OutputFilename. The
latter allows `-ofile`
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D73982
The file was addedllvm/test/tools/yaml2obj/help.test
The file was addedllvm/test/tools/yaml2obj/output-file.yaml
The file was removedllvm/test/tools/yaml2obj/invalid-output-file.yaml
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
Commit 7ddd13070501a14d53689a4c87b0c56252c31995 by maskray
Fix lld test after D74034
The file was modifiedlld/test/ELF/invalid/symbol-name.test
Commit b093b663707afccefef204d85fc37a95c6ac4ddf by Milos.Stojanovic
[NFC] Fix error handling documentation
The default Error constructor can't be used since rL286561.
Differential Revision: https://reviews.llvm.org/D74069
The file was modifiedllvm/docs/ProgrammersManual.rst
The file was modifiedllvm/include/llvm/Object/MachO.h
Commit 8ba2b6281075c65c1a47abed57810e1201942533 by diogo.sampaio
[ARM] Fix non-determenistic behaviour
Summary: ARM Type Promotion pass does not clear the container that
defines if one variable was visited or not, missing optimization
opportunities by luck when two llvm:Values from different functions  are
allocated at the same memory address.
Also fixes a comment and uses existing method to pop and obtain last
element of the worklist.
Reviewers: samparker
Reviewed By: samparker
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73970
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
Commit 819e755a269dd687586962191298ca9cf1a1d4fb by maskray
[llvm-readobj][test] Fix test after yaml2obj change (D74034)
The file was modifiedllvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
Commit 5c3b34930c31227b5f33f1886d13431c4c90a1b0 by zinenko
[mlir] Add AffineMaxOp
Differential Revision: https://reviews.llvm.org/D73848
The file was modifiedmlir/include/mlir/EDSC/Intrinsics.h
The file was modifiedmlir/test/AffineOps/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/AffineOps/AffineOps.td
The file was modifiedmlir/test/AffineOps/ops.mlir
The file was modifiedmlir/test/Transforms/lower-affine.mlir
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/lib/Dialect/AffineOps/AffineOps.cpp
The file was modifiedmlir/test/AffineOps/canonicalize.mlir
Commit 99a6e405edbfc4eb54af5fe7804f47aae139ce53 by dantrushin
[IRCE] Use SCEVExpander to modify loop bound
IRCE pass checks that it can calculate loop bounds by checking SCEV
availability at loop entry. However it is possible that loop bound SCEV
is loop invariant, but instruction used to compute it resides within
loop. In such case adjusting loop bound in preheader using IRBuilder
leads to malformed SSA. Use SCEVExpander instead to generate proper
instructions.
Reviewed-by: mkazantsev Differential Revision:
https://reviews.llvm.org/D73496
The file was addedllvm/test/Transforms/IRCE/non-loop-invariant-rhs-instr.ll
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
Commit 10540e480dfb243d992ff77db14219f696cc774a by kbobyrev
[clangd] Filter out implicit references while renaming
This patch is based on D72746 and prevents non-spelled references from
being renamed which would cause incorrect behavior otherwise.
Reviewed by: hokein
Differential Revision: https://reviews.llvm.org/D74112
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit d5e6e0a58b188627084d4714a4b2862c529870f8 by kbobyrev
Fix build after D74112
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit 529e6f8791b624d94c10a04dc4e530e4a22ac520 by llvm-dev
[ADT] Fix iplist_impl - use after move warnings (PR43943)
As detailed on PR43943, we're seeing static analyzer use after move
warnings in the iplist_impl move constructor/operator as they call
std::move to both the TraitsT and IntrusiveListT base classes.
As suggested by @dexonsmith this patch casts the moved value to the base
classes to silence the warnings.
Differential Revision: https://reviews.llvm.org/D74062
The file was modifiedllvm/include/llvm/ADT/ilist.h
Commit b3576f60ebc8f660afad8120a72473be47517573 by Milos.Stojanovic
[llvm-exegesis] Improve error reporting
Fix inconsistencies in error reporting created by mixing
`report_fatal_error()` and `ExitOnErr()`, and add additional information
to the error message to make it more user friendly. Minimize the use
`report_fatal_error()` because it's meant for use in very rare cases and
it results in low information density of the error messages.
Summary of the new design:
* For command line argument errors output `llvm-exegesis:
<error_message>`,
  which is consistent with the error output format emitted by the
backend
  which checks correctness of the command line arguments.
* For other errors the format `llvm-exegesis error: <error_message>` is
used.
** If the error occurred during file access `<error_message>` will have
   of two parts: `'<file_name>': <rest_of_the_error_message>`
Differential Revision: https://reviews.llvm.org/D74085
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 141915963b6ab36ee4e577d1b27673fa4d05b409 by Milos.Stojanovic
[llvm-exegesis] Improve error reporting in Target.cpp
Followup to D74085. Replace the use of `report_fatal_error()` with
returning the error to
`llvm-exegesis.cpp` and handling it there.
Differential Revision: https://reviews.llvm.org/D74113
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
Commit 1b3d1661bbeb2c90f8f3ef6e2b77a70bc148731e by hans
StringRef.h: __builtin_strlen seems to exist in VS 2017 MSVC 19.16 or
later
This is a follow-up to ff837aa63cd, as discussed on the llvm-commits
thread for that one.
The file was modifiedllvm/include/llvm/ADT/StringRef.h
Commit 4c330be678c9f70f43df9aaba38191fdb61217f8 by hans
Try to fix ilist.h after 529e6f8791b6
The file was modifiedllvm/include/llvm/ADT/ilist.h
Commit abe01e17f648a97666d4fbed41f0861686a17972 by hans
Revert "[llvm-exegesis] Improve error reporting" and follow-up.
It broke e.g. all tests under tools/llvm-exegesis/X86/ when libpfm is
not available, see comment on D74085.
This reverts commit b3576f60ebc8f660afad8120a72473be47517573 and
141915963b6ab36ee4e577d1b27673fa4d05b409.
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
Commit e7cb374433095219069ef767f70c0c9159a65b7c by russell.gallop
[LLD][ELF] Add time-trace to ELF LLD
This adds some of LLD specific scopes and picks up optimisation scopes
via LTO/ThinLTO. Makes use of TimeProfiler multi-thread support added in
77e6bb3c.
Differential Revision: https://reviews.llvm.org/D71060
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was addedlld/test/ELF/lto/thinlto-time-trace.ll
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/MarkLive.cpp
The file was addedlld/test/ELF/time-trace.s
The file was modifiedlld/ELF/Config.h
The file was modifiedllvm/include/llvm/LTO/Config.h
The file was modifiedlld/ELF/Options.td
Commit 89a66474b6c1e5843c3dbc96bde52e5a7076c6cc by courbet
[llvm-exegesis] Document `repetition-mode`.
Reviewers: gchatelet
Subscribers: tschuett, mstojanovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74114
The file was modifiedllvm/docs/CommandGuide/llvm-exegesis.rst
Commit 0ea20ebf2d46072c36a0be49fdf4061480a42206 by Raphael Isemann
[lldb] Add test for calling const functions
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/function-qualifiers/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/function-qualifiers/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py
Commit 7603778922ab1e93ec3d9da451fcd89c3bad9ec2 by Raphael Isemann
[lldb][NFC] Move call-overidden-method test to lang/cpp/ folder
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/TestCallOverriddenMethod.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
Commit 09a88120c9269a9af0d80bc59afb2cb5806140ff by michael.hliao
[clang][driver][ARM] Clean up ARM target & feature checking in clang
driver.
Summary:
- Similar to other targets, instead of passing a toolchain, a driver
argument should be passed into `arm::getARMTargetFeatures`. Aslo, that
routine should honor the specified triple. Refactor
`arm::getARMFloatABI` with 2 separate interfaces. One has the original
parameters and the other uses the driver and the specified triple.
- That fixes an issue when target & features are queried during the
offload compilation, where the specified triple should be checked
instead of a effective triple. A previously failed test is re-enabled.
Subscribers: kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74020
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedclang/test/Driver/cuda-simple.cu
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 0a8cae10feb283b7a0886c5b52055de3db8b0e10 by sam.parker
[ReachingDefs] Make isSafeToMove more strict.
Test that we're not moving the instruction through instructions with
side-effects.
Differential Revision: https://reviews.llvm.org/D74058
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 93b0536fd2af8a7a0be6cebd0f768a89d64cac30 by sjoerd.meijer
[RDA] getInstFromId: find instructions. NFC.
To find the instruction in the block for a given ID, first a count and
then a lookup was performed in the map, which is almost the same thing,
thus doing double the work.
Differential Revision: https://reviews.llvm.org/D73866
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/include/llvm/CodeGen/ReachingDefAnalysis.h
Commit 20a1d03d778dedaa91cbf8ff63d4be92c2291ca0 by sjoerd.meijer
[ARM] peephole-bitcast test change. NFC.
This test case was XFAIL'ed because the peepholer was missing an
optimisation. But the peepholer is now able to handle this case, so
enable this test. I will close the corresponding and very old PR11364.
The file was modifiedllvm/test/CodeGen/ARM/peephole-bitcast.ll
Commit d6da8a1d945361327b8da79195dbfccc2e533e87 by hokein.wu
[clangd] don't rename on protobuf symbols.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74036
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit ed5998d21e4bdffe4baae918bc9065ae8435c49c by jeremy.morse
Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location"
This reverts commit 2d3174c4df6b5f4131346828d0a31675d80d6e2b.
The overall solution for this problem is reverting D68945, which wasn't
handling the -O0 path through the codegen backend correctly. See:
discussion in D73526.
The file was modifiedllvm/test/DebugInfo/COFF/types-array-advanced.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was removedllvm/test/DebugInfo/X86/safestack-deref.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/test/DebugInfo/X86/safestack-byval.ll
Commit ece761427f63de96ee52bbd6be1c61b07967a917 by jeremy.morse
Revert "[DebugInfo][DAG] Distinguish different kinds of location
indirection"
This reverts commit 3137fe4d23eeb8df08c03e9111465325eeafe08e.
I'm backing out D68945, which this patch is a follow up for. It'll be
re-landed when D68945 is fixed.
The changes to dbg-value-func-arg.ll occur because our handling of
certain kinds of location now mixes up indirection that happens at
different points in a DIExpression. While this is a regression, it's a
return to the prior behaviour while a better patch is sought.
The file was modifiedllvm/test/CodeGen/X86/dbg-value-func-arg.ll
The file was removedllvm/test/DebugInfo/X86/stack-arg-deref.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 6531a78ac4b5b229bce272706593a0bc873877d7 by jeremy.morse
Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field"
This reverts commit ed29dbaafa49bb8c9039a35f768244c394411fea.
I'm backing out D68945, which as the discussion for D73526 shows,
doesn't seem to handle the -O0 path through the codegen backend
correctly. I'll reland the patch when a fix is worked out, apologies for
all the churn. The two parent commits are part of this revert too.
Conflicts:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/DebugInfo/X86/dbg-addr-dse.ll
SelectionDAGBuilder conflict is due to a nearby change in e39e2b4a79c6
that's technically unrelated. dbg-addr-dse.ll conflicted because
41206b61e30c (legitimately) changes the order of two lines.
There are further modifications to dbg-value-func-arg.ll: it landed
after the patch being reverted, and I've converted indirection to be
represented by the isIndirect field rather than DW_OP_deref.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/DebugInfo/ARM/PR16736.ll
The file was modifiedllvm/test/DebugInfo/X86/vla.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr-dse.ll
The file was modifiedllvm/test/DebugInfo/X86/op_deref.ll
The file was modifiedllvm/test/DebugInfo/X86/safestack-byval.ll
The file was modifiedllvm/test/DebugInfo/X86/live-debug-vars-dse.mir
The file was modifiedllvm/test/DebugInfo/X86/parameters.ll
The file was modifiedllvm/test/CodeGen/PowerPC/debuginfo-stackarg.ll
The file was modifiedllvm/test/DebugInfo/ARM/float-stack-arg.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll
The file was modifiedllvm/test/CodeGen/X86/dbg-value-func-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-nontrivial-param.ll
The file was modifiedllvm/test/CodeGen/ARM/debug-info-arg.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/test/DebugInfo/COFF/pieces.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-indirect-nrvo.ll
Commit f70109f70ca9cdc7d416b8952a79c14e388b3180 by sjoerd.meijer
[doc] typo in optimisation remark example
Fix typo in the vectorisation optimisation remarks example:
  -Rpass-missed=loop-vectorized
=>
-Rpass-missed=loop-vectorize
The file was modifiedllvm/docs/Vectorizers.rst
Commit 0fff6593f8962784d1e2e99994d2ad986f2759a8 by sven.vanhaastregt
[OpenCL] Reduce size of builtin function tables
Reduce the size of some of the TableGen'ed OpenCL builtin function
tables:
- Use bit fields for bools such that they are packed together.  This
  saves about 7kb.
- Use unsigned short for SignatureTable.  This saves about 10kb.
The file was modifiedclang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Commit ca9fd22adb5a633429ea85d2d62e5414ca35ab11 by hokein.wu
[clangd] Set "spelled" flag for constructor references.
Summary: DeclarationName for cxx constructor is special, it is not an
identifier. thus the "Spelled" flag are not set for all ctor references,
this patch fixes it.
Reviewers: kbobyrev
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74125
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolID.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp