summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/llc-print-machineinstrs.mir
blob: a890840a478ae8983c5697279e5ac740a712e7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Check that -print-machineinstrs doesn't assert when it's passed an unknown pass name.
# RUN: llc -mtriple=x86_64-- -start-before=greedy -print-machineinstrs=greedy %s -o /dev/null
# RUN: not llc -mtriple=x86_64-- -start-before=greedy -print-machineinstrs=unknown %s -o /dev/null 2>&1 | FileCheck %s
# CHECK: LLVM ERROR: "unknown" pass is not registered.

...
---
name: fun
tracksRegLiveness: true
body: |
  bb.0:
    RET 0
OpenPOWER on IntegriCloud