blob: ad361ae9efd7042f04b135e4b5c37abb41435f2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; RUN: opt -passes=loop-instsimplify -print-after-all -disable-output -S < %s 2>&1 | FileCheck %s
; loop-instsimplify dumps individual basic blocks as part of a loop,
; not a function. Verify that the non-entry basic block is labeled as
; "1", not "<badref>".
; CHECK-NOT: <badref>
define void @foo() {
br label %1
1:
br label %1
}
|