This is an archive of the discontinued LLVM Phabricator instance.

[slp] Delete dead scalar instructions feeding vectorized instructions
ClosedPublic

Authored by reames on Mar 25 2022, 11:21 AM.

Details

Summary

If we vectorize a e.g. store, we leave around a bunch of getelementptrs for the individual scalar stores which we removed. We can go ahead and delete them as well.

This is purely for test output quality and readability. It should have no effect in any sane pipeline.

Diff Detail

Event Timeline

reames created this revision.Mar 25 2022, 11:21 AM
reames requested review of this revision.Mar 25 2022, 11:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 11:21 AM
This revision is now accepted and ready to land.Mar 28 2022, 1:27 PM
This revision was landed with ongoing or failed builds.Mar 28 2022, 8:10 PM
This revision was automatically updated to reflect the committed changes.