[PATCH] D133300: [InstCombine] Matrix multiplication negation optimisation
Zain Jaffal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 06:16:56 PDT 2022
zjaffal created this revision.
zjaffal added reviewers: spatel, fhahn, lebedev.ri, RKSimon, anemet, thegameg.
Herald added a subscriber: hiraditya.
Herald added a project: All.
zjaffal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If one of the operands in a matrix multiplication is negated we can optimise the equation by moving the negation to the smallest element of the operands or the result.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133300
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/matrix-multiplication-negation.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133300.457965.patch
Type: text/x-patch
Size: 5975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220905/afc2e090/attachment.bin>
More information about the llvm-commits
mailing list