[all-commits] [llvm/llvm-project] 0c06a3: [CUDA, clang-cl] Filter out unsupported arguments f...
Artem Belevich via All-commits
all-commits at lists.llvm.org
Wed Mar 11 13:49:30 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0c06a389e5937895579effd5e608c79bc6332e53
https://github.com/llvm/llvm-project/commit/0c06a389e5937895579effd5e608c79bc6332e53
Author: Artem Belevich <tra at google.com>
Date: 2020-03-11 (Wed, 11 Mar 2020)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/Driver/cl-options.cu
Log Message:
-----------
[CUDA,clang-cl] Filter out unsupported arguments for device-side compilation.
Device-side compilation does not support some features and we need to
filter them out when command line options enable them for the host.
We're already doing this in various places in the regular clang driver,
but clang-cl mode constructs cc1 options independently and needs to
implement the filtering, too.
Differential Revision: https://reviews.llvm.org/D75310
More information about the All-commits
mailing list