[PATCH] D79489: [mlir][Linalg] NFC - Refactor and simplify Promotion
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 01:36:29 PDT 2020
mehdi_amini added inline comments.
Herald added a subscriber: msifontes.
Herald added a project: MLIR.
================
Comment at: mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h:96
+ LinalgPromotionOptions &setOperandsToPromote(ArrayRef<int64_t> operands) {
+ operandsToPromote = DenseSet<unsigned>();
+ operandsToPromote->insert(operands.begin(), operands.end());
----------------
rriddle wrote:
> `operandsToPromote = DenseSet<unsigned>(operands.begin(), operands.end())`?
@nicolasvasilache ping?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79489/new/
https://reviews.llvm.org/D79489
More information about the llvm-commits
mailing list