2018-05-15 02:29:27 +02:00
|
|
|
; 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.
|
|
|
|
|
2018-05-16 01:38:05 +02:00
|
|
|
; CHECK-DAG: CheckModuleDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
2018-05-15 02:29:27 +02:00
|
|
|
|
2018-05-16 01:38:05 +02:00
|
|
|
; CHECK-DAG: CheckModuleDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|
|
|
|
; CHECK-DAG: CheckFunctionDebugify [{{.*}}]: PASS
|