blob: 832576fbb68896fb7783224171d6402d90cd20a9 [file] [log] [blame]
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# This test ensures that an error is reported for subreg index on a physreg.
--- |
define void @t() { ret void }
...
---
name: t
body: |
bb.0:
; CHECK: [[@LINE+1]]:19: subregister index expects a virtual register
$eax.sub_8bit = COPY $bl
...