llvm-project/llvm/test/Other/printer.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
616 B
LLVM
Raw Normal View History

; RUN: opt -passes='mem2reg,instcombine' -print-after-all -disable-output < %s 2>&1 | \
; RUN: FileCheck %s --implicit-check-not='IR Dump'
define void @tester(){
ret void
}
define void @foo(){
ret void
}
; CHECK: *** IR Dump After VerifierPass
; CHECK: *** IR Dump After PromotePass
; CHECK-NEXT: define void @tester
; CHECK: *** IR Dump After InstCombinePass
; CHECK-NEXT: define void @tester
; CHECK: *** IR Dump After PromotePass
; CHECK-NEXT: define void @foo
; CHECK: *** IR Dump After InstCombinePass
; CHECK-NEXT: define void @foo
; CHECK: *** IR Dump After VerifierPass