Refine fix to bug 15041.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 8 Feb 2013 18:19:17 +0000 (18:19 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 8 Feb 2013 18:19:17 +0000 (18:19 +0000)
commit0f58dbae4ab2397dc310e19d171a4bc60fc6c9a7
tree7c7e52d5180abb20a4fe7d79bee1685e75682ecc
parent33daeab1bb8df65273fd9ecbf1a261f96733732e
Refine fix to bug 15041.

Thanks to help from Nadav and Hal, I have a more reasonable (and even
correct!) approach.  This specifically penalizes the insertelement
and extractelement operations for the performance hit that will occur
on PowerPC processors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174725 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
test/Analysis/CostModel/PowerPC/insert_extract.ll [new file with mode: 0644]