[PATCH] D44985: Remove initializer for CUDA shared varirable

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 28 11:33:27 PDT 2018


tra added inline comments.


================
Comment at: test/CodeGenCUDA/device-var-init.cu:121
 __device__ void df() {
+  // AMDGCN:  %[[ec:.*]] = addrspacecast %struct.EC addrspace(5)* %ec to %struct.EC*
+  // AMDGCN:  %[[ed:.*]] = addrspacecast %struct.ED addrspace(5)* %ed to %struct.ED*
----------------
Perhaps it would make sense to capture there names for NVPTX as well and avoid duplicating all the checks below.


https://reviews.llvm.org/D44985





More information about the cfe-commits mailing list