1 ; RUN: llc -mtriple=amdgcn--amdpal -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
2 ; RUN: llc -mtriple=amdgcn--amdpal -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
4 ; GCN-LABEL: {{^}}ls_amdpal:
5 ; GCN: .amdgpu_pal_metadata
7 ; GCN-NEXT: amdpal.pipelines:
8 ; GCN-NEXT: - .hardware_stages:
10 ; GCN-NEXT: .entry_point: ls_amdpal
11 ; GCN-NEXT: .scratch_memory_size: 0
13 ; GCN-NEXT: '0x2d4a (SPI_SHADER_PGM_RSRC1_LS)': 0
14 ; GCN-NEXT: '0x2d4b (SPI_SHADER_PGM_RSRC2_LS)': 0
16 ; GCN-NEXT: .end_amdgpu_pal_metadata
17 define amdgpu_ls half @ls_amdpal(half %arg0) {
18 %add = fadd half %arg0, 1.0