[all-commits] [llvm/llvm-project] 35388d: [OpenCL] Fix address space for base method call (P...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Thu Nov 21 02:39:55 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 35388dcbbc4ce6ce7125f718b3050be33c339464
https://github.com/llvm/llvm-project/commit/35388dcbbc4ce6ce7125f718b3050be33c339464
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2019-11-21 (Thu, 21 Nov 2019)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl
Log Message:
-----------
[OpenCL] Fix address space for base method call (PR43145)
Clang was creating an UncheckedDerivedToBase ImplicitCastExpr that was
also casting between address spaces. Insert an ImplicitCastExpr node
for doing the address space conversion.
Differential Revision: https://reviews.llvm.org/D69810
More information about the All-commits
mailing list