[PATCH] D150998: [OpenMP] Fix using the target ID when using the new driver

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 7 08:16:16 PDT 2023


jhuber6 added a comment.

Can we use this approach for now and land this? It makes the "new driver" less broken than it currently is as it supports target ID compilation in the general term. Fixing the merging rules will be a rather large overhaul so I'd like this to work in the meantime.

This patch allows `--offload-arch=gfx90a:xnack+` to work. It does not fix if the user links in a library that has `--offload-arch=gfx90a:xnack-` as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150998/new/

https://reviews.llvm.org/D150998



More information about the cfe-commits mailing list