[all-commits] [llvm/llvm-project] e22818: [IR]Add NumSrcElts param to is..Mask static functi...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Oct 5 06:25:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e22818d5c98a5cb2babc44de8b29abc22d613b15
https://github.com/llvm/llvm-project/commit/e22818d5c98a5cb2babc44de8b29abc22d613b15
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-10-05 (Thu, 05 Oct 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/test/Transforms/SLPVectorizer/X86/tiny-tree.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