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

11 lines
289 B
LLVM

; RUN: llc -mtriple=amdgcn--amdhsa < %s | FileCheck %s
; check llc does not crash for invalid opencl version metadata
; CHECK: .section .note,#alloc
; CHECK-NEXT: .long 4
; CHECK-NEXT: .long {{.+}}
; CHECK-NEXT: .long 7
; CHECK-NEXT: .asciz "AMD"
!opencl.ocl.version = !{}