SuccessChanges

Summary

  1. [LLDB] Skip TestGuiBasicDebug.py on Arm and AArch64/Linux (details)
  2. [clang][AArch64][SVE] Avoid going through memory for VLAT <-> VLST casts (details)
  3. [CostModel]Replace FixedVectorType by VectorType in costgetIntrinsicInstrCost (details)
  4. [CostModel]Migrate getTreeCost() to use InstructionCost (details)
  5. [mlir][spirv] Add parsing and printing support for SpecConstantOperation (details)
  6. [CostModel] Add costs for llvm.experimental.vector.{extract,insert} intrinsics (details)
  7. [PATCH] [compiler-rt] [builtins] Fix name of __aarch64_have_lse_atomics on Darwin (details)
  8. [Statepoints] Extract invoke tests into separate file. NFC. (details)
  9. [SLPVectorizer]Migrate getEntryCost to return InstructionCost (details)
Commit 9322e571d7356a9a0e86aab954c3a916f0f07855 by omair.javaid
[LLDB] Skip TestGuiBasicDebug.py on Arm and AArch64/Linux

TestGuiBasicDebug.py is intermittenly timing out on LLDB AArch64/Linux
buildbot. Putting SkipIf decorator untill root cuase is identified.
The file was modifiedlldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py
Commit dad07baf123e672b1d5d5e7c21e73b92399d5a0c by joe.ellis
[clang][AArch64][SVE] Avoid going through memory for VLAT <-> VLST casts

This change makes use of the llvm.vector.extract intrinsic to avoid
going through memory when performing bitcasts between vector-length
agnostic types and vector-length specific types.

Depends on D91362

Reviewed By: c-rhodes

Differential Revision: https://reviews.llvm.org/D92761
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-codegen.c
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-call.c
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-cast.c
Commit 60e4698b9aba8d9a2b27ac8a636c95ad1f7d94e0 by caroline.concatto
[CostModel]Replace FixedVectorType by VectorType in costgetIntrinsicInstrCost

This patch replaces FixedVectorType by VectorType in getIntrinsicInstrCost
in BasicTTIImpl.h. It re-arranges the scalable type test earlier return
and add tests for scalable types.

Depends on D91532

Differential Revision: https://reviews.llvm.org/D92094
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-cctz-ctlz.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit 07217e0a1b7e40bb9c4e9953f9c7366c84d30c93 by caroline.concatto
[CostModel]Migrate getTreeCost() to use InstructionCost

This patch changes the type of cost variables (for instance: Cost, ExtractCost,
SpillCost) to use InstructionCost.
This patch also changes the type of cost variables to InstructionCost in other
functions that use the result of getTreeCost()
This patch is part of a series of patches to use InstructionCost instead of
unsigned/int for the cost model functions.

See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Depends on D91174

Differential Revision: https://reviews.llvm.org/D93049
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 6551c9ac365ca46e83354703d1a63c671a50258a by antiagainst
[mlir][spirv] Add parsing and printing support for SpecConstantOperation

Adds more support for `SpecConstantOperation` by defining a custom
syntax for the op and implementing its parsing and printing.

Reviewed By: mravishankar, antiagainst

Differential Revision: https://reviews.llvm.org/D92919
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/structure-ops.mlir
Commit e0b9c5df260c9d778be3b6ee56e6d0ffd7af9be7 by bradley.smith
[CostModel] Add costs for llvm.experimental.vector.{extract,insert} intrinsics

Adds cost model support for the new llvm.experimental.vector.{extract,insert}
intrinsics, using the existing getExtractSubvectorOverhead and
getInsertSubvectorOverhead functions for shuffles.

Previously this case would throw an assertion.

Differential Revision: https://reviews.llvm.org/D93043
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-vec-insert-extract.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit 75f98f0f8c813a0cffb130bc0589e4609ab09076 by sbergman
[PATCH] [compiler-rt] [builtins] Fix name of __aarch64_have_lse_atomics on Darwin

...where the name of that variable defined in
compiler-rt/lib/builtins/cpu_model.c is decorated with a leading underscore

Differential Revision: https://reviews.llvm.org/D93390
The file was modifiedcompiler-rt/lib/builtins/aarch64/lse.S
Commit c5771a2f2df995b312a7d5dfc899d7869d6f26d1 by dantrushin
[Statepoints] Extract invoke tests into separate file. NFC.

Extract VReg lowering tests with invokes into separate file
for easier maintenance/modification.
Check MIR after register allocation - at this point all
transformations we're interested in has been applied and verifying
of MIR is simpler than that of assembly.
The file was addedllvm/test/CodeGen/X86/statepoint-vreg-invoke.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg-details.ll
Commit be9184bc557ae4000cd785fe369347817e5cbad4 by caroline.concatto
[SLPVectorizer]Migrate getEntryCost to return InstructionCost

This patch also changes:
  the return type of getGatherCost and
  the signature of the debug function dumpTreeCosts
to use InstructionCost.

This patch is part of a series of patches to use InstructionCost instead of
unsigned/int for the cost model functions.

See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

See this patch for the introduction of the type:
https://reviews.llvm.org/D91174

Depends on D93049

Differential Revision: https://reviews.llvm.org/D93127
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp