1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/LevelRaise/2002-05-02-MissedRaise.ll
Tanya Lattner 06a7c559be Adding XFAIL lines for dejagnu support.
llvm-svn: 17514
2004-11-06 20:38:27 +00:00

21 lines
532 B
LLVM

; This testcase is not level raised properly...
; XFAIL: *
; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
%List = type { int, %List* }
implementation
%List* "createList"(uint %Depth)
begin
%reg110 = malloc uint, uint 4
store uint %Depth, uint* %reg110
%reg113 = call %List* %createList( uint %Depth )
%reg217 = getelementptr uint* %reg110, long 2
%cast221 = cast uint* %reg217 to %List**
store %List* %reg113, %List** %cast221
%cast222 = cast uint* %reg110 to %List*
ret %List* %cast222
end