[OpenMP] Fix embedding offload code when there is no offloading toolchain
Summary: We use the `--offload-new-driver` option to enable offload code embedding. The check for when to do this was flawed and was enabling it too early in the case of OpenMP, causing a segfault when dereferencing the offloading toolchain.
Loading
Please sign in to comment