1; RUN: llc -mtriple=amdgcn-amd-amdhsa --amdhsa-code-object-version=2 -filetype=obj -o - < %s | llvm-readelf --notes - | FileCheck %s 2 3; Make sure llc does not crash for invalid opencl version metadata. 4 5; CHECK: --- 6; CHECK: Version: [ 1, 0 ] 7; CHECK: ... 8 9!opencl.ocl.version = !{!0} 10!0 = !{} 11