1 # RUN: not llc -o - %s -mtriple=x86_64-- -verify-machineinstrs -run-pass=none 2>&1 | FileCheck %s 2 --- 3 # CHECK: Bad machine code: PHI operand is not live-out from predecessor 4 # CHECK: - function: func0 5 # CHECK: - basic block: %bb.3 6 # CHECK: - instruction: %0:gr32 = PHI 7 # CHECK: - operand 1: %1 8 # 9 # CHECK: Bad machine code: PHI operand is not live-out from predecessor 10 # CHECK: - function: func0 11 # CHECK: - basic block: %bb.3 12 # CHECK: - instruction: %0:gr32 = PHI 13 # CHECK: - operand 3: %0 14 name: func0 15 tracksRegLiveness: true 16 body: | 17 bb.0: 18 JE_1 %bb.1, implicit undef $eflags 19 JMP_1 %bb.2 20 21 bb.1: 22 %0:gr32 = IMPLICIT_DEF 23 JMP_1 %bb.3 24 25 bb.2: 26 %1:gr32 = IMPLICIT_DEF 27 28 bb.3: 29 %0:gr32 = PHI %1, %bb.1, %0, %bb.2 30 ... 31