OSDN Git Service

[AMDGPU] Remove non-temporal flag from argument loads
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 14 Feb 2018 18:05:14 +0000 (18:05 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 14 Feb 2018 18:05:14 +0000 (18:05 +0000)
commit32d5031a4352fa0ae4362c0fde43f739e3a16cf0
tree7641eb5de80825fe0afe6db8b0d1cf8cb6e9122e
parentd6953a90f79d4769763ddb2e5d16e3bd6106a995
[AMDGPU] Remove non-temporal flag from argument loads

Kernel arguments likely read by all workitems and should not bypass
cache. Fixes performance hit in sub-dword argument loads.

Differential Revision: https://reviews.llvm.org/D43249

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325146 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/kernel-args.ll
test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll