aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-07 17:00:53 +0000
committerChris Lattner <sabre@nondot.org>2002-10-07 17:00:53 +0000
commite423406e6a36d1b8c293acc7199d284033a3823d (patch)
tree8a284b39ce6437289a03b6b00dc993d00a6647cc
parent67855103bcd2107ca90a9a74c0525fa7051992cc (diff)
Update testcase to be legal llvm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4057 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/sched.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/sched.ll b/test/sched.ll
index b8de02ddb9..adbda80aac 100644
--- a/test/sched.ll
+++ b/test/sched.ll
@@ -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 @@ bb1:
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