aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MIR/Generic/runPass.mir
blob: 824d9ed0e65f8469af0bccbe85a9dbb333cef50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: llc -run-pass=greedy -debug-pass=Arguments -o - %s | FileCheck %s
# RUN: llc -run-pass=regallocbasic -debug-pass=Arguments -o - %s | FileCheck %s
# RUN: llc -run-pass=regallocfast -debug-pass=Arguments -o - %s | FileCheck %s
# RUN: llc -passes=regallocfast -o - %s | FileCheck %s
# RUN: llc -passes=greedy -o - %s | FileCheck %s

# Check that passes are initialized correctly, so that it's possible to
# use -run-pass.

---
# CHECK: name: foo
name: foo
tracksRegLiveness: true
body: |
  bb.0:
...