ayalz wrote: May be worth reviewing the "native" VPlanPredicator logic introduced in https://reviews.llvm.org/D53349 and removed in https://reviews.llvm.org/D123017. https://github.com/llvm/llvm-project/pull/128420