diff options
| author | Haicheng Wu <haicheng@codeaurora.org> | 2018-04-16 18:09:49 +0000 |
|---|---|---|
| committer | Haicheng Wu <haicheng@codeaurora.org> | 2018-04-16 18:09:49 +0000 |
| commit | f7466f316429a4bdd1672f5bb61eae5c4ce8beb3 (patch) | |
| tree | 4ee78ce51f22f8099939acfb61951297bc4ab0f8 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 67feadb2c757d7ff7cbaacdbcdecdf7d077a7c6d (diff) | |
| download | bcm5719-llvm-f7466f316429a4bdd1672f5bb61eae5c4ce8beb3.tar.gz bcm5719-llvm-f7466f316429a4bdd1672f5bb61eae5c4ce8beb3.zip | |
[SLP] Use getExtractWithExtendCost() to compute the scalar cost of extractelement/ext pair
We use getExtractWithExtendCost to calculate the cost of extractelement and
s|zext together when computing the extract cost after vectorization, but we
calculate the cost of extractelement and s|zext separately when computing the
scalar cost which is larger than it should be.
Differential Revision: https://reviews.llvm.org/D45469
llvm-svn: 330143
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions

