[llvm] [VPlan] Fix VPTypeAnalysis cache clobbering in EVL transform (PR #120252)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 09:01:42 PST 2024


fhahn wrote:

> > How about alternative approach - actual deletion of the dead recipes after the transformation?
> 
> Yeah I had considered that but I thought recursivelyDeleteDeadRecipes might have made it a bit tricky since it erases recipes in flight. But I don't see why we couldn't also just run that once at the end instead of after each header mask. I'll give that a try

You probably need to collect the recipes to remove, as some of the replaced recipes won't be considered dead (e.g. store recipes)

https://github.com/llvm/llvm-project/pull/120252


More information about the llvm-commits mailing list