brintos

brintos / llvm-project-archived public Read only

0
0
Text · 949 B · 77f1fc5 Raw
33 lines · plain
1# RUN: llc -o - %s -mtriple=amdgcn--amdhsa -verify-machineinstrs -run-pass=greedy,virtregrewriter | FileCheck %s2--- |3 4  define amdgpu_kernel void @func0() {5    ret void6  }7 8...9 10---11# We should not detect any interference between v0/v1 here and only allocate12# sgpr0-sgpr3.13#14# CHECK-LABEL: func015# CHECK: S_NOP 0, implicit-def renamable $sgpr016# CHECK: S_NOP 0, implicit-def renamable $sgpr317# CHECK: S_NOP 0, implicit-def renamable $sgpr118# CHECK: S_NOP 0, implicit-def renamable $sgpr219# CHECK: S_NOP 0, implicit killed renamable $sgpr0, implicit renamable $sgpr320# CHECK: S_NOP 0, implicit killed renamable $sgpr1, implicit renamable $sgpr221name: func022body: |23  bb.0:24    S_NOP 0, implicit-def undef %0.sub0 : sgpr_12825    S_NOP 0, implicit-def %0.sub326    S_NOP 0, implicit-def undef %1.sub1 : sgpr_12827    S_NOP 0, implicit-def %1.sub228 29 30    S_NOP 0, implicit %0.sub0, implicit %0.sub331    S_NOP 0, implicit %1.sub1, implicit %1.sub232...33