1. [SLPVectorizer] Assert that we find a LastInst to silence analyzer null (details)
  2. [VPlanSLP] Don't dereference a cast_or_null<VPInstruction> result. NFCI. (details)
  3. Implement semantic selections. (details)
  4. gn build: Merge r371976 (details)
Commit bfe6b35c7079495a418cf247ef3bec828b8abce9 by llvm-dev
[SLPVectorizer] Assert that we find a LastInst to silence analyzer null
dereference warning. NFCI.
llvm-svn: 371974
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 1aaefbca24aba4fd9fa382b85606ef292c740529 by llvm-dev
[VPlanSLP] Don't dereference a cast_or_null<VPInstruction> result. NFCI.
The static analyzer is warning about a potential null dereference of the
cast_or_null result, I've split the cast_or_null check from the
->getUnderlyingInstr() call to avoid this, but it appears that we
weren't seeing any null pointers in the dumped bundles in the first
llvm-svn: 371975
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanSLP.cpp (diff)
Commit 73c09eb7344e103f126811a7e6c670ddfa5fb771 by usx
Implement semantic selections.
Summary: For a given cursor position, it returns ranges that are
interesting to the user. Currently the semantic ranges correspond to the
nodes of the syntax trees.
Subscribers: mgorny, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 371976
The file was addedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt (diff)
The file was addedclang-tools-extra/clangd/SemanticSelection.h
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt (diff)
The file was addedclang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp
Commit eded79b0d4bdec1bd5d356ec597e66dadd08fda1 by nicolasweber
gn build: Merge r371976
llvm-svn: 371977
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/ (diff)
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/ (diff)