blob: bd1c0d0b458e5d9cd4e491ac28a626d9a68633e1 [file] [log] [blame]
Quentin Colombet545e5582016-07-13 20:36:03 +00001# RUN: llc -run-pass expand-isel-pseudos -run-pass peephole-opt -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PSEUDO_PEEPHOLE
2# RUN: llc -run-pass expand-isel-pseudos,peephole-opt -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PSEUDO_PEEPHOLE
3# RUN: llc -run-pass peephole-opt -run-pass expand-isel-pseudos -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PEEPHOLE_PSEUDO
4# RUN: llc -run-pass peephole-opt,expand-isel-pseudos -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PEEPHOLE_PSEUDO
Quentin Colombet129458a2016-06-10 00:52:10 +00005# REQUIRES: asserts
6
7# This test ensures that the command line accepts
8# several run passes on the same command line and
9# actually create the proper pipeline for it.
Matthias Braund6a36ae2017-05-31 18:41:23 +000010# PSEUDO_PEEPHOLE: -expand-isel-pseudos {{(-machineverifier )?}}-peephole-opt
11# PEEPHOLE_PSEUDO: -peephole-opt {{(-machineverifier )?}}-expand-isel-pseudos
Quentin Colombet129458a2016-06-10 00:52:10 +000012
13# Make sure there are no other passes happening after what we asked.
14# CHECK-NEXT: --- |
15---
16# CHECK: name: foo
17name: foo
18body: |
19 bb.0:
20...