[all-commits] [llvm/llvm-project] 186709: [mlir] [VectorOps] Progressive lowering of vector....
Aart Bik via All-commits
all-commits at lists.llvm.org
Thu Apr 16 21:02:53 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 186709c6e0bd1025fb578e43911325530cb97f09
https://github.com/llvm/llvm-project/commit/186709c6e0bd1025fb578e43911325530cb97f09
Author: aartbik <ajcbik at google.com>
Date: 2020-04-16 (Thu, 16 Apr 2020)
Changed paths:
M mlir/include/mlir/Dialect/Vector/VectorOps.h
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Dialect/Vector/vector-contract-transforms.mlir
Log Message:
-----------
[mlir] [VectorOps] Progressive lowering of vector.broadcast
Summary:
Rather than having a full, recursive, lowering of vector.broadcast
to LLVM IR, it is much more elegant to have a progressive lowering
of each vector.broadcast into a lower dimensional vector.broadcast,
until only elementary vector operations remain. This results
in more elegant, step-wise code, that is easier to understand.
Also makes some optimizations in the generated code.
Reviewers: nicolasvasilache, mehdi_amini, andydavis1, grosul1
Reviewed By: nicolasvasilache
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78071
More information about the All-commits
mailing list