[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll

2007-05-14 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/CBackend:

2007-01-08-ParamAttr-ICmp.ll updated: 1.6 - 1.7
---
Log message:

Update this test to match the (corrected) output from the CBE.


---
Diffs of the changes:  (+2 -1)

 2007-01-08-ParamAttr-ICmp.ll |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.6 
llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.7
--- llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.6 Sun Apr 15 
14:21:54 2007
+++ llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll Mon May 14 
12:56:39 2007
@@ -1,6 +1,7 @@
 ; For PR1099
 ; RUN: llvm-as  %s | llc -march=c | \
-; RUN:   grep {return llvm_cbe_tmp2 == llvm_cbe_b_0_0_val)) ? (1) : (0)))}
+; RUN:   grep {return ((unsigned short )llvm_cbe_tmp265535U) == ((unsigned
+short )llvm_cbe_b_0_0_val65535U))) ? (1) : (0)))}
 
 target datalayout = e-p:32:32
 target triple = i686-apple-darwin8



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll

2007-05-14 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/CBackend:

2007-01-08-ParamAttr-ICmp.ll updated: 1.7 - 1.8
---
Log message:

Reverse last patch .. premature. Depends on uncommitted CBE patch.


---
Diffs of the changes:  (+1 -2)

 2007-01-08-ParamAttr-ICmp.ll |3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.7 
llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.8
--- llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.7 Mon May 14 
12:56:39 2007
+++ llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll Mon May 14 
12:58:52 2007
@@ -1,7 +1,6 @@
 ; For PR1099
 ; RUN: llvm-as  %s | llc -march=c | \
-; RUN:   grep {return ((unsigned short )llvm_cbe_tmp265535U) == ((unsigned
-short )llvm_cbe_b_0_0_val65535U))) ? (1) : (0)))}
+; RUN:   grep {return llvm_cbe_tmp2 == llvm_cbe_b_0_0_val)) ? (1) : (0)))}
 
 target datalayout = e-p:32:32
 target triple = i686-apple-darwin8



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll 2007-02-05-memset.ll

2007-03-27 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/CBackend:

2007-01-08-ParamAttr-ICmp.ll updated: 1.4 - 1.5
2007-02-05-memset.ll updated: 1.1 - 1.2
---
Log message:

Remove use of implementation keyword.


---
Diffs of the changes:  (+0 -2)

 2007-01-08-ParamAttr-ICmp.ll |1 -
 2007-02-05-memset.ll |1 -
 2 files changed, 2 deletions(-)


Index: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.4 
llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.5
--- llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.4 Fri Feb 23 
16:45:08 2007
+++ llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll Tue Mar 27 
21:38:26 2007
@@ -6,7 +6,6 @@
 target triple = i686-apple-darwin8
 %struct.Connector = type { i16, i16, i8, i8, %struct.Connector*, i8* }
 
-implementation   ; Functions:
 
 define i1 @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
 newFuncRoot:


Index: llvm/test/CodeGen/CBackend/2007-02-05-memset.ll
diff -u llvm/test/CodeGen/CBackend/2007-02-05-memset.ll:1.1 
llvm/test/CodeGen/CBackend/2007-02-05-memset.ll:1.2
--- llvm/test/CodeGen/CBackend/2007-02-05-memset.ll:1.1 Tue Feb  6 00:07:34 2007
+++ llvm/test/CodeGen/CBackend/2007-02-05-memset.ll Tue Mar 27 21:38:26 2007
@@ -3,7 +3,6 @@
 target datalayout = e-p:64:64
 target triple = x86_64-apple-darwin8
 
-implementation   ; Functions:
 
 declare void @llvm.memset.i64(i8*, i8, i64, i32)
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll

2007-02-23 Thread Bill Wendling


Changes in directory llvm/test/CodeGen/CBackend:

2007-01-08-ParamAttr-ICmp.ll updated: 1.3 - 1.4
---
Log message:

PR1164: http://llvm.org/PR1164 :
Generate local names with a llvm_cbe_ prefix using the actual name of the
variable instead of a temporary name.


---
Diffs of the changes:  (+1 -1)

 2007-01-08-ParamAttr-ICmp.ll |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.3 
llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.4
--- llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.3 Thu Feb 15 
15:01:58 2007
+++ llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll Fri Feb 23 
16:45:08 2007
@@ -1,6 +1,6 @@
 ; For PR1099
 ; RUN: llvm-as  %s | llc -march=c | \
-; RUN:   grep 'return ltmp_2_2 == ltmp_1_2)) ? (1) : (0)))'
+; RUN:   grep 'return llvm_cbe_tmp2 == llvm_cbe_b_0_0_val)) ? (1) : (0)))'
 
 target datalayout = e-p:32:32
 target triple = i686-apple-darwin8



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll

2007-02-15 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/CBackend:

2007-01-08-ParamAttr-ICmp.ll updated: 1.2 - 1.3
---
Log message:

Update this test to compile properly and check against the correct 
string generated by the CBE. This is no longer an XFAIL.


---
Diffs of the changes:  (+9 -10)

 2007-01-08-ParamAttr-ICmp.ll |   19 +--
 1 files changed, 9 insertions(+), 10 deletions(-)


Index: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.2 
llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.3
--- llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.2 Fri Jan 26 
02:25:06 2007
+++ llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll Thu Feb 15 
15:01:58 2007
@@ -1,7 +1,6 @@
-; RUN: llvm-as  %s | llc -march=c | \
-; RUN:   grep 'return ltmp_2_2 == (signed int)ltmp_1_2)) ?  (1) : (0)))'
 ; For PR1099
-; XFAIL: *
+; RUN: llvm-as  %s | llc -march=c | \
+; RUN:   grep 'return ltmp_2_2 == ltmp_1_2)) ? (1) : (0)))'
 
 target datalayout = e-p:32:32
 target triple = i686-apple-darwin8
@@ -9,21 +8,21 @@
 
 implementation   ; Functions:
 
-define bool @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
+define i1 @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
 newFuncRoot:
 br label %entry.ce
 
 cond_next.exitStub: ; preds = %entry.ce
-ret bool true
+ret i1 true
 
 entry.return_crit_edge.exitStub:; preds = %entry.ce
-ret bool false
+ret i1 false
 
 entry.ce:   ; preds = %newFuncRoot
-%tmp = getelementptr %struct.Connector* %a, i32 0, i32 0   
 ; i16* [#uses=1]
-%tmp = load i16* %tmp   ; i16 [#uses=1]
-%tmp = icmp eq i16 %tmp, %b.0.0.val ; bool [#uses=1]
-br bool %tmp, label %cond_next.exitStub, label 
%entry.return_crit_edge.exitStub
+%tmp1 = getelementptr %struct.Connector* %a, i32 0, i32 0  
  ; i16* [#uses=1]
+%tmp2 = load i16* %tmp1   ; i16 [#uses=1]
+%tmp3 = icmp eq i16 %tmp2, %b.0.0.val ; i1 [#uses=1]
+br i1 %tmp3, label %cond_next.exitStub, label 
%entry.return_crit_edge.exitStub
 }
 
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll 2007-01-17-StackSaveNRestore.ll

2007-01-26 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/CBackend:

2007-01-08-ParamAttr-ICmp.ll updated: 1.1 - 1.2
2007-01-17-StackSaveNRestore.ll updated: 1.1 - 1.2
---
Log message:

For PR761: http://llvm.org/PR761 :
Remove target endian/pointersize or add target datalayout to make
the test parse properly or set the datalayout because defaults changes.

For PR645: http://llvm.org/PR645 :
Make global names use the @ prefix.

For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases 
that cannot survive the new renaming or upgrade capabilities. 



---
Diffs of the changes:  (+6 -8)

 2007-01-08-ParamAttr-ICmp.ll|4 +---
 2007-01-17-StackSaveNRestore.ll |   10 +-
 2 files changed, 6 insertions(+), 8 deletions(-)


Index: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.1 
llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.2
--- llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll:1.1 Tue Jan  9 
00:25:15 2007
+++ llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll Fri Jan 26 
02:25:06 2007
@@ -4,14 +4,12 @@
 ; XFAIL: *
 
 target datalayout = e-p:32:32
-target endian = little
-target pointersize = 32
 target triple = i686-apple-darwin8
 %struct.Connector = type { i16, i16, i8, i8, %struct.Connector*, i8* }
 
 implementation   ; Functions:
 
-define bool %prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
+define bool @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
 newFuncRoot:
 br label %entry.ce
 


Index: llvm/test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll
diff -u llvm/test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll:1.1 
llvm/test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll:1.2
--- llvm/test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll:1.1  Wed Jan 
17 17:20:43 2007
+++ llvm/test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll  Fri Jan 26 
02:25:06 2007
@@ -2,11 +2,11 @@
 ; RUN: llvm-as  %s | llc -march=c | grep __builtin_stack_restore
 ; PR1028
 
-declare i8* %llvm.stacksave()
-declare void %llvm.stackrestore(i8*)
+declare i8* @llvm.stacksave()
+declare void @llvm.stackrestore(i8*)
 
-define i8* %test() {
-%s = call i8* %llvm.stacksave()
-call void %llvm.stackrestore(i8* %s)
+define i8* @test() {
+%s = call i8* @llvm.stacksave()
+call void @llvm.stackrestore(i8* %s)
 ret i8* %s
 }



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits