diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-03-22 22:32:22 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-03-22 22:32:22 +0000 |
commit | 7498cd61fb7930a64a0ed4dae8703b49ae0500ff (patch) | |
tree | 3f7674c022831165f6faf315151a7bf5831fb58d /llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll | |
parent | eb685e5f27f9dcee0713523b417c50af95f492da (diff) | |
download | bcm5719-llvm-7498cd61fb7930a64a0ed4dae8703b49ae0500ff.tar.gz bcm5719-llvm-7498cd61fb7930a64a0ed4dae8703b49ae0500ff.zip |
[AMDGPU] Restructure code object metadata creation
- Rename runtime metadata -> code object metadata
- Make metadata not flow
- Switch enums to use ScalarEnumerationTraits
- Cleanup and move AMDGPUCodeObjectMetadata.h to AMDGPU/MCTargetDesc
- Introduce in-memory representation for attributes
- Code object metadata streamer
- Create metadata for isa and printf during EmitStartOfAsmFile
- Create metadata for kernel during EmitFunctionBodyStart
- Finalize and emit metadata to .note during EmitEndOfAsmFile
- Other minor improvements/bug fixes
Differential Revision: https://reviews.llvm.org/D29948
llvm-svn: 298552
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll b/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll deleted file mode 100644 index 21cd3f05146..00000000000 --- a/llvm/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll +++ /dev/null @@ -1,7 +0,0 @@ -; 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, 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 = !{} |