Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / Transforms / SimplifyCFG / unreachable-matching-successor.ll
blob3aafe690d88212363773995d3638f6ce047817d4
1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s
4 define void @fn(i1 %c) {
5 ; CHECK-LABEL: @fn(
6 ; CHECK-NEXT:  entry:
7 ; CHECK-NEXT:    ret void
9 entry:
10   ret void
12 unreachable_bb0:
13   br i1 %c, label %unreachable_bb1, label %unreachable_bb1
14 unreachable_bb1:
15   br label %unreachable_bb0