64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
11 lines
287 B
LLVM
11 lines
287 B
LLVM
; RUN: llc -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: Version: [ 1, 0 ]
|
|
; CHECK: ...
|
|
|
|
!opencl.ocl.version = !{!0}
|
|
!0 = !{i32 1}
|