91301f051090ac4a5930067cfc0576ffd4d83892
[oota-llvm.git] / test / Transforms / LevelRaise / 2002-07-18-MissedAllocaRaise.ll
1 ; Looks like we don't raise alloca's like we do mallocs
2 ; XFAIL: *
3 ; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
4
5 implementation   ; Functions:
6
7 int *%X() {
8         %reg107 = alloca ubyte, uint 4
9         %cast213 = cast ubyte* %reg107 to int*
10         ret int* %cast213
11 }