This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Fix PR35047: Fix default cost model for cast op in X86.
ClosedPublic

Authored by ABataev on Nov 6 2017, 7:44 AM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev created this revision.Nov 6 2017, 7:44 AM
RKSimon accepted this revision.Nov 7 2017, 5:04 AM

LGTM

This revision is now accepted and ready to land.Nov 7 2017, 5:04 AM
This revision was automatically updated to reflect the committed changes.