[all-commits] [llvm/llvm-project] baca3b: [MLIR] Simplify logic in `parseDynamicIndexList` (...

lorenzo chelini via All-commits all-commits at lists.llvm.org
Mon Nov 28 02:02:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baca3b382b09aa2488d3e619478b9c96f67b40b8
      https://github.com/llvm/llvm-project/commit/baca3b382b09aa2488d3e619478b9c96f67b40b8
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M mlir/lib/Interfaces/ViewLikeInterface.cpp

  Log Message:
  -----------
  [MLIR] Simplify logic in `parseDynamicIndexList` (NFC)

We can use `parseCommaSeparatedList` to simplify the logic of
`parseDynamicIndexList`. We don't need to explicitly check delimiters
and comma anymore, this is done for us by `parseCommaSeparatedList`.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list