HomePhabricator

Rename TTI::getIntImmCost for instructions and intrinsics

Authored by rnk on Dec 11 2019, 11:54 AM.

Description

Rename TTI::getIntImmCost for instructions and intrinsics

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

Reviewers: efriedma

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

Details