mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
[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
dfa575fb60
commit
0f7342aa8c
@ -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
Block a user