summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-09-19 20:54:38 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-09-19 20:54:38 +0000
commitd4ae470d2e7a967331a5bb3ae5be29a4f0b6c764 (patch)
tree9065b407288d50bfeb20d5827ea6fb2dcbf008ca /llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll
parent59a01a958a55c75af4076e35ba67e2a4a38d8dce (diff)
downloadbcm5719-llvm-d4ae470d2e7a967331a5bb3ae5be29a4f0b6c764.tar.gz
bcm5719-llvm-d4ae470d2e7a967331a5bb3ae5be29a4f0b6c764.zip
[AMDGPU] Prevent post-RA scheduler from breaking memory clauses
The pre-RA scheduler does load/store clustering, but post-RA scheduler undoes it. Add mutation to prevent it. Differential Revision: https://reviews.llvm.org/D38014 llvm-svn: 313670
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll b/llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll
index f9ba6241fe0..fff0d3520d7 100644
--- a/llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll
+++ b/llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll
@@ -5,8 +5,8 @@
; RUN: llc -amdgpu-scalarize-global-loads=false -march=r600 -mcpu=cayman < %s | FileCheck -check-prefix=R600 -check-prefix=CM -check-prefix=FUNC %s
; FUNC-LABEL: {{^}}load_i24:
-; SI: {{flat|buffer}}_load_ubyte
-; SI: {{flat|buffer}}_load_ushort
+; SI-DAG: {{flat|buffer}}_load_ubyte
+; SI-DAG: {{flat|buffer}}_load_ushort
; SI: {{flat|buffer}}_store_dword
define amdgpu_kernel void @load_i24(i32 addrspace(1)* %out, i24 addrspace(1)* %in) #0 {
%1 = load i24, i24 addrspace(1)* %in
OpenPOWER on IntegriCloud