[PATCH] D78731: [MLIR] Replace splitBlock() with createBlock in GenericAtomicRMWOp lowering.
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 24 05:54:28 PDT 2020
ftynse accepted this revision.
ftynse added inline comments.
This revision is now accepted and ready to land.
================
Comment at: mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp:2865
+ auto *clone = rewriter.clone(*it, mapping);
+ mapping.map(it->getResults(), clone->getResults());
+ opsToErase.push_back(&*it);
----------------
IIRC, `clone` does this internally.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78731/new/
https://reviews.llvm.org/D78731
More information about the llvm-commits
mailing list