[PATCH] D73213: [mlir] [VectorOps] Implement vector tuple get folding
Nicolas Vasilache via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 11:42:08 PST 2020
nicolasvasilache accepted this revision.
nicolasvasilache added inline comments.
================
Comment at: mlir/lib/Dialect/VectorOps/VectorOps.cpp:1691
+ // %x = %e_i
+ if (auto tupleOp = dyn_cast_or_null<TupleOp>(getOperand().getDefiningOp())) {
+ return tupleOp.getOperand(getIndex());
----------------
drop trivial braces plz
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73213/new/
https://reviews.llvm.org/D73213
More information about the llvm-commits
mailing list