[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/mul5.ll

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sun Apr 2 21:14:52 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/Alpha:

mul5.ll updated: 1.2 -> 1.3
---
Log message:

test powers of 2

---
Diffs of the changes:  (+18 -0)

 mul5.ll |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+)


Index: llvm/test/Regression/CodeGen/Alpha/mul5.ll
diff -u llvm/test/Regression/CodeGen/Alpha/mul5.ll:1.2 llvm/test/Regression/CodeGen/Alpha/mul5.ll:1.3
--- llvm/test/Regression/CodeGen/Alpha/mul5.ll:1.2	Sun Apr  2 22:16:09 2006
+++ llvm/test/Regression/CodeGen/Alpha/mul5.ll	Sun Apr  2 23:14:39 2006
@@ -14,12 +14,30 @@
 	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]






More information about the llvm-commits mailing list