xref: /llvm-project/llvm/test/tools/llc/new-pm/pipeline.mir (revision 69657eb7f67600ec1c5c449d13eef3670dfb64da)
1# RUN: llc -mtriple=x86_64-pc-linux-gnu -x mir -passes=no-op-machine-function --print-pipeline-passes -filetype=null < %s | FileCheck %s --match-full-lines
2# RUN: llc -mtriple=x86_64-pc-linux-gnu -x mir -passes='require<machine-dom-tree>,print<machine-dom-tree>' -print-pipeline-passes < %s | FileCheck --check-prefix=ANALYSIS %s
3
4# CHECK: function(machine-function(no-op-machine-function)),PrintMIRPreparePass,function(machine-function(verify,print))
5
6# ANALYSIS: require<machine-dom-tree>,print<machine-dom-tree>
7
8---
9name: f
10body: |
11  bb.0:
12    RET 0
13...
14