This is an archive of the discontinued LLVM Phabricator instance.

Rename TTI::getIntImmCost for instructions and intrinsics
ClosedPublic

Authored by rnk on Dec 11 2019, 5:05 PM.

Details

Summary

Soon Intrinsic::ID will be a plain integer, so this overload will not be
possible.

Rename both overloads to ensure that downstream targets observe this as
a build failure instead of a runtime failure.

Split off from D71320

Diff Detail

Event Timeline

rnk created this revision.Dec 11 2019, 5:05 PM
This revision is now accepted and ready to land.Dec 11 2019, 5:43 PM
This revision was automatically updated to reflect the committed changes.