This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Reject loops without computable backedge taken counts
ClosedPublic

Authored by fhahn on Jun 3 2020, 5:15 AM.

Details

Summary

getOrCreateTripCount is used to generate code for the outer loop, but it
requires a computable backedge taken counts. Check that in the VPlan
native path.

Diff Detail

Event Timeline

fhahn created this revision.Jun 3 2020, 5:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2020, 5:15 AM
sguggill accepted this revision.Jun 10 2020, 8:51 AM

LGTM.

This revision is now accepted and ready to land.Jun 10 2020, 8:51 AM
This revision was automatically updated to reflect the committed changes.