[PATCH] D108445: [clang][NFC] GetOrCreateLLVMGlobal takes LangAS

Andy Wingo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 19 23:11:52 PDT 2021


wingo created this revision.
wingo requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Pass a LangAS instead of a target address space to
GetOrCreateLLVMGlobal, to remove a place where the frontend assumes that
target address space 0 is special.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108445

Files:
  clang/lib/CodeGen/CGBlocks.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108445.367719.patch
Type: text/x-patch
Size: 7238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210820/9b004b02/attachment-0001.bin>


More information about the cfe-commits mailing list