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

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 7 12:02:00 PDT 2002


Changes in directory llvm/test:

sched.ll updated: 1.2 -> 1.3

---
Log message:

Update testcase to be legal llvm


---
Diffs of the changes:

Index: llvm/test/sched.ll
diff -u llvm/test/sched.ll:1.2 llvm/test/sched.ll:1.3
--- llvm/test/sched.ll:1.2	Wed Oct  3 09:50:12 2001
+++ llvm/test/sched.ll	Mon Oct  7 12:00:53 2002
@@ -1,9 +1,8 @@
 implementation
 declare int "printf"(sbyte*, int, float)
 
-
-int "testissue"(int %i, float %x, float %y)
-begin
+int %testissue(int %i, float %x, float %y) {
+	br label %bb1
 bb1:
 	%x1 = mul float %x, %y			;; x1
 	%y1 = mul float %y, 0.75		;; y1
@@ -24,7 +23,6 @@
 	br bool %b, label %bb1, label %bb2
 
 bb2:
-	%Msg = cast ulong 0 to sbyte *
-	call int %printf(sbyte* %Msg, int %m1, float %z3)
+	call int %printf(sbyte* null, int %m1, float %z3)
 	ret int 0
 end





More information about the llvm-commits mailing list