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-3.ll
blob
ca6a3d5d3264391edffe1251b36c5abc05d152da
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 = !{i32 1}