[PATCH] D22523: [OpenCL] AMDGCN target will generate images in constant address space
Anastasia Stulova via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 20 07:52:40 PDT 2016
Anastasia accepted this revision.
Anastasia added a comment.
LGTM!
================
Comment at: lib/CodeGen/TargetInfo.cpp:6868
@@ +6867,3 @@
+unsigned AMDGPUTargetCodeGenInfo::getOpenCLImageAddrSpace(CodeGen::CodeGenModule &CGM) const {
+ return CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant);;
+}
----------------
can you remove one ;
Repository:
rL LLVM
https://reviews.llvm.org/D22523
More information about the cfe-commits
mailing list