Skip to content

Commit f8a21df

Browse files
authored
[SPIR-V] Mark currently failing tests as XFAIL (#73858)
These tests are currently failing and their fix is being tracked in Issue #60133. Marking them as XFAIL for now will get the test suite to a passing state so we can work on adding a GitHub action to automatically run these tests on a PR bot to help keep the tree green. Also removed the no-longer supported -opaque-pointers=0 flag from the couple tests where it was remaining.
1 parent c8f7285 commit f8a21df

File tree

11 files changed

+36
-3
lines changed

11 files changed

+36
-3
lines changed

llvm/test/CodeGen/SPIRV/EnqueueEmptyKernel.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
22

3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
5+
36
;; This test checks that Invoke parameter of OpEnueueKernel instruction meet the
47
;; following specification requirements in case of enqueueing empty block:
58
;; "Invoke must be an OpFunction whose OpTypeFunction operand has:

llvm/test/CodeGen/SPIRV/half_no_extension.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
99

10+
; TODO(#60133): Requires updates following opaque pointer migration.
11+
; XFAIL: *
12+
1013
; CHECK-SPIRV: OpCapability Float16Buffer
1114
; CHECK-SPIRV-NOT: OpCapability Float16
1215

llvm/test/CodeGen/SPIRV/linked-list.ll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
; RUN: llc -O0 -opaque-pointers=0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
1+
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
2+
3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
25

36
%struct.Node = type { %struct.Node.0 addrspace(1)* }
47
; CHECK: %[[#]] = OpTypeOpaque "struct.Node.0"

llvm/test/CodeGen/SPIRV/opencl/basic/vstore_private.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
22

3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
5+
36
; CHECK: %[[#i16_ty:]] = OpTypeInt 16 0
47
; CHECK: %[[#v4xi16_ty:]] = OpTypeVector %[[#i16_ty]] 4
58
; CHECK: %[[#pv4xi16_ty:]] = OpTypePointer Function %[[#v4xi16_ty]]

llvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
22

3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
5+
36
; CHECK: %[[#bool:]] = OpTypeBool
47
; CHECK: %[[#true:]] = OpConstantTrue %[[#bool]]
58
; CHECK: OpBranchConditional %[[#true]]

llvm/test/CodeGen/SPIRV/pstruct.ll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
; RUN: llc -O0 -opaque-pointers=0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
1+
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
2+
3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
25

36
%struct.ST = type { i32, i32, i32 }
47

llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
2222

23+
; TODO(#60133): Requires updates following opaque pointer migration.
24+
; XFAIL: *
25+
2326
; CHECK-SPIRV-DAG: %[[#LEN2_ID:]] = OpConstant %[[#]] 2
2427
; CHECK-SPIRV-DAG: %[[#LEN3_ID:]] = OpConstant %[[#]] 3
2528
; CHECK-SPIRV-DAG: %[[#ARRAY_T2:]] = OpTypeArray %[[#]] %[[#LEN2_ID]]

llvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV1_4
22

3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
5+
36
;; TODO: We cannot check SPIR_V 1.1 and 1.4 simultaneously, implement additional
47
;; run with CHECK-SPIRV1_1.
58

llvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
22

3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
5+
36
; CHECK-SPIRV: OpEntryPoint Kernel %[[#BlockKer1:]] "__device_side_enqueue_block_invoke_kernel"
47
; CHECK-SPIRV: OpEntryPoint Kernel %[[#BlockKer2:]] "__device_side_enqueue_block_invoke_2_kernel"
58
; CHECK-SPIRV: OpEntryPoint Kernel %[[#BlockKer3:]] "__device_side_enqueue_block_invoke_3_kernel"

llvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
; RUN: llc -O0 -opaque-pointers=0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
1+
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
2+
3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
25

36
;; Check 'LLVM ==> SPIR-V' conversion of extractvalue/insertvalue.
47

llvm/test/CodeGen/SPIRV/transcoding/global_block.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV1_4
22

3+
; TODO(#60133): Requires updates following opaque pointer migration.
4+
; XFAIL: *
5+
36
;; There are no blocks in SPIR-V. Therefore they are translated into regular
47
;; functions. An LLVM module which uses blocks, also contains some auxiliary
58
;; block-specific instructions, which are redundant in SPIR-V and should be

0 commit comments

Comments
 (0)