SuccessChanges

Summary

  1. FileCheck [9/12]: Add support for matching formats (details)
  2. [VE] aligned load/store isel patterns (details)
  3. [Sema] Introduce MaximumAlignment value, to be used instead of magical (details)
  4. [clangd] Rename DiagnosticsConsumer -> ClangdServer::Callbacks, and make (details)
  5. [clangd] Remove pesky ;. NFC (details)
Commit 8e96697c7df688e33a49b7883d20c4563eca0306 by thomasp
FileCheck [9/12]: Add support for matching formats
Summary: This patch is part of a patch series to add support for
FileCheck numeric expressions. This specific patch adds support for
selecting a matching format to match a numeric value against (ie.
decimal, hex lower case letters or hex upper case letters).
This commit allows to select what format a numeric value should be
matched against. The following formats are supported: decimal value,
lower case hex value and upper case hex value. Matching formats impact
both the format of numeric value to be matched as well as the format of
accepted numbers in a definition with empty numeric expression
constraint.
Default for absence of format is decimal value unless the numeric
expression constraint is non null and use a variable in which case the
format is the one used to define that variable. Conclict of format in
case of several variable being used is diagnosed and forces the user to
select a matching format explicitely.
This commit also enables immediates in numeric expressions to be in any
radix known to StringRef's GetAsInteger method, except for legacy
numeric expressions (ie [[@LINE+<offset>]] which only support decimal
immediates.
Copyright:
   - Linaro (changes up to diff 183612 of revision D55940)
   - GraphCore (changes in later versions of revision D55940 and
                in new revision created off D55940)
Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson
Reviewed By: jhenderson, arichardson
Subscribers: daltenty, MaskRay, hiraditya, llvm-commits, probinson,
dblaikie, grimar, arichardson, kristina, hfinkel, rogfer01,
JonChesterfield
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60389
The file was modifiedllvm/test/FileCheck/numeric-defines.txt (diff)
The file was modifiedllvm/lib/Support/FileCheck.cpp (diff)
The file was modifiedllvm/test/FileCheck/line-count.txt (diff)
The file was modifiedllvm/unittests/Support/FileCheckTest.cpp (diff)
The file was modifiedllvm/test/FileCheck/numeric-defines-diagnostics.txt (diff)
The file was modifiedllvm/test/FileCheck/string-defines-diagnostics.txt (diff)
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst (diff)
The file was modifiedllvm/lib/Support/FileCheckImpl.h (diff)
The file was modifiedllvm/test/FileCheck/numeric-expression.txt (diff)
Commit 08ebd8c79e4b961d57da6c7e06b27db017327e8c by simon.moll
[VE] aligned load/store isel patterns
Summary: Aligned load/store isel patterns and tests for i1/i8/16/32/64
(including extension and truncation) and fp32/64.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D73276
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/VE/VEISelDAGToDAG.cpp (diff)
The file was addedllvm/test/CodeGen/VE/store.ll
The file was addedllvm/test/CodeGen/VE/load.ll
Commit 1d0972ff5eab544579c400ee674d5c9c60391ee1 by lebedev.ri
[Sema] Introduce MaximumAlignment value, to be used instead of magical
constants
There is llvm::Value::MaximumAlignment, which is numerically equivalent
to these constants, but we can't use it directly because we can't
include llvm IR headers in clang Sema. So instead, copy-paste the
constant, and fixup the places to use it.
This was initially reviewed in https://reviews.llvm.org/D72998
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp (diff)
The file was modifiedclang/lib/Sema/SemaChecking.cpp (diff)
The file was modifiedclang/test/CXX/drs/dr6xx.cpp (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/test/Sema/attr-aligned.c (diff)
Commit 6ef1ccecf7aea94fb38fc8d891f0097829b9228e by sam.mccall
[clangd] Rename DiagnosticsConsumer -> ClangdServer::Callbacks, and make
it optional
Summary: This reflects its current function better and avoids confusion
with clang::DiagnosticConsumer.
The old name/constructor is left around temporarily for compatibility.
(Metagame: merging with out-of-tree changes is harder than usual this
month)
Reviewers: hokein
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman,
kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73346
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ClangdServer.h (diff)
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h (diff)
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/FindSymbolsTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/ClangdTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp (diff)
Commit 76fa5d50f3d18cc159afe3206e4d69721ae7db07 by sam.mccall
[clangd] Remove pesky ;. NFC
The file was modifiedclang-tools-extra/clangd/ClangdServer.h (diff)