HomePhabricator

[TTI] getMemcpyCost

Authored by SjoerdMeijer on Mar 20 2019, 7:15 AM.

Description

[TTI] getMemcpyCost

This adds new function getMemcpyCost to TTI so that the cost of a memcpy can be
modeled and queried. The default implementation returns Expensive, but targets
can override this function to model the cost more accurately.

Differential Revision: https://reviews.llvm.org/D59252

llvm-svn: 356555

Details

Committed
SjoerdMeijerMar 20 2019, 7:15 AM
Differential Revision
D59252: [TTI] getMemcpyCost
Parents
rG0373bedb41ce: [llvm-objcopy] - Use replaceSectionReferences to update the sections for…
Branches
Unknown
Tags
Unknown