[all-commits] [llvm/llvm-project] d3d4d9: [clang][NFC] GetOrCreateLLVMGlobal takes LangAS

Andy Wingo via All-commits all-commits at lists.llvm.org
Mon Aug 23 06:04:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3d4d98576f4f9b21579fa65630f5355dd9d1234
      https://github.com/llvm/llvm-project/commit/d3d4d98576f4f9b21579fa65630f5355dd9d1234
  Author: Andy Wingo <wingo at igalia.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h

  Log Message:
  -----------
  [clang][NFC] GetOrCreateLLVMGlobal takes LangAS

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.

Differential Revision: https://reviews.llvm.org/D108445




More information about the All-commits mailing list