diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-11 17:02:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-11 17:02:12 +0000 |
commit | 9a8e2f2f2b6fc5e9c6122ab1539d56ef2198577d (patch) | |
tree | 95efe2357c321ec983a9893a361026cff9ab0486 /test | |
parent | 3c4ea8fe60cd502437e00f7e5a402329aaef79f7 (diff) | |
download | external_llvm-9a8e2f2f2b6fc5e9c6122ab1539d56ef2198577d.zip external_llvm-9a8e2f2f2b6fc5e9c6122ab1539d56ef2198577d.tar.gz external_llvm-9a8e2f2f2b6fc5e9c6122ab1539d56ef2198577d.tar.bz2 |
fix a bunch of spurious failures for people whose home directory
is sabre.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/SCCP/calltest.ll | 3 | ||||
-rw-r--r-- | test/Transforms/SCCP/phitest.ll | 3 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/HoistCode.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/PhiEliminate2.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/SpeculativeExec.ll | 4 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/basictest.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/hoist-common-code.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/return-merge.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/switch_create.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/switch_formation.dbg.ll | 3 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/switch_formation.ll | 3 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/two-entry-phi-return.ll | 2 |
15 files changed, 16 insertions, 20 deletions
diff --git a/test/Transforms/SCCP/calltest.ll b/test/Transforms/SCCP/calltest.ll index f4e0186..9dec22f 100644 --- a/test/Transforms/SCCP/calltest.ll +++ b/test/Transforms/SCCP/calltest.ll @@ -1,5 +1,4 @@ -; RUN: opt %s -sccp -loop-deletion -simplifycfg -S | \ -; RUN: not grep br +; RUN: opt < %s -sccp -loop-deletion -simplifycfg -S | not grep br ; No matter how hard you try, sqrt(1.0) is always 1.0. This allows the ; optimizer to delete this loop. diff --git a/test/Transforms/SCCP/phitest.ll b/test/Transforms/SCCP/phitest.ll index 616307d..4c5c3dc 100644 --- a/test/Transforms/SCCP/phitest.ll +++ b/test/Transforms/SCCP/phitest.ll @@ -1,5 +1,4 @@ -; RUN: opt %s -sccp -dce -simplifycfg -S | \ -; RUN: not grep br +; RUN: opt < %s -sccp -dce -simplifycfg -S | not grep br define i32 @test(i32 %param) { entry: diff --git a/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll b/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll index 8217e8b..88f32bc 100644 --- a/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll +++ b/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll @@ -1,7 +1,7 @@ ; -simplifycfg is not folding blocks if there is a PHI node involved. This ; should be fixed eventually -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br define i32 @main(i32 %argc) { ; <label>:0 diff --git a/test/Transforms/SimplifyCFG/HoistCode.ll b/test/Transforms/SimplifyCFG/HoistCode.ll index f52d160..9697e56 100644 --- a/test/Transforms/SimplifyCFG/HoistCode.ll +++ b/test/Transforms/SimplifyCFG/HoistCode.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br define void @foo(i1 %C, i32* %P) { br i1 %C, label %T, label %F diff --git a/test/Transforms/SimplifyCFG/PhiEliminate2.ll b/test/Transforms/SimplifyCFG/PhiEliminate2.ll index c0270e4..c0f6781 100644 --- a/test/Transforms/SimplifyCFG/PhiEliminate2.ll +++ b/test/Transforms/SimplifyCFG/PhiEliminate2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br define i32 @test(i1 %C, i32 %V1, i32 %V2) { entry: diff --git a/test/Transforms/SimplifyCFG/SpeculativeExec.ll b/test/Transforms/SimplifyCFG/SpeculativeExec.ll index 891b566..5cfc77c 100644 --- a/test/Transforms/SimplifyCFG/SpeculativeExec.ll +++ b/test/Transforms/SimplifyCFG/SpeculativeExec.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -simplifycfg -S | grep select -; RUN: opt %s -simplifycfg -S | grep br | count 2 +; RUN: opt < %s -simplifycfg -S | grep select +; RUN: opt < %s -simplifycfg -S | grep br | count 2 define i32 @t2(i32 %a, i32 %b, i32 %c) nounwind { entry: diff --git a/test/Transforms/SimplifyCFG/basictest.ll b/test/Transforms/SimplifyCFG/basictest.ll index 0bf5b5e..468b6ed 100644 --- a/test/Transforms/SimplifyCFG/basictest.ll +++ b/test/Transforms/SimplifyCFG/basictest.ll @@ -1,6 +1,6 @@ ; Test CFG simplify removal of branch instructions... ; -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br define void @test1() { br label %BB1 diff --git a/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll b/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll index 9a73cbc..2e7ef7a 100644 --- a/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll +++ b/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br %llvm.dbg.anchor.type = type { i32, i32 } diff --git a/test/Transforms/SimplifyCFG/hoist-common-code.ll b/test/Transforms/SimplifyCFG/hoist-common-code.ll index 3568571..5c83e2a 100644 --- a/test/Transforms/SimplifyCFG/hoist-common-code.ll +++ b/test/Transforms/SimplifyCFG/hoist-common-code.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br declare void @bar(i32) diff --git a/test/Transforms/SimplifyCFG/return-merge.ll b/test/Transforms/SimplifyCFG/return-merge.ll index ddc791d..977b6df 100644 --- a/test/Transforms/SimplifyCFG/return-merge.ll +++ b/test/Transforms/SimplifyCFG/return-merge.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br define i32 @test1(i1 %C) { entry: diff --git a/test/Transforms/SimplifyCFG/switch_create.ll b/test/Transforms/SimplifyCFG/switch_create.ll index 5df9210..9b3aaf7 100644 --- a/test/Transforms/SimplifyCFG/switch_create.ll +++ b/test/Transforms/SimplifyCFG/switch_create.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br declare void @foo1() diff --git a/test/Transforms/SimplifyCFG/switch_formation.dbg.ll b/test/Transforms/SimplifyCFG/switch_formation.dbg.ll index 9b4b4ae..f5f4c93 100644 --- a/test/Transforms/SimplifyCFG/switch_formation.dbg.ll +++ b/test/Transforms/SimplifyCFG/switch_formation.dbg.ll @@ -1,5 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br -; END. +; RUN: opt < %s -simplifycfg -S | not grep br %llvm.dbg.anchor.type = type { i32, i32 } diff --git a/test/Transforms/SimplifyCFG/switch_formation.ll b/test/Transforms/SimplifyCFG/switch_formation.ll index 6eea141..787904a 100644 --- a/test/Transforms/SimplifyCFG/switch_formation.ll +++ b/test/Transforms/SimplifyCFG/switch_formation.ll @@ -1,5 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br -; END. +; RUN: opt < %s -simplifycfg -S | not grep br define i1 @_ZN4llvm11SetCondInst7classofEPKNS_11InstructionE({ i32, i32 }* %I) { entry: diff --git a/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll b/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll index ff85810..3a6c2ed 100644 --- a/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll +++ b/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* } diff --git a/test/Transforms/SimplifyCFG/two-entry-phi-return.ll b/test/Transforms/SimplifyCFG/two-entry-phi-return.ll index f28c8c9..fb18624 100644 --- a/test/Transforms/SimplifyCFG/two-entry-phi-return.ll +++ b/test/Transforms/SimplifyCFG/two-entry-phi-return.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplifycfg -S | not grep br +; RUN: opt < %s -simplifycfg -S | not grep br define i1 @qux(i8* %m, i8* %n, i8* %o, i8* %p) nounwind { entry: |