llvm-project
a7d93653 - [Clang] Rework creating offloading toolchains (#125556)

Commit
72 days ago
[Clang] Rework creating offloading toolchains (#125556) Summary: This patch reworks how we create offloading toolchains. Previously we would handle this separately for all the different kinds. This patch instead changes this to use the target triple and the offloading kind to determine the proper toolchain. In the old case where the user only passes `--offload-arch` we instead infer the triple from the passed arguments. This is a pretty major overhaul but currently passes all the clang tests with only minor changes to error messages.
Author
Parents
Loading