diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-07 14:23:44 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-07 14:23:44 +0000 |
commit | e25a6fd390e77d953001e2087fc54c2c1169cbe4 (patch) | |
tree | 540fcc85e313ac087703f2c2602c5e597712f931 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 99633ec5276634d4d49d98b563cc66b32c17be03 (diff) | |
download | bcm5719-llvm-e25a6fd390e77d953001e2087fc54c2c1169cbe4.tar.gz bcm5719-llvm-e25a6fd390e77d953001e2087fc54c2c1169cbe4.zip |
[SLP] Fix PR35047: Fix default cost model for cast op in X86.
Summary:
The cost calculation for default case on X86 target does not always
follow correct wayt because of missing 4-th argument in
`BaseT::getCastInstrCost()` call. Added this missing parameter.
Reviewers: hfinkel, mkuper, RKSimon, spatel
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D39687
llvm-svn: 317576
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions