Revert "[COST]Improve cost model for shuffles in SLP."
authorAlexey Bataev <a.bataev@outlook.com>
Thu, 28 Apr 2022 14:49:37 +0000 (07:49 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Thu, 28 Apr 2022 15:11:56 +0000 (08:11 -0700)
commit9861ca0c23a60aa18874bb4378f359d4659a6ee6
tree68d20345f69313fa1ca6b5db9ebd595a54978f2c
parentd03bc249d81c5b8ae239adb89274ad1d5135dc8d
Revert "[COST]Improve cost model for shuffles in SLP."

This reverts commit 29a470e3804ca216d4e76c88a38086eb61c200f9 to fix
a crash reported in https://reviews.llvm.org/D100486#3479989.
llvm/include/llvm/Analysis/VectorUtils.h
llvm/lib/Analysis/VectorUtils.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Analysis/CostModel/X86/reduction.ll
llvm/test/Analysis/CostModel/X86/shuffle-single-src.ll
llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll