From 87e021de4f83bc8f1890c392de3858f6176461ca Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Mon, 3 Apr 2006 04:14:39 +0000 Subject: [PATCH] test powers of 2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27369 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Alpha/mul5.ll | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/CodeGen/Alpha/mul5.ll b/test/CodeGen/Alpha/mul5.ll index f967c09d42e..2c7a3581351 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 ; [#uses=1]