test powers of 2

llvm-svn: 27369
This commit is contained in:
Andrew Lenharth 2006-04-03 04:14:39 +00:00
parent 4e2c073a33
commit 2636d2ac89
1 changed files with 18 additions and 0 deletions

View 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]