[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Artem Belevich via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. tra marked an inline comment as done. Closed by commit rG54c47ff9398f: [CUDA] Allow using -o with -fsyntax-only (authored by tra). Repository: rG LLVM Github Monorep

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added inline comments. Comment at: clang/test/Driver/cuda-bindings.cu:99 +// SYN-DAG: # "nvptx64-nvidia-cuda" - "clang", inputs: [{{.*}}], output: (nothing) // // Test two gpu architectures up to the assemble phase. tra wrote: > tra wrote: > > yaxunl w

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Artem Belevich via Phabricator via cfe-commits
tra marked an inline comment as done. tra added inline comments. Comment at: clang/test/Driver/cuda-bindings.cu:99 +// SYN-DAG: # "nvptx64-nvidia-cuda" - "clang", inputs: [{{.*}}], output: (nothing) // // Test two gpu architectures up to the assemble phase. tr

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Artem Belevich via Phabricator via cfe-commits
tra updated this revision to Diff 457377. tra added a comment. Updated tests and addressed comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133133/new/ https://reviews.llvm.org/D133133 Files: clang/lib/Driver/Driver.cpp clang/test/Drive

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Artem Belevich via Phabricator via cfe-commits
tra added inline comments. Comment at: clang/test/Driver/cuda-bindings.cu:99 +// SYN-DAG: # "nvptx64-nvidia-cuda" - "clang", inputs: [{{.*}}], output: (nothing) // // Test two gpu architectures up to the assemble phase. yaxunl wrote: > should we check there is

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added inline comments. Comment at: clang/test/Driver/cuda-bindings.cu:99 +// SYN-DAG: # "nvptx64-nvidia-cuda" - "clang", inputs: [{{.*}}], output: (nothing) // // Test two gpu architectures up to the assemble phase. should we check there is no binding f

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 accepted this revision. jhuber6 added a comment. This revision is now accepted and ready to land. LG, thanks. Comment at: clang/lib/Driver/Driver.cpp:4555 else if (A->getKind() == Action::OffloadClass && - A->getType() == types::TY_Nothing) +

[PATCH] D133133: [CUDA] Allow using -o with -fsyntax-only

2022-09-01 Thread Artem Belevich via Phabricator via cfe-commits
tra created this revision. Herald added subscribers: mattd, carlosgalvezp, bixia, yaxunl. Herald added a project: All. tra updated this revision to Diff 457341. tra added a comment. tra updated this revision to Diff 457343. tra published this revision for review. tra added reviewers: jhuber6, yaxun