[PATCH] D24813: Driver: Add a test for triple with opencl environment
Tom Stellard via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 13:22:30 PDT 2016
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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24813.72100.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160921/650afd08/attachment.bin>
More information about the cfe-commits
mailing list