llvm.org GIT mirror llvm / 75c4f68 test / CodeGen / AMDGPU / hsa-metadata-invalid-ocl-version-2.ll
75c4f68

Tree @75c4f68 (Download .tar.gz)

hsa-metadata-invalid-ocl-version-2.ll @75c4f68raw · history · blame

; RUN: llc -mtriple=amdgcn-amd-amdhsa -filetype=obj -o - < %s | llvm-readobj -elf-output-style=GNU -notes | FileCheck %s

; Make sure llc does not crash for invalid opencl version metadata.

; CHECK: ---
; CHECK: Version: [ 1, 0 ]
; CHECK: ...

!opencl.ocl.version = !{!0}
!0 = !{}