tstellarAMD created this revision.
tstellarAMD added a reviewer: Anastasia.
tstellarAMD added a subscriber: cfe-commits.
Herald added subscribers: yaxunl, nhaehnle, wdng.

https://reviews.llvm.org/D24813

Files:
  test/Driver/amdgpu-toolchain.c

Index: test/Driver/amdgpu-toolchain.c
===================================================================
--- test/Driver/amdgpu-toolchain.c
+++ test/Driver/amdgpu-toolchain.c
@@ -4,3 +4,6 @@
 
 // RUN: %clang -### -g -target amdgcn--amdhsa -mcpu=kaveri %s 2>&1 | FileCheck 
-check-prefix=DWARF_VER %s
 // DWARF_VER: "-dwarf-version=2"
+
+// RUN: %clang -### -target amdgcn--amdhsa-opencl %s 2>&1 | FileCheck 
--check-prefix=OPENCL-ENV %s
+// OPENCL-ENV: "-triple" "amdgcn--amdhsa-opencl"


Index: test/Driver/amdgpu-toolchain.c
===================================================================
--- test/Driver/amdgpu-toolchain.c
+++ test/Driver/amdgpu-toolchain.c
@@ -4,3 +4,6 @@
 
 // RUN: %clang -### -g -target amdgcn--amdhsa -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
 // DWARF_VER: "-dwarf-version=2"
+
+// RUN: %clang -### -target amdgcn--amdhsa-opencl %s 2>&1 | FileCheck --check-prefix=OPENCL-ENV %s
+// OPENCL-ENV: "-triple" "amdgcn--amdhsa-opencl"
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to