[PATCH] D29658: [OpenMP] Customize CUDA-based tool chain selection
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 20 12:41:40 PDT 2017
ABataev added a comment.
Tests?
================
Comment at: lib/Driver/Driver.cpp:556
else {
- const ToolChain &TC = getToolChain(C.getInputArgs(), TT);
- C.addOffloadDeviceToolChain(&TC, Action::OFK_OpenMP);
+ const ToolChain *TC = nullptr;
+ // CUDA toolchains have to be selected differently. They pair host
----------------
Seems to me you're not using this initial value, so it is better to leave this variable uninitialized
Repository:
rL LLVM
https://reviews.llvm.org/D29658
More information about the cfe-commits
mailing list