diff options
author | Zain Jaffal <z_jaffal@apple.com> | 2022-09-20 19:45:02 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-09-20 19:50:39 +0100 |
commit | 68cc35d52cff2d8345c6dffbed0d1b36b20f824f (patch) | |
tree | b6273e9423354cb86bb38935c4e25844e47ff309 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 28e03692aef8842e6c1d8f06647cb9a4b88b69a7 (diff) | |
download | llvm-68cc35d52cff2d8345c6dffbed0d1b36b20f824f.zip llvm-68cc35d52cff2d8345c6dffbed0d1b36b20f824f.tar.gz llvm-68cc35d52cff2d8345c6dffbed0d1b36b20f824f.tar.bz2 |
[InstCombine] Matrix multiplication negation optimisation
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.
Reviewed By: spatel, fhahn
Differential Revision: https://reviews.llvm.org/D133300
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions