mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
This allows targets to make more decisions about reserved registers after isel. For example, now it should be certain there are calls or stack objects in the frame or not, which could have been introduced by legalization. Patch by Matthias Braun git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363757 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
1.1 KiB
YAML
22 lines
1.1 KiB
YAML
# 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_PEEPHOLE
|
|
# RUN: llc -run-pass finalize-isel,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 finalize-isel -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PEEPHOLE_PSEUDO
|
|
# RUN: llc -run-pass peephole-opt,finalize-isel -debug-pass=Arguments -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=PEEPHOLE_PSEUDO
|
|
# 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.
|
|
# PSEUDO_PEEPHOLE: -finalize-isel
|
|
# PSEUDO_PEEPHOLE-SAME: {{(-machineverifier )?}}-peephole-opt
|
|
# PEEPHOLE_PSEUDO: -peephole-opt {{(-machineverifier )?}}-finalize-isel
|
|
|
|
# Make sure there are no other passes happening after what we asked.
|
|
# CHECK-NEXT: --- |
|
|
---
|
|
# CHECK: name: foo
|
|
name: foo
|
|
body: |
|
|
bb.0:
|
|
...
|