view llvm/test/CodeGen/AMDGPU/mesa_regression.ll @ 223:5f17cb93ff66 llvm-original

LLVM13 (2021/7/18)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:43:00 +0900
parents 1d019706d866
children 1f2b6ac9f198
line wrap: on
line source

; 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
}