[PATCH] D46475: [HIP] Set proper triple and offload kind for the toolchain
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 4 21:03:33 PDT 2018
rjmccall added inline comments.
================
Comment at: lib/Driver/Driver.cpp:554
+ }) ||
+ IsHIP) {
const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>();
----------------
It seems to me that it wouldn't be too hard to do your TODO here; it's basically just checking for HIP (and remembering that you saw it) in the any_of function, right?
https://reviews.llvm.org/D46475
More information about the cfe-commits
mailing list