diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-03 14:50:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-03 14:50:12 +0000 |
commit | da257162968820a7fd77a9df44e3f72090a7f13a (patch) | |
tree | 1bc033fab0bd3131f2f7fc1fb61707945adcfa22 | |
parent | f4ba6c710c298fe9b492b9cde82ce5efd46afd5d (diff) | |
download | external_llvm-da257162968820a7fd77a9df44e3f72090a7f13a.zip external_llvm-da257162968820a7fd77a9df44e3f72090a7f13a.tar.gz external_llvm-da257162968820a7fd77a9df44e3f72090a7f13a.tar.bz2 |
Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@702 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Feature/allocatest2.ll | 4 | ||||
-rw-r--r-- | test/Feature/calltest.ll | 2 | ||||
-rw-r--r-- | test/Feature/prototype.ll | 2 | ||||
-rw-r--r-- | test/Feature/testvarargs.ll | 2 | ||||
-rw-r--r-- | test/fib.ll | 6 | ||||
-rw-r--r-- | test/inlinetest.ll | 4 | ||||
-rw-r--r-- | test/sched.ll | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/test/Feature/allocatest2.ll b/test/Feature/allocatest2.ll index 8500d9f..2775f01 100644 --- a/test/Feature/allocatest2.ll +++ b/test/Feature/allocatest2.ll @@ -10,7 +10,7 @@ bb1: ;;<label> %reg110 = shl uint %n, ubyte 2 ;;<uint> %reg108 = alloca [ubyte], uint %reg110 ;;<ubyte*> %cast1000 = cast [ubyte]* %reg108 to uint* ;;<uint*> - call void(uint, uint*) %_Z12combinationsjPj(uint %n, uint* %cast1000) ;;<void> + call void %_Z12combinationsjPj(uint %n, uint* %cast1000) ;;<void> %cast113 = cast uint %reg110 to ulong* ;;<ulong*> cast uint 7 to ulong * %reg114 = add ulong* %cast113, %0 ;;<ulong*> @@ -19,7 +19,7 @@ bb1: ;;<label> %cast1001 = cast ulong* %reg117 to uint ;;<uint> %reg118 = alloca [ubyte], uint %cast1001 ;;<ubyte*> %cast1002 = cast [ubyte]* %reg118 to uint* ;;<uint*> - call void(uint, uint*) %_Z12combinationsjPj(uint %n, uint* %cast1002) ;;<void> + call void %_Z12combinationsjPj(uint %n, uint* %cast1002) ;;<void> ret void ;;<void> end diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll index f478e50..192dca3 100644 --- a/test/Feature/calltest.ll +++ b/test/Feature/calltest.ll @@ -5,7 +5,7 @@ implementation int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp) begin - %retval = call int (int) %test(int %argc) + %retval = call int (int) *%test(int %argc) %two = add int %retval, %retval ret int %two end diff --git a/test/Feature/prototype.ll b/test/Feature/prototype.ll index cea4f32..6874ca6 100644 --- a/test/Feature/prototype.ll +++ b/test/Feature/prototype.ll @@ -4,7 +4,7 @@ declare int "bar"(int %in) int "foo"(int %blah) begin - %xx = call int(int) %bar(int %blah) + %xx = call int %bar(int %blah) ret int %xx end diff --git a/test/Feature/testvarargs.ll b/test/Feature/testvarargs.ll index 79c9000..a26c81a 100644 --- a/test/Feature/testvarargs.ll +++ b/test/Feature/testvarargs.ll @@ -5,7 +5,7 @@ declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const int "testvarar"() begin cast int 0 to sbyte* - call int(sbyte*, ...) %printf(sbyte * %0, int 12, sbyte 42); + call int(sbyte*, ...) *%printf(sbyte * %0, int 12, sbyte 42); ret int %0 end diff --git a/test/fib.ll b/test/fib.ll index 9c54a4a..db0bca5 100644 --- a/test/fib.ll +++ b/test/fib.ll @@ -13,8 +13,8 @@ BaseCase: RecurseCase: %n2 = sub ulong %n, 2 %n1 = sub ulong %n, 1 - %f2 = call ulong(ulong) %fib(ulong %n2) - %f1 = call ulong(ulong) %fib(ulong %n1) + %f2 = call ulong(ulong) * %fib(ulong %n2) + %f1 = call ulong(ulong) * %fib(ulong %n1) %result = add ulong %f2, %f1 ret ulong %result end @@ -31,6 +31,6 @@ HasArg: Continue: %n = phi int [%n1, %HasArg], [1, %0] %N = cast int %n to ulong - %F = call ulong(ulong) %fib(ulong %N) + %F = call ulong(ulong) *%fib(ulong %N) ret ulong %F end diff --git a/test/inlinetest.ll b/test/inlinetest.ll index f3b68d8..7f1b1c3 100644 --- a/test/inlinetest.ll +++ b/test/inlinetest.ll @@ -12,7 +12,7 @@ int "FuncToInlineInto"(int %arg) ; Instrs can be const prop'd away begin %x = add int %arg, 1 %y = sub int 1, -1 - %p = call int() %FuncToInline() + %p = call int %FuncToInline() %z = add int %x, %y %q = add int %p, %z @@ -21,7 +21,7 @@ end int "main"() begin - %z = call int(int) %FuncToInlineInto(int 1) + %z = call int %FuncToInlineInto(int 1) ret int %z end diff --git a/test/sched.ll b/test/sched.ll index 4083d78..b8de02d 100644 --- a/test/sched.ll +++ b/test/sched.ll @@ -25,6 +25,6 @@ bb1: bb2: %Msg = cast ulong 0 to sbyte * - call int (sbyte*, int, float) %printf(sbyte* %Msg, int %m1, float %z3) + call int %printf(sbyte* %Msg, int %m1, float %z3) ret int 0 end |