[all-commits] [llvm/llvm-project] 6f43d2: [IR]Add NumSrcElts param to is..Mask static functi...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Oct 3 10:26:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f43d28f3452b3ef598bc12b761cfc2dbd0f34c9
https://github.com/llvm/llvm-project/commit/6f43d28f3452b3ef598bc12b761cfc2dbd0f34c9
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-10-03 (Tue, 03 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