Fznamznon added a comment. The tests are failing because calling function with unsupported type in arguments/return value is diagnosed as well, i.e. :
double math(float f, double d, long double ld) { ... } // `ld` is not used inside the `math` function #pragma omp target map(r) { r += math(f, d, ld); } // error: 'math' requires 128 bit size 'long double' type support, but device 'nvptx64-nvidia-cuda' does not support it Should we diagnose calls to such functions even if those arguments/return value aren't used? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74387/new/ https://reviews.llvm.org/D74387 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits