26 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that an error is reported when an unknown subregister index3# is encountered.4 5--- |6 7 define zeroext i1 @t(i1 %c) {8 entry:9 ret i1 %c10 }11 12...13---14name: t15tracksRegLiveness: true16registers:17 - { id: 0, class: gr32 }18 - { id: 1, class: gr8 }19 - { id: 2, class: gr8 }20body: |21 bb.0.entry:22 ; CHECK: [[@LINE+1]]:35: unknown subregister index 'bit8'23 %0 = INSERT_SUBREG $edi, $al, %subreg.bit824 RET64 %025...26