aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SCCP
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
commitb4912b9dccd7250c372a40ba0734171c6b0f5e9b (patch)
treeb0ff409c12c024893344d7c18a2e12c7598540c4 /test/Transforms/SCCP
parent435654b18135bb5482a029bf359c4c2c7a5c2816 (diff)
downloadexternal_llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.zip
external_llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.tar.gz
external_llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.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@171246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP')
-rw-r--r--test/Transforms/SCCP/retvalue-undef.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/SCCP/retvalue-undef.ll b/test/Transforms/SCCP/retvalue-undef.ll
index 389561f..5a4ba11 100644
--- a/test/Transforms/SCCP/retvalue-undef.ll
+++ b/test/Transforms/SCCP/retvalue-undef.ll
@@ -1,4 +1,4 @@
-; RUN: opt -ipsccp -S %s | FileCheck %s
+; RUN: opt -ipsccp -S < %s | FileCheck %s
; PR6414
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"
target triple = "x86_64-unknown-linux-gnu"