forked from OSchip/llvm-project
10 lines
271 B
LLVM
10 lines
271 B
LLVM
|
; RUN: llc -mtriple=amdgcn-amd-amdhsa -filetype=obj -o - < %s | llvm-readobj -amdgpu-code-object-metadata | FileCheck %s
|
||
|
|
||
|
; Make sure llc does not crash for invalid opencl version metadata.
|
||
|
|
||
|
; CHECK: ---
|
||
|
; CHECK: Version: [ 1, 0 ]
|
||
|
; CHECK: ...
|
||
|
|
||
|
!opencl.ocl.version = !{}
|