[PATCH] D71904: [mlir] GPU: introduce utilities for promotion to workgroup memory
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 11:31:13 PST 2020
ftynse marked 2 inline comments as done.
ftynse added inline comments.
================
Comment at: mlir/lib/IR/Block.cpp:192
+ auto arg = BlockArgument::create(type, this);
+ arguments.insert(std::next(arguments.begin(), distance), arg);
+ return arg;
----------------
rriddle wrote:
> Why can you not use it directly?
Use what? `args_iterator` and `arguments.begin()` iterate through different things.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71904/new/
https://reviews.llvm.org/D71904
More information about the llvm-commits
mailing list