1 # RUN: not llc -o - %s -mtriple=x86_64-- -verify-machineinstrs -run-pass=none 2>&1 | FileCheck %s
2 # REQUIRES: x86-registered-target
5 # CHECK: Bad machine code: PHI operand is not live-out from predecessor
6 # CHECK: - function: func0
7 # CHECK: - basic block: %bb.3
8 # CHECK: - instruction: %0:gr32 = PHI
9 # CHECK: - operand 1: %1
11 # CHECK: Bad machine code: PHI operand is not live-out from predecessor
12 # CHECK: - function: func0
13 # CHECK: - basic block: %bb.3
14 # CHECK: - instruction: %0:gr32 = PHI
15 # CHECK: - operand 3: %0
17 tracksRegLiveness: true
20 JCC_1 %bb.1, 4, implicit undef $eflags
24 %0:gr32 = IMPLICIT_DEF
28 %1:gr32 = IMPLICIT_DEF
31 %0:gr32 = PHI %1, %bb.1, %0, %bb.2