[all-commits] [llvm/llvm-project] 642d2f: [OpenCL] Fix initialization of __constant construc...

Ole Strøhm via All-commits all-commits at lists.llvm.org
Tue May 18 03:07:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 642d2f000b26821010793ea1ea6a38a6695fc864
      https://github.com/llvm/llvm-project/commit/642d2f000b26821010793ea1ea6a38a6695fc864
  Author: Ole Strohm <olemarius.strohm at arm.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CodeGenOpenCLCXX/addrspace-constructors.clcpp
    A clang/test/SemaOpenCLCXX/addrspace-constructors.clcpp

  Log Message:
  -----------
  [OpenCL] Fix initialization of __constant constructors without arguments

This fixes the initialization of objects in the __constant
address space that occurs when declaring the object.

Fixes part of PR42566

Reviewed By: Anastasia

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




More information about the All-commits mailing list