blob: ac537f54cfa6d61caf14b64af914d12617a7e41c [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s
define void @fn() {
; CHECK-LABEL: @fn(
; CHECK-NEXT: entry:
; CHECK-NEXT: ret void
;
entry:
ret void
unreachable_bb0:
br label %unreachable_bb1
unreachable_bb1:
br label %unreachable_bb0
}