brintos

brintos / llvm-project-archived public Read only

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