[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
This commit is contained in:
Clement Courbet 2019-09-09 13:08:16 +00:00
parent f9ce864558
commit 388b9794b6
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt -O2 -S < %s | FileCheck %s
; RUN: opt -inline -inline-threshold=225 -inlinehint-threshold=360 -S < %s | FileCheck %s
@data = common global i32* null, align 8