[PATCH] D112466: [NVPTX] Drop memory references of LDG/LDU

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 12:12:27 PST 2021


asavonic added a comment.

> It seems that pointsToConstantMemory is not implemented for NVPTX, so we'll have fix that.

This is a function of AliasAnalysis and if I understand correctly there is no NVPTX-specific implementation of AA.
AMDGPU implementation has a set of rules based on pointer address spaces (e.g. pointers in global and private AS do not alias).
Does it make sense to add similar logic for NVPTX?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112466



More information about the llvm-commits mailing list