This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Move VPWidenCallRecipe to VPlanRecipes.cpp (NFC).
ClosedPublic

Authored by fhahn on Aug 24 2022, 12:05 PM.

Diff Detail

Event Timeline

fhahn created this revision.Aug 24 2022, 12:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 12:05 PM
fhahn requested review of this revision.Aug 24 2022, 12:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 12:05 PM
Herald added a subscriber: vkmr. · View Herald Transcript
Ayal accepted this revision.Aug 29 2022, 12:39 AM

Nice cleanup! Minor nits.

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
4155–4156

Remove useless method altogether?

llvm/lib/Transforms/Vectorize/VPlan.h
352 ↗(On Diff #455318)

typo

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
448

Store ID in call recipe instead of dragging TLI around in State?

This revision is now accepted and ready to land.Aug 29 2022, 12:39 AM
fhahn updated this revision to Diff 456325.Aug 29 2022, 6:25 AM
fhahn marked 3 inline comments as done.

Rebased after improvements to D132585, comments should be addressed now, thanks!

fhahn added inline comments.Aug 29 2022, 8:58 AM
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
4155–4156

Done, it was left over by accident.

llvm/lib/Transforms/Vectorize/VPlan.h
352 ↗(On Diff #455318)

This is now gone in the latest version.

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
448

Done after the latest update to D132585

fhahn updated this revision to Diff 457015.Aug 31 2022, 10:25 AM

Rebased after recent changes to D132585.

This revision was automatically updated to reflect the committed changes.