repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
AMDGPU
/
hsa-metadata-invalid-ocl-version-2.ll
blob
74a5413aa610e578ae65fee580eba6d52a757cb2
1
; RUN: llc -mtriple=amdgcn-amd-amdhsa -filetype=obj -o - < %s | llvm-readelf --notes | FileCheck %s
2
3
; Make sure llc does not crash for invalid opencl version metadata.
4
5
; CHECK: ---
6
; CHECK: Version: [ 1, 0 ]
7
; CHECK: ...
8
9
!opencl.ocl.version = !{!0}
10
!0 = !{}