1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
3 declare i32 @llvm.amdgcn.alignbyte(i32, i32, i32) #0
5 ; GCN-LABEL: {{^}}v_alignbyte_b32:
6 ; GCN: v_alignbyte_b32 {{[vs][0-9]+}}, {{[vs][0-9]+}}, {{[vs][0-9]+}}
7 define amdgpu_kernel void @v_alignbyte_b32(ptr addrspace(1) %out, i32 %src1, i32 %src2, i32 %src3) #1 {
8 %val = call i32 @llvm.amdgcn.alignbyte(i32 %src1, i32 %src2, i32 %src3) #0
9 store i32 %val, ptr addrspace(1) %out
13 attributes #0 = { nounwind readnone }
14 attributes #1 = { nounwind }