summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/inline-asm.mir
blob: be96517144b0485015755444a4185ab476cc7ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: llc -o - %s -mtriple=x86_64-- -run-pass none | FileCheck %s
---
# Avoid crash/assert when using an emptystring in an INLINEASM.
# CHECK-LABEL: name: emptystring
# CHECK: bb.0:
# CHECK:   INLINEASM $"", 1
# CHECK:   RET 0
name: emptystring
body: |
  bb.0:
    INLINEASM $"", 1
    RET 0
OpenPOWER on IntegriCloud