[PATCH] D60160: [PowerPC] Update P9 vector costs for insert/extract element

Roland Froese via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 2 15:45:19 PDT 2019


RolandF created this revision.
Herald added subscribers: llvm-commits, jsji, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

The PPC vector cost model values for insert/extract element reflect older processors that lacked vector insert/extract instructions and move-to/move-from VSR instructions.  Update getVectorInstrCost to give appropriate values for when the newer instructions are present.


https://reviews.llvm.org/D60160

Files:
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/PowerPC/p9.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60160.193377.patch
Type: text/x-patch
Size: 5310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190402/1cf96b6c/attachment.bin>


More information about the llvm-commits mailing list