JonChesterfield accepted this revision. JonChesterfield added a comment. This revision is now accepted and ready to land.
I think this is reasonable. It's a lot of boilerplate to put the interception shim in the right place, but we do want a specific point to inject offloading functionality and this is guarded by OPT_fopenmp_new_driver so should be safe. It'll be easy to adjust later if the patches that build on it end up needing different behaviour. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D116544/new/ https://reviews.llvm.org/D116544 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits