This is an archive of the discontinued LLVM Phabricator instance.

[Inliner][NFC] Make test less brittle.
ClosedPublic

Authored by courbet on Sep 9 2019, 5:38 AM.

Details

Summary

This tests inlining size thresholds, but relies on the output of running
the full O2 pipeline, making it brittle against changes in unrelated
passes.

Only run the inlining pass and set thresholds on the test RUN line
instead.

Found while investigating D60318.

Diff Detail

Repository
rL LLVM

Event Timeline

courbet created this revision.Sep 9 2019, 5:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2019, 5:38 AM
RKSimon accepted this revision.Sep 9 2019, 6:03 AM

LGTM

This revision is now accepted and ready to land.Sep 9 2019, 6:03 AM
This revision was automatically updated to reflect the committed changes.