[PATCH] D58957: [AMDGPU] Add an experimental buffer fat pointer address space.

Neil Henning via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 01:45:19 PST 2019


sheredom marked an inline comment as done.
sheredom added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp:65
+  /* Private  */        {MayAlias, NoAlias , NoAlias , NoAlias , NoAlias , MayAlias, NoAlias ,        NoAlias},
+  /* Constant 32-bit */ {MayAlias, MayAlias, MayAlias, NoAlias , MayAlias, NoAlias , NoAlias ,        MayAlias},
+  /* Buffer Fat Ptr  */ {MayAlias, MayAlias, NoAlias , NoAlias , MayAlias, NoAlias , MayAlias,        MayAlias}
----------------
nhaehnle wrote:
> It may be more pragmatic to have NoAlias with Constant 32-bit.
> 
> The intention and current practice is for Constant 32-bit to be used with descriptor tables, and those really shouldn't ever alias buffer fat pointers. 
Should I then actually be changing all the Constant 32-bit aliasing rules to only alias with itself do you think?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58957/new/

https://reviews.llvm.org/D58957





More information about the llvm-commits mailing list