summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/inline-optsize.ll
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-30 01:28:40 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-30 01:28:40 +0000
commitb137c9e551097297d4e1980b79abbce8c7be38c7 (patch)
treee69031f2c52f2ab2c033e642904c99c2802494a8 /llvm/test/Transforms/Inline/inline-optsize.ll
parent5e8ff877f49afa80913eef8533d8ee2d86599f92 (diff)
downloadbcm5719-llvm-b137c9e551097297d4e1980b79abbce8c7be38c7.tar.gz
bcm5719-llvm-b137c9e551097297d4e1980b79abbce8c7be38c7.zip
Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
This is done to avoid odd test failures, like the one fixed in r171243. llvm-svn: 171246
Diffstat (limited to 'llvm/test/Transforms/Inline/inline-optsize.ll')
-rw-r--r--llvm/test/Transforms/Inline/inline-optsize.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/Inline/inline-optsize.ll b/llvm/test/Transforms/Inline/inline-optsize.ll
index 20d7426abd1..3ad573a04e4 100644
--- a/llvm/test/Transforms/Inline/inline-optsize.ll
+++ b/llvm/test/Transforms/Inline/inline-optsize.ll
@@ -1,5 +1,5 @@
-; RUN: opt -S -Oz %s | FileCheck %s -check-prefix=OZ
-; RUN: opt -S -O2 %s | FileCheck %s -check-prefix=O2
+; RUN: opt -S -Oz < %s | FileCheck %s -check-prefix=OZ
+; RUN: opt -S -O2 < %s | FileCheck %s -check-prefix=O2
; The inline threshold for a function with the optsize attribute is currently
; the same as the global inline threshold for -Os. Check that the optsize
OpenPOWER on IntegriCloud