blob: 13f7392c9f362c61fe20b71a5cfe2c818dc3503a [file] [log] [blame]
Chris Lattner3c6d4b42004-03-08 06:17:15 +00001; RUN: llvm-as < %s | llvm-dis | not grep cast
2; All of these should be eliminable
3
4
5int %foo() {
6 ret int and (int cast (int()* %foo to int), int 1)
7}
8
9int %foo2() {
10 ret int and (int 1, int cast (int()* %foo2 to int))
11}
12
13bool %foo3() {
14 ret bool cast (bool()* %foo3 to bool)
15}