This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Remove unnecessary use of replaceSymbolicStrideSCEV (NFC).
ClosedPublic

Authored by fhahn on Sep 8 2021, 1:51 PM.

Details

Summary

When passing an empty strides map, there's nothing to replace for
replaceSymbolicStrideSCEV and it just returns the SCEV for Ptr. There
should be no need to call the function.

Diff Detail

Event Timeline

fhahn created this revision.Sep 8 2021, 1:51 PM
fhahn requested review of this revision.Sep 8 2021, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2021, 1:51 PM
SjoerdMeijer accepted this revision.Sep 9 2021, 2:15 AM

Yeah, sounds very reasonable to me.

This revision is now accepted and ready to land.Sep 9 2021, 2:15 AM