SuccessChanges

Summary

  1. [SCEV] Extract code to collect conditions to lambda (NFC). (details)
  2. Typo fix; NFC (details)
  3. [InstCombine] Add 'partial' bswap tests from PR39793 (details)
  4. Fix some of the more egregious 80-col and whitespace issues; NFC (details)
  5. [InstCombine] Add some extra bswap tests from PR39793 (details)
  6. [PowerPC][NFC] Merged two switch entries. (details)
  7. [SCEV] Swap operands if LHS is not unknown. (details)
  8. [AIX] Try to not use LLVM tools while building runtimes (details)
  9. [SVE] Lower fixed length VECREDUCE_[SMAX|SMIN] to Scalable (details)
  10. [SVE] Revert accidental change from 405e22fbe8719cff6c40eec15c2044f42527f116 (details)
  11. Add a verifier check that rejects non-distinct DISubprogram function (details)
  12. [NFC] Fix minor typos in comments and reuse concreteOp. (details)
  13. [NFC] Fix syntax of ranked memrefs in the MLIR Language Reference. (details)
  14. [libc++][ci] Don't require passing --token to phabricator-report (details)
  15. [CMake] Make sure _cmake_system_name has a default (details)
  16. [SystemZ] Optimize bcmp calls (PR47420) (details)
  17. [SCEV] Add support for `x == constant` to CollectCondition. (details)
Commit df77ce7cad081bf55042cf098b61b118dcdfc7e9 by flo
[SCEV] Extract code to collect conditions to lambda (NFC).

This makes re-using the common functionality easier in follow-up
patches.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 85cea77ecb7f2ca51198ec1ad1d28845e803ee32 by aaron
Typo fix; NFC
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 8d90d92f0dccfb9e1c150247128a28ed55fcb8ea by llvm-dev
[InstCombine] Add 'partial' bswap tests from PR39793

Tests for basic zext(bswap(trunc(x))) patterns shown on PR39793
The file was modifiedllvm/test/Transforms/InstCombine/bswap.ll
Commit a51d51a0d4d72ab423b11da4c5c877bc6e89a580 by aaron
Fix some of the more egregious 80-col and whitespace issues; NFC
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 132f29ce0611754e0ffb2b534c34b2ffe27b40a8 by llvm-dev
[InstCombine] Add some extra bswap tests from PR39793

Also test for cases where recognizeBSwapOrBitReverseIdiom checks for a truncated bswap pattern.
The file was modifiedllvm/test/Transforms/InstCombine/bswap.ll
Commit 8c53282d64b299a9543758988b1b480a88a93ae5 by stefanp
[PowerPC][NFC] Merged two switch entries.

Two switch entries did exactly the same thing. This patch merges them.
The file was modifiedlld/ELF/Arch/PPC64.cpp
Commit 8858340bd380b821bbad773c7b3a022a9bb5b2d9 by flo
[SCEV] Swap operands if LHS is not unknown.

Currently we only use information from guards for unknown expressions.
Swap LHS/RHS and predicate, if LHS is not unknown.
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit e03dd978d015f6141d14afb3986f39365cabcdab by daltenty
[AIX] Try to not use LLVM tools while building runtimes

Since 64-bit XCOFF and the big AR format is not yet supported in some of these tools, this patch avoids additional setup of these tools. This patch is not intended to prevent picking up the LLVM tools if they happen to be available otherwise.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D85329
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit e2ccf7f178ddaf202171a96cd6f41daa7a74a09c by mcinally
[SVE] Lower fixed length VECREDUCE_[SMAX|SMIN] to Scalable

This patch is pretty similar to the VECREDUCE_ADD patch, with some minor tweaks.

Results from the AArch64ISD::[SMAX|SMIN]V_PRED return element sized results. This requires an ANY_EXTEND for results < 32-bits, since Legalization promotes those results.

There is no NEON i64 vector support for SMAXV|SMINV, so use SVE for those.

Differential Revision: https://reviews.llvm.org/D88259
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-reduce.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 9a4767411e89d35e55074e8783b909d0e8c6b2df by mcinally
[SVE] Revert accidental change from 405e22fbe8719cff6c40eec15c2044f42527f116

Accidentally commited two lines that were not intended. Remove those.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit e17f52d623cc146b7d9bf5a2e02965043508b4c4 by Adrian Prantl
Add a verifier check that rejects non-distinct DISubprogram function
attachments. They would crash the backend, which expects all
DISubprograms that are not part of the type system to have a unit field.

Clang right before https://reviews.llvm.org/D79967 would generate this
kind of broken IR.

rdar://problem/69534688
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was addedllvm/test/Verifier/unique-disubprogram.ll
The file was modifiedllvm/test/DebugInfo/Generic/2009-11-03-InsertExtractValue.ll
Commit 0b7f03b98d82dac7224e00377329577634d92c17 by jurahul
[NFC] Fix minor typos in comments and reuse concreteOp.

Differential Revision: https://reviews.llvm.org/D88242
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Commit 8046ab04a75bcd3a455faafa1364c67726748a78 by jurahul
[NFC] Fix syntax of ranked memrefs in the MLIR Language Reference.

- Eliminate incorrect |
- Eliminate memspace0 as the memory spaces currently are integer literals and memory
  space 0 is not explicitly printed.

Differential Revision: https://reviews.llvm.org/D88171
The file was modifiedmlir/docs/LangRef.md
Commit 2a11a197af7e72725fe461ba9917756b1b09661a by Louis Dionne
[libc++][ci] Don't require passing --token to phabricator-report

The CONDUIT_TOKEN is already taken from the environment. Also, disable
reporting back to Phabricator for now until we're ready to start spamming
the results back. This still needs a bit of testing.
The file was modifiedlibcxx/utils/ci/phabricator-report
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml
Commit c74da051b8680d322328a1ba2e6c2ed794a74f59 by daltenty
[CMake] Make sure _cmake_system_name has a default

We currently try to pick it up from the CMake arguments passed to llvm_ExternalProject_Add but
if there isn't an explicit option passed, we should reflect CMake's own default behaviour
of targeting the host, since we'll make decisions about what tools to use for the build based on
the setting. Otherwise, we'll get different behaviour between configuring an external project with
the default target and configuring with an explicit one targeting the same platform.

Reviewed By: stevewan, hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D88157
The file was modifiedllvm/cmake/modules/LLVMExternalProjectUtils.cmake
Commit 179e15d53acdb1fc27e9e2c8f7e1d1e08dcf4a89 by Dávid Bolvanský
[SystemZ] Optimize bcmp calls (PR47420)

Solves https://bugs.llvm.org/show_bug.cgi?id=47420

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D87988
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
The file was addedllvm/test/CodeGen/SystemZ/bcmp.ll
Commit b5a3b901c73082c82f6eb387323cd61525423e2d by flo
[SCEV] Add support for `x == constant` to CollectCondition.

Add support for EQ predicates with constant operand. In that case, using
the constant instead of an unknown expression should always be
beneficial.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll