[Matrix] Implement back-propagation of shape information.
authorFlorian Hahn <flo@fhahn.com>
Thu, 9 Jan 2020 09:47:26 +0000 (09:47 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 9 Jan 2020 09:48:07 +0000 (09:48 +0000)
commit459ad8e97e07c823181cd457f2c2ac08f3896e37
treef9be5c5243f294f741ebbd8db654e49d6093acd0
parent1cba2612399eaf5ad67f173ab69db0b1b0328fcb
[Matrix] Implement back-propagation of shape information.

This patch extends the shape propagation for matrix operations to also
propagate the shape of instructions to their operands.

Reviewers: anemet, Gerolf, reames, hfinkel, andrew.w.kaylor

Reviewed By: anemet

Differential Revision: https://reviews.llvm.org/D70899
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
llvm/test/Transforms/LowerMatrixIntrinsics/propagate-backward.ll [new file with mode: 0644]
llvm/test/Transforms/LowerMatrixIntrinsics/propagate-backwards-unsupported.ll [new file with mode: 0644]