xref: /llvm-project/llvm/test/CodeGen/MIR/Generic/runPass.mir (revision 1bc8b3258e6d42f702fb11eb60d84d0e23935e3e)
1# RUN: llc -run-pass=greedy -debug-pass=Arguments -o - %s | FileCheck %s
2# RUN: llc -run-pass=regallocbasic -debug-pass=Arguments -o - %s | FileCheck %s
3# RUN: llc -run-pass=regallocfast -debug-pass=Arguments -o - %s | FileCheck %s
4# RUN: llc -passes=regallocfast -o - %s | FileCheck %s
5
6# Check that passes are initialized correctly, so that it's possible to
7# use -run-pass.
8
9---
10# CHECK: name: foo
11name: foo
12tracksRegLiveness: true
13body: |
14  bb.0:
15...
16