[PATCH] D19346: [CUDA] Copy host builtin types to NVPTXTargetInfo.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 28 14:57:06 PDT 2016
tra added inline comments.
================
Comment at: lib/Basic/Targets.cpp:1642
@@ +1641,3 @@
+
+ std::unique_ptr<TargetInfo> HostTarget(
+ AllocateTarget(llvm::Triple(Opts.HostTriple), Opts));
----------------
You may want to make sure we don't recurse here if someone specifies host triple to be one of NVPTX variants.
http://reviews.llvm.org/D19346
More information about the cfe-commits
mailing list