aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll
blob: 7ab4ea360de7f77791e5436e4dc092eb26b111e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
; Looks like we don't raise alloca's like we do mallocs
; XFAIL: *
; RUN: llvm-upgrade < %s | llvm-as | opt -raise | llvm-dis | not grep bitcast

implementation   ; Functions:

int *%X() {
	%reg107 = alloca ubyte, uint 4
	%cast213 = cast ubyte* %reg107 to int*
	ret int* %cast213
}