[all-commits] [llvm/llvm-project] 1d49e5: [llvm] remove Sequence::asSmallVector()

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon Jun 14 01:28:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d49e5352f9538bb9c514dd627a93f9c40982d3a
      https://github.com/llvm/llvm-project/commit/1d49e5352f9538bb9c514dd627a93f9c40982d3a
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
    M llvm/include/llvm/ADT/Sequence.h
    M mlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

  Log Message:
  -----------
  [llvm] remove Sequence::asSmallVector()

There's no need for `toSmallVector()` as `SmallVector.h` already provides a `to_vector` free function that takes a range.

Reviewed By: Quuxplusone

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




More information about the All-commits mailing list