[PATCH] D78800: [AMDGPU] Skip generating cache invalidating instructions on AMDPAL
Piotr Sobczak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 24 01:34:28 PDT 2020
piotr created this revision.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.
Frontend guarantees that coherent accesses have
corresponding cache policy bits set (glc, dlc).
Therefore there is no need for extra instructions
that invalidate cache.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78800
Files:
llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
llvm/test/CodeGen/AMDGPU/memory-legalizer-amdpal.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78800.259831.patch
Type: text/x-patch
Size: 10564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200424/072f8e07/attachment-0001.bin>
More information about the llvm-commits
mailing list