SuccessChanges

Summary

  1. [PowerPC][Future] Add prefixed instruction paddi to future CPU (details)
  2. [Sema] Try 2: Sanity-check alignment requested via (details)
  3. FileCheck [9/12]: Add support for matching formats (details)
  4. [VE] aligned load/store isel patterns (details)
  5. [Sema] Introduce MaximumAlignment value, to be used instead of magical (details)
  6. [clangd] Rename DiagnosticsConsumer -> ClangdServer::Callbacks, and make (details)
  7. [clangd] Remove pesky ;. NFC (details)
Commit 5cee34013cfd4edea0041bc0b73121cc4ad76ccf by wei.huang
[PowerPC][Future] Add prefixed instruction paddi to future CPU
Future CPU will include support for prefixed instructions. These
prefixed instructions are formed by a 4 byte prefix immediately followed
by a 4 byte instruction effectively making an 8 byte instruction. The
new instruction paddi is a prefixed form of addi.
This patch adds paddi and all of the support required for that
instruction. The majority of the patch deals with supporting the new
prefixed instructions. The addition of paddi is mainly to allow for
testing.
Differential Revision: https://reviews.llvm.org/D72569
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was addedllvm/test/MC/Disassembler/PowerPC/future-invalid.txt
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.h
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrFormats.td
The file was modifiedllvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.h
The file was addedllvm/test/CodeGen/PowerPC/future-check-features.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was addedllvm/test/MC/Disassembler/PowerPC/futureinsts.txt
The file was modifiedllvm/lib/Target/PowerPC/PPCScheduleP9.td
The file was addedllvm/test/MC/PowerPC/future.s
The file was addedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
Commit 0a002f679be4a9d363e6f21b707493c18158930b by lebedev.ri
[Sema] Try 2: Sanity-check alignment requested via
`__attribute__((assume_aligned(imm)))`
Summary: For `__builtin_assume_aligned()`, we do validate that the
alignment is not greater than `536870912` (D68824), but we don't do that
for
`__attribute__((assume_aligned(N)))` attribute. I suspect we should.
This was initially committed in a4cfb15d15a8a353fe316f2a9fe1c8c6a6740ef1
but reverted in 210f0882c9e5d6f504b8f29e8a5eae884f812e5c due to
suspicious bot failures.
Reviewers: erichkeane, aaron.ballman, hfinkel, rsmith, jdoerfert
Reviewed By: erichkeane
Subscribers: cfe-commits, llvm-commits
Tags: #llvm, #clang
Differential Revision: https://reviews.llvm.org/D72994
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
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
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was modifiedllvm/test/FileCheck/numeric-defines-diagnostics.txt
The file was modifiedllvm/unittests/Support/FileCheckTest.cpp
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was modifiedllvm/test/FileCheck/numeric-expression.txt
The file was modifiedllvm/test/FileCheck/string-defines-diagnostics.txt
The file was modifiedllvm/lib/Support/FileCheckImpl.h
The file was modifiedllvm/test/FileCheck/line-count.txt
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 addedllvm/test/CodeGen/VE/load.ll
The file was addedllvm/test/CodeGen/VE/store.ll
The file was modifiedllvm/lib/Target/VE/VEISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td
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/SemaChecking.cpp
The file was modifiedclang/test/CXX/drs/dr6xx.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/Sema/attr-aligned.c
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
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
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ClangdTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
The file was modifiedclang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Commit 76fa5d50f3d18cc159afe3206e4d69721ae7db07 by sam.mccall
[clangd] Remove pesky ;. NFC
The file was modifiedclang-tools-extra/clangd/ClangdServer.h