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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sun Apr 2 20:16:22 PDT 2006



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

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

test some more mul by constant removal

---
Diffs of the changes:  (+13 -2)

 mul5.ll |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/Alpha/mul5.ll
diff -u llvm/test/Regression/CodeGen/Alpha/mul5.ll:1.1 llvm/test/Regression/CodeGen/Alpha/mul5.ll:1.2
--- llvm/test/Regression/CodeGen/Alpha/mul5.ll:1.1	Sun Apr  2 16:47:07 2006
+++ llvm/test/Regression/CodeGen/Alpha/mul5.ll	Sun Apr  2 22:16:09 2006
@@ -3,9 +3,20 @@
 
 implementation   ; Functions:
 
-ulong %foo(ulong %x) {
+ulong %foo1(ulong %x) {
 entry:
-	%tmp.1 = mul ulong %x, 5		; <ulong> [#uses=1]
+	%tmp.1 = mul ulong %x, 9		; <ulong> [#uses=1]
+	ret ulong %tmp.1
+}
+ulong %foo3(ulong %x) {
+entry:
+        %tmp.1 = mul ulong %x, 259
+	ret ulong %tmp.1
+}
+
+ulong %foo1n(ulong %x) {
+entry:
+        %tmp.1 = mul ulong %x, 511
 	ret ulong %tmp.1
 }
 






More information about the llvm-commits mailing list