brintos

brintos / llvm-project-archived public Read only

0
0
Text · 769 B · a34d6fa Raw
22 lines · plain
1; RUN: llc -mtriple=amdgcn--amdpal < %s | FileCheck -check-prefix=GCN %s2; RUN: llc -mtriple=amdgcn--amdpal -mcpu=tonga < %s | FileCheck -check-prefix=GCN %s3 4; GCN-LABEL: {{^}}es_amdpal:5; GCN:         .amdgpu_pal_metadata6; GCN-NEXT: ---7; GCN-NEXT: amdpal.pipelines:8; GCN-NEXT:   - .hardware_stages:9; GCN-NEXT:       .es:10; GCN-NEXT:         .entry_point:    _amdgpu_es_main11; GCN-NEXT:         .entry_point_symbol:    es_amdpal12; GCN-NEXT:         .scratch_memory_size: 013; GCN:     .registers:14; GCN-NEXT:       '0x2cca (SPI_SHADER_PGM_RSRC1_ES)': 015; GCN-NEXT:       '0x2ccb (SPI_SHADER_PGM_RSRC2_ES)': 016; GCN-NEXT: ...17; GCN-NEXT:         .end_amdgpu_pal_metadata18define amdgpu_es half @es_amdpal(half %arg0) {19  %add = fadd half %arg0, 1.020  ret half %add21}22