[VPlan] Add Debugloc to VPInstruction.
authorFlorian Hahn <flo@fhahn.com>
Mon, 20 Dec 2021 15:03:46 +0000 (15:03 +0000)
committerFlorian Hahn <flo@fhahn.com>
Mon, 20 Dec 2021 15:10:41 +0000 (15:10 +0000)
commit5b362e4c7fa4277bddc889620aa75ca322b76f9d
treeafcc70f3365c6eaf7d05d27e217a65903a158f35
parentcff192739bb6dd67b2ec58f055af2ae2834c4348
[VPlan] Add Debugloc to VPInstruction.

Upcoming changes require attaching debug locations to VPInstructions,
e.g. adding induction increment recipes in D113223.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D115123
llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
llvm/lib/Transforms/Vectorize/VPlanSLP.cpp
llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
llvm/test/Transforms/LoopVectorize/vplan-printing.ll