1 # RUN: llc < %s -x=mir -mtriple=x86_64-- -run-pass=register-coalescer | FileCheck %s
6 JCC_1 %bb.2, 2, undef implicit killed $eflags
10 %0 : gr64 = IMPLICIT_DEF
11 NOOP implicit-def undef %1.sub_32bit : gr64
12 NOOP implicit-def %1.sub_16bit : gr64
20 NOOP implicit killed %0
21 NOOP implicit killed %1
24 # We should have a setting of both sub_32bit and sub_16bit. The first one
25 # should be undef and not dead, and the second should not be undef.
28 # CHECK: NOOP implicit-def undef %1.sub_32bit
30 # CHECK-NEXT: NOOP implicit-def %1.sub_16bit