new testcase for unneeded and

llvm-svn: 21711
This commit is contained in:
Chris Lattner 2005-05-06 01:52:52 +00:00
parent 838dae0991
commit 8169e16268
1 changed files with 5 additions and 0 deletions

View File

@ -192,3 +192,8 @@ int %test29(ubyte %X) {
ret int %Z
}
int %test30(bool %X) {
%Y = cast bool %X to int
%Z = and int %Y, 1
ret int %Z
}