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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
Other
/
bb-badref.ll
blob
ad361ae9efd7042f04b135e4b5c37abb41435f2c
1
; RUN: opt -passes=loop-instsimplify -print-after-all -disable-output -S < %s 2>&1 | FileCheck %s
2
3
; loop-instsimplify dumps individual basic blocks as part of a loop,
4
; not a function. Verify that the non-entry basic block is labeled as
5
; "1", not "<badref>".
6
7
; CHECK-NOT: <badref>
8
9
define void @foo() {
10
br label %1
11
12
1:
13
br label %1
14
}