[PATCH] D117634: [OpenMP] Expand short verisions of OpenMP offloading triples
Jon Chesterfield via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 19 12:26:18 PST 2022
JonChesterfield accepted this revision.
JonChesterfield added a comment.
This revision is now accepted and ready to land.
Comment at: clang/lib/Driver/Driver.cpp:778
+ // We want to normalize the shortened versions of triples passed in to
+ // the values used for the bitcode libraries.
+ if (TT.getVendor() == llvm::Triple::UnknownVendor ||
Might be worth mentioning in the comment that this is essentially a user convenience feature. We're not so much normalising, as treating fopenmp-target=nvtpx64 as an abbreviation for nvptx64-nvidia-cuda
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits