brintos

brintos / llvm-project-archived public Read only

0
0
Text · 401 B · 2c00a44 Raw
11 lines · plain
1;; Test that we respect the assembler dialect when parsing module-level inline asm.2; RUN: not llc < %s -mtriple=x86_64 2>&1 | FileCheck %s --check-prefix=ERR3; RUN: llc < %s -mtriple=x86_64 -x86-asm-syntax=intel | FileCheck %s4 5; ERR: <inline asm>:1:1: error: unknown use of instruction mnemonic without a size suffix6 7; CHECK: .intel_syntax noprefix8; CHECK: mov eax, eax9 10module asm "mov eax, eax"11