SuccessChanges

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

Summary

  1. [TableGen] Update editor modes for new keywords. (details)
  2. [InstSimplify] add tests for vector select; NFC (details)
  3. AArch64: fix bitcode upgrade of @llvm.neon.addp. (details)
  4. Expression eval lookup speedup by not returning methods in (details)
  5. Fix "null pointer passed to nonnull argument" clang static analyzer (details)
  6. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  7. Merge isa<> and getAs<> calls to fix "pointer is null" static analyzer (details)
  8. Remove duplicate variable. NFCI. (details)
  9. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  10. Fix "pointer is null" static analyzer warning. NFCI. (details)
  11. [llvm-readobj][llvm-readelf][test] - Add a few more dynamic section (details)
  12. [lldb/DWARF] Move location list sections into DWARFContext (details)
  13. [AIX] ExternalSymbolSDNode lowering (details)
  14. [DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour (details)
  15. [OpenCL] Add MSAA sharing extension builtin functions (details)
  16. Revert "Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks (details)
Commit e3ed63e83ab6194aaf6711b97bdf09f16dcf2401 by simon.tatham
[TableGen] Update editor modes for new keywords.
Summary: D71407 and D71474 added new keywords to the Tablegen language:
`defvar`, `if`, `then` and `else`. This commit updates the various
editor modes to highlight them appropriately.
Some of the modes also didn't include `defset`, so I've added that too
while I was there.
Reviewers: MaskRay, lebedev.ri, plotfi
Reviewed By: lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72693
The file was modifiedllvm/utils/emacs/tablegen-mode.el
The file was modifiedllvm/utils/vscode/tablegen/syntaxes/TableGen.tmLanguage
The file was modifiedllvm/utils/kate/llvm-tablegen.xml
The file was modifiedllvm/utils/vim/syntax/tablegen.vim
Commit cfe2fab708de3a1d8e05a829a132f335a189acc9 by spatel
[InstSimplify] add tests for vector select; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
The file was modifiedllvm/test/Transforms/InstSimplify/select.ll
Commit 77cc690bae310f4cba0a34f2da8a37a7c9a10a82 by Tim Northover
AArch64: fix bitcode upgrade of @llvm.neon.addp.
We were upgrading it to faddp, but a version taking two type parameters
instead of one. This then got upgraded a second time to the version with
just one parameter, but occasionally (for reasons I don't understand)
this unusual two-stage process corrupted a use-list, leading to a crash
when the two faddp declarations didn't match.
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was addedllvm/test/Bitcode/aarch64-addp-upgrade.ll
The file was addedllvm/test/Bitcode/aarch64-addp-upgrade.bc
Commit a705cf1acbe94498f7fcca4e89be6d4820271227 by pavel
Expression eval lookup speedup by not returning methods in
ManualDWARFIndex::GetFunctions
Summary: This change is connected with https://reviews.llvm.org/D69843
In large codebases, we sometimes see Module::FindFunctions (when called
from ClangExpressionDeclMap::FindExternalVisibleDecls) returning huge
amounts of functions.
In current fix I trying to return only function_fullnames from
ManualDWARFIndex::GetFunctions when eFunctionNameTypeFull is passed as
argument.
Reviewers: labath, jarin, aprantl
Reviewed By: labath
Subscribers: shafik, clayborg, teemperor, arphaman, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70846
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp
Commit 7ec7a6e5bfa745c285d5c651af02b93f2cb923e1 by llvm-dev
Fix "null pointer passed to nonnull argument" clang static analyzer
warnings. NFCI.
Assert that the memcpy arguments are valid.
The file was modifiedclang/lib/AST/NestedNameSpecifier.cpp
Commit 25dc5c7cd159522ec2375544f473c757ee13a03b by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately below and castAs will perform the null assertion for us.
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
Commit cc8a1504283731f05f937464b631f170d748b7b0 by llvm-dev
Merge isa<> and getAs<> calls to fix "pointer is null" static analyzer
warnings. NFCI.
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
Commit 9d905e8ceddda8b103e208ed43a117cb4445e682 by llvm-dev
Remove duplicate variable. NFCI.
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
Commit 591cd40584300a1d5d33bfaefa4698c02ef56887 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use cast<> instead of cast_or_null<> since the pointers are always
dereferenced and cast<> will perform the null assertion for us.
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit 1d6b964ed1f7a77b178e86bef7d569611f2c0983 by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Remove Ctx null test as clang static analyzer assumes that this can fail
- replace it with an assertion as the pointer is always dereferenced
below.
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit e1f524ea43f920767259c47e201405091d7e76fd by grimar
[llvm-readobj][llvm-readelf][test] - Add a few more dynamic section
tests.
This adds a few more tests for dynamic section.
We only had tests for simple unknown values for 64-bits target, in this
patch I've added OS specific and processor specific tags. Also it tests
both 32 and 64-bits targets now.
It will help to fix the formatting issues we have and diagnose a
possible new ones.
Differential revision: https://reviews.llvm.org/D71896
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
The file was modifiedllvm/test/tools/llvm-objdump/elf-dynamic-section.test
Commit 4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb by pavel
[lldb/DWARF] Move location list sections into DWARFContext
These are the last sections not managed by the DWARFContext object. I
also introduce separate SectionType enums for dwo section variants, as
this is necessary for proper handling of single-file split dwarf.
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/test/Shell/ObjectFile/ELF/section-types.yaml
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Commit 25a8aec7f37b970849ccf5f2893431e2ca858709 by Xiangling.Liao
[AIX] ExternalSymbolSDNode lowering
For memcpy/memset/memmove etc., replace ExternalSymbolSDNode with a
MCSymbolSDNode, which have a prefix dot before function name as entry
point symbol.
Differential Revision: https://reviews.llvm.org/D70718
The file was addedllvm/test/CodeGen/PowerPC/aix-external-sym-sdnode-lowering.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-user-defined-memcpy.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 35787e3a062a4a21c145137552d20cb1169c74fc by Tom.Weaver
[DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour
Tests.
Adds 22 distinct tests that exercise the live-debug-values passes
expected behaviour.
reviewers: aprantl, vsk
Differential revision: https://reviews.llvm.org/D72515
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_early_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_move_to_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond.mir
Commit 92451f0904ceab1d81d71a9f17ab366bf57eddc7 by sven.vanhaastregt
[OpenCL] Add MSAA sharing extension builtin functions
Add the MSAA sharing builtin functions from the OpenCL Extension
Specification.
Patch by Pierre Gondois and Sven van Haastregt.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 192cce10f67e4f22be6d9b8c0975f78ad246d1bd by flo
Revert "Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks
instead of recomputing.""
This reverts commit a03d7b0f24b65d69721dbbbc871df0629efcf774.
As discussed in D68298, this causes a compile-time regression, in case
the DTs requested are not used elsewhere in GlobalOpt. We should only
get the DTs if they are available here, but this seems not possible with
the legacy pass manager from a module pass.
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp