[llvm] [Matrix][InstCombine] Collapse inverse Transposes (PR #224172)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 23:55:40 PDT 2026
================
@@ -3174,6 +3174,16 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
break;
}
+ case Intrinsic::matrix_transpose: {
+ Value *Matrix;
+ ConstantInt *Rows = cast<ConstantInt>(II->getArgOperand(1));
+ ConstantInt *Columns = cast<ConstantInt>(II->getArgOperand(2));
----------------
nikic wrote:
No need to cast these to ConstantInt really...
https://github.com/llvm/llvm-project/pull/224172
More information about the llvm-commits
mailing list