Improve portability with Mac OS/X
authorChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2003 16:49:12 +0000 (16:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2003 16:49:12 +0000 (16:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10338 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Inline/alloca_test.ll
test/Transforms/LICM/2003-08-04-TrappingInstHoist.ll
test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll

index 418dc3eaf9d3799a15acc24c94c05fad888a0d6a..cb90b8ca834e7c7019cd0189cf00fe2697a4e0ce 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: llvm-as < %s | opt -inline | llvm-dis | grep -C 1 alloca | grep Entry:
+; RUN: llvm-as < %s | opt -inline | llvm-dis | grep -C1 alloca | grep Entry:
 
 int %func(int %i) {
        %X = alloca int 
index 952078c7e0ab0209305b33052739f0d47420f8da..e757ba2660c3bce3d00088785838e4f84d736e16 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase tests for a problem where LICM hoists 
 ; potentially trapping instructions when they are not guaranteed to execute.
 ;
-; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "IfUnEqual" | grep div 
+; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "IfUnEqual" | grep div 
 
 %X = global int 0
 declare void %foo()
index 65d1808336d1d9c8098b3135c4d65c1761607e39..3dbd4e7cff847de89cac99d0ef1eea2999ef18f3 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase tests to make sure a trapping instruction is hoisted when
 ; it is guaranteed to execute.
 ;
-; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "test" | grep div
+; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "test" | grep div
 
 %X = global int 0
 declare void %foo()