[PATCH] D77129: [Verifier] Verify matrix dimensions operands match vector size.
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 02:32:28 PDT 2020
SjoerdMeijer added inline comments.
================
Comment at: llvm/lib/IR/Verifier.cpp:4805
+ NumColumns = cast<ConstantInt>(Call.getArgOperand(4));
+ TypeToCheck = cast<VectorType>(Call.getType());
+ break;
----------------
Quick query on this and the semantics:
declare vectorty @llvm.matrix.multiply.*(vectorty %A, vectorty %B, i32 <OuterRows>, i32 <Inner>, i32 <OuterColumns>)
do we expect the element types of vectors %A and %B to be same, and do we need to check this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77129/new/
https://reviews.llvm.org/D77129
More information about the llvm-commits
mailing list