llvm-project
fe6e1784 - [VPlan] Don't build recipes for unconditional switches (#157323)

Commit
25 days ago
[VPlan] Don't build recipes for unconditional switches (#157323) In #157322 we crash because we try to infer a type for a VPReplicate switch recipe. My understanding was that these switches should be removed by VPlanPredicator, but this switch survived through it because it was unconditional, i.e. had no cases other than the default case. This fixes #157322 by not emitting any recipes for unconditional switches to begin with, similar to how we treat unconditional branches.
Author
Parents
Loading