mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 00:57:54 +00:00
611b415d12
Patch by Florian Brandner. llvm-svn: 50628
15 lines
310 B
LLVM
15 lines
310 B
LLVM
; RUN: llvm-as < %s | opt -postdomtree -analyze | grep entry
|
|
; PR932
|
|
|
|
define void @foo(i1 %x) {
|
|
entry:
|
|
br i1 %x, label %bb1, label %bb0
|
|
bb0: ; preds = %entry, bb0
|
|
br label %bb0
|
|
bb1: ; preds = %entry
|
|
br label %bb2
|
|
bb2: ; preds = %bb1
|
|
ret void
|
|
}
|
|
|