aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/2004-03-07-FunctionAddressAlignment.llx
blob: 13f7392c9f362c61fe20b71a5cfe2c818dc3503a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llvm-as < %s | llvm-dis | not grep cast
; All of these should be eliminable


int %foo() {
	ret int and (int cast (int()* %foo to int), int 1)
}

int %foo2() {
	ret int and (int 1, int cast (int()* %foo2 to int))
}

bool %foo3() {
	ret bool cast (bool()* %foo3 to bool)
}