[PATCH] D73391: [mlir] Add primitive transform pattern to rewrite linalg.fill into vector.broadcast form.
Aart Bik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 24 17:12:47 PST 2020
aartbik added inline comments.
================
Comment at: mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp:210
+ LLVM_DEBUG(dbgs() << "\n[" DEBUG_TYPE
+ "]: Rewrite linalg.fillas vector.broadcast: "
+ << *op << ":\n");
----------------
fillas -> fill as
================
Comment at: mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp:212
+ << *op << ":\n");
+ // Vectorize fill as a vector.broadcast
+ auto fillOp = cast<linalg::FillOp>(op);
----------------
Period at end of comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73391/new/
https://reviews.llvm.org/D73391
More information about the llvm-commits
mailing list