summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/SimplifyLibCalls
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/SimplifyLibCalls')
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/ExitInMain.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/FFS.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/FPrintF.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll4
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll4
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/MemSet.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/Pow.ll4
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/Puts.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/SPrintF.ll4
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/StrCat.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/StrChr.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/StrCmp.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/StrCpy.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/StrLen.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/StrNCmp.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/ToAscii.ll2
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/floor.ll12
-rw-r--r--llvm/test/Regression/Transforms/SimplifyLibCalls/memcmp.ll4
20 files changed, 30 insertions, 30 deletions
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll
index 3c00c74ff39..5b4fde870d5 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls -disable-output
%G = constant [3 x sbyte] c"%s\00"
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/ExitInMain.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/ExitInMain.ll
index 29f69d198a3..944e39d2e59 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/ExitInMain.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/ExitInMain.ll
@@ -1,5 +1,5 @@
; Test that the ExitInMainOptimization pass works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep -c 'ret int 3' | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | grep -c 'ret int 3' | grep 1
declare void %exit(int)
declare void %exitonly(int)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/FFS.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/FFS.ll
index ccaaf3d350d..335274ac45d 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/FFS.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/FFS.ll
@@ -1,5 +1,5 @@
; Test that the ToAsciiOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*%ffs'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*%ffs'
declare int %ffs(int)
declare int %ffsl(int)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/FPrintF.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/FPrintF.ll
index 760eb7f5ff6..040052708e4 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/FPrintF.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/FPrintF.ll
@@ -1,5 +1,5 @@
; Test that the FPrintFOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*fprintf'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*fprintf'
;
%struct._IO_FILE = type { int, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, %struct._IO_marker*, %struct._IO_FILE*, int, int, int, ushort, sbyte, [1 x sbyte], sbyte*, long, sbyte*, sbyte*, int, [52 x sbyte] }
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll
index 9837fa08f05..1386c14eadb 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll
@@ -1,5 +1,5 @@
; Test that the IsDigitOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call'
declare int %isdigit(int)
declare int %isascii(int)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll
index 265be73c0e7..a127fd329f0 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll
@@ -1,6 +1,6 @@
; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -constprop -simplify-libcalls -disable-output &&
-; RUN: llvm-as < %s | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy'
declare sbyte* %llvm.memcpy(sbyte*,sbyte*,int,int)
%h = constant [2 x sbyte] c"h\00"
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll
index 47ed43242c1..a114438921f 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll
@@ -1,6 +1,6 @@
; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -constprop -simplify-libcalls -disable-output &&
-; RUN: llvm-as < %s | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove'
declare sbyte* %llvm.memmove(sbyte*,sbyte*,int,int)
%h = constant [2 x sbyte] c"h\00"
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/MemSet.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/MemSet.ll
index 4bd358df899..d31a36ae3c6 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/MemSet.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/MemSet.ll
@@ -1,5 +1,5 @@
; Test that the LLVMMemSetOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memset'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memset'
declare void %llvm.memset(sbyte*,ubyte,uint,uint)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/Pow.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/Pow.ll
index 3b9e48c68e3..df7d46004af 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/Pow.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/Pow.ll
@@ -1,8 +1,8 @@
; Testcase for calls to the standard C "pow" function
;
; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
-; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output &&
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call double .pow'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call double .pow'
declare double %pow(double, double)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/Puts.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/Puts.ll
index b3b5434ddf7..4011a82fa9f 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/Puts.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/Puts.ll
@@ -1,5 +1,5 @@
; Test that the PutsCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*fputs'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*fputs'
;
%struct._IO_FILE = type { int, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, %struct._IO_marker*, %struct._IO_FILE*, int, int, int, ushort, sbyte, [1 x sbyte], sbyte*, long, sbyte*, sbyte*, int, [52 x sbyte] }
%struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, int }
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/SPrintF.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/SPrintF.ll
index 8b3ca292464..48b76b194ec 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/SPrintF.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/SPrintF.ll
@@ -1,6 +1,6 @@
; Test that the SPrintFOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output &&
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*sprintf'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*sprintf'
declare int %sprintf(sbyte*,sbyte*,...)
declare int %puts(sbyte*)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCat.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCat.ll
index 992837fc5cc..6532a637c19 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCat.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCat.ll
@@ -1,5 +1,5 @@
; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcat'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcat'
declare sbyte* %strcat(sbyte*,sbyte*)
declare int %puts(sbyte*)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrChr.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrChr.ll
index 2d4f5f2dac2..b8e0de27339 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrChr.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrChr.ll
@@ -1,5 +1,5 @@
; Test that the StrChrOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*%strchr'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*%strchr'
declare sbyte* %strchr(sbyte*,int)
declare int %puts(sbyte*)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCmp.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCmp.ll
index 96a5dc895e0..1ab075de46b 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCmp.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCmp.ll
@@ -1,5 +1,5 @@
; Test that the StrCmpOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcmp'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcmp'
declare int %strcmp(sbyte*,sbyte*)
declare int %puts(sbyte*)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCpy.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCpy.ll
index ea94dc2d976..f75238bad4a 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCpy.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrCpy.ll
@@ -1,5 +1,5 @@
; Test that the StrCpyOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcpy'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcpy'
declare sbyte* %strcpy(sbyte*,sbyte*)
declare int %puts(sbyte*)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrLen.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrLen.ll
index 8e5962a10a4..20aa7a8dca3 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrLen.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrLen.ll
@@ -1,5 +1,5 @@
; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strlen'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strlen'
declare uint %strlen(sbyte*)
%hello = constant [6 x sbyte] c"hello\00"
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrNCmp.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrNCmp.ll
index 6fdb8cb6c00..278861a9acd 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/StrNCmp.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/StrNCmp.ll
@@ -1,5 +1,5 @@
; Test that the StrNCmpOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strncmp'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strncmp'
declare int %strncmp(sbyte*,sbyte*,int)
declare int %puts(sbyte*)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/ToAscii.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/ToAscii.ll
index cb7d06c701f..e9580c62541 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/ToAscii.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/ToAscii.ll
@@ -1,5 +1,5 @@
; Test that the ToAsciiOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*toascii'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*toascii'
declare int %toascii(int)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/floor.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/floor.ll
index 8748169be43..d1c65488228 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/floor.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/floor.ll
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*floor(' &&
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep 'call.*floorf('
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*ceil(' &&
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep 'call.*ceilf('
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*nearbyint(' &&
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep 'call.*nearbyintf('
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*floor(' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | grep 'call.*floorf('
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*ceil(' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | grep 'call.*ceilf('
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*nearbyint(' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | grep 'call.*nearbyintf('
; XFAIL: sparc
declare double %floor(double)
diff --git a/llvm/test/Regression/Transforms/SimplifyLibCalls/memcmp.ll b/llvm/test/Regression/Transforms/SimplifyLibCalls/memcmp.ll
index d2c660a093c..3ccf00265ac 100644
--- a/llvm/test/Regression/Transforms/SimplifyLibCalls/memcmp.ll
+++ b/llvm/test/Regression/Transforms/SimplifyLibCalls/memcmp.ll
@@ -1,6 +1,6 @@
; Test that the memcmpOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*memcmp' &&
-; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*memcmp' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls -disable-output
declare int %memcmp(sbyte*,sbyte*,int)
%h = constant [2 x sbyte] c"h\00"
OpenPOWER on IntegriCloud