[all-commits] [llvm/llvm-project] c88c28: [IR]Add NumSrcElts param to is..Mask static functi...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Sep 28 11:12:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c88c281cf1ac1a01c55231b93826d7c8ae83985b
https://github.com/llvm/llvm-project/commit/c88c281cf1ac1a01c55231b93826d7c8ae83985b
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ShuffleVectorInstTest.cpp
Log Message:
-----------
[IR]Add NumSrcElts param to is..Mask static function in ShuffleVectorInst.
Need to add NumSrcElts param to is..Mask functions in
ShuffleVectorInstruction class for better mask analysis. Mask.size() not
always matches the sizes of the permuted vector(s). Allows to better
estimate the cost in SLP and fix uses of the functions in other cases.
Differential Revision: https://reviews.llvm.org/D158449
More information about the All-commits
mailing list