Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / X86 / x86-directive-nops-errors.s
blobc14236097bbed99a04b71d5a0d23ee7aa777209d
1 # RUN: not llvm-mc -triple i386 %s -filetype=obj -o /dev/null 2>&1 | FileCheck --check-prefix=X86 %s
2 # RUN: not llvm-mc -triple=x86_64 -mcpu=x86-64 %s -filetype=obj -o /dev/null 2>&1 | FileCheck --check-prefix=X64 %s
4 .nops 4, 3
5 # X86: :[[@LINE-1]]:1: error: illegal NOP size 3.
6 .nops 4, 4
7 # X86: :[[@LINE-1]]:1: error: illegal NOP size 4.
8 .nops 4, 5
9 # X86: :[[@LINE-1]]:1: error: illegal NOP size 5.
10 .nops 16, 15
11 # X86: :[[@LINE-1]]:1: error: illegal NOP size 15.
12 # X64: :[[@LINE-2]]:1: error: illegal NOP size 15.