[all-commits] [llvm/llvm-project] fa9dd4: [opencl] Fix address space deduction on array vari...

darkbuck via All-commits all-commits at lists.llvm.org
Wed Dec 4 06:38:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fa9dd410a9a9aa65ce6731cbe1ee12c5941eb3e8
      https://github.com/llvm/llvm-project/commit/fa9dd410a9a9aa65ce6731cbe1ee12c5941eb3e8
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaOpenCL/address-spaces.cl

  Log Message:
  -----------
  [opencl] Fix address space deduction on array variables.

Summary:

- The deduced address space needs applying to its element type as well.

Reviewers: Anastasia

Subscribers: yaxunl, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list