[llvm-commits] CVS: llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll

Reid Spencer reid at x10sys.com
Mon Mar 19 11:28:02 PDT 2007



Changes in directory llvm/test/Transforms/ADCE:

2002-01-31-UseStuckAround.ll updated: 1.3 -> 1.4
---
Log message:

For PR1258: http://llvm.org/PR1258 :
Revise numeric value references to accommodate collapsed type planes.


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

 2002-01-31-UseStuckAround.ll |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
diff -u llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll:1.3 llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll:1.4
--- llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll:1.3	Fri Dec  1 22:23:08 2006
+++ llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll	Mon Mar 19 13:27:35 2007
@@ -1,14 +1,14 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -adce
+; RUN:  llvm-as %s -o - | opt -adce
 
 implementation
 
-int "main"(int %argc)
+define i32 @"main"(i32 %argc)
 begin
 	br label %2
 
-	%retval = phi int [ %argc, %2 ]		; <int>	[#uses=2]
-	%two = add int %retval, %retval		; <int>	[#uses=1]
-	ret int %two
+	%retval = phi i32 [ %argc, %2 ]		; <i32>	[#uses=2]
+	%two = add i32 %retval, %retval		; <i32>	[#uses=1]
+	ret i32 %two
 
 	br label %1
 end






More information about the llvm-commits mailing list