1bf215546Sopenharmony_ci; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@min_i32: 4bf215546Sopenharmony_ci; GCN: main 5bf215546Sopenharmony_ci; GCN: v_interp_mov 6bf215546Sopenharmony_ci; GCN: v_interp_mov 7bf215546Sopenharmony_ci; GCN-NEXT: v_min_i32 8bf215546Sopenharmony_ci; GCN-NEXT: epilog 9bf215546Sopenharmony_ci 10bf215546Sopenharmony_ci#shader fs min_i32 11bf215546Sopenharmony_ci#version 400 12bf215546Sopenharmony_ciflat in ivec2 v; 13bf215546Sopenharmony_ciout ivec4 o; 14bf215546Sopenharmony_civoid main() { 15bf215546Sopenharmony_ci o.x = min(v.x, v.y); 16bf215546Sopenharmony_ci} 17bf215546Sopenharmony_ci 18bf215546Sopenharmony_ci 19bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@max_i32: 20bf215546Sopenharmony_ci; GCN: main 21bf215546Sopenharmony_ci; GCN: v_interp_mov 22bf215546Sopenharmony_ci; GCN: v_interp_mov 23bf215546Sopenharmony_ci; GCN-NEXT: v_max_i32 24bf215546Sopenharmony_ci; GCN-NEXT: epilog 25bf215546Sopenharmony_ci 26bf215546Sopenharmony_ci#shader fs max_i32 27bf215546Sopenharmony_ci#version 400 28bf215546Sopenharmony_ciflat in ivec2 v; 29bf215546Sopenharmony_ciout ivec4 o; 30bf215546Sopenharmony_civoid main() { 31bf215546Sopenharmony_ci o.x = max(v.x, v.y); 32bf215546Sopenharmony_ci} 33