[all-commits] [llvm/llvm-project] 54c47f: [CUDA] Allow using -o with -fsyntax-only
Artem Belevich via All-commits
all-commits at lists.llvm.org
Thu Sep 1 15:53:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54c47ff9398fbd5fa7e4120b3286adfb4f736ec8
https://github.com/llvm/llvm-project/commit/54c47ff9398fbd5fa7e4120b3286adfb4f736ec8
Author: Artem Belevich <tra at google.com>
Date: 2022-09-01 (Thu, 01 Sep 2022)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/cuda-bindings.cu
Log Message:
-----------
[CUDA] Allow using -o with -fsyntax-only
-fsyntax-only breaks down CUDA compilation pipeline and make it look like
multiple independent subcompilations and that trips the multiple arguments check
when -o is specified.
We do want to allow -fsyntax-only to be used with otherwise unmodified clang
options as it's commonly used by various tooling.
Differential Revision: https://reviews.llvm.org/D133133
More information about the All-commits
mailing list