1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Other/printer.ll
Duncan P. N. Exon Smith 3efa3611fa IR: Skip -print-*-all after -print-*
This changes `-print-*` from transformation passes to analysis passes so
that `-print-after-all` and `-print-before-all` don't trigger.  This
avoids some redundant output.

Patch by Son Tuan Vu!

llvm-svn: 336869
2018-07-11 23:30:25 +00:00

14 lines
331 B
LLVM

; RUN: opt -mem2reg -instcombine -print-after-all -S < %s 2>&1 | FileCheck %s
define void @tester(){
ret void
}
define void @foo(){
ret void
}
;CHECK: IR Dump After Promote Memory to Register
;CHECK: IR Dump After Combine redundant instructions
;CHECK: IR Dump After Module Verifier
;CHECK-NOT: IR Dump After Print Module IR