[PATCH] D29658: [OpenMP] Customize CUDA-based tool chain selection

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 02:13:39 PDT 2017


Hahnfeld accepted this revision.
Hahnfeld added a comment.
This revision is now accepted and ready to land.

LGTM with one small note



================
Comment at: lib/Driver/Driver.cpp:564
+              auto &CudaTC =
+                  ToolChains[TT.str() + "/" + HostTC->getTriple().normalize()];
+              if (!CudaTC)
----------------
The code above uses `HostTriple.str()`, maybe better align to this?


Repository:
  rL LLVM

https://reviews.llvm.org/D29658





More information about the cfe-commits mailing list