2016-07-14 04:36:03 +08:00
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# 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
|
2016-06-10 08:52:10 +08:00
|
|
|
# REQUIRES: asserts
|
|
|
|
|
|
|
|
# This test ensures that the command line accepts
|
|
|
|
# several run passes on the same command line and
|
|
|
|
# actually create the proper pipeline for it.
|
2016-07-09 00:29:11 +08:00
|
|
|
# PSEUDO_PEEPHOLE: -expand-isel-pseudos -peephole-opt
|
|
|
|
# PEEPHOLE_PSEUDO: -peephole-opt -expand-isel-pseudos
|
2016-06-10 08:52:10 +08:00
|
|
|
|
|
|
|
# Make sure there are no other passes happening after what we asked.
|
|
|
|
# CHECK-NEXT: --- |
|
|
|
|
---
|
|
|
|
# CHECK: name: foo
|
|
|
|
name: foo
|
|
|
|
body: |
|
|
|
|
bb.0:
|
|
|
|
...
|