annotate test/CodeGen/AMDGPU/mesa_regression.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 ; RUN: llc -O2 -mtriple amdgcn--amdhsa -mcpu=fiji -amdgpu-scalarize-global-loads=false -verify-machineinstrs < %s | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 ; CHECK-LABEL: %entry
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 ; CHECK: flat_load_dwordx4
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 define amdgpu_kernel void @store_global(<16 x double> addrspace(1)* nocapture %out, <16 x double> addrspace(1)* nocapture readonly %in) {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 entry:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 %tmp = load <16 x double>, <16 x double> addrspace(1)* %in
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 store <16 x double> %tmp, <16 x double> addrspace(1)* %out
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 ret void
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 }