13 lines
334 B
YAML
13 lines
334 B
YAML
# 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
|
|
...
|