mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
eadde56dfb
Differential Revision: https://reviews.llvm.org/D38752 llvm-svn: 315819
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}
|