This is an archive of the discontinued LLVM Phabricator instance.

Restore the LoopInstSimplify pass, reverting r327329 that removed it.
ClosedPublic

Authored by chandlerc on May 24 2018, 5:58 PM.

Details

Summary

The plan had always been to move towards using this rather than so much
in-pass simplification within the loop pipeline, but we never got around
to it.... until only a couple months after it was removed due to disuse.

/

This commit is just a pure revert of the removal. I will add tests and
do some basic cleanup in follow-up commits (with post-commit review if
thats OK).

Then I'll wire it into the loop pass pipeline.

Any concerns?

Diff Detail

Repository
rL LLVM

Event Timeline

chandlerc created this revision.May 24 2018, 5:58 PM
sanjoy accepted this revision.May 24 2018, 6:33 PM

lgtm

This revision is now accepted and ready to land.May 24 2018, 6:33 PM
This revision was automatically updated to reflect the committed changes.