1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll
2003-06-28 23:02:20 +00:00

12 lines
259 B
LLVM

; Looks like we don't raise alloca's like we do mallocs
;
; RUN: as < %s | opt -raise | dis | grep '= cast' | not grep \*
implementation ; Functions:
int *%X() {
%reg107 = alloca ubyte, uint 4
%cast213 = cast ubyte* %reg107 to int*
ret int* %cast213
}