================ @@ -539,4 +539,25 @@ void no_dupes_since_last_device_type() { #pragma acc loop collapse(1) device_type(*) collapse(1) device_type(nvidia) collapse(2) for(unsigned i = 0; i < 5; ++i) for(unsigned j = 0; j < 5; ++j); + + // This one is ok, despite * being the 'all' value. +#pragma acc loop device_type(*) collapse(1) device_type(nvidia) collapse(2) ---------------- cor3ntin wrote:
Can you add a test with nvidia first and * after? https://github.com/llvm/llvm-project/pull/138196 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits