llvm-project
455cedc8 - [Clang] Make `-Xarch_` handling generic for all toolchains (#125421)

Commit
236 days ago
[Clang] Make `-Xarch_` handling generic for all toolchains (#125421) Summary: Currently, `-Xarch_` is handled specially between different toolchains, (i.e. Mach-O). This patch unifies the handling so that it can be used generically. The main benefit here is that we now have a more generic version of `-Xopenmp-target=`, which should probably just be deprecated. Additionally, it allows us to specially pass arguments to different architectures for offloading. This patch is done in preparation for making selecting offloading toolchains more generic, this will be helpful while people are moving toward compile jobs that include multiple toolchains (SPIR-V, AMDGCN, NVPTX).
Author
Parents
Loading