This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine][SVE] Skip scalable type for InstCombiner::getFlippedStrictnessPredicateAndConstant.
ClosedPublic

Authored by huihuiz on Sep 18 2020, 10:45 AM.

Details

Summary

We cannot iterate on scalable vector, the number of elements is unknown at compile-time.

Diff Detail

Event Timeline

huihuiz created this revision.Sep 18 2020, 10:45 AM
huihuiz requested review of this revision.Sep 18 2020, 10:45 AM

Current upstream crash with test attached.

efriedma accepted this revision.Sep 18 2020, 11:17 AM

LGTM

We could add support for splats here, but not that important for now.

This revision is now accepted and ready to land.Sep 18 2020, 11:17 AM
This revision was automatically updated to reflect the committed changes.