================ @@ -0,0 +1,22 @@ +// RUN: %clang_cc1 -verify -fopenmp -x c++ -triple x86_64-unknown-linux -fopenmp-targets=spirv64-intel -emit-llvm-bc %s -o %t-host.bc +// RUN: %clang_cc1 -verify -fopenmp -x c++ -triple spirv64-intel -fopenmp-targets=spirv64-intel -emit-llvm %s -fopenmp-is-target-device -fopenmp-host-ir-file-path %t-host.bc -o - | FileCheck %s ---------------- sarnex wrote:
> Seems reasonable, I'm assuming the other targets have the same behavior as > before since we don't split on function AS. Right, for other targets default target AS and program AS are 0 so none of these addrspace changes have any effect > Is there really not another reduction test we can just slap spirv onto? Good point, I'm sure there is, let me take a look https://github.com/llvm/llvm-project/pull/162529 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
