[VPlan] Move addMetadata to VPTransformState (NFC).
authorFlorian Hahn <flo@fhahn.com>
Fri, 1 Jul 2022 11:03:24 +0000 (12:03 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 1 Jul 2022 11:03:25 +0000 (12:03 +0100)
commit583abd0e36ca4cb05b5000863f66b8cb94abd212
tree6f26d8b60c21dfd460aa7b881f9474163d3f2f5c
parentb66d02eaa0435cf445713c9c8e170584ee097cb5
[VPlan] Move addMetadata to VPTransformState (NFC).

The moved helpers are only used for codegen. It will allow moving the
remaining ::execute implementations out of LoopVectorize.cpp.

Depends on D127966.
Depends on D127965.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D127968
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h