[all-commits] [llvm/llvm-project] f10153: [Matrix] Handle integer types when distributing tr...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Apr 21 08:35:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f10153fe91508966aef062ba062271631f2c0f88
https://github.com/llvm/llvm-project/commit/f10153fe91508966aef062ba062271631f2c0f88
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-04-21 (Fri, 21 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/test/Transforms/LowerMatrixIntrinsics/after-transpose-opts.ll
Log Message:
-----------
[Matrix] Handle integer types when distributing transposes across adds.
The current code did not properly account for integer matrixes. Check
if the operands are floating point or integer matrixes and use FAdd/Add
accordingly.
This is already done for other cases, like multiplies.
Fixes #62281.
More information about the All-commits
mailing list