Skip to content

Commit 73f8fbf

Browse files
committed
[SPIRV] Disable RUN lines for joint matrix failures
1 parent 39bf43b commit 73f8fbf

File tree

5 files changed

+27
-10
lines changed

5 files changed

+27
-10
lines changed

llvm-spirv/test/extensions/INTEL/SPV_INTEL_joint_matrix/array_of_matrices.ll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@
1313
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
1414
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
1515

16-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
17-
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
16+
; TODO: enable back once the reverse translation with untyped pointers is fixed
17+
; R/UN: llvm-spirv -r %t.spv --spirv-force-joint-matrix -o %t.rev.bc
18+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-GENERAL
19+
20+
; R/UN: llvm-spirv -r %t.spv -o %t.rev.bc
21+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-INTEL
1822

1923
; CHECK-SPIRV-DAG: Capability JointMatrixINTEL
2024
; CHECK-SPIRV-DAG: Extension "SPV_INTEL_joint_matrix"

llvm-spirv/test/extensions/INTEL/SPV_INTEL_joint_matrix/cooperative_matrix_apply.ll

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
1313
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
1414

15-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
16-
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
15+
; TODO: enable back once the reverse translation with untyped pointers is fixed
16+
; R/UN: llvm-spirv -r %t.spv -o %t.rev.bc --spirv-force-cooperative-matrix
17+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-MATRIX
18+
; R/UN: llvm-spirv -r %t.spv -o %t.rev.bc
19+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-GENERAL
1720

1821
; CHECK-SPIRV-DAG: Capability CooperativeMatrixKHR
1922
; CHECK-SPIRV-DAG: Capability CooperativeMatrixInvocationInstructionsINTEL

llvm-spirv/test/extensions/INTEL/SPV_INTEL_joint_matrix/joint_matrix_bfloat16.ll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@
1313
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
1414
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
1515

16-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
17-
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
16+
; TODO: enable back once the reverse translation with untyped pointers is fixed
17+
; R/UN: llvm-spirv -r %t.spv --spirv-force-joint-matrix -o %t.rev.bc
18+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-GENERAL
19+
20+
; R/UN: llvm-spirv -r %t.spv -o %t.rev.bc
21+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-INTEL
1822

1923
; CHECK-SPIRV-DAG: TypeInt [[#SHORT:]] 16
2024
; CHECK-SPIRV-DAG: TypeInt [[#INT:]] 32

llvm-spirv/test/extensions/INTEL/SPV_INTEL_joint_matrix/joint_matrix_half.ll

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@
1313
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
1414
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
1515

16-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
17-
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
16+
; TODO: enable back once the reverse translation with untyped pointers is fixed
17+
; R/UN: llvm-spirv -r %t.spv --spirv-force-joint-matrix -o %t.rev.bc
18+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-GENERAL
19+
20+
; R/UN: llvm-spirv -r %t.spv -o %t.rev.bc
21+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-INTEL
22+
1823

1924
; CHECK-SPIRV-DAG: TypeInt [[#INT:]] 32
2025
; CHECK-SPIRV-DAG: TypeFloat [[#Half:]] 16

llvm-spirv/test/extensions/KHR/SPV_KHR_cooperative_matrix/array_of_matrices.ll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
1515
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
1616

17-
; RUN: llvm-spirv -r --spirv-target-env=SPV-IR %t.spv -o %t.rev.bc
18-
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
17+
; TODO: enable back once the reverse translation with untyped pointers is fixed
18+
; R/UN: llvm-spirv -r --spirv-force-cooperative-matrix --spirv-target-env=SPV-IR %t.spv -o %t.rev.bc
19+
; R/UN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
1920

2021
; CHECK-SPIRV-DAG: Capability CooperativeMatrixKHR
2122
; CHECK-SPIRV-DAG: Extension "SPV_KHR_cooperative_matrix"

0 commit comments

Comments
 (0)