1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/DebugInfo/debugify-each.ll

25 lines
784 B
LLVM
Raw Normal View History

; 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