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 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments