SuccessChanges

Summary

  1. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  2. Fix unused variable warning. NFCI. (details)
  3. [clangd] Make output order of allTargetDecls deterministic (details)
  4. [ELF] Optimization to LinkerScript::computeInputSections NFC (details)
  5. Revert "[PHIEliminate] Move dbg values after phi and label" (details)
  6. Make lld cmake not compute commit revision twice (details)
  7. Removed an unused include from TypeLocVisitor.h (details)
  8. [VectorUtils] Rework the Vector Function Database (VFDatabase). (details)
  9. try to unbreak build after 4b6d9ac392613 (details)
  10. [mlir][Linalg] Fix Linalg EDSC builders (details)
Commit 19c5057e8df62e75b26e881dfc8f8f32686fe75c by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately in all cases and castAs will perform the null assertion for
us.
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit 23a887b0dd48639716b78a1c9ca665df49f64b2e by llvm-dev
Fix unused variable warning. NFCI.
The file was modifiedllvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
Commit d54d71b67e602674a255e299a22fe31dee1f3619 by kadircet
[clangd] Make output order of allTargetDecls deterministic
Summary: Makes use of insertion order to stabilize output for multiple
decls.
Fixes https://bugs.llvm.org/show_bug.cgi?id=44564
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, mgrang, arphaman,
usaxena95, cfe-commits, aemerson
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72826
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit d36b2649e5e4d90a3f439e2a16057cd75566c669 by andrew.ng
[ELF] Optimization to LinkerScript::computeInputSections NFC
Moved the section name check ahead of any filename matching or
exclusion. Firstly, this reduces the need to retrieve the filename and
secondly, reduces the amount of potentially expensive filename pattern
matching if such rules are present in the linker script.
The impact of this change is particularly significant when linking
objects built with -ffunction-sections and -fstack-size-section, using a
linker script that includes non-trivial filename patterns. In a number
of such cases, the link time is halved.
Differential Revision: https://reviews.llvm.org/D72775
The file was modifiedlld/ELF/LinkerScript.cpp
Commit c969335abdb22284691e7cb2894820350cfe422b by jeremy.morse
Revert "[PHIEliminate] Move dbg values after phi and label"
Testing compiler-rt, a new assertion failure occurs when building the
GwpAsanTestObjects object. I'm uploading a reproducer to D70597.
This reverts commit 75188b01e9af3a89639d84be912f84610d6885ba.
The file was removedllvm/test/CodeGen/X86/dbg-changes-codegen-phi-elimination.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
Commit 4b6d9ac392613e33c61ff3f91ade6c477d8396fa by thakis
Make lld cmake not compute commit revision twice
r354605 moved LLD to the unified revision handling introduced in
rL353268 / r352729 and removed uses of LLD_REPOSITORY_STRING and
LLD_REVISION_STRING.
After this change, we no longer compute the (now-unused) values of these
two variables.
Since this removes the only use of llvm/utils/GetRepositoryPath, remove
that too (it's redundant with the system added in r354605).
While here, also remove LLD_VERSION_MAJOR and LLD_VERSION_MINOR. Their
uses were removed in r285163.
Also remove LLD_VERSION from Version.inc which as far as I can tell has
been unused since the file was added in r219277.
No behavior change.
Differential Revision: https://reviews.llvm.org/D72803
The file was modifiedlld/CMakeLists.txt
The file was modifiedlld/include/lld/Common/Version.inc.in
The file was modifiedllvm/utils/gn/secondary/lld/include/lld/Common/BUILD.gn
The file was removedllvm/utils/GetRepositoryPath
Commit cbaa32650a0b5b17b42fc123de068de69b290bf5 by gribozavr
Removed an unused include from TypeLocVisitor.h
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang/include/clang/AST/TypeLocVisitor.h
Commit 66c120f02560ef528a60924104ead66f330190f1 by francesco.petrogalli
[VectorUtils] Rework the Vector Function Database (VFDatabase).
Summary: This commits is a rework of the patch in
https://reviews.llvm.org/D67572.
The rework was requested to prevent out-of-tree performance regression
when vectorizing out-of-tree IR intrinsics. The vectorization of such
intrinsics is enquired via the static function `isTLIScalarize`. For
detail see the discussion in https://reviews.llvm.org/D67572.
Reviewers: uabelho, fhahn, sdesmalen
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72734
The file was modifiedllvm/lib/Transforms/Utils/ModuleUtils.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
Commit 4f5c65a5c80438d638ef4f863cf3f98e19a6de97 by thakis
try to unbreak build after 4b6d9ac392613
The file was modifiedlld/CMakeLists.txt
Commit 2b81d3c6c6fd7b3fcffba626c5df3a9a66a3deb1 by ntv
[mlir][Linalg] Fix Linalg EDSC builders
Summary: This diff fixes the fact that the method
`mlir::edsc::makeGenericLinalgOp` incorrectly adds 2 blocks to Linalg
ops.
Tests are updated accordingly.
Reviewers: ftynse, hanchung, herhut, pifon2a, asaadaldien
Reviewed By: asaadaldien
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72780
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/lib/EDSC/Builders.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp