This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Skip debug info in recomputeVPTBlockMask
ClosedPublic

Authored by dmgreen on Sep 27 2021, 9:50 AM.

Details

Summary

The ARMLowOverheadLoops pass recalculated VPT block masks when it converts VCMP's inside VPT blocks into VPT's. The function to do so doesn't seem to handle debug info though, leading to invalid block creation or asserts at compile time. Make sure the function skips any debug info between the MVE instructions it inspects.

Diff Detail

Event Timeline

dmgreen created this revision.Sep 27 2021, 9:50 AM
dmgreen requested review of this revision.Sep 27 2021, 9:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2021, 9:50 AM
SjoerdMeijer accepted this revision.Sep 28 2021, 3:29 AM

Looks like a good fix to me.

This revision is now accepted and ready to land.Sep 28 2021, 3:29 AM
This revision was landed with ongoing or failed builds.Sep 28 2021, 6:58 AM
This revision was automatically updated to reflect the committed changes.