OSDN Git Service

[LoopVectorize] Pass unfiltered list of arguments to getIntrinsicInstCost.
authorFlorian Hahn <flo@fhahn.com>
Mon, 15 Jul 2019 08:48:47 +0000 (08:48 +0000)
committerFlorian Hahn <flo@fhahn.com>
Mon, 15 Jul 2019 08:48:47 +0000 (08:48 +0000)
commitbbc7752ec413b130acf534b3d5f55ed857b5497a
tree897e33c6fd69faf82581cc5027d47eef69f8b735
parentbd436d0c2c10ea6ebdac87c5affd9965f56c8677
[LoopVectorize] Pass unfiltered list of arguments to getIntrinsicInstCost.

We do not compute the scalarization overhead in getVectorIntrinsicCost
and TTI::getIntrinsicInstrCost requires the full arguments list.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366049 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/vector-intrinsic-call-cost.ll [new file with mode: 0644]