[all-commits] [llvm/llvm-project] af6248: [OpenCL] Preserve addrspace in CGClass (PR43145)

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Thu Oct 17 07:11:34 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: af6248cbb9e70122359a12ff16541fe510ada600
      https://github.com/llvm/llvm-project/commit/af6248cbb9e70122359a12ff16541fe510ada600
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M clang/lib/CodeGen/CGClass.cpp
    M clang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl

  Log Message:
  -----------
  [OpenCL] Preserve addrspace in CGClass (PR43145)

PR43145 revealed two places where Clang was attempting to create a
bitcast without considering the address space of class types during
C++ class code generation.

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

llvm-svn: 375118




More information about the All-commits mailing list