Improve portability with Mac OS/X

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-12-09 16:49:12 +00:00
parent 16442cba7c
commit 612ac2dfaa
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
; This test ensures that alloca instructions in the entry block for an inlined ; 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. ; 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) { int %func(int %i) {
%X = alloca int %X = alloca int

View File

@ -1,7 +1,7 @@
; This testcase tests for a problem where LICM hoists ; This testcase tests for a problem where LICM hoists
; potentially trapping instructions when they are not guaranteed to execute. ; 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 %X = global int 0
declare void %foo() declare void %foo()

View File

@ -1,7 +1,7 @@
; This testcase tests to make sure a trapping instruction is hoisted when ; This testcase tests to make sure a trapping instruction is hoisted when
; it is guaranteed to execute. ; 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 %X = global int 0
declare void %foo() declare void %foo()