Files
clang-p2996/llvm/test/Other/printer.ll
Arthur Eubanks 9c1cdc23f8 [StandardInstrumentations] Ignore VerifierPass/PrintModulePass when printing IR (#67730)
These don't affect the IR, so we should ignore them.
2023-09-29 10:31:29 -07:00

18 lines
495 B
LLVM

; 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 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