summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineRegisterInfo.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2016-07-19 19:39:45 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2016-07-19 19:39:45 +0000
commitf2e8ab25666b2300a228997d6cbac54bff30fc44 (patch)
tree5d0205b47f33844ade2cb20319e955d8ad9f8492 /llvm/lib/CodeGen/MachineRegisterInfo.cpp
parent633d749da70924c774e1c4357e02d0e65cf95f3a (diff)
downloadbcm5719-llvm-f2e8ab25666b2300a228997d6cbac54bff30fc44.tar.gz
bcm5719-llvm-f2e8ab25666b2300a228997d6cbac54bff30fc44.zip
[OpenCL] Fixes bug of missing OCL version metadata on the AMDGCN target
Added the opencl.ocl.version metadata to be emitted with amdgcn. Created a static function emitOCLVerMD which is shared between triple spir and target amdgcn. Also added new testcases to existing test file, spir_version.cl inside test/CodeGenOpenCL. Patch by Aaron En Ye Shi. Differential Revision: https://reviews.llvm.org/D22424 llvm-svn: 276010
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud