llvm-project/mlir
Amy Zhuang a8b7e56f65 [mlir] Set insertion point of vector constant to the top of the vectorized loop body
When we vectorize a scalar constant, the vector constant is inserted before its
first user if the scalar constant is defined outside the loops to be vectorized.
It is possible that the vector constant does not dominate all its users. To fix
the problem, we find the innermost vectorized loop that encloses that first user
and insert the vector constant at the top of the loop body.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D106609
2021-07-29 15:42:23 -07:00
..
cmake/modules [MLIR][Python] Use DEST_PREFIX when installing. 2021-07-29 22:15:22 +00:00
docs [mlir] Remove the default isDynamicallyLegal hook 2021-07-29 11:00:57 +02:00
examples [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
include [mlir][tosa] Fix tosa.reshape failures due to implicit broadcasting 2021-07-29 15:21:57 -07:00
lib [mlir] Set insertion point of vector constant to the top of the vectorized loop body 2021-07-29 15:42:23 -07:00
python [MLIR][python] Export CAPI headers. 2021-07-29 19:06:32 +00:00
test [mlir] Set insertion point of vector constant to the top of the vectorized loop body 2021-07-29 15:42:23 -07:00
tools [mlir] Fix CMake option for enabling SPIR-V CPU runner 2021-07-29 16:34:09 -04:00
unittests [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
utils [vscode-mlir] Add support for restarting the server on setting/server changes 2021-06-29 00:08:44 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt [MLIR] Drop old cmake var names 2021-05-24 15:30:01 +05:30
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.