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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
SimplifyCFG
/
unreachable-selfloop.ll
blob
3119e3f189b9885f2345bfe6cdc1ee8b549f1c2b
1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2
; RUN: opt -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
}