brintos

brintos / llvm-project-archived public Read only

0
0
Text · 722 B · 1138752 Raw
31 lines · plain
1# RUN: llc < %s -x=mir -mtriple=x86_64-- -run-pass=register-coalescer | FileCheck %s2---3name: f4body: |5  bb.0:6    JCC_1 %bb.2, 2, undef implicit killed $eflags7    JMP_1 %bb.18 9  bb.1:10    %0 : gr64 = IMPLICIT_DEF11    NOOP implicit-def undef %1.sub_32bit : gr6412    NOOP implicit-def %1.sub_16bit : gr6413    JMP_1 %bb.314 15  bb.2:16    NOOP implicit-def %017    %1 = COPY %018 19  bb.3:20    NOOP implicit killed %021    NOOP implicit killed %122...23 24# We should have a setting of both sub_32bit and sub_16bit. The first one25# should be undef and not dead, and the second should not be undef.26 27# CHECK-NOT:  dead28# CHECK:      NOOP implicit-def undef %1.sub_32bit29# CHECK-NOT:  undef30# CHECK-NEXT: NOOP implicit-def %1.sub_16bit31