summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Analysis
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-31 06:02:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-31 06:02:00 +0000
commitdeb4d5ab46cff6109a2f296bb9474e964da2ef46 (patch)
treecfe9023c2d2687932470ed692b1a83622e30b79d /llvm/test/Regression/Analysis
parente63b6518fa257f47f8b46c116ac683616d74cb36 (diff)
downloadbcm5719-llvm-deb4d5ab46cff6109a2f296bb9474e964da2ef46.tar.gz
bcm5719-llvm-deb4d5ab46cff6109a2f296bb9474e964da2ef46.zip
For PR950:
Update the test suite to accommodate the change from signed integer types to signless integer types. The changes were of only a few kinds: 1. Make sure llvm-upgrade is run on the source which does the bulk of the changes automatically. 2. Change things like "grep 'int'" to "grep 'i32'" 3. In several tests bitcasting caused the same name to be reused in the same type plane. These had to be manually fixed. The fix was (generally) to leave the bitcast and provide the instruction with a new name. This should not affect the semantics of the test. In a few cases, the bitcasts were known to be superfluous and irrelevant to the test case so they were removed. 4. One test case uses a bytecode file which needed to be updated to the latest bytecode format. llvm-svn: 32789
Diffstat (limited to 'llvm/test/Regression/Analysis')
-rw-r--r--llvm/test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx2
-rw-r--r--llvm/test/Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll2
-rw-r--r--llvm/test/Regression/Analysis/BasicAA/tailcall-modref.ll2
-rw-r--r--llvm/test/Regression/Analysis/GlobalsModRef/indirect-global.ll4
-rw-r--r--llvm/test/Regression/Analysis/LoadVN/casts.ll2
5 files changed, 7 insertions, 5 deletions
diff --git a/llvm/test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx b/llvm/test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx
index 82212af0c6c..f888fc033ad 100644
--- a/llvm/test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx
+++ b/llvm/test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | grep 'store int 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | grep 'store i32 0'
void %test({int,int }* %P) {
%Q = getelementptr {int,int}* %P, int 1
diff --git a/llvm/test/Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll b/llvm/test/Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll
index e8289109dde..f82816e9fa6 100644
--- a/llvm/test/Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll
+++ b/llvm/test/Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -basicaa -load-vn -gcse -instcombine | llvm-dis | grep 'load int\* %A'
+; RUN: llvm-upgrade < %s | llvm-as | opt -basicaa -load-vn -gcse -instcombine | llvm-dis | grep 'load i32\* %A'
declare double* %useit(int*)
diff --git a/llvm/test/Regression/Analysis/BasicAA/tailcall-modref.ll b/llvm/test/Regression/Analysis/BasicAA/tailcall-modref.ll
index 7fbddd769f5..a92f85d122a 100644
--- a/llvm/test/Regression/Analysis/BasicAA/tailcall-modref.ll
+++ b/llvm/test/Regression/Analysis/BasicAA/tailcall-modref.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -basicaa -load-vn -gcse -instcombine | llvm-dis | grep 'ret int 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -basicaa -load-vn -gcse -instcombine | llvm-dis | grep 'ret i32 0'
declare void %foo(int*)
declare void %bar()
diff --git a/llvm/test/Regression/Analysis/GlobalsModRef/indirect-global.ll b/llvm/test/Regression/Analysis/GlobalsModRef/indirect-global.ll
index d0f79c12ea8..bb75732bebb 100644
--- a/llvm/test/Regression/Analysis/GlobalsModRef/indirect-global.ll
+++ b/llvm/test/Regression/Analysis/GlobalsModRef/indirect-global.ll
@@ -1,4 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -globalsmodref-aa -load-vn -gcse -instcombine | llvm-dis | grep 'ret int 0'
+; RUN: llvm-upgrade < %s | llvm-as | \
+; RUN: opt -globalsmodref-aa -load-vn -gcse -instcombine | llvm-dis | \
+; RUN: grep 'ret i32 0'
%G = internal global int* null
implementation
diff --git a/llvm/test/Regression/Analysis/LoadVN/casts.ll b/llvm/test/Regression/Analysis/LoadVN/casts.ll
index 5dd3bc60ab3..9b8f6a59999 100644
--- a/llvm/test/Regression/Analysis/LoadVN/casts.ll
+++ b/llvm/test/Regression/Analysis/LoadVN/casts.ll
@@ -1,7 +1,7 @@
; Check to make sure that Value Numbering doesn't merge casts of different
; flavors.
; RUN: llvm-upgrade < %s | llvm-as | opt -load-vn -gcse | llvm-dis | \
-; RUN: grep '[sz]ext' | wc -l | grep 2
+; RUN: grep '[sz]ext' | wc -l | grep 2
declare void %external(int)
OpenPOWER on IntegriCloud