[all-commits] [llvm/llvm-project] ffbc08: [mlir][affineexpr] Changing `AsmParser::parseAffin...

wren romano via All-commits all-commits at lists.llvm.org
Fri Jul 7 17:21:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffbc08d8908cb3e17047bd35d803f1f6f33919f3
      https://github.com/llvm/llvm-project/commit/ffbc08d8908cb3e17047bd35d803f1f6f33919f3
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/lib/AsmParser/AffineParser.cpp
    M mlir/lib/AsmParser/AsmParserImpl.h
    M mlir/lib/AsmParser/Parser.h

  Log Message:
  -----------
  [mlir][affineexpr] Changing `AsmParser::parseAffineExpr` API to use ArrayRef

The methods added by D154177 don't require the `symbolSet` parameter to be mutable nor to have the `SmallVectorImpl` type, so this commit changes them to accept `ArrayRef` instead: both for generality, and to make the non-mutation an explicit part of the API.

Reviewed By: aartbik, Peiming

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




More information about the All-commits mailing list