[mlir] [VectorOps,LinAlg] Remove direct LLVM lowering for vector.broadcast
authoraartbik <ajcbik@google.com>
Fri, 13 Mar 2020 16:35:29 +0000 (09:35 -0700)
committeraartbik <ajcbik@google.com>
Fri, 13 Mar 2020 18:42:51 +0000 (11:42 -0700)
commita213ece30bdb8b604ea0933edbd9c2ca77b9631f
treed5c2dade503ea290f3e0b084d86abbb993d90434
parent89b19e8959510cd52094394fb1e46e37bb5a2c09
[mlir] [VectorOps,LinAlg] Remove direct LLVM lowering for vector.broadcast

Summary:
The direct lowering of vector.broadcast into LLVM has been replaced by
progressive lowering into elementary vector ops. This also required a
small refactoring of a llvm.mlir test that used a direct vector.broadcast
operator (just to define a matmul).

Reviewers: nicolasvasilache, andydavis1, rriddle

Reviewed By: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76143
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/test/Dialect/Linalg/llvm.mlir