[mlir][linalg] Cast back to the original type after making linalg.generic outputs...
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 24 Feb 2022 12:34:04 +0000 (13:34 +0100)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 24 Feb 2022 12:35:54 +0000 (13:35 +0100)
commit92cf9f14814a5e8308c431095fb2205202445676
tree6473449f1a207f80f512c85c1f93088b7758cf30
parent67388b0013bfa736c012684f23774388dcc6c3c3
[mlir][linalg] Cast back to the original type after making linalg.generic outputs more static

This codepath was entirely untested.

Differential Revision: https://reviews.llvm.org/D120473
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/test/Dialect/Linalg/canonicalize.mlir