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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 14:57:25 PDT 2019


arsenm 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:
> sheredom wrote:
> > 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?
> I think that's a good idea, but it should be a separate patch.
It also seems to me like it should be renamed, since there's a more specific purpose in mind than just a 32-bit pointer for constant


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

https://reviews.llvm.org/D58957





More information about the llvm-commits mailing list