1# RUN: llc -mtriple=amdgcn--amdpal -run-pass=simple-register-coalescing -o - %s | FileCheck %s 2 3# Check that this doesn't crash. Check for some legitimate output. 4# CHECK: S_CBRANCH_SCC1 5 6--- 7name: fred 8tracksRegLiveness: true 9body: | 10 bb.0: 11 successors: %bb.1, %bb.2 12 liveins: $sgpr4 13 undef %0.sub2:sgpr_128 = COPY $sgpr4 14 %3 = IMPLICIT_DEF 15 S_CBRANCH_SCC1 %bb.2, implicit undef $scc 16 17 bb.1: 18 successors: %bb.2 19 %0.sub0:sgpr_128 = COPY %0.sub2 20 %0.sub1:sgpr_128 = COPY %0.sub2 21 %1:sgpr_128 = COPY %0 22 %2:sgpr_128 = COPY %0 23 %0:sgpr_128 = COPY %2 24 %3:sgpr_128 = COPY %1 25 26 bb.2: 27 $sgpr1 = COPY %3 28 $sgpr2 = COPY %0.sub2 29... 30