yaxunl added inline comments. ================ Comment at: test/CodeGenOpenCL/opencl_types.cl:1 @@ -1,1 +1,2 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - -O0 | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -o - -O0 | FileCheck %s --check-prefix=CHECK-NORMAL +// RUN: %clang_cc1 %s -triple "amdgcn--amdhsa" -emit-llvm -o - -O0 | FileCheck %s --check-prefix=CHECK-AMDGCN ---------------- I think we should add -triple spir-unknown-unknown for this command, otherwise by default all address spaces are mapped to 0.
Repository: rL LLVM https://reviews.llvm.org/D22523 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits