diff options
| author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
| commit | 3f04773f7884c1c7b8b89dddfb177b1f41f54c56 (patch) | |
| tree | 8c66730e481d8ce70c0a8e082bfdbadc0badcc4b /llvm/test/CodeGen/Alpha/mul5.ll | |
| parent | 22011e90c992533411d2efc17f5efd365a636117 (diff) | |
| download | bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.tar.gz bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.zip | |
Remove llvm-upgrade and update tests.
llvm-svn: 47296
Diffstat (limited to 'llvm/test/CodeGen/Alpha/mul5.ll')
| -rw-r--r-- | llvm/test/CodeGen/Alpha/mul5.ll | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/llvm/test/CodeGen/Alpha/mul5.ll b/llvm/test/CodeGen/Alpha/mul5.ll index 956fbf90abb..9042015d72a 100644 --- a/llvm/test/CodeGen/Alpha/mul5.ll +++ b/llvm/test/CodeGen/Alpha/mul5.ll @@ -1,52 +1,53 @@ ; Make sure this testcase does not use mulq -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | \ +; RUN: llvm-as < %s | llvm-as | llc -march=alpha | \ ; RUN: not grep -i mul ; XFAIL: * -implementation ; Functions: - -ulong %foo1(ulong %x) { +define i64 @foo1(i64 %x) { entry: - %tmp.1 = mul ulong %x, 9 ; <ulong> [#uses=1] - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 9 ; <i64> [#uses=1] + ret i64 %tmp.1 } -ulong %foo3(ulong %x) { + +define i64 @foo3(i64 %x) { entry: - %tmp.1 = mul ulong %x, 259 - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 259 ; <i64> [#uses=1] + ret i64 %tmp.1 } -ulong %foo4l(ulong %x) { +define i64 @foo4l(i64 %x) { entry: - %tmp.1 = mul ulong %x, 260 - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 260 ; <i64> [#uses=1] + ret i64 %tmp.1 } -ulong %foo4ln(ulong %x) { +define i64 @foo4ln(i64 %x) { entry: - %tmp.1 = mul ulong %x, 508 - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 508 ; <i64> [#uses=1] + ret i64 %tmp.1 } -ulong %foo4ln_more(ulong %x) { + +define i64 @foo4ln_more(i64 %x) { entry: - %tmp.1 = mul ulong %x, 252 - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 252 ; <i64> [#uses=1] + ret i64 %tmp.1 } -ulong %foo1n(ulong %x) { +define i64 @foo1n(i64 %x) { entry: - %tmp.1 = mul ulong %x, 511 - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 511 ; <i64> [#uses=1] + ret i64 %tmp.1 } -ulong %foo8l(ulong %x) { +define i64 @foo8l(i64 %x) { entry: - %tmp.1 = mul ulong %x, 768 - ret ulong %tmp.1 + %tmp.1 = mul i64 %x, 768 ; <i64> [#uses=1] + ret i64 %tmp.1 } -long %bar(long %x) { +define i64 @bar(i64 %x) { entry: - %tmp.1 = mul long %x, 5 ; <long> [#uses=1] - ret long %tmp.1 + %tmp.1 = mul i64 %x, 5 ; <i64> [#uses=1] + ret i64 %tmp.1 } + |

