diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-01-28 13:28:28 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-01-28 18:22:17 -0500 |
commit | 24f88f57de588817bd21e799e2ac1069c025674c (patch) | |
tree | 7d0b4a83b0c77d38bd367a906ad08bb6f4aa1683 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | fad7e491a0770ac4336934030ac67d77e7af5520 (diff) | |
download | llvm-24f88f57de588817bd21e799e2ac1069c025674c.zip llvm-24f88f57de588817bd21e799e2ac1069c025674c.tar.gz llvm-24f88f57de588817bd21e799e2ac1069c025674c.tar.bz2 |
[OpenMP] Accept shortened triples for -Xopenmp-target=
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`.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D118495
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions