Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / X86 / encoder-fail.s
bloba8b9f48c8fb70b20f5a241fbd26199a6a48e0591
1 // RUN: not llvm-mc -triple x86_64-unknown-unknown --show-encoding %s 2>&1 | FileCheck %s
3 // CHECK: error: can't encode 'dh' in an instruction requiring REX prefix
4 movzx %dh, %rsi
6 // CHECK: error: can't encode 'ah' in an instruction requiring REX prefix
7 movzx %ah, %r8d
9 // CHECK: error: can't encode 'bh' in an instruction requiring REX prefix
10 add %bh, %sil
12 // CHECK: error: can't encode 'ch' in an instruction requiring REX prefix
13 mov %ch, (%r8)
15 // CHECK: error: can't encode 'dh' in an instruction requiring REX prefix
16 mov %dh, (%rax,%r8)