HomePhabricator

[Inliner][NFC] Make test less brittle.

Authored by courbet on Sep 9 2019, 6:08 AM.

Description

[Inliner][NFC] Make test less brittle.

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.

Reviewers: RKSimon, qcolombet

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67349

llvm-svn: 371397

Details

Committed
courbetSep 9 2019, 6:08 AM
Differential Revision
D67349: [Inliner][NFC] Make test less brittle.
Parents
rGf9ce864558ab: [clang-tidy] Fix bug in bugprone-use-after-move check
Branches
Unknown
Tags
Unknown