Skip to content

[SPIR-V] Mark currently failing tests as XFAIL #73858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/EnqueueEmptyKernel.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

;; This test checks that Invoke parameter of OpEnueueKernel instruction meet the
;; following specification requirements in case of enqueueing empty block:
;; "Invoke must be an OpFunction whose OpTypeFunction operand has:
Expand Down
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/half_no_extension.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

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

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

; CHECK-SPIRV: OpCapability Float16Buffer
; CHECK-SPIRV-NOT: OpCapability Float16

Expand Down
5 changes: 4 additions & 1 deletion llvm/test/CodeGen/SPIRV/linked-list.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
; RUN: llc -O0 -opaque-pointers=0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

%struct.Node = type { %struct.Node.0 addrspace(1)* }
; CHECK: %[[#]] = OpTypeOpaque "struct.Node.0"
Expand Down
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/opencl/basic/vstore_private.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

; CHECK: %[[#i16_ty:]] = OpTypeInt 16 0
; CHECK: %[[#v4xi16_ty:]] = OpTypeVector %[[#i16_ty]] 4
; CHECK: %[[#pv4xi16_ty:]] = OpTypePointer Function %[[#v4xi16_ty]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

; CHECK: %[[#bool:]] = OpTypeBool
; CHECK: %[[#true:]] = OpConstantTrue %[[#bool]]
; CHECK: OpBranchConditional %[[#true]]
Expand Down
5 changes: 4 additions & 1 deletion llvm/test/CodeGen/SPIRV/pstruct.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
; RUN: llc -O0 -opaque-pointers=0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

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

Expand Down
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

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

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

; CHECK-SPIRV-DAG: %[[#LEN2_ID:]] = OpConstant %[[#]] 2
; CHECK-SPIRV-DAG: %[[#LEN3_ID:]] = OpConstant %[[#]] 3
; CHECK-SPIRV-DAG: %[[#ARRAY_T2:]] = OpTypeArray %[[#]] %[[#LEN2_ID]]
Expand Down
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV1_4

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

;; TODO: We cannot check SPIR_V 1.1 and 1.4 simultaneously, implement additional
;; run with CHECK-SPIRV1_1.

Expand Down
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

; CHECK-SPIRV: OpEntryPoint Kernel %[[#BlockKer1:]] "__device_side_enqueue_block_invoke_kernel"
; CHECK-SPIRV: OpEntryPoint Kernel %[[#BlockKer2:]] "__device_side_enqueue_block_invoke_2_kernel"
; CHECK-SPIRV: OpEntryPoint Kernel %[[#BlockKer3:]] "__device_side_enqueue_block_invoke_3_kernel"
Expand Down
5 changes: 4 additions & 1 deletion llvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
; RUN: llc -O0 -opaque-pointers=0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

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

Expand Down
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SPIRV/transcoding/global_block.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV1_4

; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *

;; There are no blocks in SPIR-V. Therefore they are translated into regular
;; functions. An LLVM module which uses blocks, also contains some auxiliary
;; block-specific instructions, which are redundant in SPIR-V and should be
Expand Down