]> granicus.if.org Git - llvm/commit
[ARM] MVE shuffle broadcast costs
authorDavid Green <david.green@arm.com>
Mon, 12 Aug 2019 16:54:07 +0000 (16:54 +0000)
committerDavid Green <david.green@arm.com>
Mon, 12 Aug 2019 16:54:07 +0000 (16:54 +0000)
commit28a7869cfd1b2188928f448ef54c47c14a20dbf6
tree316a9820c0947d030720694c61ac0658a205eb27
parentb79014d80b2d345418199e2288af2b50c366c8d3
[ARM] MVE shuffle broadcast costs

A VDUP will perform a vector broadcast in a single instruction. Update the cost
model for MVE accordingly.

Code originally by David Sherwood.

Differential Revision: https://reviews.llvm.org/D63448

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368589 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Analysis/CostModel/ARM/shuffle.ll