1. [tests] Fix AMDGPU test (details)
  2. AMDGPU: Remove fp-exceptions feature (details)
  3. [lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS (2/2) (details)
  4. [clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project (details)
  5. Add NoMerge MIFlag to avoid MIR branch folding (details)
  6. [ASTMatchers] Matchers related to C++ inheritance (details)
  7. [Matrix] Implement + and - operators for MatrixType. (details)
  8. Process gep (phi ptr1, ptr2) in SROA (details)
  9. [DebugInfo][DAG] Don't reuse debug location on COPY if width changes. (details)
Commit f881c7967dbeaa5a5f2d80b4216efa072afbf6cb by ehudkatz
[tests] Fix AMDGPU test

Fix naming issue in test due to change D80399.
The file was modifiedllvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
Commit 2d2627d47a1fc1f966d058aadc18099038be5af0 by Matthew.Arsenault
AMDGPU: Remove fp-exceptions feature

This was never used, and the only thing it changed was removed in
284472be6da3353d81dfd25b1ac4218e852d1e5f. The floating point mode is
also not a property of the subtarget.
The file was modifiedllvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
The file was modifiedllvm/lib/Target/AMDGPU/
The file was modifiedllvm/test/CodeGen/AMDGPU/clamp.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
Commit e6a404fbe7270d22541b45d48ca29fea5c3510aa by Jonas Devlieghere
[lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS (2/2)

This is also needed for lldb-test.
The file was modifiedlldb/tools/lldb-test/CMakeLists.txt
Commit 6f56a586c505bd587106a9b94388d70efb88155b by paul_hoad
[clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project

Any change to clang-format is tested with the unit tests, However sometimes the better approach is to run it over a very large fully formatted source tree and then inspect the differences. This seems to be a source of many of the regressions found by @krasimir  and by @sylvestre.ledru and @Abpostelnicu who run it over the Mozilla sources, but often these regressions are only found after changes have been committed.

LLVM itself would be a good dog-fooding candidate for similar tests except such a large proportion of the tree is not 100% clang formatted, as such you are never aware if the change comes from a change to clang-format or  just because the tree has not been formatted first.

The following review is for a small python tool which scans the whole of the LLVM source tree and counts the number of files which have one or more clang-format violations.

This revision contains the tool and the output from the initial run of the tool and the generated documentation which looks like the following

Reviewers: krasimir, JakeMerdichAMD, sammccall, curdeius, bollu, alexshap, jdoerfert, DavidTruby, sscalpone

Reviewed By: curdeius

Subscribers: dschuff, aheejin, fedor.sergeev, ilya-biryukov, simoncook, cryptoad, arphaman, jfb, kadircet, mstorsjo, s.egerton, usaxena95, aartbik, phosek, sstefan1, cfe-commits, sylvestre.ledru, Abpostelnicu, krasimir

Tags: #clang, #clang-format

Differential Revision:
The file was addedclang/docs/ClangFormattedStatus.rst
The file was addedclang/docs/tools/
The file was modifiedclang/docs/ClangFormat.rst
The file was modifiedclang/docs/index.rst
Commit 80e107ccd088a2705d0e776799a8815a58061cb3 by zequanwu
Add NoMerge MIFlag to avoid MIR branch folding

Let the codegen recognized the nomerge attribute and disable branch folding when the attribute is given

Differential Revision:
The file was addedllvm/test/CodeGen/ARM/nomerge.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/nomerge.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was addedllvm/test/CodeGen/PowerPC/nomerge.ll
The file was addedllvm/test/CodeGen/X86/nomerge.ll
The file was addedllvm/test/CodeGen/RISCV/nomerge.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 1a5c97f3a4b88438b19ff34a285e559e57b1e9d4 by Jan Korous
[ASTMatchers] Matchers related to C++ inheritance

Differential Revision:
The file was modifiedclang/include/clang/AST/ASTTypeTraits.h
The file was modifiedclang/lib/ASTMatchers/Dynamic/Registry.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/AST/ASTTypeTraits.cpp
Commit 6f6e91d19337315548f550479f94cbc0af93c8fe by flo
[Matrix] Implement + and - operators for MatrixType.

This patch implements the + and - binary operators for values of
MatrixType. It adds support for matrix +/- matrix, scalar +/- matrix and
matrix +/- scalar.

For the matrix, matrix case, the types must initially be structurally
equivalent. For the scalar,matrix variants, the element type of the
matrix must match the scalar type.

Reviewers: rjmccall, anemet, Bigcheese, rsmith, martong

Reviewed By: rjmccall

Differential Revision:
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedllvm/include/llvm/IR/MatrixBuilder.h
The file was addedclang/test/Sema/matrix-type-operators.c
The file was addedclang/test/CodeGen/matrix-type-operators.c
The file was addedclang/test/CodeGenCXX/matrix-type-operators.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was addedclang/test/SemaCXX/matrix-type-operators.cpp
Commit f66a43c11a7899d5c578b80d7f154abcea3b8d8e by Stanislav.Mekhanoshin
Process gep (phi ptr1, ptr2) in SROA

Differential Revision:
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was addedllvm/test/Transforms/SROA/phi-gep.ll
Commit 6a4714030e467293e839433a6754685ed3bdc108 by tbosch
[DebugInfo][DAG] Don't reuse debug location on COPY if width changes.

This caused incorrect debug information for parameters:
Previously, after a COPY of a parameter that changes the width,
we would emit a DBG_VALUE that continues to be associated to that
parameter, even though it now used a different width.
This made the LiveDebugValues pass assume the parameter value
got clobbered and it stopped tracking the parameter entry
value, leading to incorrect debug information.


Subscribers: aprantl, hiraditya, llvm-commits

Tags: #llvm

Differential Revision:
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was addedllvm/test/DebugInfo/X86/dbg-value-funcarg3.ll