forked from OSchip/llvm-project
13 lines
339 B
LLVM
13 lines
339 B
LLVM
; RUN: llc -mattr=+code-object-v3 -mtriple=amdgcn-amd-amdhsa -filetype=obj -o - < %s | llvm-readobj -elf-output-style=GNU -notes | FileCheck %s
|
|
|
|
; Make sure llc does not crash for invalid opencl version metadata.
|
|
|
|
; CHECK: ---
|
|
; CHECK: amdhsa.version:
|
|
; CHECK-NEXT: - 1
|
|
; CHECK-NEXT: - 0
|
|
; CHECK: ...
|
|
|
|
!opencl.ocl.version = !{!0}
|
|
!0 = !{}
|