forked from OSchip/llvm-project
[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:
parent
f9ce864558
commit
388b9794b6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue