llvm-6502/test/Other/2002-01-31-PostDomSet.ll

22 lines
274 B
LLVM
Raw Normal View History

; Crash in post dominator set construction.
;
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -postdomset
;
implementation
int "looptest"()
begin
br label %L2Top
L2Top:
br bool true, label %L2End, label %L2Top
L2Body:
br label %L2Top
L2End:
ret int 0
end