[PATCH] D33706: CodeGen: Cast temporary variable to proper address space

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 1 12:06:42 PDT 2017


yaxunl updated this revision to Diff 101070.
yaxunl marked 2 inline comments as done.
yaxunl retitled this revision from "[AMDGPU] Fix address space for global and temporary variables in C++" to "CodeGen: Cast temporary variable to proper address space".
yaxunl edited the summary of this revision.
yaxunl added a comment.

Keep changes for temporary variables only.


https://reviews.llvm.org/D33706

Files:
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/address-space.c
  test/CodeGen/default-address-space.c
  test/CodeGenCXX/amdgcn-automatic-variable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33706.101070.patch
Type: text/x-patch
Size: 13611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170601/986c71f0/attachment.bin>


More information about the cfe-commits mailing list