[PATCH] D79446: [mlir][spirv] NFC: Serialize all operands together if possible
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 27 11:56:40 PDT 2020
rriddle added inline comments.
Herald added a subscriber: jurahul.
================
Comment at: mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp:546
+ // Check whether all following arguments are attributes.
+ for (const Argument *ie = op.arg_end(); it != ie; ++it) {
+ if (!it->is<NamedAttribute *>()) {
----------------
std::any_of?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79446/new/
https://reviews.llvm.org/D79446
More information about the llvm-commits
mailing list