brintos

brintos / llvm-project-archived public Read only

0
0
Text · 601 B · 69ff696 Raw
29 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    %0 = COPY $edi23    ; CHECK: [[@LINE+1]]:18: use of unknown subregister index 'bit8'24    %1 = COPY %0.bit825    %2 = AND8ri %1, 1, implicit-def $eflags26    $al = COPY %227    RET64 $al28...29