rprichard added a comment.

In D127267#3568388 <https://reviews.llvm.org/D127267#3568388>, @rprichard wrote:

> Aside: There are only two calls to AllocateTarget: one in 
> TargetInfo::CreateTargetInfo and one in NVPTXTargetInfo::NVPTXTargetInfo. 
> This change removes NVPTXTargetInfo's call.

There are various places that call clang::TargetInfo::CreateTargetInfo, though, 
so if a call site had been providing a clang::TargetOptions with a set 
HostTriple field, but not calling clang::TargetInfo::setAuxTarget, then maybe 
the NVPTXTargetInfo behavior could change. I'll audit the calls of 
clang::TargetInfo::CreateTargetInfo.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127267/new/

https://reviews.llvm.org/D127267

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to