Page MenuHomePhabricator

[X86] Move getGatherOverhead/getScatterOverhead into X86TargetTransformInfo.
ClosedPublic

Authored by craig.topper on Sat, Jul 25, 11:35 PM.

Details

Summary

These cost methods don't make much sense in X86Subtarget. Make
them methods in X86's TTI and move the feature checks from the
X86Subtarget constructor into these methods.

Diff Detail

Event Timeline

craig.topper created this revision.Sat, Jul 25, 11:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptSat, Jul 25, 11:35 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
RKSimon accepted this revision.Sun, Jul 26, 1:48 AM

LGTM - cheers!

This revision is now accepted and ready to land.Sun, Jul 26, 1:48 AM
This revision was automatically updated to reflect the committed changes.