diff options
| author | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
| commit | 18800927221ce81d454948dd196c3a9049b6e6c3 (patch) | |
| tree | 23b5a6121dac26f29af089e88b2a8c787ecf1bf8 /llvm/test/Transforms/SimplifyLibCalls | |
| parent | af494faa57daee0ae115de27f97cbfe9d712c276 (diff) | |
| download | bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.tar.gz bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.zip | |
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.
llvm-svn: 81537
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls')
34 files changed, 37 insertions, 37 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll b/llvm/test/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll index 5b7ec094d7f..8816579a42f 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -disable-output +; RUN: opt < %s -simplify-libcalls -disable-output @G = constant [3 x i8] c"%s\00" ; <[3 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll b/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll index 9b3cc59e6fd..8e9f2062cde 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll @@ -1,5 +1,5 @@ ; PR1307 -; RUN: opt %s -simplify-libcalls -instcombine -S > %t +; RUN: opt < %s -simplify-libcalls -instcombine -S > %t ; RUN: grep {@str,.*i64 3} %t ; RUN: grep {@str1,.*i64 7} %t ; RUN: grep {ret i8.*null} %t diff --git a/llvm/test/Transforms/SimplifyLibCalls/2008-05-19-memcmp.ll b/llvm/test/Transforms/SimplifyLibCalls/2008-05-19-memcmp.ll index 6b8574c75e6..b6874322c4c 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2008-05-19-memcmp.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2008-05-19-memcmp.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | grep i32 +; RUN: opt < %s -simplify-libcalls -S | grep i32 ; PR2341 @_2E_str = external constant [5 x i8] ; <[5 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll index 1b6a6b4ca81..73eb05b05e3 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S > %t +; RUN: opt < %s -simplify-libcalls -S > %t ; RUN: grep noalias %t | count 2 ; RUN: grep nocapture %t | count 3 ; RUN: grep nounwind %t | count 3 diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-02-11-NotInitialized.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-02-11-NotInitialized.ll index 9fbbb0b39d2..ac89199b0ec 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2009-02-11-NotInitialized.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2009-02-11-NotInitialized.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -simplify-libcalls -functionattrs | \ +; RUN: opt < %s -inline -simplify-libcalls -functionattrs | \ ; RUN: llvm-dis | grep nocapture | count 2 ; Check that nocapture attributes are added when run after an SCC pass. ; PR3520 diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll index 951c78bb617..cb9819cacea 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S > %t +; RUN: opt < %s -simplify-libcalls -S > %t ; RUN: grep nocapture %t | count 2 ; RUN: grep null %t | grep nocapture | count 1 ; RUN: grep null %t | grep call | grep readonly | count 1 diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-05-30-memcmp-byte.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-05-30-memcmp-byte.ll index 984578af9bf..9056499b4c5 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2009-05-30-memcmp-byte.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2009-05-30-memcmp-byte.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -instcombine -S | grep {ret i32 -65} +; RUN: opt < %s -simplify-libcalls -instcombine -S | grep {ret i32 -65} ; PR4284 define i32 @test() nounwind { diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-07-28-Exit.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-07-28-Exit.ll index 7114fce4686..7af0a261d43 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2009-07-28-Exit.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2009-07-28-Exit.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -disable-output +; RUN: opt < %s -simplify-libcalls -disable-output ; PR4641 %struct.__sFILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, i8*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64, %struct.pthread_mutex*, %struct.pthread*, i32, i32, %union.anon } diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-07-29-Exit2.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-07-29-Exit2.ll index 22d817c79a9..b5a788e0973 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/2009-07-29-Exit2.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/2009-07-29-Exit2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -disable-output +; RUN: opt < %s -simplify-libcalls -disable-output ; PR4645 define i32 @main() { diff --git a/llvm/test/Transforms/SimplifyLibCalls/FFS.ll b/llvm/test/Transforms/SimplifyLibCalls/FFS.ll index 5ede6e6d0df..ab45f1819b2 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/FFS.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/FFS.ll @@ -1,5 +1,5 @@ ; Test that the ToAsciiOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*@ffs} @non_const = external global i32 ; <i32*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll b/llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll index 29c10dda4ba..4a0d232dac3 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll @@ -1,5 +1,5 @@ ; Test that the FPrintFOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*fprintf} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/IsDigit.ll b/llvm/test/Transforms/SimplifyLibCalls/IsDigit.ll index 6f4dddced62..51a769d9bb3 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/IsDigit.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/IsDigit.ll @@ -1,5 +1,5 @@ ; Test that the IsDigitOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep call declare i32 @isdigit(i32) diff --git a/llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll b/llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll index a1a70ec4094..39662b1589a 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -constprop -instcombine -S | not grep {call.*llvm.memcpy.i32} +; RUN: opt < %s -constprop -instcombine -S | not grep {call.*llvm.memcpy.i32} @h = constant [2 x i8] c"h\00" ; <[2 x i8]*> [#uses=1] @hel = constant [4 x i8] c"hel\00" ; <[4 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/Printf.ll b/llvm/test/Transforms/SimplifyLibCalls/Printf.ll index bcc1c2238e0..858a09c96f6 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/Printf.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/Printf.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -simplify-libcalls -S | grep putchar -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | grep putchar +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*printf} @str = internal constant [13 x i8] c"hello world\0A\00" ; <[13 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/Puts.ll b/llvm/test/Transforms/SimplifyLibCalls/Puts.ll index 96a410f7462..47a33c2d98d 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/Puts.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/Puts.ll @@ -1,5 +1,5 @@ ; Test that the PutsCatOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*fputs} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll b/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll index 52e03b6113a..847e363f52c 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll @@ -1,5 +1,5 @@ ; Test that the SPrintFOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*sprintf} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrCat.ll b/llvm/test/Transforms/SimplifyLibCalls/StrCat.ll index e54d51f1392..4e3d0ab7f40 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrCat.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrCat.ll @@ -1,8 +1,8 @@ ; Test that the StrCatOptimizer works correctly ; PR3661 -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strcat} -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: grep {puts.*%arg1} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll b/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll index bd73d4d0309..50ca0a6edbf 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll @@ -1,5 +1,5 @@ ; Test that the StrChrOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*@strchr} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll b/llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll index e1d0bff73bf..73596351a8c 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll @@ -1,5 +1,5 @@ ; Test that the StrCmpOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strcmp} @hello = constant [6 x i8] c"hello\00" ; <[6 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll b/llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll index e155af25b87..75429842cd2 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll @@ -1,5 +1,5 @@ ; Test that the StrCpyOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strcpy} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrLen.ll b/llvm/test/Transforms/SimplifyLibCalls/StrLen.ll index 10de611c540..45b349d6840 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrLen.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrLen.ll @@ -1,5 +1,5 @@ ; Test that the StrCatOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strlen} target datalayout = "e-p:32:32" diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrNCat.ll b/llvm/test/Transforms/SimplifyLibCalls/StrNCat.ll index 41795c3dc14..d09c022fd4c 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrNCat.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrNCat.ll @@ -1,7 +1,7 @@ ; Test that the StrNCatOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strncat} -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: grep {puts.*%arg1} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll b/llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll index 82237245a6f..ba773856177 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll @@ -1,5 +1,5 @@ ; Test that the StrNCmpOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strncmp} @hello = constant [6 x i8] c"hello\00" ; <[6 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrNCpy.ll b/llvm/test/Transforms/SimplifyLibCalls/StrNCpy.ll index 0ce1ca9ee82..c8af3ca8c3e 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrNCpy.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrNCpy.ll @@ -1,5 +1,5 @@ ; Test that the StrNCpyOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*strncpy} ; This transformation requires the pointer size, as it assumes that size_t is diff --git a/llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll b/llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll index c583f4e7f48..e2b5683d9d7 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll @@ -1,5 +1,5 @@ ; Test that the ToAsciiOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | \ +; RUN: opt < %s -simplify-libcalls -S | \ ; RUN: not grep {call.*toascii} declare i32 @toascii(i32) diff --git a/llvm/test/Transforms/SimplifyLibCalls/abs.ll b/llvm/test/Transforms/SimplifyLibCalls/abs.ll index 637d335a4fe..6fbe0b9de44 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/abs.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/abs.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | grep {select i1 %ispos} +; RUN: opt < %s -simplify-libcalls -S | grep {select i1 %ispos} ; PR2337 define i32 @test(i32 %x) { diff --git a/llvm/test/Transforms/SimplifyLibCalls/exp2.ll b/llvm/test/Transforms/SimplifyLibCalls/exp2.ll index b4e23b7083f..2f5d910558f 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/exp2.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/exp2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | grep {call.*ldexp} | count 4 +; RUN: opt < %s -simplify-libcalls -S | grep {call.*ldexp} | count 4 ; rdar://5852514 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" diff --git a/llvm/test/Transforms/SimplifyLibCalls/floor.ll b/llvm/test/Transforms/SimplifyLibCalls/floor.ll index 4c3641b78b4..a7af5a96863 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/floor.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/floor.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S > %t +; RUN: opt < %s -simplify-libcalls -S > %t ; RUN: not grep {call.*floor(} %t ; RUN: grep {call.*floorf(} %t ; RUN: not grep {call.*ceil(} %t diff --git a/llvm/test/Transforms/SimplifyLibCalls/memcmp.ll b/llvm/test/Transforms/SimplifyLibCalls/memcmp.ll index 91d0aef5ff3..700873627ec 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/memcmp.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/memcmp.ll @@ -1,5 +1,5 @@ ; Test that the memcmpOptimizer works correctly -; RUN: opt %s -simplify-libcalls -S | not grep {call.*memcmp} +; RUN: opt < %s -simplify-libcalls -S | not grep {call.*memcmp} @h = constant [2 x i8] c"h\00" ; <[2 x i8]*> [#uses=0] @hel = constant [4 x i8] c"hel\00" ; <[4 x i8]*> [#uses=0] diff --git a/llvm/test/Transforms/SimplifyLibCalls/memmove.ll b/llvm/test/Transforms/SimplifyLibCalls/memmove.ll index e1fddd9c4b4..c0c00506cdd 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/memmove.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/memmove.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | grep {llvm.memmove} +; RUN: opt < %s -simplify-libcalls -S | grep {llvm.memmove} target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/SimplifyLibCalls/memset-64.ll b/llvm/test/Transforms/SimplifyLibCalls/memset-64.ll index 0b1db5ae07b..fb752c4083a 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/memset-64.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/memset-64.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | grep {llvm.memset} +; RUN: opt < %s -simplify-libcalls -S | grep {llvm.memset} target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-pc-linux-gnu" diff --git a/llvm/test/Transforms/SimplifyLibCalls/memset.ll b/llvm/test/Transforms/SimplifyLibCalls/memset.ll index 2e25bdd9cdb..0aede064cac 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/memset.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/memset.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | grep {llvm.memset} +; RUN: opt < %s -simplify-libcalls -S | grep {llvm.memset} target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/SimplifyLibCalls/pow2.ll b/llvm/test/Transforms/SimplifyLibCalls/pow2.ll index ce6303d1fa9..f8364f740b2 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/pow2.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/pow2.ll @@ -1,6 +1,6 @@ ; Testcase for calls to the standard C "pow" function ; -; RUN: opt %s -simplify-libcalls -S | not grep {call .pow} +; RUN: opt < %s -simplify-libcalls -S | not grep {call .pow} declare double @pow(double, double) diff --git a/llvm/test/Transforms/SimplifyLibCalls/weak-symbols.ll b/llvm/test/Transforms/SimplifyLibCalls/weak-symbols.ll index e07fbd6733a..5875b211f77 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/weak-symbols.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/weak-symbols.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -simplify-libcalls -S | FileCheck %s +; RUN: opt < %s -simplify-libcalls -S | FileCheck %s ; PR4738 ; SimplifyLibcalls shouldn't assume anything about weak symbols. |

