mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
22858cc076
This patch adds each pass' pass argument in the header for IR dumps. For example: Before: ``` *** IR Dump Before InstructionSelect *** ``` After: ``` *** IR Dump Before InstructionSelect (instruction-select) *** ``` The goal is to make it easier to know what argument to pass to command line options like `debug-only` or `run-pass` to further investigate a given pass.
10 lines
274 B
LLVM
10 lines
274 B
LLVM
; RUN: opt -print-before=always-inline -always-inline -enable-new-pm=0 < %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
define i32 @main() #0 {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
; CHECK: *** IR Dump Before Inliner for always_inline functions (always-inline) ***
|
|
; CHECK: Printing <null> Function
|