FailedChanges

Summary

  1. Remove AST inclusion from Basic include (details)
  2. [mlir][linalg] Fixed issue generating reassociation map with Rank-0 types (details)
  3. [cmake] Add support for multiple distributions (details)
  4. [LoopFlatten] Simplify loops so that the pass can operate on unsimplified loops. (details)
  5. [SCEV] Add loop-guard pessimizing test with step = 2. (details)
  6. [PhaseOrdering] Add test for missing vectorization with NewPM. (details)
  7. [clang-tidy] Allow opt-in or out of some commonly occuring patterns in NarrowingConversionsCheck. (details)
  8. Revert "Produce warning for performing pointer arithmetic on a null pointer." (details)
Commit 1470b8587f6fdc357163c2258747b77ae9ad6d7a by benny.kra
Remove AST inclusion from Basic include

That's a cyclic dependency. NFC.
The file was modifiedclang/include/clang/Basic/Thunk.h
Commit 7b57517507929a5d23fde4776aeb792ee0e9c293 by rob.suderman
[mlir][linalg] Fixed issue generating reassociation map with Rank-0 types

Rank-0 case causes a graph during linalg reshape operation.

Differential Revision: https://reviews.llvm.org/D102282
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit 56f7e5a822b43578e086c40d063af2a2c0d214ee by smeenai
[cmake] Add support for multiple distributions

LLVM's build system contains support for configuring a distribution, but
it can often be useful to be able to configure multiple distributions
(e.g. if you want separate distributions for the tools and the
libraries). Add this support to the build system, along with
documentation and usage examples.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D89177
The file was addedclang/cmake/caches/MultiDistributionExample.cmake
The file was modifiedclang/cmake/modules/ClangConfig.cmake.in
The file was modifiedclang/cmake/modules/CMakeLists.txt
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedmlir/cmake/modules/CMakeLists.txt
The file was modifiedllvm/cmake/modules/CMakeLists.txt
The file was modifiedflang/cmake/modules/FlangConfig.cmake.in
The file was modifiedlld/cmake/modules/LLDConfig.cmake.in
The file was modifiedllvm/docs/BuildingADistribution.rst
The file was modifiedflang/cmake/modules/AddFlang.cmake
The file was modifiedclang/cmake/modules/AddClang.cmake
The file was modifiedflang/cmake/modules/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was modifiedlld/cmake/modules/AddLLD.cmake
The file was modifiedlld/cmake/modules/CMakeLists.txt
The file was modifiedmlir/cmake/modules/MLIRConfig.cmake.in
The file was modifiedllvm/cmake/modules/LLVMDistributionSupport.cmake
Commit 1124ad2f5d47aa468a0d00b6d82853a6d4eda8d1 by stelios.ioannou
[LoopFlatten] Simplify loops so that the pass can operate on unsimplified loops.

The loop flattening pass requires loops to be in simplified form. If the
loops are not in simplified form, the pass cannot operate. This patch
simplifies all loops before flattening. As a result, all loops will be
simplified regardless of whether anything ends up being flattened.

This change was inspired by observing a certain loop that was not flatten
because the loops were not in simplified form. This loop is added as a
test to verify that it is now flattened.

Differential Revision: https://reviews.llvm.org/D102249

Change-Id: I45bcabe70fb99b0d89f0effafc82eb9e0585ec30
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was addedllvm/test/Transforms/LoopFlatten/loop-flatten-simplify-cfg.ll
Commit 96c1fa2a041d352d2b6eb202f3c419323239514f by flo
[SCEV] Add loop-guard pessimizing test with step = 2.
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
Commit ed9e1a7dcc2eceb4596a5f2ede7daabcb1fdf4ab by flo
[PhaseOrdering] Add test for missing vectorization with NewPM.
The file was addedllvm/test/Transforms/PhaseOrdering/AArch64/globals-aa-required-for-vectorization.ll
Commit 211761332e4381c37edd91be7c59fc048014ff4e by hokein.wu
[clang-tidy] Allow opt-in or out of some commonly occuring patterns in NarrowingConversionsCheck.

Within clang-tidy's NarrowingConversionsCheck.
* Allow opt-out of some common occurring patterns, such as:
  - Implicit casts between types of equivalent bit widths.
  - Implicit casts occurring from the return of a ::size() method.
  - Implicit casts on size_type and difference_type.
* Allow opt-in of errors within template instantiations.

This will help projects adopt these guidelines iteratively.
Developed in conjunction with Yitzhak Mandelbaum (ymandel).

Patch by Stephen Concannon!

Differential Revision: https://reviews.llvm.org/D99543
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-intemplates-option.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-ignoreconversionfromtypes-option.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-equivalentbitwidth-option.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h
Commit d8c227ba05d065046bdb8671f1df73dabaffa222 by thakis
Revert "Produce warning for performing pointer arithmetic on a null pointer."

This reverts commit dfc1e31d49fe1380c9bab43373995df5fed15e6d.
See discussion on https://reviews.llvm.org/D98798
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/pointer-addition.c
The file was removedclang/test/Sema/pointer-addition.cpp