[llvm-commits] CVS: llvm/test/Regression/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll 2002-05-03-NotOperator.ll 2002-09-03-SetCC-Bools.ll 2003-05-12-DivideError.ll 2005-01-28-SetCCGEP.ll 2006-11-30-vector-cast.ll 2006-12-01-TruncBoolBug.ll 2006-12-01-bool-casts.ll basictest.ll bswap.ll calls.ll float-to-ptr-cast.ll logicaltest.ll nottest.ll phi.ll remtest.ll
Reid Spencer
reid at x10sys.com
Fri Dec 1 20:25:20 PST 2006
Changes in directory llvm/test/Regression/Transforms/ConstProp:
2002-05-03-DivideByZeroException.ll updated: 1.2 -> 1.3
2002-05-03-NotOperator.ll updated: 1.4 -> 1.5
2002-09-03-SetCC-Bools.ll updated: 1.3 -> 1.4
2003-05-12-DivideError.ll updated: 1.2 -> 1.3
2005-01-28-SetCCGEP.ll updated: 1.1 -> 1.2
2006-11-30-vector-cast.ll updated: 1.1 -> 1.2
2006-12-01-TruncBoolBug.ll updated: 1.1 -> 1.2
2006-12-01-bool-casts.ll updated: 1.1 -> 1.2
basictest.ll updated: 1.4 -> 1.5
bswap.ll updated: 1.1 -> 1.2
calls.ll updated: 1.3 -> 1.4
float-to-ptr-cast.ll updated: 1.1 -> 1.2
logicaltest.ll updated: 1.4 -> 1.5
nottest.ll updated: 1.5 -> 1.6
phi.ll updated: 1.3 -> 1.4
remtest.ll updated: 1.5 -> 1.6
---
Log message:
Use the llvm-upgrade program to upgrade llvm assembly.
---
Diffs of the changes: (+18 -18)
2002-05-03-DivideByZeroException.ll | 2 +-
2002-05-03-NotOperator.ll | 2 +-
2002-09-03-SetCC-Bools.ll | 2 +-
2003-05-12-DivideError.ll | 2 +-
2005-01-28-SetCCGEP.ll | 2 +-
2006-11-30-vector-cast.ll | 4 ++--
2006-12-01-TruncBoolBug.ll | 2 +-
2006-12-01-bool-casts.ll | 4 ++--
basictest.ll | 2 +-
bswap.ll | 2 +-
calls.ll | 2 +-
float-to-ptr-cast.ll | 2 +-
logicaltest.ll | 2 +-
nottest.ll | 2 +-
phi.ll | 2 +-
remtest.ll | 2 +-
16 files changed, 18 insertions(+), 18 deletions(-)
Index: llvm/test/Regression/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll:1.2 llvm/test/Regression/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll:1.3
--- llvm/test/Regression/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll:1.2 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; Make sure that the constant propogator doesn't divide by zero!
;
-; RUN: llvm-as < %s | opt -constprop
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop
;
int "test"() {
Index: llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll:1.4 llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll:1.5
--- llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll:1.4 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll Fri Dec 1 22:23:09 2006
@@ -4,7 +4,7 @@
; Fix #2: The unary not instruction now no longer exists. Change to xor.
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep 'int 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep 'int 0'
int "test1"() {
%R = xor int 123, -1
Index: llvm/test/Regression/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll:1.3 llvm/test/Regression/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll:1.4
--- llvm/test/Regression/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll:1.3 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; SetCC on boolean values was not implemented!
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep 'set'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not grep 'set'
bool "test1"() {
%A = setle bool true, false
Index: llvm/test/Regression/Transforms/ConstProp/2003-05-12-DivideError.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2003-05-12-DivideError.ll:1.2 llvm/test/Regression/Transforms/ConstProp/2003-05-12-DivideError.ll:1.3
--- llvm/test/Regression/Transforms/ConstProp/2003-05-12-DivideError.ll:1.2 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/2003-05-12-DivideError.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; Make sure that the constant propagator doesn't cause a sigfpe
;
-; RUN: llvm-as < %s | opt -constprop
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop
;
int "test"() {
Index: llvm/test/Regression/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2005-01-28-SetCCGEP.ll:1.1 llvm/test/Regression/Transforms/ConstProp/2005-01-28-SetCCGEP.ll:1.2
--- llvm/test/Regression/Transforms/ConstProp/2005-01-28-SetCCGEP.ll:1.1 Fri Jan 28 13:08:32 2005
+++ llvm/test/Regression/Transforms/ConstProp/2005-01-28-SetCCGEP.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep 'ret bool false'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep 'ret bool false'
%b = external global [2 x { }]
Index: llvm/test/Regression/Transforms/ConstProp/2006-11-30-vector-cast.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2006-11-30-vector-cast.ll:1.1 llvm/test/Regression/Transforms/ConstProp/2006-11-30-vector-cast.ll:1.2
--- llvm/test/Regression/Transforms/ConstProp/2006-11-30-vector-cast.ll:1.1 Thu Nov 30 23:54:48 2006
+++ llvm/test/Regression/Transforms/ConstProp/2006-11-30-vector-cast.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 4294967295 &&
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep zeroinitializer
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep 4294967295 &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep zeroinitializer
< 4 x uint> %test() {
%tmp40 = bitcast <2 x long> bitcast (<4 x int> < int 0, int 0, int -1, int 0 > to <2 x long>) to <4 x uint>
Index: llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll:1.1 llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll:1.2
--- llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll:1.1 Fri Dec 1 13:02:56 2006
+++ llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'ret bool false'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret bool false'
bool %test() {
%X = trunc uint 320 to bool
ret bool %X
Index: llvm/test/Regression/Transforms/ConstProp/2006-12-01-bool-casts.ll
diff -u llvm/test/Regression/Transforms/ConstProp/2006-12-01-bool-casts.ll:1.1 llvm/test/Regression/Transforms/ConstProp/2006-12-01-bool-casts.ll:1.2
--- llvm/test/Regression/Transforms/ConstProp/2006-12-01-bool-casts.ll:1.1 Fri Dec 1 13:50:04 2006
+++ llvm/test/Regression/Transforms/ConstProp/2006-12-01-bool-casts.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 'ret int -1' &&
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 'ret uint 1'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep 'ret int -1' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep 'ret uint 1'
int %test1() {
%A = sext bool true to int
Index: llvm/test/Regression/Transforms/ConstProp/basictest.ll
diff -u llvm/test/Regression/Transforms/ConstProp/basictest.ll:1.4 llvm/test/Regression/Transforms/ConstProp/basictest.ll:1.5
--- llvm/test/Regression/Transforms/ConstProp/basictest.ll:1.4 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/basictest.ll Fri Dec 1 22:23:09 2006
@@ -1,7 +1,7 @@
; This is a basic sanity check for constant propogation. The add instruction
; should be eliminated.
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep add
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not grep add
int %test(bool %B) {
br bool %B, label %BB1, label %BB2
Index: llvm/test/Regression/Transforms/ConstProp/bswap.ll
diff -u llvm/test/Regression/Transforms/ConstProp/bswap.ll:1.1 llvm/test/Regression/Transforms/ConstProp/bswap.ll:1.2
--- llvm/test/Regression/Transforms/ConstProp/bswap.ll:1.1 Fri Jan 13 19:25:24 2006
+++ llvm/test/Regression/Transforms/ConstProp/bswap.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; bswap should be constant folded when it is passed a constant argument
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep call
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep call
declare ushort %llvm.bswap.i16(ushort)
declare uint %llvm.bswap.i32(uint)
Index: llvm/test/Regression/Transforms/ConstProp/calls.ll
diff -u llvm/test/Regression/Transforms/ConstProp/calls.ll:1.3 llvm/test/Regression/Transforms/ConstProp/calls.ll:1.4
--- llvm/test/Regression/Transforms/ConstProp/calls.ll:1.3 Wed Jun 30 23:11:35 2004
+++ llvm/test/Regression/Transforms/ConstProp/calls.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep call
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep call
declare double %cos(double)
declare double %sin(double)
Index: llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll
diff -u llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll:1.1 llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll:1.2
--- llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll:1.1 Mon Nov 20 15:20:57 2006
+++ llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep -F 'ret int* null' | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep -F 'ret int* null' | wc -l | grep 2
int* %test1() {
%X = cast float 0.0 to int*
ret int* %X
Index: llvm/test/Regression/Transforms/ConstProp/logicaltest.ll
diff -u llvm/test/Regression/Transforms/ConstProp/logicaltest.ll:1.4 llvm/test/Regression/Transforms/ConstProp/logicaltest.ll:1.5
--- llvm/test/Regression/Transforms/ConstProp/logicaltest.ll:1.4 Wed Nov 19 12:34:44 2003
+++ llvm/test/Regression/Transforms/ConstProp/logicaltest.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; Ensure constant propogation of logical instructions is working correctly.
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not egrep 'and|or|xor'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not egrep 'and|or|xor'
int "test1"() { %R = and int 4,1234 ret int %R }
Index: llvm/test/Regression/Transforms/ConstProp/nottest.ll
diff -u llvm/test/Regression/Transforms/ConstProp/nottest.ll:1.5 llvm/test/Regression/Transforms/ConstProp/nottest.ll:1.6
--- llvm/test/Regression/Transforms/ConstProp/nottest.ll:1.5 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/nottest.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; Ensure constant propogation of 'not' instructions is working correctly.
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep xor
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not grep xor
int "test1"() {
%R = xor int 4, -1
Index: llvm/test/Regression/Transforms/ConstProp/phi.ll
diff -u llvm/test/Regression/Transforms/ConstProp/phi.ll:1.3 llvm/test/Regression/Transforms/ConstProp/phi.ll:1.4
--- llvm/test/Regression/Transforms/ConstProp/phi.ll:1.3 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/phi.ll Fri Dec 1 22:23:09 2006
@@ -1,7 +1,7 @@
; This is a basic sanity check for constant propogation. The add instruction
; should be eliminated.
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep phi
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not grep phi
int %test(bool %B) {
BB0:
Index: llvm/test/Regression/Transforms/ConstProp/remtest.ll
diff -u llvm/test/Regression/Transforms/ConstProp/remtest.ll:1.5 llvm/test/Regression/Transforms/ConstProp/remtest.ll:1.6
--- llvm/test/Regression/Transforms/ConstProp/remtest.ll:1.5 Tue Sep 16 10:29:18 2003
+++ llvm/test/Regression/Transforms/ConstProp/remtest.ll Fri Dec 1 22:23:09 2006
@@ -1,6 +1,6 @@
; Ensure constant propagation of remainder instructions is working correctly.
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep rem
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not grep rem
int %test1() {
%R = rem int 4, 3
More information about the llvm-commits
mailing list