Files
clang-p2996/llvm/test/DebugInfo/debugify-each.ll
Anastasis Grammenos b4344c66aa [Debugfiy] Print the pass name next to the result
CheckDebugify now prints the pass name right next to the result of the check.

Differential Revision: https://reviews.llvm.org/D46908

llvm-svn: 332416
2018-05-15 23:38:05 +00:00

25 lines
784 B
LLVM

; 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