1 # RUN: llc -o - %s -mtriple=x86_64-- -verify-machineinstrs -run-pass=none | FileCheck %s
2 # REQUIRES: x86-registered-target
4 # This should cleanly pass the machine verifier
6 # CHECK-LABEL: name: func0
7 # CHECK: %0:gr32 = PHI undef %1:gr32, %bb.0, undef %1:gr32, %bb.1
9 tracksRegLiveness: true
12 JCC_1 %bb.1, 4, implicit undef $eflags
18 %0 : gr32 = PHI undef %1 : gr32, %bb.0, undef %1 : gr32, %bb.1
21 # CHECK-LABEL: name: func1
22 # CHECK: %2:gr32 = PHI %0, %bb.0, %1, %bb.1
24 tracksRegLiveness: true
27 %0 : gr32 = IMPLICIT_DEF
28 JCC_1 %bb.1, 4, implicit undef $eflags
32 %1 : gr32 = IMPLICIT_DEF
35 %2 : gr32 = PHI %0, %bb.0, %1, %bb.1