1# RUN: llc -march=x86-64 -start-after machine-sink -stop-after machine-sink -o - %s | FileCheck %s 2# This test ensures that the MIR parser parses and prints subregisters index 3# operands correctly. 4 5--- | 6 7 define zeroext i1 @t(i1 %c) { 8 entry: 9 ret i1 %c 10 } 11 12... 13--- 14# CHECK-LABEL: name: t 15# CHECK: %0 = INSERT_SUBREG %edi, %al, {{[0-9]+}} 16# CHECK: %1 = EXTRACT_SUBREG %eax, {{[0-9]+}} 17# CHECK: %ax = REG_SEQUENCE %1, {{[0-9]+}}, %1, {{[0-9]+}} 18name: t 19isSSA: true 20tracksRegLiveness: true 21registers: 22 - { id: 0, class: gr32 } 23 - { id: 1, class: gr8 } 24body: | 25 bb.0.entry: 26 liveins: %edi, %eax 27 %0 = INSERT_SUBREG %edi, %al, %subreg.sub_8bit 28 %1 = EXTRACT_SUBREG %eax, %subreg.sub_8bit_hi 29 %ax = REG_SEQUENCE %1, %subreg.sub_8bit, %1, %subreg.sub_8bit_hi 30 RETQ %ax 31... 32 33