[all-commits] [llvm/llvm-project] e35511: [CUDA][HIP] Fix checking dependent initalizer
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Thu Feb 4 15:05:39 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e355110040d17dcbf0fcfcba386c4d96fe6fe7ec
https://github.com/llvm/llvm-project/commit/e355110040d17dcbf0fcfcba386c4d96fe6fe7ec
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2021-02-04 (Thu, 04 Feb 2021)
Changed paths:
M clang/lib/Sema/SemaCUDA.cpp
A clang/test/SemaCUDA/dependent-device-var.cu
Log Message:
-----------
[CUDA][HIP] Fix checking dependent initalizer
Defer constant checking of dependent initializer to template instantiation
since it cannot be done for dependent values.
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D95840
More information about the All-commits
mailing list