summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/ds_read2st64.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-11-13 19:56:13 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-11-13 19:56:13 +0000
commitcc8d3b877400742377b09b6346b3e2fe6b27b4b4 (patch)
treee47dc8cc740a07c54b4bb73b06d5fe67667827d6 /llvm/test/CodeGen/R600/ds_read2st64.ll
parent1cffa4c191856746ad20850949558c8f96b029ee (diff)
downloadbcm5719-llvm-cc8d3b877400742377b09b6346b3e2fe6b27b4b4.tar.gz
bcm5719-llvm-cc8d3b877400742377b09b6346b3e2fe6b27b4b4.zip
R600: Error on initializer for LDS.
Also give a proper error for other address spaces. llvm-svn: 221917
Diffstat (limited to 'llvm/test/CodeGen/R600/ds_read2st64.ll')
-rw-r--r--llvm/test/CodeGen/R600/ds_read2st64.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/R600/ds_read2st64.ll b/llvm/test/CodeGen/R600/ds_read2st64.ll
index cbb8da63935..3e98e590b00 100644
--- a/llvm/test/CodeGen/R600/ds_read2st64.ll
+++ b/llvm/test/CodeGen/R600/ds_read2st64.ll
@@ -1,7 +1,7 @@
; RUN: llc -march=r600 -mcpu=bonaire -verify-machineinstrs -mattr=+load-store-opt -enable-misched < %s | FileCheck -check-prefix=SI %s
-@lds = addrspace(3) global [512 x float] zeroinitializer, align 4
-@lds.f64 = addrspace(3) global [512 x double] zeroinitializer, align 8
+@lds = addrspace(3) global [512 x float] undef, align 4
+@lds.f64 = addrspace(3) global [512 x double] undef, align 8
; SI-LABEL: @simple_read2st64_f32_0_1
OpenPOWER on IntegriCloud