This is an archive of the discontinued LLVM Phabricator instance.

[SLPVectorizer] Remove default OperandValueKind arguments from getArithmeticInstrCost calls (NFC)
ClosedPublic

Authored by RKSimon on Jun 11 2018, 4:21 AM.

Details

Summary

The getArithmeticInstrCost calls for shuffle vectors entry costs specify TargetTransformInfo::OperandValueKind arguments, but are just using the method's default values. This seems to be a copy + paste issue and doesn't affect the costs in anyway. The TargetTransformInfo::OperandValueProperties default arguments are already not being used.

Noticed while working on D47985.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jun 11 2018, 4:21 AM
This revision is now accepted and ready to land.Jun 19 2018, 6:14 AM
This revision was automatically updated to reflect the committed changes.