[TTI] Add generic SK_Broadcast shuffle costs
I noticed while fixing PR39368 that we don't have generic shuffle costs for broadcast style shuffles. This patch adds SK_BROADCAST handling, but exposes ARM/AARCH64 lack of handling of this type, which I've added a fix for at the same time. Differential Revision: https://reviews.llvm.org/D53570 llvm-svn: 345253
Showing
- llvm/include/llvm/CodeGen/BasicTTIImpl.h 19 additions, 0 deletionsllvm/include/llvm/CodeGen/BasicTTIImpl.h
- llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp 13 additions, 2 deletionsllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
- llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp 22 additions, 3 deletionsllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Loading
Please register or sign in to comment