Recommit "[VPlan] Use VPValue def for VPMemoryInstructionRecipe."
authorFlorian Hahn <flo@fhahn.com>
Tue, 13 Oct 2020 17:47:37 +0000 (18:47 +0100)
committerFlorian Hahn <flo@fhahn.com>
Wed, 14 Oct 2020 16:41:23 +0000 (17:41 +0100)
commit93f6c6b79c500f776072fc50e57ff7e281e3941c
tree02fb11f901aa361622daa1f8d6571d92034e5f14
parentb967b9a7116babdf8aafacdcb4aae3a33d57aaa0
Recommit "[VPlan] Use VPValue def for VPMemoryInstructionRecipe."

This reverts the revert commit 710aceb645e7dba4de7053eef2c616311b9163d4
and includes a fix for a memsan failure.

Original message:

    This patch turns VPMemoryInstructionRecipe into a VPValue and uses it
    during VPlan construction and codegeneration instead of the plain IR
    reference where possible.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanValue.h