[PATCH] D46992: [AMDGPU] Add perf hints to functions

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 19 10:08:17 PDT 2018


rampitec added a comment.

In https://reviews.llvm.org/D46992#1105635, @mareko wrote:

> How does this pass affect shaders that use a lot of memory instructions but no pointers?


Can you give an example? What is a memory instruction without a pointer? As you may see, pass processes something which can cast to load, store, atomic or memory intrinsic. Everything else considered an ordinary instruction. For example if have an image in mind it is conservatively not considered memory instruction.


https://reviews.llvm.org/D46992





More information about the llvm-commits mailing list