Page MenuHomePhabricator

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

Authored by courbet on Mon, Sep 9, 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.Mon, Sep 9, 5:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptMon, Sep 9, 5:38 AM
RKSimon accepted this revision.Mon, Sep 9, 6:03 AM

LGTM

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