Use `-passes="regallocgreedy<[all|sgpr|wwm|vgpr]>` to insert the greedy RA with a filter and `-regalloc-npm=<type>` to control which RA to use in existing pipeline.
17 lines
504 B
YAML
17 lines
504 B
YAML
# 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:
|
|
...
|