FailedChanges

Summary

  1. [SVE][CodeGen] Legalisation of truncate for scalable vectors (details)
  2. [analyzer][StdLibraryFunctionsChecker] Add better diagnostics (details)
  3. [X86] Remove WaitInsert::TTI member. NFCI. (details)
  4. [X86][SSE] lowerShuffleAsSplitOrBlend always returns a shuffle. (details)
  5. [SLP][X86] Add division by uniform constant tests (PR47476) (details)
Commit cd89f5c91b4bad90278a59865fc06a75211589a1 by kerry.mclaughlin
[SVE][CodeGen] Legalisation of truncate for scalable vectors

Truncating from an illegal SVE type to a legal type, e.g.
`trunc <vscale x 4 x i64> %in to <vscale x 4 x i32>`
fails after PromoteIntOp_CONCAT_VECTORS attempts to
create a BUILD_VECTOR.

This patch changes the promote function to create a sequence of
INSERT_SUBVECTORs if the return type is scalable, and replaces
these with UNPK+UZP1 for AArch64.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D86548
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (diff)
The file was addedllvm/test/CodeGen/AArch64/sve-split-trunc.ll
Commit a97648b93846f163af262b9a0db684c7f5efc43f by gabor.marton
[analyzer][StdLibraryFunctionsChecker] Add better diagnostics

Differential Revision: https://reviews.llvm.org/D79431
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp (diff)
Commit e80605e2421f1fe09eb6f64f46dc65766c2d5184 by llvm-dev
[X86] Remove WaitInsert::TTI member. NFCI.

This is only ever set/used inside WaitInsert::runOnMachineFunction so don't bother storing it in the class.
The file was modifiedllvm/lib/Target/X86/X86InsertWait.cpp (diff)
Commit fc49abee5674261289d7e66c3291c0f1c5199689 by llvm-dev
[X86][SSE] lowerShuffleAsSplitOrBlend always returns a shuffle.

lowerShuffleAsSplitOrBlend always returns a target shuffle result (and is the default operation for lowering some shuffle types), so we don't need to check for null.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit 0aea3a79adfdd6b83f53f6653c98c1bfd94ef878 by llvm-dev
[SLP][X86] Add division by uniform constant tests (PR47476)
The file was addedllvm/test/Transforms/SLPVectorizer/X86/arith-div.ll