diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-13 06:27:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-13 06:27:19 +0000 |
commit | 689e076b907ca99e57674ed57702a7e1bd64c9cf (patch) | |
tree | e134db4d02d842879e81c993c08e7b5759589c44 | |
parent | 1b600144bda9717804ae3b998c95223947200075 (diff) |
Only use one form of printVal per program to avoid spurious link errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1292 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/ackermann.ll | 6 | ||||
-rw-r--r-- | test/fib2.ll | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/ackermann.ll b/test/ackermann.ll index 508b5861d9..541ccdea07 100644 --- a/test/ackermann.ll +++ b/test/ackermann.ll @@ -6,7 +6,7 @@ implementation declare void "__main"() declare void "printVal"([sbyte] *) -declare void "printVal"(int) +declare void "printInt"(int) declare int "atoi"(sbyte *) @@ -54,9 +54,9 @@ bb8: ;[#uses=2] bb9: ;[#uses=3] %reg135 = phi int [ %reg124, %bb8 ], [ %reg119, %bb7 ], [ %reg115, %bb5 ] ; <int> [#uses=1] call void %printVal([sbyte] *%__intern_LC0) - call void %printVal(int %reg132) + call void %printInt(int %reg132) call void %printVal([sbyte] *%__intern_LC1) - call void %printVal(int %reg135) + call void %printInt(int %reg135) call void %printVal([sbyte] *%__intern_LC2) ret int 0 end diff --git a/test/fib2.ll b/test/fib2.ll index bc6ee04564..2adb8f1609 100644 --- a/test/fib2.ll +++ b/test/fib2.ll @@ -8,7 +8,7 @@ declare void "__main"() declare int "atoi"(sbyte *) declare void "printVal"([sbyte] *) -declare void "printVal"(uint) +declare void "printUInt"(uint) int "main"(int %argc, sbyte * * %argv) begin @@ -43,7 +43,7 @@ bb6: ;[#uses=2] bb7: ;[#uses=2] %reg128 = phi uint [ %reg127, %bb6 ], [ 1, %bb4 ] ; <uint> [#uses=1] call void %printVal([sbyte] * %__intern_LC0) - call void %printVal(uint %reg128 ) + call void %printUInt(uint %reg128 ) call void %printVal([sbyte] * %__intern_LC1) ret int 0 end |