[SPIR-V] Fix OpCooperativeMatrixLengthKHR operand type (#189630)
related to #188703
This commit is contained in:
parent
33fc8fca62
commit
0ef10d62d7
@ -933,7 +933,7 @@ def OpCooperativeMatrixStoreKHR: Op<4458, (outs),
|
||||
def OpCooperativeMatrixMulAddKHR: Op<4459, (outs ID:$res),
|
||||
(ins TYPE:$type, ID:$A, ID:$B, ID:$C, variable_ops),
|
||||
"$res = OpCooperativeMatrixMulAddKHR $type $A $B $C">;
|
||||
def OpCooperativeMatrixLengthKHR: Op<4460, (outs ID:$res), (ins TYPE:$type, ID:$coop_matr_type),
|
||||
def OpCooperativeMatrixLengthKHR: Op<4460, (outs ID:$res), (ins TYPE:$type, TYPE:$coop_matr_type),
|
||||
"$res = OpCooperativeMatrixLengthKHR $type $coop_matr_type">;
|
||||
|
||||
// SPV_INTEL_joint_matrix
|
||||
|
||||
@ -1,10 +1,7 @@
|
||||
; RUN: not llc -O0 -mtriple=spirv64-unknown-unknown %s -o %t.spvt 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
|
||||
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_cooperative_matrix %s -o - | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_cooperative_matrix %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_cooperative_matrix %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; TODO: This test currently fails with LLVM_ENABLE_EXPENSIVE_CHECKS enabled
|
||||
; XFAIL: expensive_checks
|
||||
|
||||
; CHECK-ERROR: LLVM ERROR: OpTypeCooperativeMatrixKHR type requires the following SPIR-V extension: SPV_KHR_cooperative_matrix
|
||||
|
||||
; CHECK: OpCapability CooperativeMatrixKHR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user