This is an archive of the discontinued LLVM Phabricator instance.

[ORE] Move loop invariant ORE checks outside the PM loop.
ClosedPublic

Authored by trentxintong on Jul 19 2018, 7:44 PM.

Details

Summary

This takes 22ms out of ~20s compiling sqlite3.c because we call it
for every unit of compilation and every pass.

Diff Detail

Repository
rL LLVM

Event Timeline

trentxintong created this revision.Jul 19 2018, 7:44 PM
anemet accepted this revision.Jul 20 2018, 11:08 AM

LGTM, you have trailing whitespace in one of the hunks, please clang-format.

This revision is now accepted and ready to land.Jul 20 2018, 11:08 AM
This revision was automatically updated to reflect the committed changes.