[PATCH] D133300: [InstCombine] Matrix multiplication negation optimisation

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 08:00:39 PDT 2022


zjaffal updated this revision to Diff 460765.
zjaffal added a comment.

Add condition to only optimize if the negated operand has one use


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133300/new/

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.460765.patch
Type: text/x-patch
Size: 12046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/3c32ea53/attachment.bin>


More information about the llvm-commits mailing list