[llvm-commits] CVS: llvm/test/globaldce.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 8 14:12:03 PDT 2002


Changes in directory llvm/test:

globaldce.ll updated: 1.1 -> 1.2

---
Log message:

Cleanup testcase


---
Diffs of the changes:

Index: llvm/test/globaldce.ll
diff -u llvm/test/globaldce.ll:1.1 llvm/test/globaldce.ll:1.2
--- llvm/test/globaldce.ll:1.1	Mon Nov 26 14:50:07 2001
+++ llvm/test/globaldce.ll	Tue Oct  8 14:11:21 2002
@@ -2,13 +2,12 @@
 
 implementation
 
-internal int "deadfunc"()
-begin
+internal int "deadfunc"() {
 	%val = load int * %var
 	%val2 = call int %deadfunc()
 	%val3 = add int %val, %val2
 	ret int %val3
-end
+}
 
 int "main"(int %argc)   ; TODO: , sbyte **argv, sbyte **envp)
 begin





More information about the llvm-commits mailing list