projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80d2f6
)
test some more mul by constant removal
author
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 3 Apr 2006 03:16:09 +0000
(
03:16
+0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 3 Apr 2006 03:16:09 +0000
(
03:16
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27366
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/Alpha/mul5.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/Alpha/mul5.ll
b/test/CodeGen/Alpha/mul5.ll
index cb19550dc85149980e3514ed74b6509be192eff9..f967c09d42e2adfee3bdf73498691b32289a020c 100644
(file)
--- a/
test/CodeGen/Alpha/mul5.ll
+++ b/
test/CodeGen/Alpha/mul5.ll
@@
-3,9
+3,20
@@
implementation ; Functions:
-ulong %foo(ulong %x) {
+ulong %foo
1
(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
}