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 }
23 ; CHECK: [[@LINE+1]]:18: use of unknown subregister index 'bit8'
25 %2 = AND8ri %1, 1, implicit-def $eflags