================ @@ -937,10 +938,84 @@ static void recursivelyDeleteDeadRecipes(VPValue *V) { } } +class VPConstantFolder { ---------------- fhahn wrote: Would be good to document briefly. https://github.com/llvm/llvm-project/pull/125365