[PATCH] D27811: [CostModel][X86] Add support for broadcast shuffle costs
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 13:13:16 PST 2016
RKSimon updated this revision to Diff 82260.
RKSimon added a comment.
Added ShuffleVectorInst::isSplat as suggested.
Regarding the refactor to use TTI::ShuffleKind instead of ISD::SHUFFLE_VECTOR in the LUTs - is everyone happy with me to commit this to trunk and I'll then update this patch with the new scheme?
Repository:
rL LLVM
https://reviews.llvm.org/D27811
Files:
include/llvm/IR/Instructions.h
lib/Analysis/CostModel.cpp
lib/CodeGen/CodeGenPrepare.cpp
lib/IR/Instructions.cpp
lib/Target/X86/X86TargetTransformInfo.cpp
test/Analysis/CostModel/X86/shuffle-broadcast.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27811.82260.patch
Type: text/x-patch
Size: 45277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161221/e9228f7f/attachment.bin>
More information about the llvm-commits
mailing list