Chris Lattner | 78da4f0 | 2003-05-11 22:46:23 +0000 | [diff] [blame] | 1 | |
2 | implementation | ||||
3 | |||||
4 | bool %test(int *%X, uint* %Y) { | ||||
5 | %A = cast int* %X to sbyte* | ||||
6 | %B = cast uint* %Y to sbyte* | ||||
7 | %c1 = seteq sbyte* %A, null | ||||
8 | %c2 = seteq sbyte* %B, null | ||||
9 | %c = and bool %c1, %c2 | ||||
10 | ret bool %c | ||||
11 | } |