SuccessChanges

Summary

  1. [TableGen] Use ListSeparator (NFC) (details)
  2. [PGO] Drop unnecessary const from return types (NFC) (details)
  3. [CodeGen] Use range-based for loops (NFC) (details)
  4. [CostModel] An extending load to illegal type is not free. (details)
  5. [Polly] Remove unused declaration. NFC. (details)
  6. [BasicTTIImpl] Fix getCastInstrCost for scalable vectors by querying for ElementCount. (details)
  7. [lldb] Let TestPExpectTest test the right test class (details)
  8. [mlir] Allow users of `PromoteBuffersToStackPass` to customize `small buffer` func. (details)
  9. [CSSPGO][llvm-profgen] Add brackets for context id to support extended binary format (details)
  10. [DeveloperPolicy] Specify LLVM's license more clearly. (details)
  11. [RISCV] Add support for integer fixed min/max (details)
Commit 3e2e63060f6fd86d67d6f49446d5e703a0e68c87 by kazu
[TableGen] Use ListSeparator (NFC)
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit 9dc62d1dc1479d4f831aebebe8a849061a5103a2 by kazu
[PGO] Drop unnecessary const from return types (NFC)
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Commit d61b4cb9d8de946fd564707c2e4c32ce1d152eaf by kazu
[CodeGen] Use range-based for loops (NFC)
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
Commit 63d787e5d41e27db7369fb61ef8e07d4e5a45f40 by sander.desmalen
[CostModel] An extending load to illegal type is not free.

COST(zext (<4 x i32> load(...) to <4 x i64>)) != 0 when
<4 x i64> is an illegal result type that requires splitting
of the operation.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D96250
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast_ldst.ll
Commit f0f5afc4dd1fd753aea89ae64b508d29b94c092d by llvm-project
[Polly] Remove unused declaration. NFC.
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
Commit 1d42ba254fa3203f1ad5916ed414a84312f5bba9 by sander.desmalen
[BasicTTIImpl] Fix getCastInstrCost for scalable vectors by querying for ElementCount.

This fixes an overly restrictive assumption that the vector is a FixedVectorType,
in code that tries to calculate the cost of a cast operation when splitting
a too-wide vector. The algorithm works the same for scalable vectors, so this
patch removes the cast<FixedVectorType>.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D96253
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
Commit 0c118831a37a058f5ff196a4be3c4d5b1cf25e63 by Raphael Isemann
[lldb] Let TestPExpectTest test the right test class

This test supposed to check the test base we are using for pexpect tests, but instead it used the normal TestBase
class we use for all other tests. TestBase already had the substrs type check since D88792 so this
test was passing because of that.

This just changes the test base of the test to the pexpect one so that the `expect` calls find their intended
target function. Also moves the check to the very start so that we can check the argument without
actually having to start a terminal and all that jazz.

(I found this by accident as D88792 got somehow reverted in a downstream branch so this test started
failing).

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D96556
The file was modifiedlldb/test/API/test_utils/TestPExpectTest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbpexpect.py
Commit 16213e1f509a2e8b7ab25731192279254a2b5377 by pifon
[mlir] Allow users of `PromoteBuffersToStackPass` to customize `small buffer` func.

Differential Revision: https://reviews.llvm.org/D96579
The file was modifiedmlir/include/mlir/Transforms/Passes.h
The file was modifiedmlir/lib/Transforms/BufferOptimizations.cpp
Commit c3aeabaea16ebe7653004a9af4ac337a34ec9275 by wlei
[CSSPGO][llvm-profgen] Add brackets for context id to support extended binary format

To align with https://reviews.llvm.org/D95547, we need to add brackets for context id before initializing the `SampleContext`.

Also added test cases for extended binary format from llvm-profgen side.

Differential Revision: https://reviews.llvm.org/D95929
The file was modifiedllvm/test/tools/llvm-profgen/recursion-compression-pseudoprobe.test
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp
The file was modifiedllvm/test/tools/llvm-profgen/noinline-cs-noprobe.test
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.cpp
The file was modifiedllvm/tools/llvm-profgen/ProfiledBinary.cpp
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.h
The file was modifiedllvm/test/tools/llvm-profgen/recursion-compression-noprobe.test
The file was addedllvm/test/tools/llvm-profgen/cs-extbinary.test
The file was modifiedllvm/test/tools/llvm-profgen/inline-cs-noprobe.test
Commit f816cf6a4747f3c5f0c6c292aead51fb7f10580b by kristof.beyls
[DeveloperPolicy] Specify LLVM's license more clearly.

Before, the first mention of LLVM's license on the developer policy page stated
that LLVM's license is Apache 2. This patch makes that more accurate by
mentioning the LLVM exception this first time the LLVM license is discussed on
that page, i.e. Apache-2.0 with LLVM-exception.

Technically, the correct SPDX identifier for LLVM's license is 'Apache-2.0 WITH
LLVM-exception', but I thought that writing the 'WITH' in lower case made the
paragraph easier to read without reducing clarity.

Differential Revision: https://reviews.llvm.org/D96482
The file was modifiedllvm/docs/DeveloperPolicy.rst
Commit e88da1d6770bf31b859013c338adf1b001ebed5b by fraser
[RISCV] Add support for integer fixed min/max

This patch extends the initial fixed-length vector support to include
smin, smax, umin, and umax.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D96491
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp