This is an archive of the discontinued LLVM Phabricator instance.

[NFCI][CostModel][AMDGPU] Simplify getUserCost
ClosedPublic

Authored by samparker on Jun 2 2020, 4:36 AM.

Details

Reviewers
dfukalov
arsenm
Summary

Casts and intrinsics are now handled by the default implementation of getUserCost, so remove them from the backends switch statement.

Diff Detail

Event Timeline

samparker created this revision.Jun 2 2020, 4:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2020, 4:36 AM
dfukalov accepted this revision.Jun 3 2020, 6:36 PM

Thanks!

This revision is now accepted and ready to land.Jun 3 2020, 6:36 PM