rprichard added a comment.

I don't expect this change to affect the compiler behavior by itself -- is 
there a particular test that should be written?

The code that I'm moving into NVPTXTargetInfo::setAuxTarget is already tested 
via clang/test/Preprocessor/cuda-types.cu.

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


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