1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/Regression/Transforms/LevelRaise/2003-01-22-GEPProblem.ll
2003-09-16 15:29:54 +00:00

23 lines
773 B
LLVM

; Testcase reduced from 197.parser by bugpoint
; RUN: llvm-as < %s | opt -raise -raise-start-inst=cast455 > /dev/null
void %conjunction_prune() {
; <label>:0 ; No predecessors!
br label %bb19
bb19: ; preds = %bb22, %0
%reg205 = phi ulong [ %cast208, %bb22 ], [ 0, %0 ] ; <ulong> [#uses=2]
%reg449 = add ulong %reg205, 10 ; <ulong> [#uses=0]
%cast455 = cast ulong %reg205 to sbyte** ; <sbyte**> [#uses=1]
store sbyte* null, sbyte** %cast455
br label %bb22
bb22: ; preds = %bb19
%cast208 = cast sbyte* null to ulong ; <ulong> [#uses=1]
br bool false, label %bb19, label %bb28
bb28: ; preds = %bb22
ret void
}