This is an archive of the discontinued LLVM Phabricator instance.

[LV] Move invalid cost remark code to separate function (NFC).
ClosedPublic

Authored by fhahn on Feb 13 2023, 3:22 PM.

Details

Summary

The code only needs access to INvalidCosts, ORE and TheLoop, so it can
easily be moved into a helper to make selectVectorizationFactor more
compact.

Diff Detail

Event Timeline

fhahn created this revision.Feb 13 2023, 3:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 3:22 PM
fhahn requested review of this revision.Feb 13 2023, 3:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 3:22 PM
sdesmalen accepted this revision.Feb 15 2023, 2:07 PM
This revision is now accepted and ready to land.Feb 15 2023, 2:07 PM
This revision was landed with ongoing or failed builds.Feb 16 2023, 3:28 AM
This revision was automatically updated to reflect the committed changes.