brintos

brintos / llvm-project-archived public Read only

0
0
Text · 792 B · aa488f0 Raw
33 lines · plain
1# RUN: not --crash llc -o - %s -mtriple=x86_64-- -verify-machineinstrs -run-pass=none 2>&1 | FileCheck %s2# REQUIRES: x86-registered-target3 4---5# CHECK: Bad machine code: PHI operand is not live-out from predecessor6# CHECK: - function:    func07# CHECK: - basic block: %bb.38# CHECK: - instruction: %0:gr32 = PHI9# CHECK: - operand 1:   %110#11# CHECK: Bad machine code: PHI operand is not live-out from predecessor12# CHECK: - function:    func013# CHECK: - basic block: %bb.314# CHECK: - instruction: %0:gr32 = PHI15# CHECK: - operand 3:   %016name: func017tracksRegLiveness: true18body: |19  bb.0:20    JCC_1 %bb.1, 4, implicit undef $eflags21    JMP_1 %bb.222 23  bb.1:24    %0:gr32 = IMPLICIT_DEF25    JMP_1 %bb.326 27  bb.2:28    %1:gr32 = IMPLICIT_DEF29 30  bb.3:31    %0:gr32 = PHI %1, %bb.1, %0, %bb.232...33