21 lines · plain
1; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=fiji -memdep-block-scan-limit=1 -amdgpu-scalarize-global-loads < %s | FileCheck -enable-var-scope -check-prefix=GCN %s2 3; GCN-LABEL: {{^}}unknown_memdep_analysis:4; GCN: flat_load_dword5; GCN: flat_load_dword6; GCN: flat_store_dword7define void @unknown_memdep_analysis(ptr addrspace(1) nocapture readonly %arg, float %arg1) #0 {8bb:9 %tmp53 = load float, ptr addrspace(1) poison, align 410 %tmp54 = getelementptr inbounds float, ptr addrspace(1) %arg, i32 3111 %tmp55 = load float, ptr addrspace(1) %tmp54, align 412 %tmp56 = tail call float @llvm.fmuladd.f32(float %arg1, float %tmp53, float %tmp55)13 store float %tmp56, ptr addrspace(1) poison, align 414 ret void15}16 17declare float @llvm.fmuladd.f32(float, float, float) #118 19attributes #0 = { nounwind }20attributes #1 = { nounwind readnone speculatable }21