mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
3efa3611fa
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
14 lines
331 B
LLVM
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
|