1; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s 2 3declare i32 @llvm.amdgcn.alignbit(i32, i32, i32) #0 4declare i32 @llvm.amdgcn.alignbyte(i32, i32, i32) #0 5 6; GCN-LABEL: {{^}}v_alignbit_b32: 7; GCN: v_alignbit_b32 {{[vs][0-9]+}}, {{[vs][0-9]+}}, {{[vs][0-9]+}} 8define amdgpu_kernel void @v_alignbit_b32(i32 addrspace(1)* %out, i32 %src1, i32 %src2, i32 %src3) #1 { 9 %val = call i32 @llvm.amdgcn.alignbit(i32 %src1, i32 %src2, i32 %src3) #0 10 store i32 %val, i32 addrspace(1)* %out 11 ret void 12} 13 14; GCN-LABEL: {{^}}v_alignbyte_b32: 15; GCN: v_alignbyte_b32 {{[vs][0-9]+}}, {{[vs][0-9]+}}, {{[vs][0-9]+}} 16define amdgpu_kernel void @v_alignbyte_b32(i32 addrspace(1)* %out, i32 %src1, i32 %src2, i32 %src3) #1 { 17 %val = call i32 @llvm.amdgcn.alignbyte(i32 %src1, i32 %src2, i32 %src3) #0 18 store i32 %val, i32 addrspace(1)* %out 19 ret void 20} 21 22attributes #0 = { nounwind readnone } 23attributes #1 = { nounwind } 24