See https://bugs.llvm.org//show_bug.cgi?id=31610 --- a/test/CodeGen/AMDGPU/invalid-opencl-version-metadata1.ll +++ b/test/CodeGen/AMDGPU/invalid-opencl-version-metadata1.ll @@ -2,5 +2,6 @@ ; check llc does not crash for invalid opencl version metadata ; CHECK: { amd.MDVersion: [ 2, 0 ] } +; XFAIL: * !opencl.ocl.version = !{} --- a/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll +++ b/test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll @@ -2,6 +2,7 @@ ; check llc does not crash for invalid opencl version metadata ; CHECK: { amd.MDVersion: [ 2, 0 ] } +; XFAIL: * !opencl.ocl.version = !{!0} !0 = !{} --- a/test/CodeGen/AMDGPU/invalid-opencl-version-metadata3.ll +++ b/test/CodeGen/AMDGPU/invalid-opencl-version-metadata3.ll @@ -2,6 +2,7 @@ ; check llc does not crash for invalid opencl version metadata ; CHECK: { amd.MDVersion: [ 2, 0 ] } +; XFAIL: * !opencl.ocl.version = !{!0} !0 = !{i32 1} --- a/test/CodeGen/AMDGPU/runtime-metadata.ll +++ b/test/CodeGen/AMDGPU/runtime-metadata.ll @@ -1,5 +1,6 @@ ; RUN: llc -mtriple=amdgcn--amdhsa -filetype=obj -o - < %s | llvm-readobj -amdgpu-runtime-metadata | FileCheck %s ; RUN: llc -mtriple=amdgcn--amdhsa -filetype=obj -amdgpu-dump-rtmd -amdgpu-check-rtmd-parser %s -o - 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=PARSER %s +; XFAIL: * %struct.A = type { i8, float } %opencl.image1d_t = type opaque