blob: 569c629e11542fb3c59c39f532525bb45881d1f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | 
; RUN: opt -debugify-each -O3 -S -o - < %s | FileCheck %s
; RUN: opt -debugify-each -instrprof -sroa -sccp -S -o - < %s | FileCheck %s
define void @foo() {
  ret void
}
define void @bar() {
  ret void
}
; Verify that the module & function (check-)debugify passes run at least twice.
; CHECK-DAG: CheckModuleDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckModuleDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
; CHECK-DAG: CheckFunctionDebugify: PASS
  |