This is an archive of the discontinued LLVM Phabricator instance.

[NFCI][CostModel] Unify FNeg cost
ClosedPublic

Authored by samparker on Jun 11 2020, 2:00 AM.

Details

Summary

Enable TTIImpl::getUserCost to handle FNeg so that getInstructionThroughput can call that instead. This means we can remove the code in the AMDGPU backend too.

Diff Detail

Event Timeline

samparker created this revision.Jun 11 2020, 2:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2020, 2:00 AM
dfukalov accepted this revision.Jun 14 2020, 6:23 PM
This revision is now accepted and ready to land.Jun 14 2020, 6:23 PM
This revision was automatically updated to reflect the committed changes.