mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
5f87057393
Differential Revision: https://reviews.llvm.org/D89076
11 lines
299 B
LLVM
11 lines
299 B
LLVM
; RUN: llc -mtriple=amdgcn-amd-amdhsa --amdhsa-code-object-version=2 -filetype=obj -o - < %s | llvm-readelf --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}
|