1# RUN: llc -march=hexagon -run-pass expand-condsets -o - %s -verify-machineinstrs | FileCheck %s 2 3# CHECK-LABEL: name: fred 4 5--- | 6 define void @fred() { ret void } 7 8... 9--- 10 11name: fred 12tracksRegLiveness: true 13registers: 14 - { id: 0, class: intregs } 15 - { id: 1, class: intregs } 16 - { id: 2, class: intregs } 17 - { id: 3, class: intregs } 18 - { id: 4, class: predregs } 19 - { id: 5, class: intregs } 20 - { id: 6, class: intregs } 21 - { id: 7, class: intregs } 22 - { id: 8, class: predregs } 23 - { id: 9, class: intregs } 24 - { id: 10, class: intregs } 25 - { id: 11, class: intregs } 26 - { id: 12, class: predregs } 27 - { id: 13, class: intregs } 28 - { id: 14, class: intregs } 29 - { id: 99, class: intregs } 30liveins: 31 - { reg: '$r0', virtual-reg: '%99' } 32 33body: | 34 bb.0: 35 liveins: $r0 36 successors: %bb.298, %bb.301 37 %99 = COPY $r0 38 J2_jumpr %99, implicit-def $pc 39 40 bb.298: 41 liveins: $r0 42 successors: %bb.299, %bb.301, %bb.309 43 %0 = A2_tfrsi 123 44 %1 = A2_tfrsi -1 45 %3 = L2_loadri_io %99, 8 46 %4 = C2_cmpeqi %3, 33 47 %5 = A2_tfrsi -2 48 %6 = C2_mux %4, %5, %1 49 J2_jumpr %6, implicit-def $pc 50 51 bb.299: 52 successors: %bb.300, %bb.309 53 %7 = L2_loadrb_io %99, 12 54 %8 = C2_cmpeqi %7, 9 55 %9 = A2_tfrsi -999 56 ; CHECK: %10:intregs = C2_cmoveit killed %8, -999, implicit %10 57 %10 = C2_mux %8, %9, %1 58 J2_jumpr %10, implicit-def $pc 59 60 bb.300: 61 successors: %bb.309 62 S2_storeri_io %99, 0, %0 63 J2_jump %bb.309, implicit-def $pc 64 65 bb.301: 66 successors: %bb.299, %bb.309 67 %0 = A2_tfrsi 124 68 %1 = A2_tfrsi -4 69 %11 = L2_loadri_io %99, 8 70 %12 = C2_cmpeqi %11, 33 71 %13 = A2_tfrsi -2 72 %14 = C2_mux %12, %13, %1 73 J2_jumpr %14, implicit-def $pc 74 75 bb.309: 76 77... 78 79