1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

test some more mul by constant removal

llvm-svn: 27366
This commit is contained in:
Andrew Lenharth 2006-04-03 03:16:09 +00:00
parent 6aa31b3b67
commit a6e52528c0

View File

@ -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
}