mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
274 B
LLVM
22 lines
274 B
LLVM
; 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
|
|
|