blob: 559fa31898801bec48787c65c07d760be3805c6b [file]
# RUN: not llc -o /dev/null %s -mtriple=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:
%0 : gr32 = COPY $rdx
; CHECK: [[@LINE+1]]:24: conflicting register classes, previously: GR32
NOOP implicit %0 : gr32_abcd
...