llvm.org GIT mirror llvm / c95a737 test / CodeGen / AMDGPU / invalid-opencl-version-metadata2.ll
c95a737

Tree @c95a737 (Download .tar.gz)

invalid-opencl-version-metadata2.ll @c95a737raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc -mtriple=amdgcn--amdhsa < %s | FileCheck %s
; check llc does not crash for invalid opencl version metadata

; CHECK: .section        .AMDGPU.runtime_metadata
; CHECK-NEXT: .byte	1
; CHECK-NEXT: .short	256

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