From d4ae470d2e7a967331a5bb3ae5be29a4f0b6c764 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Tue, 19 Sep 2017 20:54:38 +0000 Subject: [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 --- llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll') 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 -- cgit v1.2.3