This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Remove kill flags between VCMP and insertion point
ClosedPublic

Authored by dmgreen on Nov 6 2020, 12:13 PM.

Details

Summary

When we fold a VCMP into a VPST instruction any kill flags between the old VCMP position and the new insertion point need to be removed, in order to keep the verifier happy.

Diff Detail

Event Timeline

dmgreen created this revision.Nov 6 2020, 12:13 PM
dmgreen requested review of this revision.Nov 6 2020, 12:13 PM
samtebbs accepted this revision.Nov 9 2020, 2:01 AM

LGTM! Will we need to make similar change for the combination that happens in the LowOverheadLoops pass as well?

This revision is now accepted and ready to land.Nov 9 2020, 2:01 AM

Thanks

Will we need to make similar change for the combination that happens in the LowOverheadLoops pass as well?

Yeah quite probably. This ran into a machine-verifier problem, which we should try and keep that happy if we can.

This revision was automatically updated to reflect the committed changes.