llvm-6502/test/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll
2006-12-02 04:23:10 +00:00

12 lines
282 B
LLVM

; 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
}