summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/load-local-f64.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/load-local-f64.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/load-local-f64.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/load-local-f64.ll b/llvm/test/CodeGen/AMDGPU/load-local-f64.ll
index 14c31e67d7f..f4040db3797 100644
--- a/llvm/test/CodeGen/AMDGPU/load-local-f64.ll
+++ b/llvm/test/CodeGen/AMDGPU/load-local-f64.ll
@@ -176,7 +176,10 @@ entry:
; Tests if ds_read_b128 gets generated for the 16 byte aligned load.
; FUNC-LABEL: {{^}}local_load_v2f64_to_128:
+
; CIVI: ds_read_b128
+; CIVI: ds_write_b128
+
; EG: LDS_READ_RET
; EG: LDS_READ_RET
; EG: LDS_READ_RET
@@ -184,7 +187,7 @@ entry:
define amdgpu_kernel void @local_load_v2f64_to_128(<2 x double> addrspace(3)* %out, <2 x double> addrspace(3)* %in) {
entry:
%ld = load <2 x double>, <2 x double> addrspace(3)* %in, align 16
- store <2 x double> %ld, <2 x double> addrspace(3)* %out
+ store <2 x double> %ld, <2 x double> addrspace(3)* %out, align 16
ret void
}
OpenPOWER on IntegriCloud