[PATCH] D115661: [clang][amdgpu] - Choose when to promote VarDecl to address space 4.

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 13 12:20:27 PST 2021


arsenm added a comment.

In D115661#3190041 <https://reviews.llvm.org/D115661#3190041>, @arsenm wrote:

> There's no real advantage to using addrspace(4) at all

There are a few places where it's used as an optimization hint / as a crutch where we don't have a proper analysis. Fundamentally I would like to eliminate addrspace(4) eventually


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115661



More information about the cfe-commits mailing list