summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-02-08 14:05:23 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-02-08 14:05:23 +0000
commit9f89ede107ccf87133d508d86eaee59c0517dda7 (patch)
treec273c1e9df4933f13f83284cdae250adb244ce37 /llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll
parent79add417b44a5e793adf1375e9968ded2972b028 (diff)
downloadbcm5719-llvm-9f89ede107ccf87133d508d86eaee59c0517dda7.tar.gz
bcm5719-llvm-9f89ede107ccf87133d508d86eaee59c0517dda7.zip
[AMDGPU] Add target information that is required by tools to metadata
Differential Revision: https://reviews.llvm.org/D28760#fb670e28 llvm-svn: 294449
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll b/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll
index 1f5e8be531d..21cd3f05146 100644
--- a/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll
+++ b/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll
@@ -1,7 +1,7 @@
; RUN: llc -mtriple=amdgcn--amdhsa -filetype=obj -o - < %s | llvm-readobj -amdgpu-runtime-metadata | FileCheck %s
; check llc does not crash for invalid opencl version metadata
-; CHECK: { amd.MDVersion: [ 2, 0 ] }
+; CHECK: { amd.MDVersion: [ 2, 1 ], amd.IsaInfo: { amd.IsaInfoWavefrontSize: 64, amd.IsaInfoLocalMemorySize: 65536, amd.IsaInfoEUsPerCU: 4, amd.IsaInfoMaxWavesPerEU: 10, amd.IsaInfoMaxFlatWorkGroupSize: 2048, amd.IsaInfoSGPRAllocGranule: 8, amd.IsaInfoTotalNumSGPRs: 512, amd.IsaInfoAddressableNumSGPRs: 104, amd.IsaInfoVGPRAllocGranule: 4, amd.IsaInfoTotalNumVGPRs: 256, amd.IsaInfoAddressableNumVGPRs: 256 } }
!opencl.ocl.version = !{!0}
!0 = !{}
OpenPOWER on IntegriCloud