repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
SimplifyCFG
/
unreachable-selfloop.ll
blob
ac537f54cfa6d61caf14b64af914d12617a7e41c
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
3
4
define void @fn() {
5
; CHECK-LABEL: @fn(
6
; CHECK-NEXT: entry:
7
; CHECK-NEXT: ret void
8
;
9
entry:
10
ret void
11
12
unreachable_bb0:
13
br label %unreachable_bb1
14
unreachable_bb1:
15
br label %unreachable_bb0
16
}