]> granicus.if.org Git - llvm/commit
[Inliner][NFC] Make test less brittle.
authorClement Courbet <courbet@google.com>
Mon, 9 Sep 2019 13:08:16 +0000 (13:08 +0000)
committerClement Courbet <courbet@google.com>
Mon, 9 Sep 2019 13:08:16 +0000 (13:08 +0000)
commitf24f9a875ac0305eef44f5d9913e2623133a94d5
tree44759a5e8eecdbf3cdf26369bbf9ad768fb1ee95
parentd8a2777bc180df1320801cf0d9294521a3f8963a
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371397 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/Inline/inline_minisize.ll