150
|
1 ; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=fiji -memdep-block-scan-limit=1 -amdgpu-scalarize-global-loads -verify-machineinstrs < %s | FileCheck -enable-var-scope -check-prefix=GCN %s
|
|
2
|
|
3 ; GCN-LABEL: {{^}}unknown_memdep_analysis:
|
|
4 ; GCN: flat_load_dword
|
|
5 ; GCN: flat_load_dword
|
|
6 ; GCN: flat_store_dword
|
252
|
7 define void @unknown_memdep_analysis(ptr addrspace(1) nocapture readonly %arg, float %arg1) #0 {
|
150
|
8 bb:
|
252
|
9 %tmp53 = load float, ptr addrspace(1) undef, align 4
|
|
10 %tmp54 = getelementptr inbounds float, ptr addrspace(1) %arg, i32 31
|
|
11 %tmp55 = load float, ptr addrspace(1) %tmp54, align 4
|
150
|
12 %tmp56 = tail call float @llvm.fmuladd.f32(float %arg1, float %tmp53, float %tmp55)
|
252
|
13 store float %tmp56, ptr addrspace(1) undef, align 4
|
150
|
14 ret void
|
|
15 }
|
|
16
|
|
17 declare float @llvm.fmuladd.f32(float, float, float) #1
|
|
18
|
|
19 attributes #0 = { nounwind }
|
|
20 attributes #1 = { nounwind readnone speculatable }
|