From: Chris Lattner Date: Tue, 9 Dec 2003 16:49:12 +0000 (+0000) Subject: Improve portability with Mac OS/X X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=612ac2dfaa8132b80af395fbd3292afa42bd2150;p=oota-llvm.git Improve portability with Mac OS/X git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10338 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/Inline/alloca_test.ll b/test/Transforms/Inline/alloca_test.ll index 418dc3eaf9d..cb90b8ca834 100644 --- a/test/Transforms/Inline/alloca_test.ll +++ b/test/Transforms/Inline/alloca_test.ll @@ -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 diff --git a/test/Transforms/LICM/2003-08-04-TrappingInstHoist.ll b/test/Transforms/LICM/2003-08-04-TrappingInstHoist.ll index 952078c7e0a..e757ba2660c 100644 --- a/test/Transforms/LICM/2003-08-04-TrappingInstHoist.ll +++ b/test/Transforms/LICM/2003-08-04-TrappingInstHoist.ll @@ -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() diff --git a/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll b/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll index 65d1808336d..3dbd4e7cff8 100644 --- a/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll +++ b/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll @@ -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()