This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Pick optimal seed value for VPBlend to enable mask elimination.
Needs ReviewPublic

Authored by paulwalker-arm on Aug 8 2023, 9:41 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

The seed value for a VPBlend is not masked. By picking an incoming
value whose mask is only used by the VPBlend as the seed value, we
are able to dead code the value's mask.

Diff Detail