[PATCH] D33445: [AMDGPU] Do not require opencl triple environment for OpenCL
Tom Stellard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 23 08:49:55 PDT 2017
tstellar accepted this revision.
tstellar added a comment.
This revision is now accepted and ready to land.
Comment at: test/CodeGenOpenCL/amdgpu-alignment.cl:2
// REQUIRES: amdgpu-registered-target
-// RUN: %clang_cc1 -triple amdgcn-unknown-unknown-opencl -S -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
You might want to have two run lines for each test, one with no environment and one with the -opencl environment to make sure that doesn't break in the future. Otherwise, LGTM.
More information about the cfe-commits