[clang] [flang] [Flang][Driver] Introduce -fopenmp-targets offloading option (PR #100152)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 24 07:46:34 PDT 2024


jhuber6 wrote:

> I'm struggling to fix the buildbot issue triggered by the new test in omp-driver-offload-amdgpu.f90. It was originally in omp-driver-offload.f90, I only moved it to a new file hoping that adding a "REQUIRES: amdgpu-registered-target" would address it. It seems like it doesn't.
> 
> It fails with an exit code of 1, but with no output from FileCheck. I'm not able to reproduce this issue locally, as it passes as expected, so I'm not sure what the problem actually is. Does anyone have any pointers as to how to reproduce/resolve the issue?

Driver tests should rarely ever need registered target restrictions. That check just ensures that the backend is enabled, which isn't required to create LLVM-IR, only GCN.

https://github.com/llvm/llvm-project/pull/100152


More information about the cfe-commits mailing list