llvm-project/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-meta...

9 lines
243 B
LLVM

; 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 = !{}