From e8f2153059a7d8053bfc1d60000d4d7d57e51df2 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. llvm-svn: 81528 --- 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 f4e0186fff4..9dec22f4d1c 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 616307d6e67..4c5c3dcc690 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 8217e8bd084..88f32bc0827 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) { ;