From 9a8e2f2f2b6fc5e9c6122ab1539d56ef2198577d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Sep 2009 17:02:12 +0000 Subject: [PATCH] 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 --- test/Transforms/SCCP/calltest.ll | 3 +-- test/Transforms/SCCP/phitest.ll | 3 +-- test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll | 2 +- test/Transforms/SimplifyCFG/HoistCode.ll | 2 +- test/Transforms/SimplifyCFG/PhiEliminate2.ll | 2 +- test/Transforms/SimplifyCFG/SpeculativeExec.ll | 4 ++-- test/Transforms/SimplifyCFG/basictest.ll | 2 +- test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll | 2 +- test/Transforms/SimplifyCFG/hoist-common-code.ll | 2 +- test/Transforms/SimplifyCFG/return-merge.ll | 2 +- test/Transforms/SimplifyCFG/switch_create.ll | 2 +- test/Transforms/SimplifyCFG/switch_formation.dbg.ll | 3 +-- test/Transforms/SimplifyCFG/switch_formation.ll | 3 +-- test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll | 2 +- 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 f4e0186fff..9dec22f4d1 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 616307d6e6..4c5c3dcc69 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 8217e8bd08..88f32bc082 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) { ;