1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/CodeGen/AMDGPU/mesa_regression.ll
2016-12-15 15:17:19 +00:00

12 lines
461 B
LLVM

; RUN: llc -O2 -mtriple amdgcn--amdhsa -mcpu=fiji -amdgpu-scalarize-global-loads=false -verify-machineinstrs < %s | FileCheck %s
; CHECK-LABEL: %entry
; CHECK: flat_load_dwordx4
define amdgpu_kernel void @store_global(<16 x double> addrspace(1)* nocapture %out, <16 x double> addrspace(1)* nocapture readonly %in) {
entry:
%tmp = load <16 x double>, <16 x double> addrspace(1)* %in
store <16 x double> %tmp, <16 x double> addrspace(1)* %out
ret void
}