1# RUN: llc -o - %s -mtriple=amdgcn--amdhsa -verify-machineinstrs -run-pass=greedy,virtregrewriter | FileCheck %s 2--- 3# We should not detect any interference between v0/v1 here and only allocate 4# sgpr0-sgpr3. 5# 6# CHECK-LABEL: func0 7# CHECK: S_NOP 0, implicit-def %sgpr0 8# CHECK: S_NOP 0, implicit-def %sgpr3 9# CHECK: S_NOP 0, implicit-def %sgpr1 10# CHECK: S_NOP 0, implicit-def %sgpr2 11# CHECK: S_NOP 0, implicit %sgpr0, implicit %sgpr3 12# CHECK: S_NOP 0, implicit %sgpr1, implicit %sgpr2 13name: func0 14body: | 15 bb.0: 16 S_NOP 0, implicit-def undef %0.sub0 : sreg_128 17 S_NOP 0, implicit-def %0.sub3 18 S_NOP 0, implicit-def undef %1.sub1 : sreg_128 19 S_NOP 0, implicit-def %1.sub2 20 21 22 S_NOP 0, implicit %0.sub0, implicit %0.sub3 23 S_NOP 0, implicit %1.sub1, implicit %1.sub2 24... 25