mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
b1e1e82c54
of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
298 B
LLVM
15 lines
298 B
LLVM
; RUN: opt %s -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
|
|
}
|
|
|