test powers of 2
authorAndrew Lenharth <andrewl@lenharth.org>
Mon, 3 Apr 2006 04:14:39 +0000 (04:14 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Mon, 3 Apr 2006 04:14:39 +0000 (04:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27369 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/mul5.ll

index f967c09d42e2adfee3bdf73498691b32289a020c..2c7a35813511a62208c2e04578c8980da79cebe7 100644 (file)
@@ -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]