[all-commits] [llvm/llvm-project] 247e18: [mlir][Vector] Move temporary alloc to top of the ...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Fri Jun 5 05:46:12 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 247e185dd51261c8b8b7f572a3fa64c001e9d2d4
https://github.com/llvm/llvm-project/commit/247e185dd51261c8b8b7f572a3fa64c001e9d2d4
Author: Nicolas Vasilache <ntv at google.com>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
M mlir/test/Conversion/VectorToSCF/vector-to-loops.mlir
Log Message:
-----------
[mlir][Vector] Move temporary alloc to top of the function alloca when lowering vector_transfers
Recently introduced allocation hoisting is quite conservative on the cases when it triggers.
This revision makes it such that the allocations for vector transfer lowerings are hoisted
to the top of the function.
This should be revisited in the context of parallelism and is a temporary workaround.
Differential Revision: https://reviews.llvm.org/D81253
More information about the All-commits
mailing list