This is an archive of the discontinued LLVM Phabricator instance.

[NFCI][CostModel] Unify getCFInstrCost
ClosedPublic

Authored by samparker on May 13 2020, 4:41 AM.

Details

Summary

Have TTI::getInstructionThroughput call getUserCost for Br, Ret and PHI.

Diff Detail

Event Timeline

samparker created this revision.May 13 2020, 4:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2020, 4:41 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
dfukalov accepted this revision.May 21 2020, 2:39 AM
This revision is now accepted and ready to land.May 21 2020, 2:39 AM

Thanks @dfukalov. Would you mind looking at the AMD changes in D79164 too please?

This revision was automatically updated to reflect the committed changes.