28 lines · plain
1# RUN: not --crash llc -o - %s -mtriple=x86_64-- -verify-machineinstrs -run-pass=none 2>&1 | FileCheck %s2# REQUIRES: x86-registered-target3 4# CHECK: Bad machine code: Generic instruction is missing a virtual register type5# CHECK-NEXT: - function: first_type_of_a_type_index_missing_and_a_mismatch6# CHECK-NEXT: - basic block: %bb.07# CHECK-NEXT: - instruction: %2:gr64 = G_ADD %0:_(s64), %1:_8# CHECK-NEXT: - operand 0: %2:gr649 10# CHECK: Bad machine code: Type mismatch in generic instruction11# CHECK-NEXT: - function: first_type_of_a_type_index_missing_and_a_mismatch12# CHECK-NEXT: - basic block: %bb.013# CHECK-NEXT: - instruction: %2:gr64 = G_ADD %0:_(s64), %1:_14# CHECK-NEXT: - operand 2: %1:_(s32)15 16---17name: first_type_of_a_type_index_missing_and_a_mismatch18tracksRegLiveness: true19body: |20 bb.0:21 liveins: $rdi, $esi22 23 %0:_(s64) = COPY $rdi24 %1:_(s32)= COPY $esi25 %2:gr64 = G_ADD %0, %126 $rax = COPY %227...28