Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
authorDmitri Gribenko <gribozavr@gmail.com>
Sun, 30 Dec 2012 01:28:40 +0000 (01:28 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Sun, 30 Dec 2012 01:28:40 +0000 (01:28 +0000)
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

48 files changed:
test/Analysis/ScalarEvolution/fold.ll
test/Transforms/CodeGenPrepare/basic.ll
test/Transforms/ConstantMerge/2003-10-28-MergeExternalConstants.ll
test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll
test/Transforms/ConstantMerge/merge-both.ll
test/Transforms/ConstantMerge/unnamed-addr.ll
test/Transforms/DeadArgElim/deadexternal.ll
test/Transforms/DeadStoreElimination/pr11390.ll
test/Transforms/GVN/lpre-call-wrap-2.ll
test/Transforms/GVN/lpre-call-wrap.ll
test/Transforms/GlobalOpt/ctor-list-opt-constexpr.ll
test/Transforms/GlobalOpt/memset-null.ll
test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll
test/Transforms/Inline/alloca_test.ll
test/Transforms/Inline/devirtualize-3.ll
test/Transforms/Inline/devirtualize.ll
test/Transforms/Inline/gvn-inline-iteration.ll
test/Transforms/Inline/inline-optsize.ll
test/Transforms/Inline/lifetime-no-datalayout.ll
test/Transforms/Inline/lifetime.ll
test/Transforms/Inline/noinline-recursive-fn.ll
test/Transforms/InstCombine/2008-05-08-StrLenSink.ll
test/Transforms/InstCombine/2010-03-03-ExtElim.ll
test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
test/Transforms/InstCombine/devirt.ll
test/Transforms/InstCombine/idioms.ll
test/Transforms/InstCombine/obfuscated_splat.ll
test/Transforms/InstCombine/sink_instruction.ll
test/Transforms/InstCombine/sqrt.ll
test/Transforms/JumpThreading/or-undef.ll
test/Transforms/LICM/2011-07-06-Alignment.ll
test/Transforms/LoopRotate/basic.ll
test/Transforms/LoopRotate/dbgvalue.ll
test/Transforms/LoopRotate/phi-duplicate.ll
test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll
test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll
test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll
test/Transforms/PhaseOrdering/2010-03-22-empty-baseclass.ll
test/Transforms/PhaseOrdering/PR6627.ll
test/Transforms/PhaseOrdering/basic.ll
test/Transforms/PhaseOrdering/gdce.ll
test/Transforms/PhaseOrdering/scev.ll
test/Transforms/SCCP/retvalue-undef.ll
test/Transforms/SimplifyCFG/branch-fold-dbg.ll
test/Transforms/SimplifyCFG/select-gep.ll
test/Transforms/SimplifyLibCalls/float-shrink-compare.ll
test/Transforms/TailCallElim/move_alloca_for_tail_call.ll

index 4e2adf187e8bad331dba97383ec3102679fa6bfd..57006dd9bb42c469cc6653a29bc0c37e9a105d88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze -scalar-evolution %s -S | FileCheck %s
+; RUN: opt -analyze -scalar-evolution -S < %s | FileCheck %s
 
 define i16 @test1(i8 %x) {
   %A = zext i8 %x to i12
index c68e77eb555a0938beafe0b029d59ccf79475a8f..d617e43be8653279064ff13da3283aead1d994b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -codegenprepare %s -S -o - | FileCheck %s
+; RUN: opt -codegenprepare -S < %s | FileCheck %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.0.0"
index ce79e3b2964a50d617fccf99df59ec67e6abc1ee..a415995070e5459e3a1c460b72d6385b4a6fba2c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -constmerge %s | FileCheck %s
+; RUN: opt -S -constmerge %s | FileCheck %s
 
 ; CHECK: @foo = constant i32 6
 ; CHECK: @bar = constant i32 6
index f561daf667815ffa4960d2f086477587065592af..5aafcfe3d4fb3579df71bec991ebbcc3992e2dd5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -constmerge %s -S -o - | FileCheck %s
+; RUN: opt -constmerge -S < %s | FileCheck %s
 ; PR8978
 
 declare i32 @zed(%struct.foobar*, %struct.foobar*)
index b71eb437dbc3f0edb0dbb7f61d9e0dc6445bc858..b00345557c83a9f43eedac184e5fe1cb3fc9053a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -constmerge %s -S -o - | FileCheck %s
+; RUN: opt -constmerge -S < %s | FileCheck %s
 ; Test that in one run var3 is merged into var2 and var1 into var4.
 ; Test that we merge @var5 and @var6 into one with the higher alignment, and
 ; don't merge var7/var8 into var5/var6.
index 24100837aabd67c2db89572e2d42139567fead90..aff8540f2cb119601637bdd9f28e0645fa70a1e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -constmerge %s -S -o - | FileCheck %s
+; RUN: opt -constmerge -S < %s | FileCheck %s
 ; Test which corresponding x and y are merged and that unnamed_addr
 ; is correctly set.
 
index e3fe1bbb548b9d8cd920d466759dd90b1a7209c7..cca58721e532408c53fcd46676ec16af1cfcf81b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -deadargelim -S %s | FileCheck %s
+; RUN: opt -deadargelim -S %s | FileCheck %s
 
 define void @test(i32) {
   ret void
index 2ce6eea365aa7ad01ef1b12d2be58735c9128d91..f63aa1eb8aae35e10ea399fc228833062f3634dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa -dse -S -o - %s | FileCheck %s
+; RUN: opt -basicaa -dse -S < %s | FileCheck %s
 ; PR11390
 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-S128"
 target triple = "x86_64-unknown-linux-gnu"
index e39f3ed87d1c3b2ef118977db8c22c5c676e42d9..35e3534a9c892b3191b47db693ab05abc9e13515 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -basicaa -gvn -enable-load-pre %s | FileCheck %s
+; RUN: opt -S -basicaa -gvn -enable-load-pre %s | FileCheck %s
 ;
 ; The partially redundant load in bb1 should be hoisted to "bb".  This comes
 ; from this C code (GCC PR 23455):
index 40462798b5341a049b9022bf0c751a95ac062f33..0646f3fe0aad1c2ef1244e5dd2cd9edf36a843c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -gvn -enable-load-pre %s | FileCheck %s
+; RUN: opt -S -gvn -enable-load-pre %s | FileCheck %s
 ;
 ; Make sure the load in bb3.backedge is removed and moved into bb1 after the 
 ; call.  This makes the non-call case faster. 
index e3bc473f52adb1de02fc73e69509c064daf38adb..c9076109443de8042f5f6277f24cafeb2369b5d7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -globalopt %s -S | FileCheck %s
+; RUN: opt -globalopt -S < %s | FileCheck %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.0.0"
 
index 01534025faa38377ce17de959c504341a48332b8..53ec7551130e426bc3342f15effc9ce5da9e276a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -globalopt %s -S -o - | FileCheck %s
+; RUN: opt -globalopt -S < %s | FileCheck %s
 ; PR10047
 
 %0 = type { i32, void ()* }
index 150ae70a8262d47005569d57be32508e67621989..e3de75e36fd8594dd3b3b118c58932ba92dca193 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -indvars %s | FileCheck %s
+; RUN: opt -S -indvars %s | FileCheck %s
 
 ; The indvar simplification code should ensure that the first PHI in the block 
 ; is the canonical one!
index e5791d5d25538e445941fe6005086cf7944079bf..8464259ce1f88b5d6f73dca3bb5296ac2bf43bbd 100644 (file)
@@ -1,7 +1,7 @@
 ; This test ensures that alloca instructions in the entry block for an inlined
 ; function are moved to the top of the function they are inlined into.
 ;
-; RUN: opt -S -inline %s | FileCheck %s
+; RUN: opt -S -inline %s | FileCheck %s
 
 define i32 @func(i32 %i) {
         %X = alloca i32         ; <i32*> [#uses=1]
index c32be4e024a3fc798d6db2c5096fea3ecf618567..3f019676e4a465c973da4ee626322bd696219350 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa -inline -S -scalarrepl -gvn -instcombine %s | FileCheck %s
+; RUN: opt -basicaa -inline -S -scalarrepl -gvn -instcombine %s | FileCheck %s
 ; PR5009
 
 ; CHECK: define i32 @main() 
index 51ea4baa3866648bc612bd8d7c83d870d1c02117..18bbf7a6f69ae9224503e254ad8e03f862b018de 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -basicaa -inline -scalarrepl -instcombine -simplifycfg -instcombine -gvn -globaldce %s | FileCheck %s
+; RUN: opt -S -basicaa -inline -scalarrepl -instcombine -simplifycfg -instcombine -gvn -globaldce %s | FileCheck %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.0.0"
 
index e502fd5777d5afee9559699a1e686db93f3520e0..526ed79e7b484d2214574f41e9b527f8399c3e33 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa -inline -gvn %s -S -max-cg-scc-iterations=1 | FileCheck %s
+; RUN: opt -basicaa -inline -gvn -S -max-cg-scc-iterations=1 < %s | FileCheck %s
 ; rdar://6295824 and PR6724
 
 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"
index 20d7426abd13ad76617d32130e6240526ac0e975..3ad573a04e427a347897044b27fe8eea378f64f0 100644 (file)
@@ -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
index 9ad14282f9800fbbc6622d0659eb6e35068cd7fb..f4ffef3850f1b6ad0ef511e30124af01a4ed09e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -inline %s -S -o - | FileCheck %s
+; RUN: opt -inline -S < %s | FileCheck %s
 
 declare void @use(i8* %a)
 
index fb520498c434c966eaaeadd18d2b94c9868d5bc0..fc73385295ed879320c95a16378e9d10b61f6138 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -inline %s -S -o - | FileCheck %s
+; RUN: opt -inline -S < %s | FileCheck %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-S128"
 
 declare void @llvm.lifetime.start(i64, i8*)
index 6cde0e27fd1eb8c8248bb8a8261b74a67511769c..5520093ee45709211d0de73f03ea29787e33c6e0 100644 (file)
@@ -2,7 +2,7 @@
 ; This effectively is just peeling off the first iteration of a loop, and the
 ; inliner heuristics are not set up for this.
 
-; RUN: opt -inline %s -S | FileCheck %s
+; RUN: opt -inline -S < %s | FileCheck %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"
index 1da28562aae409366bcb88702ea7f50e6ebc5431..d266164fd8707cf2496b85f913122293c0fe6a02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instcombine %s | FileCheck %s
+; RUN: opt -S -instcombine %s | FileCheck %s
 ; PR2297
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 2df12d670adbeff8698781c0bef47e573e15994f..bb3159e1e6fa181a8e4cbd4e68ace85c7fcae26b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine -S %s | FileCheck %s
+; RUN: opt -instcombine -S %s | FileCheck %s
 ; PR6486
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
index b75fa5ad40cfbb6f2bad090e29081486cf8ebd8e..09a96749f26064c889399ff88f897b20d6ff6ded 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine %s -S -o - | FileCheck %s
+; RUN: opt -instcombine -S < %s | FileCheck %s
 ; PR7265
 
 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"
index 6189dc2af4f949a9204cbd2d6d6a27812e4ce534..9c7cf5d697e844bca9ec00b5f6fc4c133156bb10 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine -S -o - %s | FileCheck %s
+; RUN: opt -instcombine -S < %s | FileCheck %s
 
 ; CHECK-NOT: getelementptr
 ; CHECK-NOT: ptrtoint
index 6b3567fc6e8d69c82673fdf63d8b25ef5034f040..1a211668c3bf5b56b36480c7dfdf98f21355def6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine %s -S | FileCheck %s
+; RUN: opt -instcombine -S < %s | FileCheck %s
 
 ; Check that code corresponding to the following C function is
 ; simplified into a single ASR operation:
index c25dade168a422d2bfd1b68ee17dd68aea6de2b7..fa9cb423d02c878c8bbe4e9c2e421f442e7c8404 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine -S %s | FileCheck %s
+; RUN: opt -instcombine -S %s | FileCheck %s
 
 define void @test(<4 x float> *%in_ptr, <4 x float> *%out_ptr) {
   %A = load <4 x float>* %in_ptr, align 16
index e521de208f216d7d1b3ab3558cd0e8933d6acc0a..5c4019a98df55425c0a6f9a0eff2442c11aae9d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine %s -S | FileCheck %s
+; RUN: opt -instcombine -S < %s | FileCheck %s
 
 ;; This tests that the instructions in the entry blocks are sunk into each
 ;; arm of the 'if'.
index cc78417ebbd680c9808337ef66174ff32d9d27c4..440b9748518ddd0fb050da405c12c3f4fb280b87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instcombine %s | FileCheck %s
+; RUN: opt -S -instcombine %s | FileCheck %s
 
 define float @test1(float %x) nounwind readnone ssp {
 entry:
index 6e359925b6c6a8a8502e40e7af958ede9f977024..6311b6df43734f5f8d59ba931448b76aed148160 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -jump-threading -S %s | FileCheck %s
+; RUN: opt -jump-threading -S %s | FileCheck %s
 ; rdar://7620633
 
 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"
index f97b7010bc029f57dfaca2285ee8b7a6ec5ea1ca..569231489fecfd74136a864fd15fe5644f654eae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -licm -S %s | FileCheck %s
+; RUN: opt -licm -S %s | FileCheck %s
 
 @A = common global [1024 x float] zeroinitializer, align 4
 
index cb5d3f9be8ae5244d1f885431b99fd6a1fe239a0..78878f9fa663dc29cd33681545a7d7bc17f5ba24 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -loop-rotate %s | FileCheck %s
+; RUN: opt -S -loop-rotate %s | FileCheck %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.0.0"
 
index b32ee82d3a57ee465b0d6bb3ace49ad87827ac53..6a8d30820f6e2deaaa37ec14e5fd37ae92d54d03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -loop-rotate  %s  | FileCheck %s
+; RUN: opt -S -loop-rotate < %s | FileCheck %s
 
 declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone
 declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
index 7372830922508cbd23df747ad640bc2a0cd3da33..8ad2dce71a6594ddffeaa5252cfc9d7c1da2525a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S %s -loop-rotate | FileCheck %s
+; RUN: opt -S -loop-rotate < %s | FileCheck %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.0"
 
index ad4959be340e97259efaa1327fc0168e5c28174f..498be1a9a1a28b99252ce19c7fc7b2f26fe3eae3 100644 (file)
@@ -2,7 +2,7 @@
 ; having overlapping live ranges that result in copies.  We want the setcc 
 ; instruction immediately before the conditional branch.
 ;
-; RUN: opt -S -loop-reduce %s | FileCheck %s
+; RUN: opt -S -loop-reduce %s | FileCheck %s
 
 define void @foo(float* %D, i32 %E) {
 entry:
index c1fd588106603b3bdea6c4586b0918f4b183a636..59a8236f132d9d6fa1ff2a63a69bcbcd88366ccd 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -loop-unswitch -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
-; RUN: opt -S -loop-unswitch -verify-loop-info -verify-dom-info %s | FileCheck %s
+; RUN: opt -S -loop-unswitch -verify-loop-info -verify-dom-info %s | FileCheck %s
 
 ; STATS: 1 loop-simplify - Number of pre-header or exit blocks inserted
 ; STATS: 2 loop-unswitch - Number of switches unswitched
index f3db47119958eecff8b6aa3956e92fed20937133..67982feb7e41b9cfa51805ec7c8f456a10f35226 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -loop-unswitch -loop-unswitch-threshold 13 -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
-; RUN: opt -S -loop-unswitch -loop-unswitch-threshold 13 -verify-loop-info -verify-dom-info %s | FileCheck %s
+; RUN: opt -S -loop-unswitch -loop-unswitch-threshold 13 -verify-loop-info -verify-dom-info %s | FileCheck %s
 
 ; STATS: 1 loop-simplify - Number of pre-header or exit blocks inserted
 ; STATS: 1 loop-unswitch - Number of switches unswitched
index 270899642ffa0616a372f8c190e45dd8c42a87aa..36b7effb90ad61169cc0710e6ea48917ab06a17f 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -loop-unswitch -loop-unswitch-threshold 1000 -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
-; RUN: opt -S -loop-unswitch -loop-unswitch-threshold 1000 -verify-loop-info -verify-dom-info %s | FileCheck %s
+; RUN: opt -S -loop-unswitch -loop-unswitch-threshold 1000 -verify-loop-info -verify-dom-info %s | FileCheck %s
 
 ; STATS: 1 loop-simplify - Number of pre-header or exit blocks inserted
 ; STATS: 3 loop-unswitch - Number of switches unswitched
index 8859da8de106b93c1c9cd18f98467d1d5d18c6c9..53d98e02ec88ed47c47d78659756940f7b8741ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -O2 %s -S -o - | FileCheck %s
+; RUN: opt -O2 -S < %s | FileCheck %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-darwin11.1"
index ef9947f103a81e4f8c4752aab646bc793ba821d0..58b762a7af4976a8270ac3dec33f18b033380bdd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -O3 -S %s | FileCheck %s
+; RUN: opt -O3 -S %s | FileCheck %s
 ; XFAIL: *
 
 declare i32 @doo(...)
index 88ebca0a9c3d1b6066d7b6002e349b728efd048d..8fbe8c58f451416de939c5d6c52b248bc47ea759 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -O3 -S %s | FileCheck %s
+; RUN: opt -O3 -S %s | FileCheck %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-macosx10.6.7"
index 273e47e97cb4b9eca52961781ff6644474f471f1..95f06757a78882a8ac693e10569520decf657119 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -O2 -S %s | FileCheck %s
+; RUN: opt -O2 -S %s | FileCheck %s
 
 ; Run global DCE to eliminate unused ctor and dtor.
 ; rdar://9142819
index c73128082216c09a175bd88a6669ff242c5d3b92..39adb6b73d3acde17ac8806a6e8bd9eff56eeff1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -O3 -S -analyze -scalar-evolution %s | FileCheck %s
+; RUN: opt -O3 -S -analyze -scalar-evolution %s | FileCheck %s
 ;
 ; This file contains phase ordering tests for scalar evolution.
 ; Test that the standard passes don't obfuscate the IR so scalar evolution can't
index 389561f8a112bb6fd73649d809565a9c08ce7b3f..5a4ba113b7c07e05f7d86d75997cda267b1090c9 100644 (file)
@@ -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"
index 0897c95a67784271eee1d7407ec73ad024010c49..0526883fe8f47f05c69c347b9a70f813677749e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -simplifycfg -S %s | FileCheck %s
+; RUN: opt -simplifycfg -S %s | FileCheck %s
 
 %0 = type { i32*, i32* }
 
index 7654d0271a9a246f90a52ff4bd98efd9baf95fff..3e2a6237b275c8e324be49b36e74308ad8e5c452 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -simplifycfg %s | FileCheck %s
+; RUN: opt -S -simplifycfg %s | FileCheck %s
 
 define i8* @test1(i8* %x, i64 %y) nounwind {
 entry:
index aecb887beb3a956863273d0882b293bce78bfe36..ad54c3e38f13b870b3bfb15e4839f8377c502f77 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -simplify-libcalls -instcombine %s | FileCheck %s
+; RUN: opt -S -simplify-libcalls -instcombine %s | FileCheck %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-S128"
 target triple = "x86_64-apple-macosx10.8.0"
 
index a556ddb6eb1d8bcfaeade25b336b8ee1922486a4..741f5848bc671b053a1a41f904565865ec8b77a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -tailcallelim %s -S | FileCheck %s
+; RUN: opt -tailcallelim -S < %s | FileCheck %s
 ; PR615
 
 declare void @bar(i32*)