Files
clang-p2996/clang/lib/Driver/ToolChain.cpp
Joseph Huber eec516a095 [OpenMP] Make -Xarch_host and -Xarch_device work for OpenMP offloading
Clang currently supports the `-Xarch_host` and `-Xarch_device` variants
to handle passing arguments to only one part of the offloading
toolchain. This was previously only supported fully for HIP / CUDA This
patch simple updates the logic to make it work for any offloading kind.

Fixes #59799

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D141935
2023-01-17 12:38:56 -06:00

46 KiB