This patch builds on the change in D117634 that expanded the short
triples when passed in by the user. This patch adds the same
functionality for the -Xopenmp-target= flag. Previously it was
unintuitive that passing `-fopenmp-targets=nvptx64
-Xopenmp-target=nvptx64 <arg>` would not forward the arg because the
triples did not match on account of nvptx64 being expanded to
nvptx64-nvidia-cuda.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Do we have this same expansion logic in two places now? If so, probably want to factor it out to a function