projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Test case for
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2006-10-20-mask.ll
1
; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | grep 'and'
2
ulong %foo(ulong %tmp, ulong %tmp2) {
3
%tmp = cast ulong %tmp to uint
4
%tmp2 = cast ulong %tmp2 to uint
5
%tmp3 = and uint %tmp, %tmp2
6
%tmp4 = cast uint %tmp3 to ulong
7
ret ulong %tmp4
8
}