[all-commits] [llvm/llvm-project] 99499c: [OpAsmParser] Simplify logic for requiredOperandCo...

Chris Lattner via All-commits all-commits at lists.llvm.org
Thu Apr 28 12:05:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99499c3ea7ca922e6f1b7a209f81ffcef03d7d90
      https://github.com/llvm/llvm-project/commit/99499c3ea7ca922e6f1b7a209f81ffcef03d7d90
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Dialect/SCF/SCF.cpp
    M mlir/lib/Parser/Parser.cpp

  Log Message:
  -----------
  [OpAsmParser] Simplify logic for requiredOperandCount in parseOperandList.

I would ideally like to eliminate 'requiredOperandCount' as a bit of
verification that should be in the client side, but it is much more
widely used than I expected.  Just tidy some pieces up around it given
we can't drop it immediately.

NFC.

Differential Revision: https://reviews.llvm.org/D124629




More information about the All-commits mailing list