This is an archive of the discontinued LLVM Phabricator instance.

[ARM][MVE] Clear MaskedInsts vector
ClosedPublic

Authored by samparker on Jan 20 2020, 7:50 AM.

Details

Summary

In MVETailPredication, clear the vector before running on a new loop.

Diff Detail

Event Timeline

samparker created this revision.Jan 20 2020, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2020, 7:50 AM
SjoerdMeijer accepted this revision.Jan 20 2020, 8:02 AM

Looks like a straightforward fix to me.

Nit: perhaps describe somewhere the loop structure causing a problem, perhaps the test name.

This revision is now accepted and ready to land.Jan 20 2020, 8:02 AM
dmgreen accepted this revision.Jan 20 2020, 8:10 AM
dmgreen added inline comments.
llvm/lib/Target/ARM/MVETailPredication.cpp
151

ClonedVCTPInExitBlock too?

SjoerdMeijer added inline comments.Jan 20 2020, 8:16 AM
llvm/lib/Target/ARM/MVETailPredication.cpp
455

I guess we're fine for that one because that is (re)initialised here for each call to Cleanup

This revision was automatically updated to reflect the committed changes.