]> granicus.if.org Git - llvm/commit
Merging r276119:
authorHans Wennborg <hans@hanshq.net>
Thu, 28 Jul 2016 23:18:47 +0000 (23:18 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 28 Jul 2016 23:18:47 +0000 (23:18 +0000)
commit4444fc423b9f3c85c05ab90d18d34d2ef12abffd
tree777734acf2fb4a65a5436384a24ad8fea4bb279c
parent83c76e2427a852334afd0e9f709c4a5a4f6db01b
Merging r276119:
------------------------------------------------------------------------
r276119 | yaxunl | 2016-07-20 07:38:06 -0700 (Wed, 20 Jul 2016) | 3 lines

AMDGPU: Fix bug causing crash due to invalid opencl version metadata.

Differential Revision: https://reviews.llvm.org/D22526
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@277079 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
test/CodeGen/AMDGPU/invalid-opencl-version-metadata1.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/invalid-opencl-version-metadata3.ll [new file with mode: 0644]