aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/crash2.ll
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-30 02:33:22 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-30 02:33:22 +0000
commita6542923b8ad94d791a12d3d5ae3e62a611f0383 (patch)
tree39b262594c75aec6fa0957002f7be45d09080c7f /test/Transforms/Inline/crash2.ll
parent979aff6399a79d155e98bbbe064f4a183a237f23 (diff)
downloadexternal_llvm-a6542923b8ad94d791a12d3d5ae3e62a611f0383.zip
external_llvm-a6542923b8ad94d791a12d3d5ae3e62a611f0383.tar.gz
external_llvm-a6542923b8ad94d791a12d3d5ae3e62a611f0383.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Inline/crash2.ll')
-rw-r--r--test/Transforms/Inline/crash2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Inline/crash2.ll b/test/Transforms/Inline/crash2.ll
index cb1f44d..be634f6 100644
--- a/test/Transforms/Inline/crash2.ll
+++ b/test/Transforms/Inline/crash2.ll
@@ -1,4 +1,4 @@
-; RUN: opt -inline -scalarrepl -max-cg-scc-iterations=1 %s -disable-output
+; RUN: opt -inline -scalarrepl -max-cg-scc-iterations=1 -disable-output < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-apple-darwin10.3"