[VPlan] Use stored value from recipes for interleave groups.
authorFlorian Hahn <flo@fhahn.com>
Mon, 26 Jul 2021 10:38:39 +0000 (11:38 +0100)
committerFlorian Hahn <flo@fhahn.com>
Mon, 26 Jul 2021 11:05:23 +0000 (12:05 +0100)
commitd995d63767624a60a5d3276f9f16d7b995435af1
treeccfb6a62040f6b5acbb3f7914928d25f797c8074
parent20b0fa91c9eebc7501e280049b61e8de352f3c94
[VPlan] Use stored value from recipes for interleave groups.

Instead of getting the VPValue for the stored IR values through the
current plan, use the stored value of the recipes directly.

This way, the correct VPValues are used if the store recipes have been
modified in the VPlan and the IR value is not correct any longer. This
can happen, e.g. due to D105008.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp