diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-04-03 04:14:39 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-04-03 04:14:39 +0000 |
commit | 87e021de4f83bc8f1890c392de3858f6176461ca (patch) | |
tree | bb787a529e57b0b46a52cc69b68e4941d2da47f2 | |
parent | afe3f49815ee930c3f8294601ad42b3fb0e1141b (diff) |
test powers of 2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27369 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/Alpha/mul5.ll | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/mul5.ll b/test/CodeGen/Alpha/mul5.ll index f967c09d42..2c7a358135 100644 --- a/test/CodeGen/Alpha/mul5.ll +++ b/test/CodeGen/Alpha/mul5.ll @@ -14,12 +14,30 @@ entry: ret ulong %tmp.1 } +ulong %foo4l(ulong %x) { +entry: + %tmp.1 = mul ulong %x, 260 + ret ulong %tmp.1 +} + +ulong %foo4ln(ulong %x) { +entry: + %tmp.1 = mul ulong %x, 252 + ret ulong %tmp.1 +} + ulong %foo1n(ulong %x) { entry: %tmp.1 = mul ulong %x, 511 ret ulong %tmp.1 } +ulong %foo8l(ulong %x) { +entry: + %tmp.1 = mul ulong %x, 768 + ret ulong %tmp.1 +} + long %bar(long %x) { entry: %tmp.1 = mul long %x, 5 ; <long> [#uses=1] |