24 lines · plain
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-lines2# 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 %s3# RUN: llc -mtriple=x86_64-pc-linux-gnu -x mir -enable-new-pm -stop-before=greedy -O3 -filetype=null --print-pipeline-passes < %s | FileCheck %s --check-prefix=CHECK-REQ4 5# Check same nested pass managers6# RUN: llc -mtriple=x86_64-pc-linux-gnu -x mir \7# RUN: -passes='function(machine-function(machine-function(machine-cp)))' \8# RUN: -print-pipeline-passes < %s | FileCheck %s --check-prefix=NESTED9 10# RUN: not llc -mtriple=x86_64-pc-linux-gnu -x mir -passes='machine-function(whoops(verify))' -print-pipeline-passes < %s 2>&111 12# CHECK: function(machine-function(no-op-machine-function)),PrintMIRPreparePass,function(machine-function(verify,print))13 14# CHECK-REQ-NOT: greedy15# ANALYSIS: require<machine-dom-tree>,print<machine-dom-tree>16 17# NESTED: function(machine-function(machine-cp))18---19name: f20body: |21 bb.0:22 RET 023...24