SuccessChanges

Summary

  1. [NFC] Fold isHugeExpression into hasHugeExpression and update callers (details)
  2. PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static (details)
  3. [mlir] Add missing dependency on LinalgUtils (details)
  4. Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. (details)
  5. [gn build] replace llvm_allow_tardy_revision with llvm_append_vc_rev (details)
  6. Move static function to inline function - this fixes a conceivable ODR (details)
  7. Add back other PowerPC link components. (details)
  8. [FastISel] Lower `llvm.dbg.value(undef, ...` correctly. (details)
  9. [xray] add --no-demangle cli opt for llvm-xray extract to output mangled (details)
Commit de022a8824f5b528fd428e1397e20c905130eeb1 by echristo
[NFC] Fold isHugeExpression into hasHugeExpression and update callers
accordingly.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 65eb74e94b414fcde6bfa810d1c30c7fcb136b77 by dblaikie
PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static
constexpr rather than anonymous enum
This is (more?) usable by GDB pretty printers and seems nicer to write.
There's one tricky caveat that in C++14 (LLVM's codebase today) the
static constexpr member declaration is not a definition - so odr use of
this constant requires an out of line definition, which won't be
provided (that'd make all these trait classes more annoyidng/expensive
to maintain). But the use of this constant in the library implementation
is/should always be in a non-odr context - only two unit tests needed to
be touched to cope with this/avoid odr using these constants.
Based on/expanded from D72590 by Christian Sigg.
The file was modifiedclang/include/clang/Sema/Ownership.h
The file was modifiedllvm/include/llvm/ADT/PointerEmbeddedInt.h
The file was modifiedllvm/unittests/ADT/PointerEmbeddedIntTest.cpp
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/include/mlir/IR/Module.h
The file was modifiedclang/include/clang/Basic/SourceLocation.h
The file was modifiedclang/include/clang/Basic/IdentifierTable.h
The file was modifiedclang/include/clang/AST/CanonicalType.h
The file was modifiedclang/include/clang/AST/ExternalASTSource.h
The file was modifiedclang/include/clang/AST/TemplateName.h
The file was modifiedclang/include/clang/CodeGen/ConstantInitFuture.h
The file was modifiedllvm/include/llvm/Support/PointerLikeTypeTraits.h
The file was modifiedmlir/include/mlir/IR/Location.h
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedllvm/lib/Analysis/GlobalsModRef.cpp
The file was modifiedclang/include/clang/AST/DeclGroup.h
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedpolly/include/polly/CodeGen/IslExprBuilder.h
The file was modifiedllvm/unittests/ADT/PointerIntPairTest.cpp
The file was modifiedllvm/include/llvm/IR/Use.h
The file was modifiedmlir/include/mlir/IR/Identifier.h
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedllvm/include/llvm/ADT/PointerIntPair.h
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was modifiedllvm/include/llvm/ADT/IntervalMap.h
Commit 933b4212566b421191581ed6945d4ec131cc1366 by aminim
[mlir] Add missing dependency on LinalgUtils
Differential Revision: https://reviews.llvm.org/D72821
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
Commit fb5fafb23cc2d8613f8be2487afe94d8594a88ce by thakis
Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well.
When LLVM_APPEND_VC_REV=OFF is set, the current git hash is no longer
embedded into binaries (mostly for --version output). Without it, most
binaries need to relink after every single commit, even if they didn't
change otherwise (due to, say, a documentation-only commit).
LLVM_APPEND_VC_REV is ON by default, so this doesn't change the default
behavior of anything.
With this, all clients of GenerateVersionFromVCS.cmake honor
LLVM_APPEND_VC_REV.
Differential Revision: https://reviews.llvm.org/D72855
The file was modifiedlldb/source/CMakeLists.txt
The file was modifiedclang/lib/Basic/CMakeLists.txt
The file was modifiedlld/Common/CMakeLists.txt
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
The file was modifiedllvm/docs/CMake.rst
Commit 1645f5e496b93c534069f03886c97be85d5de35d by thakis
[gn build] replace llvm_allow_tardy_revision with llvm_append_vc_rev
Previously, the gn build would create VCSRevision.h / VCSVersion.h files
with some LLD_REVISION / LLVM_REVISION / CLANG_REVISION but by default
wouldn't add a dependency on .git/logs/HEAD so that the step doesn't
rerun after every branch switch or every pull.
That's bad for deterministic builds, and having --version print some
arbitrarily old revision isn't great either.
Instead, move to the model that the cmake build (now) uses fairly
consistently: If llvm_append_vc_rev is set, include the revision, else
don't.
Since the GN build is focused on developers, set llvm_append_vc_rev to
false instead of true by default (different from the cmake build), so
that things don't rebuild after every branch switch and every pull.
While here, also remove some pre-monorepo code.
Differential Revision: https://reviews.llvm.org/D72859
The file was modifiedllvm/utils/gn/build/write_vcsrevision.py
The file was modifiedllvm/utils/gn/build/write_vcsrevision.gni
Commit 40ac4221c30f9bd5d10200c262e53bf228cce6b8 by echristo
Move static function to inline function - this fixes a conceivable ODR
violation and a clang-tidy warning about an unused function in a number
of translation units.
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
Commit 1b1022b42adee5278fd0cbd624b94c271f9f8ae6 by wanyu9511
Add back other PowerPC link components.
Add the link components back to unblock bots for the moment. In the
meantime, I'm investigating the BUILD_SHARED_LIBS=ON build to find out
the minimal list of components needed.
The file was modifiedllvm/unittests/Target/PowerPC/CMakeLists.txt
Commit 30a8865142abe309bb9aceede2708c171a2904ea by ditaliano
[FastISel] Lower `llvm.dbg.value(undef, ...` correctly.
Summary: Instead of just dropping them.
<rdar://problem/58657146>
Reviewers: aprantl, vsk, ab, paquette, echristo
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72877
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was addedllvm/test/CodeGen/AArch64/fastisel-debugvalue-undef.ll
Commit 8ef57f3e3f1b241e5b544a167ac64b35f7275759 by smeenai
[xray] add --no-demangle cli opt for llvm-xray extract to output mangled
names
This adds an additional cli flag for the llvm-xray extract tool.  This
is useful if you're more interested in consuming the mangled symbol
name, instead of the default now which is demangled.
Differential Revision: https://reviews.llvm.org/D72804
The file was addedllvm/test/tools/llvm-xray/AArch64/extract-instrmap-aarch64-mangled.test
The file was modifiedllvm/tools/llvm-xray/xray-extract.cpp