Add a subtype parameter to VTTI::getShuffleCost
authorHal Finkel <hfinkel@anl.gov>
Thu, 3 Jan 2013 02:34:09 +0000 (02:34 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 3 Jan 2013 02:34:09 +0000 (02:34 +0000)
commit82860f63e1678077fe665c21179b9df47fd313bb
tree771f722fcf336a1b1a88c1090fb01f39c86ef371
parente5ab1bee8c1b4ae58bc108c28194af56379e55ac
Add a subtype parameter to VTTI::getShuffleCost

In order to cost subvector insertion and extraction, we need to know
the type of the subvector being extracted.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171453 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetTransformImpl.h
include/llvm/TargetTransformInfo.h
lib/Target/TargetTransformImpl.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h