SuccessChanges

Summary

  1. Change Target::ReadMemory to ensure the amount of memory read from the file-cache is the amount requested. (details)
  2. Add null-pointer checks when accessing a TypeSystem's SymbolFile (details)
  3. [mlir] Use static shape knowledge when lowering memref.reshape (details)
  4. [libomptarget][nfc] Add hook to easily disable building amdgcn bclib (details)
  5. [libc++] s/_VSTD::declval/declval/g. NFCI. (details)
  6. [libc++] s/std::size_t/size_t/g. NFCI. (details)
  7. [libc++] s/_VSTD::chrono/chrono/g. NFCI. (details)
  8. [libc++] s/_VSTD::is_unsigned/is_unsigned/ in <random>. NFCI. (details)
  9. [libc++] Remove more unnecessary _VSTD:: from type names. NFCI. (details)
  10. Revert "Fix branch coverage merging in FunctionCoverageSummary::get() for instantiation" (details)
  11. [RISCV] Match trunc_vector_vl+sra_vl/srl_vl with splat shift amount to vnsra/vnsrl. (details)
Commit 6c82b8a378a6f59e94a81d91225db4fabf6e2bff by augusto2112
Change Target::ReadMemory to ensure the amount of memory read from the file-cache is the amount requested.

This change ensures that if for whatever reason we read less bytes than expected (for example, when trying to read memory that spans multiple sections), we try reading from the live process as well.

Reviewed By: jasonmolenda

Differential Revision: https://reviews.llvm.org/D101390
The file was modifiedlldb/source/Target/Target.cpp
Commit ec28e43e01540a57f8822b2efb8638996873f945 by augusto2112
Add null-pointer checks when accessing a TypeSystem's SymbolFile

A type system is not guaranteed to have a symbol file. This patch adds null-pointer checks so we don't crash when trying to access a type system's symbol file.

Reviewed By: aprantl, teemperor

Differential Revision: https://reviews.llvm.org/D101539
The file was modifiedlldb/unittests/Symbol/TestTypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Symbol/Type.cpp
Commit b20e150c9be16f69c73f4cd2986053d13d0f376a by benny.kra
[mlir] Use static shape knowledge when lowering memref.reshape

This is actually necessary for correctness, as memref.reinterpret_cast
doesn't verify if the output shape doesn't match the static sizes.

Differential Revision: https://reviews.llvm.org/D102232
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
The file was modifiedmlir/test/Dialect/Standard/expand-ops.mlir
Commit 72995a4bdf7d95887883ccfa04567b723f2b342a by jonathanchesterfield
[libomptarget][nfc] Add hook to easily disable building amdgcn bclib

[libomptarget][nfc] Add hook to easily disable building amdgcn bclib

This is useful when building LLVM with a toolchain that can't emit code
for amdgcn, e.g. because it overrides the include search path with headers
from another architecture, or the clang compiler is missing builtins.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D102229
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
Commit ab3fcc5065a895f88ec8a020bc3c2f7e54cc4561 by arthur.j.odwyer
[libc++] s/_VSTD::declval/declval/g. NFCI.
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/include/ostream
The file was modifiedlibcxx/include/istream
The file was modifiedlibcxx/include/variant
The file was modifiedlibcxx/include/experimental/propagate_const
The file was modifiedlibcxx/include/algorithm
The file was modifiedlibcxx/include/__functional_base
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/include/__memory/construct_at.h
The file was modifiedlibcxx/include/concepts
The file was modifiedlibcxx/include/optional
The file was modifiedlibcxx/include/__memory/shared_ptr.h
The file was modifiedlibcxx/include/scoped_allocator
Commit 0b8da5fa5915f1cea790c7e246195e30afd9e391 by arthur.j.odwyer
[libc++] s/std::size_t/size_t/g. NFCI.
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/include/experimental/functional
Commit aa5e3beea3d4d4e00cb2b0f2d103b4bd52239384 by arthur.j.odwyer
[libc++] s/_VSTD::chrono/chrono/g. NFCI.
The file was modifiedlibcxx/include/chrono
Commit 866b27950aaf2c38f4ecfc8a0f18945fff3b8542 by arthur.j.odwyer
[libc++] s/_VSTD::is_unsigned/is_unsigned/ in <random>. NFCI.
The file was modifiedlibcxx/include/random
The file was modifiedlibcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp
Commit 6491d99e330c38b33b9cb6acb19afa3a464febeb by arthur.j.odwyer
[libc++] Remove more unnecessary _VSTD:: from type names. NFCI.

Differential Revision: https://reviews.llvm.org/D102181
The file was modifiedlibcxx/include/experimental/type_traits
The file was modifiedlibcxx/include/functional
The file was modifiedlibcxx/include/random
The file was modifiedlibcxx/include/__memory/allocator_traits.h
The file was modifiedlibcxx/include/experimental/functional
The file was modifiedlibcxx/include/algorithm
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/include/type_traits
Commit 668dccc396da4f593ac87c92dc0eb7bc983b5762 by a-phipps
Revert "Fix branch coverage merging in FunctionCoverageSummary::get() for instantiation"

This reverts commit 6400905a615282c83a2fc6e49e57ff716aa8b4de.
The file was modifiedllvm/test/tools/llvm-cov/branch-templates.cpp
The file was modifiedllvm/tools/llvm-cov/CoverageSummaryInfo.h
The file was modifiedllvm/tools/llvm-cov/CoverageSummaryInfo.cpp
Commit dc00cbb5053895356955a6dc03632d4fa05048e3 by craig.topper
[RISCV] Match trunc_vector_vl+sra_vl/srl_vl with splat shift amount to vnsra/vnsrl.

Limited to splats because we would need to truncate the shift
amount vector otherwise.

I tried to do this with new ISD nodes and a DAG combine to
avoid such a large pattern, but we don't form the splat until
LegalizeDAG and need DAG combine to remove a scalable->fixed->scalable
cast before it becomes visible to the shift node. By the time that
happens we've already visited the truncate node and won't revisit it.

I think I have an idea how to improve i64 on RV32 I'll save for a
follow up.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D102019
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vnsra-vnsrl.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td