[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / amdpal-es.ll
blob012b2061756b3e8f8d5b7ce4c5eea15b48ff70ad
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: {{^}}es_amdpal:
5 ; GCN:         .amdgpu_pal_metadata
6 ; GCN-NEXT: ---
7 ; GCN-NEXT: amdpal.pipelines:
8 ; GCN-NEXT:   - .hardware_stages:
9 ; GCN-NEXT:       .es:
10 ; GCN-NEXT:         .entry_point:    es_amdpal
11 ; GCN-NEXT:         .scratch_memory_size: 0
12 ; GCN:     .registers:
13 ; GCN-NEXT:       0x2cca (SPI_SHADER_PGM_RSRC1_ES): 0
14 ; GCN-NEXT: ...
15 ; GCN-NEXT:         .end_amdgpu_pal_metadata
16 define amdgpu_es half @es_amdpal(half %arg0) {
17   %add = fadd half %arg0, 1.0
18   ret half %add