19 lines · plain
1# RUN: llc -o - %s -mtriple=x86_64-- -verify-machineinstrs -run-pass branch-folder | FileCheck %s2# Check that we do not generate invalid MIR when optimizing condjumps with undef3# flags on the eflags input (currently we should just bail out).4---5# CHECK-LABEL: name: fallundef6name: fallundef7tracksRegLiveness: true8body: |9 bb.0:10 JCC_1 %bb.1, 4, implicit undef $eflags11 ; CHECK: JCC_1 %bb.1, 4, implicit undef $eflags12 JMP_1 %bb.213 bb.1:14 RET 2, undef $eax15 16 bb.2:17 RET 0, undef $eax18...19