15 lines · plain
1; RUN: llc -mtriple=amdgcn < %s | FileCheck -check-prefix=GCN %s2 3; GCN-LABEL: {{^}}test_mul_u24:4; GCN: v_mul_u32_u245define amdgpu_kernel void @test_mul_u24(ptr addrspace(1) %out, i32 %src1, i32 %src2) #1 {6 %val = call i32 @llvm.amdgcn.mul.u24(i32 %src1, i32 %src2) #07 store i32 %val, ptr addrspace(1) %out8 ret void9}10 11declare i32 @llvm.amdgcn.mul.u24(i32, i32) #012 13attributes #0 = { nounwind readnone speculatable }14attributes #1 = { nounwind }15