1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # This test ensures that an error is reported when an unknown subregister index
7 define zeroext i1 @t(i1 %c) {
15 tracksRegLiveness: true
17 - { id: 0, class: gr32 }
18 - { id: 1, class: gr8 }
19 - { id: 2, class: gr8 }
22 ; CHECK: [[@LINE+1]]:35: unknown subregister index 'bit8'
23 %0 = INSERT_SUBREG $edi, $al, %subreg.bit8