This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Don't mark vctp as having sideeffects
ClosedPublic

Authored by dmgreen on Jul 15 2020, 2:20 PM.

Details

Summary

As far as I can tell, it should not be necessary for VCTP to be unpredictable in tail predicated loops. Either it has a a valid loop counter as a operand which will naturally keep it in the right loop, or it doesn't and it won't be converted to a tail predicated loop. Not marking it as having side effects allows it to be scheduled more cleanly for cases where it is not expected to become a tail predicate loop.

Diff Detail

Event Timeline

dmgreen created this revision.Jul 15 2020, 2:20 PM
samparker accepted this revision.Jul 16 2020, 1:07 AM
This revision is now accepted and ready to land.Jul 16 2020, 1:07 AM
This revision was automatically updated to reflect the committed changes.