22 lines · plain
1# RUN: llc -run-pass finalize-isel -run-pass peephole-opt -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PSEUDO_PEEPHOLE2# RUN: llc -run-pass finalize-isel,peephole-opt -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PSEUDO_PEEPHOLE3# RUN: llc -run-pass peephole-opt -run-pass finalize-isel -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PEEPHOLE_PSEUDO4# RUN: llc -run-pass peephole-opt,finalize-isel -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PEEPHOLE_PSEUDO5# REQUIRES: asserts6 7# This test ensures that the command line accepts8# several run passes on the same command line and9# actually create the proper pipeline for it.10# PSEUDO_PEEPHOLE: -finalize-isel11# PSEUDO_PEEPHOLE-SAME: {{(-machineverifier )?}}-peephole-opt12# PEEPHOLE_PSEUDO: -peephole-opt {{(-machineverifier )?}}-finalize-isel13 14# Make sure there are no other passes happening after what we asked.15# CHECK-NEXT: --- |16---17# CHECK: name: foo18name: foo19body: |20 bb.0:21...22