Mercurial > hg > CbC > CbC_llvm
annotate llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1-v3.ll @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 2e18cbf3894f |
rev | line source |
---|---|
150 | 1 ; RUN: llc -mattr=+code-object-v3 -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: amdhsa.version: | |
7 ; CHECK-NEXT: - 1 | |
8 ; CHECK-NEXT: - 0 | |
9 ; CHECK: ... | |
10 | |
11 !opencl.ocl.version = !{} |