29 lines · plain
1# RUN: llc -mtriple=aarch64-linux-gnu -verify-machineinstrs -o /dev/null %s \2# RUN: -run-pass=livevars,phi-node-elimination,twoaddressinstruction \3# RUN: -no-phi-elim-live-out-early-exit=1 -phi-elim-split-all-critical-edges=14# RUN: llc -mtriple=aarch64-linux-gnu -verify-each -o /dev/null %s \5# RUN: --passes='require<live-vars>,phi-node-elimination,two-address-instruction' \6# RUN: -no-phi-elim-live-out-early-exit=1 -phi-elim-split-all-critical-edges=17 8# Used to result in9#10# *** Bad machine code: LiveVariables: Block should not be in AliveBlocks ***11#12# Just verify that we do not crash (or get verifier error).13 14---15name: test16tracksRegLiveness: true17body: |18 bb.0:19 liveins: $nzcv, $wzr20 Bcc 8, %bb.2, implicit $nzcv21 22 bb.1:23 %x:gpr32 = COPY $wzr24 25 bb.2:26 %y:gpr32 = PHI %x:gpr32, %bb.1, undef %undef:gpr32, %bb.027 $wzr = COPY %y:gpr3228...29