This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-arm-mainline-defconfig in repository toolchain/ci/llvm-project.
from 91ab86fd29b [utils] update_test_checks.py: allow opt-8, opt-9 adds d3d6f4f65c7 Fix handling of objects under construction during constant [...] adds debad6460b6 Reject attempts to call non-static member functions on obje [...] adds ab8cde446b5 make -ftime-trace also print template arguments adds de7a30cb0a0 [clang-tidy] new check: bugprone-unhandled-self-assignment adds a09e6868218 [DAGCombiner] try to move bitcast after extract_subvector adds 2de619099a6 [LoopVectorizer] add tests for FP minmax; NFC adds a7fc7630829 [X86][AVX] Split VZEXT_MOVL ymm/zmm if the upper elements a [...] adds 69aec05bb15 Fix for P41852 where builtin attributes were being caught b [...] adds 3109836a60a [clang] Regenerate AST matcher docs 📖 adds 27415e7a92f [ORC] Fix some typos. adds 23085ec36d0 [JITLink] Add a test for zero-filled content. adds 4235a4edfeb Fix test to use -cc1. adds d1059e3331c gn build: Merge r360540 adds a263aa25e1f [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC adds 3e6d69063d7 gn build: merge r360550 new 61e556d2bdf Recommit r358887 "[TargetLowering][AMDGPU][X86] Improve Sim [...] new f9180b5abe4 gn build: support host build on ppc64 (a.k.a. powerpc64le) new b0e54cbcdf6 Fix file names in file headers. NFC new 45139290942 [JITLink] Track section alignment and make sure it is respe [...] new 98fe9c9869c [BPF] emit BTF sections only if debuginfo available new 89b35d9ccda [CMake] Add lli to LLDB_TEST_DEPS new f3be557159c [WebAssembly] Add dependency on WebAssemblyDesc to fix BUIL [...]
The 7 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + .../clang-tidy/bugprone/CMakeLists.txt | 1 + .../bugprone/UnhandledSelfAssignmentCheck.cpp | 99 ++++ .../bugprone/UnhandledSelfAssignmentCheck.h | 36 ++ clang-tools-extra/docs/ReleaseNotes.rst | 7 + .../checks/bugprone-unhandled-self-assignment.rst | 116 +++++ clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../bugprone-unhandled-self-assignment.cpp | 579 +++++++++++++++++++++ clang/docs/LibASTMatchersReference.html | 48 +- clang/include/clang/AST/APValue.h | 10 +- clang/include/clang/AST/Redeclarable.h | 7 + clang/include/clang/Basic/DiagnosticASTKinds.td | 26 +- clang/lib/AST/APValue.cpp | 13 +- clang/lib/AST/ExprConstant.cpp | 380 ++++++++++---- clang/lib/CodeGen/CodeGenModule.cpp | 9 +- clang/lib/Parse/ParseDecl.cpp | 5 +- clang/lib/Sema/SemaTemplateInstantiate.cpp | 6 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 6 +- clang/test/CXX/expr/expr.const/p2-0x.cpp | 4 +- clang/test/Sema/mingw-macro-qualified-type.c | 13 + clang/test/SemaCXX/constant-expression-cxx11.cpp | 76 ++- clang/test/SemaCXX/constant-expression-cxx1y.cpp | 46 ++ lldb/include/lldb/API/SBExpressionOptions.h | 6 +- lldb/include/lldb/API/SBThreadPlan.h | 2 +- lldb/include/lldb/Core/ValueObjectCast.h | 2 +- lldb/include/lldb/Expression/IRMemoryMap.h | 2 +- lldb/include/lldb/Host/HostGetOpt.h | 2 +- lldb/include/lldb/Host/HostInfo.h | 2 +- lldb/include/lldb/Host/windows/PipeWindows.h | 2 +- lldb/include/lldb/Host/windows/editlinewin.h | 2 +- lldb/include/lldb/Host/windows/windows.h | 2 +- lldb/include/lldb/Interpreter/OptionValueChar.h | 2 +- lldb/include/lldb/Symbol/LocateSymbolFile.h | 2 +- lldb/include/lldb/Symbol/UnwindTable.h | 2 +- lldb/include/lldb/lldb-public.h | 2 +- lldb/lit/CMakeLists.txt | 1 + .../StopHook/Inputs/stop-hook-threads.cpp | 2 +- lldb/source/API/SBBreakpointOptionCommon.cpp | 2 +- lldb/source/Breakpoint/BreakpointName.cpp | 2 +- .../source/Host/posix/ProcessLauncherPosixFork.cpp | 2 +- .../Instruction/ARM/EmulateInstructionARM.h | 2 +- .../Plugins/Instruction/ARM/EmulationStateARM.h | 2 +- .../InstrumentationRuntime/ASan/ASanRuntime.h | 2 +- .../InstrumentationRuntime/TSan/TSanRuntime.h | 2 +- .../InstrumentationRuntime/UBSan/UBSanRuntime.h | 2 +- lldb/source/Plugins/Process/Utility/ARMDefines.h | 2 +- .../Plugins/SymbolFile/DWARF/ManualDWARFIndex.h | 2 +- .../NativePDB/PdbFPOProgramToDWARFExpression.cpp | 2 +- .../NativePDB/PdbFPOProgramToDWARFExpression.h | 2 +- .../SymbolFile/NativePDB/UdtRecordCompleter.h | 2 +- lldb/source/Symbol/LocateSymbolFile.cpp | 2 +- lldb/source/Symbol/LocateSymbolFileMacOSX.cpp | 2 +- lldb/source/Utility/ProcessInfo.cpp | 2 +- lldb/source/Utility/VASprintf.cpp | 2 +- lldb/tools/darwin-debug/darwin-debug.cpp | 2 +- .../source/MacOSX/DarwinLog/ActivityStreamSPI.h | 2 +- lldb/tools/debugserver/source/MacOSX/Genealogy.cpp | 2 +- lldb/tools/debugserver/source/MacOSX/Genealogy.h | 2 +- .../tools/debugserver/source/MacOSX/GenealogySPI.h | 2 +- .../source/MacOSX/arm64/DNBArchImplARM64.cpp | 2 +- .../source/MacOSX/arm64/DNBArchImplARM64.h | 2 +- lldb/tools/lldb-mi/MICmdCmdSupportInfo.cpp | 2 +- lldb/tools/lldb-mi/MICmnMIValueResult.h | 2 +- .../TestingSupport/MockTildeExpressionResolver.h | 2 +- .../include/llvm/ExecutionEngine/JITLink/JITLink.h | 28 +- llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h | 2 - .../llvm/ExecutionEngine/Orc/LazyEmittingLayer.h | 4 +- .../llvm/ExecutionEngine/RuntimeDyldChecker.h | 60 ++- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 24 + llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 26 +- .../lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp | 27 +- llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h | 13 +- .../JITLink/MachOAtomGraphBuilder.cpp | 10 +- .../JITLink/MachOAtomGraphBuilder.h | 2 +- llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp | 4 +- .../RuntimeDyld/RuntimeDyldChecker.cpp | 36 +- llvm/lib/Target/BPF/BPFAsmPrinter.cpp | 3 +- llvm/lib/Target/WebAssembly/CMakeLists.txt | 1 - .../Target/WebAssembly/Disassembler/LLVMBuild.txt | 2 +- .../Disassembler/WebAssemblyDisassembler.cpp | 2 +- .../Target/WebAssembly/InstPrinter/CMakeLists.txt | 3 - .../Target/WebAssembly/InstPrinter/LLVMBuild.txt | 22 - llvm/lib/Target/WebAssembly/LLVMBuild.txt | 4 +- .../Target/WebAssembly/MCTargetDesc/CMakeLists.txt | 1 + .../Target/WebAssembly/MCTargetDesc/LLVMBuild.txt | 2 +- .../WebAssemblyInstPrinter.cpp | 2 +- .../WebAssemblyInstPrinter.h | 0 .../MCTargetDesc/WebAssemblyMCTargetDesc.cpp | 8 +- .../MCTargetDesc/WebAssemblyTargetStreamer.cpp | 6 +- .../Target/WebAssembly/WebAssemblyAsmPrinter.cpp | 2 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 12 + llvm/lib/Target/X86/X86RegisterInfo.cpp | 15 + llvm/lib/Target/X86/X86RegisterInfo.h | 5 + llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll | 31 ++ llvm/test/CodeGen/X86/bitcast-setcc-256.ll | 16 - llvm/test/CodeGen/X86/bitcast-setcc-512.ll | 8 +- llvm/test/CodeGen/X86/bitcast-vector-bool.ll | 24 +- llvm/test/CodeGen/X86/dagcombine-cse.ll | 13 +- llvm/test/CodeGen/X86/extractelement-fp.ll | 6 +- llvm/test/CodeGen/X86/insertelement-zero.ll | 2 - llvm/test/CodeGen/X86/madd.ll | 43 +- llvm/test/CodeGen/X86/movmsk-cmp.ll | 112 +--- llvm/test/CodeGen/X86/oddshuffles.ll | 71 ++- llvm/test/CodeGen/X86/pr41619.ll | 27 + llvm/test/CodeGen/X86/sad.ll | 18 +- llvm/test/CodeGen/X86/vector-fshl-256.ll | 4 +- llvm/test/CodeGen/X86/vector-fshl-rot-256.ll | 4 +- llvm/test/CodeGen/X86/vector-fshr-256.ll | 4 +- llvm/test/CodeGen/X86/vector-fshr-rot-256.ll | 4 +- llvm/test/CodeGen/X86/vector-rotate-256.ll | 4 +- llvm/test/CodeGen/X86/vector-shift-ashr-256.ll | 2 +- llvm/test/CodeGen/X86/vector-shuffle-256-v4.ll | 8 +- .../JITLink/X86/MachO_x86-64_relocations.s | 25 + .../LoopVectorize/float-minmax-instruction-flag.ll | 161 ++++++ llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp | 39 +- llvm/tools/llvm-jitlink/llvm-jitlink.cpp | 9 +- llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp | 20 +- .../clang-tools-extra/clang-tidy/bugprone/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/test/BUILD.gn | 2 + llvm/utils/gn/secondary/compiler-rt/target.gni | 2 + llvm/utils/gn/secondary/lld/test/BUILD.gn | 3 +- .../secondary/llvm/lib/Target/WebAssembly/BUILD.gn | 2 - .../lib/Target/WebAssembly/InstPrinter/BUILD.gn | 24 - .../lib/Target/WebAssembly/MCTargetDesc/BUILD.gn | 9 +- .../utils/gn/secondary/llvm/lib/Target/targets.gni | 6 +- llvm/utils/gn/secondary/llvm/test/BUILD.gn | 2 + llvm/utils/gn/secondary/llvm/triples.gni | 4 + 127 files changed, 2024 insertions(+), 590 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/bugprone-unhandled-sel [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-unhandled-self-assig [...] create mode 100644 clang/test/Sema/mingw-macro-qualified-type.c delete mode 100644 llvm/lib/Target/WebAssembly/InstPrinter/CMakeLists.txt delete mode 100644 llvm/lib/Target/WebAssembly/InstPrinter/LLVMBuild.txt rename llvm/lib/Target/WebAssembly/{InstPrinter => MCTargetDesc}/WebAssemblyInstPr [...] rename llvm/lib/Target/WebAssembly/{InstPrinter => MCTargetDesc}/WebAssemblyInstPr [...] create mode 100644 llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll create mode 100644 llvm/test/CodeGen/X86/pr41619.ll create mode 100644 llvm/test/Transforms/LoopVectorize/float-minmax-instruction-flag.ll delete mode 100644 llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/InstPrinter [...]