# 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 # RUN: llc -mtriple=x86_64-pc-linux-gnu -x mir -passes='require,print' -print-pipeline-passes < %s | FileCheck --check-prefix=ANALYSIS %s # 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-REQ # Check same nested pass managers # RUN: llc -mtriple=x86_64-pc-linux-gnu -x mir \ # RUN: -passes='function(machine-function(machine-function(machine-cp)))' \ # RUN: -print-pipeline-passes < %s | FileCheck %s --check-prefix=NESTED # RUN: not llc -mtriple=x86_64-pc-linux-gnu -x mir -passes='machine-function(whoops(verify))' -print-pipeline-passes < %s 2>&1 # CHECK: function(machine-function(no-op-machine-function)),PrintMIRPreparePass,function(machine-function(verify,print)) # CHECK-REQ-NOT: greedy # ANALYSIS: require,print # NESTED: function(machine-function(machine-cp)) --- name: f body: | bb.0: RET 0 ...