llvm-mirror/test/CodeGen/MIR/AArch64/empty-MF.mir
Puyan Lotfi 1aab9f557d [MIR-Canon] Fixing case where MachineFunction is empty.
In cases where the machine function is empty: bail on the RPO traversal.

Differential Revision: https://reviews.llvm.org/D62617

llvm-svn: 362158
2019-05-30 21:37:25 +00:00

12 lines
247 B
YAML

# RUN: llc -mtriple aarch64-- -run-pass mir-canonicalizer %s -o - | FileCheck %s
# CHECK: ...
# CHECK-NEXT: ---
# CHECK-NEXT: name: foo
# CHECK: body: |
# CHECK-EMPTY:
# CHECK-NEXT: ...
---
name: foo
body: |
...