llvm-project/llvm/test/MC/X86/encoder-fail.s

4 lines
190 B
ArmAsm
Raw Normal View History

// RUN: not llvm-mc -triple x86_64-unknown-unknown --show-encoding %s 2>&1 | FileCheck %s
// CHECK: LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
movzx %dh, %rsi