[PATCH] D28814: [OpenCL] Add missing address spaces in IR generation of Blocks

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 26 05:13:22 PST 2017


Anastasia marked 2 inline comments as done.
Anastasia added inline comments.


================
Comment at: test/CodeGenOpenCL/cl20-device-side-enqueue.cl:3
 // RUN: %clang_cc1 %s -cl-std=CL2.0 -ffake-address-space-map -O0 -emit-llvm -o - -triple "spir64-unknown-unknown" | FileCheck %s --check-prefix=COMMON --check-prefix=B64
 
 typedef void (^bl_t)(local void *);
----------------
yaxunl wrote:
> Can we add a run line for triple amdgcn-amd-amdhsa-opencl to make sure the null pointer is generated correctly?
I added a new test (above). This one gets too complicated!


https://reviews.llvm.org/D28814





More information about the cfe-commits mailing list