[VPlan] Assert no users remaining when deleting a VPValue.
authorFlorian Hahn <flo@fhahn.com>
Sat, 3 Oct 2020 20:05:39 +0000 (21:05 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 1 Nov 2020 17:44:53 +0000 (17:44 +0000)
commitca38652b9a58fc4e15b12e6f3914bfdb124cb6cd
tree2e92a4de67ddbccbc68d0b8abd0bacc4da84005c
parent44c1a568695a40da8de41ed23699a367d8baecc4
[VPlan] Assert no users remaining when deleting a VPValue.

When deleting a VPValue, all users must already by deleted. Add an
assertion to make sure and catch violations.
llvm/lib/Transforms/Vectorize/VPlanValue.h