File tree Expand file tree Collapse file tree 5 files changed +27
-10
lines changed
llvm-spirv/test/extensions
INTEL/SPV_INTEL_joint_matrix
KHR/SPV_KHR_cooperative_matrix Expand file tree Collapse file tree 5 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 13
13
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
14
14
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
15
15
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
18
22
19
23
; CHECK-SPIRV-DAG: Capability JointMatrixINTEL
20
24
; CHECK-SPIRV-DAG: Extension "SPV_INTEL_joint_matrix"
Original file line number Diff line number Diff line change 12
12
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
13
13
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
14
14
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
17
20
18
21
; CHECK-SPIRV-DAG: Capability CooperativeMatrixKHR
19
22
; CHECK-SPIRV-DAG: Capability CooperativeMatrixInvocationInstructionsINTEL
Original file line number Diff line number Diff line change 13
13
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
14
14
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
15
15
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
18
22
19
23
; CHECK-SPIRV-DAG: TypeInt [[#SHORT:]] 16
20
24
; CHECK-SPIRV-DAG: TypeInt [[#INT:]] 32
Original file line number Diff line number Diff line change 13
13
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
14
14
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
15
15
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
+
18
23
19
24
; CHECK-SPIRV-DAG: TypeInt [[#INT:]] 32
20
25
; CHECK-SPIRV-DAG: TypeFloat [[#Half:]] 16
Original file line number Diff line number Diff line change 14
14
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
15
15
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
16
16
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
19
20
20
21
; CHECK-SPIRV-DAG: Capability CooperativeMatrixKHR
21
22
; CHECK-SPIRV-DAG: Extension "SPV_KHR_cooperative_matrix"
You can’t perform that action at this time.
0 commit comments