llvm.org GIT mirror llvm / release_90 test / CodeGen / AMDGPU / hsa-metadata-invalid-ocl-version-1.ll
release_90

Tree @release_90 (Download .tar.gz)

hsa-metadata-invalid-ocl-version-1.ll @release_90raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc -mtriple=amdgcn-amd-amdhsa -filetype=obj -o - < %s | llvm-readelf --notes | FileCheck %s

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

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

!opencl.ocl.version = !{}