blob: 10a9f2d7ceb13292e5eda819e598b802dea6de47 [file] [log] [blame]
# RUN: not llc -o /dev/null %s -march=x86-64 -run-pass none 2>&1 | FileCheck %s
# This test ensures that an error is reported for specifying the register class
# of a physical register.
--- |
define void @t() { ret void }
...
---
name: t
body: |
bb.0:
; CHECK: [[@LINE+1]]:10: register class specification expects a virtual register
%eax : gr32 = COPY %rdx
...