mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
3e75d3d4e5
Differential Revision: http://reviews.llvm.org/D17537 llvm-svn: 261902
17 lines
382 B
LLVM
17 lines
382 B
LLVM
; RUN: opt < %s -postdomtree -analyze | FileCheck %s
|
|
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
|
|
; PR932
|
|
|
|
define void @foo(i1 %x) {
|
|
; CHECK: entry
|
|
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
|
|
}
|
|
|